Lorem ipsum dolor sit amet.
This motor driver was designed with the purpose of providing an extremely useful educational platform and to
control an EDF (Electric-Ducted-Fan) for a line follower robot that participated in the 2025 Mechatronics
Education Day Competition in Craiova, Romania.
Consisting of 6 N-Channel MOSFETs, 3 DGD05473FNQ Diodes Incorporated gate drivers and an ATmega328P
microcontroller, this driver implemented its control based on back-EMF zero-crossing detection with the internal
comparator of the MCU.
This driver utilizes the internal comparator of the ATmega328P microcontroller to detect back-EMF zero-crossing events. During motor operation, the inactive phases generate back-EMF proportional to the rotor speed and position. By monitoring these voltage transitions and detecting zero-crossing points, the microcontroller determines the optimal commutation timing for the next phase transition. This sensorless approach eliminates the need for Hall sensors while maintaining reliable motor control.
The inverter stage consists of 6 N-Channel MOSFETs configured in a standard three-phase bridge topology. Each phase is controlled by a complementary pair of upper and lower switches, allowing bidirectional current flow through the motor windings. The DGD05473FNQ gate drivers provide the necessary voltage amplification to drive the MOSFET gates from the low-voltage logic signals of the MCU, and include shoot-through protection to prevent simultaneous conduction of upper and lower switches on the same phase.
The control logic implements a six-step commutation pattern based on back-EMF zero-crossing detection. Back-EMF sensing requires the motor to reach a minimum speed threshold to generate sufficient voltage for reliable detection; ensuring consistent commutation across the operating range was a key design consideration.
Tools & Technologies:
EDA: KiCad; Design: four-layer PCB;
MCU: ATmega328P; Other: Gate Drivers, N-Channel MOSFETs;
Control Method:Back-EMF zero-crossing detection;
Manufacturing: JLCPCB.
This project required extensive research and tuning to achieve reliable motor commutation. It also reinforced knowledge of power electronics, PCB design, and embedded programming using register-level programming.