kingtutley
Electrical
- May 11, 2007
- 49
I am programming a microcontroller to function as my PID control for a DC motor. The current is delivered via jfet stimulated by the microcontroller using PWM. I understand enough about PWM and dc motor control to make me a little dangerous. I know I need to set the period and duty cycle, but what I do not know and what I have not been able to find how to set them. That is, from what I can gather, the period is usually in the neighborhood of 0.5mS (2KHz). Ok, so outside of setting the motor up and running with that and a 50% duty cycle, is there some way to know if it will work ok, or is it a trial/error process?
I would thik that there shuld be some sort of guide for this. Does anyone have any advice/suggestions?
I would thik that there shuld be some sort of guide for this. Does anyone have any advice/suggestions?