pwm question
mikea
Posts: 283
I'm trying to fully understand the relationship in the pwm command between the 0-255, the pulse duration, and possibly adding capacitance in the circuit. The goal i guess is to maintain torque at the reduced votages/speeds. Is there a formula related to this? thanks - mike
Comments
On the BASIC Stamp MCU the PWM command is designed to be used with an RC circuit to generate an analog voltage. Analog voltages do not efficiently power motors like a PWM signal would.
DC motors by their nature will increase torque as the resistance to their rotation is increased. Diesel electrics basically use a DC motor as an automatic transmission.
It helps a lot when controlling motors at low speeds if you use encoders for feedback.
You can see a big difference in the way a Propeller was able to control four DC motors in my latest project. Adding encoders made it possible to have increased torque at low speeds.
And, yes, a Propeller (and many other uC) can maintain torque at low speeds using DC motors (though they might need encoders to do so).
If the DC motor is not under powered (as in my project), then you might not need encoders to maintain torque at low speed.
There are additional measures, such as encoders that can help increase torque by increasing power to the motor when it is not up to the expected speed. However what I was referring to was the innate difference between varying the analog voltage to a motor and using PWM. When using PWM the motor is more efficient across the speed range, inherently, because the volage is always at max, it just varies in time. When you reduce the analog voltage below a certain point most motors won't even spin up, limiting the lower bandwidth of the motor.
The Propeller can easily generate PWM using the counters built in to each COG. I wrote an article in Servo Magazine showing how to use the Propeller to generate PWM for motors and lights. It currently lives here, however by this weekend it will be at a more permanent home here (projects are being moved).
From reading articles by Chris and other authors.
Take advantage of the great books Parallax makes available for free. Understanding Signals was really helpful to me, as was Robotics with the BOE-Bot (I'm not sure if I have the titles correct or not).