AVR Motor Control PDF
AVR Motor Control PDF
www.atmel.com
Con
Rely on electronic commutation (microcontroller or ASSP) More complex driver stage than Brushed DC
www.atmel.com
Brushless DC Motor the basic concept Rotor consists of permanent magnets Stator consists of a number of windings
Current through windings generates a magnetic field that attract/ rejects the rotor magnets
www.atmel.com
Brushless DC Motor the advanced concept Sensorless control is when position sensors are not used
Back Electromotive Force (B-EMF) is the key to sensorless control
B-EMF is the voltage generated in the stator windings when motor rotates - the motor is a generator while being a motor
www.atmel.com
Disadvantages
Electronical control requires hall-sensor Noisy due to high torque ripple Costly driver stage Requires dead-time between commutations
www.atmel.com
Disadvantages
Difficult to control without sensors
www.atmel.com
Disadvantages
Noisy
www.atmel.com
Power efficiency
Right PWM control for efficient torque/speed management and driver power dissipation.
www.atmel.com
AVR Application notes and reference designs 3 application notes on Two-phase BLDC motor control
AVR440 (sensorless) AVR441, AVR442 (sensor based) Articles published
Sensor based control of two-phase fan AVR441 - two-phase BLDC fan with two speed references
E.g. Host and temperature sensor Advantage
Autonomous fan speed Temperature sensor in ATtiny25/45/85 reduces overall cost
Target devices
ATtiny13 ATtiny25/45/85
Target devices
ATtiny25/45/85
www.atmel.com AVR Motor Control
Sensorless control of two-phase fan AVR440 - sensorless control of two-phase BLDC fan
Patent filed method can only be used with AVR microcontrollers B-EMF voltage over passive winding used to time commutation.
Advantage
Hall-sensor can be eliminated to reduce fan cost
Disadvantage
Difficult to run the fan a very low speed
Target devices
ATtiny13 ATtiny25/45/85
Requirements
Up-down PWM counter PWM triggered ADC
www.atmel.com AVR Motor Control
Sensor based control of three-phase BLDC motor AVR443, AVR448 Three-phase BLDC motor
GPIO/PWM controls high side driver PWM controls low side driver Current sensing
Advantage
Low cost solution Implementation needs few resources, CPU cycles available for other tasks HW fault protection (Tiny26 family) Support TWI/SPI/UART
Requirements
3/6 PWM channels and PWM triggered ADC
Target devices
ATmega48/88/168 (automotive) ATtiny261/461/861
www.atmel.com AVR Motor Control
Advantage
Low cost microcontroller Low cost motor without sensors Automotive qualified (ATmega48 fam)
Disadvantage
Very low speed not possible Startup routine requires known load
Target devices
ATmega48/88/168 ATtiny261/461/861
Requirements
6 PWM channels PWM triggered ADC
www.atmel.com AVR Motor Control