DC Servomotor Controller System Meter using ATtiny2313 microcontroller
The ATtiny2313-based project is an experiment on the closed loop DC servomotor control system (SMC) by Elm Chan. It can be used for practical use with/without some modifications. The closed loop servo mechanism requires real-time servo operations, such as position control, velocity control and torque control. It will be suitable for implementation to any embedded 32 bit RISC processors as a middleware.
To capture the motor position, 52 kHz timer interrupt is used to sample the quadrature output from incremental rotary encoder and update current position register. Normally, a hardware buffer counter is used for the encoder interface to reduce load of the capturering process. However, SMC samples the input signals directly with only software process to reduce external components.
Leave a Comment
You must be logged in to post a comment.