Motor Control
Microcontrollers are more and more common in motor control applications and are replacing Application-Specific Standard Products (ASSP) and ASICs. Since microcontrollers feature embedded peripherals, they provide more flexibility and offer a better cost solution compared to other solutions.
Typical applications:
- Compressors and fans in refrigerators
- Fans in cooker hoods
- Drums and pumps in washing machines
Atmel® AVR® microcontrollers are well suited for Motor Control applications.

Features and Benefits
- Flash memory provides flexibility that enables developers to use the same microcontroller for multiple applications and to easily upgrade the program during the application's lifetime.
- Code compatibility allows to port existing development to other AVR microcontrollers according to new application requirements, for faster time-to-market.
- The extended family of 8-bit AVR microcontrollers lets developers choose a perfect fit for a given application, while keeping costs under control.
- Dedicated peripherals such as high-end PWM modules and ADC are ideal for motor control applications.
- Numerous application notes, reference designs and development kits are available to customers for a seamless design and easier development.
Motors
- Three-phase BLDC: On these motors, the brushes and commutator have been eliminated compared to a brushed DC motor. The control electronics replace the function of the commutator and energize the proper windings to create rotation. Three-phase BLDC devices provide excellent performance characteristics, with or without position sensors, are inexpensive, and long-lasting.
- Two-phase BLDC: These devices are preferred over brushed motors because they provide long life time, low level of electrical noise and low acoustic noise level. They commonly use hall-sensors.
- Asynchronous AC: Traditional AC motors run directly from AC voltage at one speed only. Introducing motor control enables speed variation, which can reduce power consumption, acoustic noise and mechanical vibration.
- Stepper Motor: A stepper motor will rotate in discrete steps when its coils are energized. Position and rotating directions are easily controlled without the need for a feedback system. Speed is controlled by the rate at which coils are energized. Depending on the control type, full steps, half steps or micro-steps can be achieved. AVR microcontrollers provide an ideal solution for stepper motors.
Sensor-based Three-phase BLDC

Sensor-based three-phase BLDCs are used when initial load is unknown or varies, or when high initial torque is required. The AVR is an excellent fit for this application, supporting TWI, SPI, and UART communication.
Products
| Microcontroller |
|---|
|
ATmega48PA /
88PA /
168PA Atmel AVR with three PWM outputs |
Sensorless Three-phase BLDC

Sensorless three-phase BLDCs are typically used in fans. The Atmel AVR provides superior support for this device, and supports over-current monitoring with ADC or analog comparator.
Products
| Microcontroller |
|---|
|
ATmega48PA /
88PA /
168PA ATmega64A AT90PWM3B |
Sensor-based Two-Phase BLDC

The Atmel AVR is excellent for this application, providing support for TWI/SMBus communication. Two hardware PWM channels control driving transistors, and speed is controlled by varying the PWM duty cycle.
Products
| Microcontroller |
|---|
| ATtiny25 / 45 / 85 family |
AC Motors
Products
| Microcontroller |
|---|
| AT90PWM3B |
Stepper Motors
Products
| Microcontroller |
|---|
|
ATmega48PA /
88PA /
168PA ATtiny87 / 167 |
Relevant Application Notes with covered motors and functionality
| 2-phase BLDC | 3-phase BLDC | AC motor | Stepper motor | Sensor | Sensorless | Block drive | Sinus drive | CAN/LIN | |
|---|---|---|---|---|---|---|---|---|---|
| AVR138 | X | ||||||||
| AVR172 | X | X | X | X | |||||
| AVR194 | X | X | X | X | |||||
| AVR275 | X | X | X | ||||||
| AVR435 | X | X | X | ||||||
| AVR441 | X | X | X | ||||||
| AVR442 | X | X | X | ||||||
| AVR443 | X | X | X | ||||||
| AVR444 | X | X | X | ||||||
| AVR446 | X | ||||||||
| AVR447 | X | X | X | ||||||
| AVR448 | X | X | X | ||||||
| AVR449 | X | X | X | ||||||
| AVR452 | X | X | X | ||||||
| AVR470 | X | ||||||||
| AVR471 | X | ||||||||
| AVR492 | X | X | X | ||||||
| AVR493 | X | X | X | ||||||
| AVR494 | X | X | |||||||
| AVR495 | X | X | |||||||
| AVR496 | X | X | |||||||
| AVR498 | X | X | |||||||
| AVR32710 | X | X | X | ||||||
| AVR32723 | X | X | X |
Learn more about the Atmel solution Application Notes, Devices, and Tools and Software




