Micromouse Lecture 2: Motors & Encoders Explained

Added:

The Shift to Brushless DC (BLDC) Motors and Sensorless Control

While brushed DC motors controlled by H-bridges and monitored by magnetic encoders are the traditional standard for introductory robotics, modern high-performance Micromouse designs increasingly favor Brushless DC (BLDC) motors. BLDC motors offer a vastly superior power-to-weight ratio, higher thermal efficiency, and greater reliability due to the absence of mechanical brushes. Additionally, advanced control methodologies such as Field-Oriented Control (FOC) or sensorless back-EMF estimation challenge the necessity of traditional optical or magnetic encoders. Although BLDC systems require significantly more complex electronic speed controllers (ESCs) and sophisticated algorithms compared to basic PWM and H-bridge configurations, they represent the modern competitive standard, pushing past the physical limitations of brushed motor technology.

Basic DC circuit theory, including voltage, current, resistance, and Ohm's law.
Fundamental concepts of electromagnetism, particularly how magnetic fields interact with electric currents to produce force.
The difference between digital and analog signals, and how microcontrollers read and write basic high/low states.
Introductory programming logic for microcontrollers, such as loops, interrupts, and basic I/O configuration.
Implementation of PID (Proportional-Integral-Derivative) control loops for precise speed and position control of the robot's wheels.
Odometry and dead reckoning, using encoder data to calculate and track the robot's real-time position (X, Y coordinates) in the maze.
Motor driver selection and PCB layout considerations, including thermal management and noise isolation for H-bridge circuits.
Motion profiling techniques, such as trapezoidal or S-curve acceleration, to prevent wheel slip and ensure smooth transitions.
5.5K views112likes41:14@UCLAIEEEOriginal Release: 2021-10-20

This lecture covers the fundamental motor and encoder systems used in micromouse robots, including the choice of brushed motors over brushless motors for their simplicity and lower cost, the use of H-bridges with transistors and flyback diodes for bidirectional motor control, and the implementation of PWM (Pulse Width Modulation) for precise speed control. The lecture also explains how magnetic encoders with Hall effect sensors measure motor rotation to provide position feedback, enabling closed-loop control where the microcontroller adjusts motor speed based on encoder readings to achieve accurate navigation through mazes.