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.
This free embedded project also found using:
- attiny2313 servo
- attiny2313 servo control
- dc servo drive with attiny2313
- dc servo motor closed loop position control using microcontroller
- servo atiny2313
- servo attiny2313