Circuit Lake

Electronic Project and Circuit Collection

Advanced Motor Control Card

10:52 am


The project will show you how to build an advanced motor control with high speed communication, encoder feedback and automatic control with AVR ATmega16 microcontroller. Analyzing motor feedback is the most important task in a motor control and therefore, the project, which is designed by Rickard Haglund & Lars Carlsson, use two Atmel AVR microcontroller. One of them is for analyzing the motor feedback and the other one for steering the motors and communicating with the rest of the system. The two processors communicate by I2C which the ATmega16 has hardware support for. For communicating with other nodes in the system, the project used the low-cost MCP2515 to implement the CAN-protocol. The motor-drive-circuit (L6205) is controlled by PWM signals from one of the ATmega16 MCU.

advance-motor-control-card


By using the ATmega16 ADC the system can measure voltage levels and current levels on the motor control card. The obtained data is valuable in the automatic control and adds a higher level of safety to the system. The ATmega16 also has hardware-timers that are excellent for high-speed motor encoder counting. Because of the complexity of the PID-regulation the mathematical calculations are usually done by a PC. By using two ATmega16 the work load on the processors will be shared. One of the processors will analyze the robots sensors such as motor-encoders, motor-current and accelerometers. The other processor will communicate with the rest of the system while controlling the motors.

Motor Control Card
Project Detail and Documentation
circuitcellar.com



Related Electronics Project:
Unipolar Stepper Motor Driver
This project enables you to drive two unipolar stepper motor or eight electric light bulb or DC motors. There...
Microstepping Bipolar Stepper Motor Driver
This project is the implementation of a low-cost, high-performance bipolar stepper motor driver. This driver was designed for the hobbyist...
Variable Speed Induction Motor Controller
This project is solution for people who need one for a single-phase motor that operates in the 2-HP range....



Tags: , , , , , , , , , ,
l6205 arduino, speed enkoder attiny2313, single motor avr pid program, mcp2515 bascom, l6205 microstep