Micromouse Lecture 2: Motors & Encoders Explained

Added:

System Overview
Motor Types
Motor Specs
Drive Circuits
H-Bridge Control
Speed Control
Encoder Basics
Encoder Precision
MCU Integration

System Overview

0:13
Playing Section
  • 1

    Outlines motor control system architecture with microcontroller, driver, and feedback components.

  • 2

    Explains how signals flow through the system to manage motor functions.

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.