Hi all together,
I have programmed an ATMEGA 32 to control a DC motor by a buck converter.
I have calculated the parameters and simulated them, everything has been fine.
After programming I started the motor and it controls the speed, but the unregularly. First it accelerates the motor, then the pulse width is very low and when the speed has fallen below the reference the signal gets very bride pulse width and the motor is ringing!
Hope somebody can help me,
- I have attached the code, if somebody thinks it could be a hardware problem just send me an email and I can send you my EAGLE circuit.
Thanks,
Padderick
I have programmed an ATMEGA 32 to control a DC motor by a buck converter.
I have calculated the parameters and simulated them, everything has been fine.
After programming I started the motor and it controls the speed, but the unregularly. First it accelerates the motor, then the pulse width is very low and when the speed has fallen below the reference the signal gets very bride pulse width and the motor is ringing!
Hope somebody can help me,
- I have attached the code, if somebody thinks it could be a hardware problem just send me an email and I can send you my EAGLE circuit.
Thanks,
Padderick
Attachments
-
13.1 KB Views: 23