dc motor speed control with microcontroller

A

Thread Starter

Anonymous

i am trying to design a microcontroller which will maintain the speed of DC motor without effected by the changing load. if i use microcontroller PIC16F73A, can i maintain the speed by just feedback the speed of motor to microcontroller (by control pwm inside microc)? will it work?? or i need to feedback the torque of load?? Pls kindly help me!! thanks!!
 
Feed a simple tachometer signal back to your controller through a microcontroller Input, and convert the pulsetrain to an analog value (i.e. Frequency...), then use this to form the feedback of a PI or PID loop (There will be many books on this, etc). Basically adjust your PWM duty cycle based on the error between commanded Frequency and actual frequency, etc.

~Ken
 
yes you can.

i tried it with microcontroller AT89c2051 and it goes well, you have only to feed back the speed and to generate a PWM output where the width is proportional to the inverse of the speed.
 
i'm interested in speed control circuits. how does its speed vary with different loads? would it be possible for you to forward me the circuit & component list?

thnx a mil.
[email protected]
 
excuse me!

May I obtain detailed information (source code, circuit and other explanation) about your project using AT89C2051 to control motor speed? At this time I try to control dc motor using AT89C2051. I will be grateful if you can help me. Thank you for your attention.
 
I'm pretty sure you just perform a velocity loop with the velocity feedback, and the PWM update is a simple current loop (torque).

Look into classic control theory for some answers.

~KEJR
 
Top