Micromouse Meeting #3 Lecture #2. Power Motors Encoders

Similar documents
Electronics, Sensors, and Actuators

L E C T U R E R, E L E C T R I C A L A N D M I C R O E L E C T R O N I C E N G I N E E R I N G

Experiment (2) DC Motor Control (Direction and Speed)

EEE3410 Microcontroller Applications Department of Electrical Engineering Lecture 11 Motor Control

LINE MAZE SOLVING ROBOT

LS7362 BRUSHLESS DC MOTOR COMMUTATOR / CONTROLLER

Feedback Devices. By John Mazurkiewicz. Baldor Electric

ME375 Lab Project. Bradley Boane & Jeremy Bourque April 25, 2018

Sensors and Sensing Motors, Encoders and Motor Control

Semiconductor 9/21/2015

DE1.3 Electronics 1. Tips on Team Projects

Application Note. 3-Phase Brushless DC Motor Control with Hall Sensors AN-CM-244

Lab 5: Inverted Pendulum PID Control

of PWM is explained here. Consider a simple circuit as shown in figure below. DC Motor Speed Control using 555 Timer IC. The DC MOTOR SPEED.

o What happens if S1 and S2 or S3 and S4 are closed simultaneously? o Perform Motor Control, H-Bridges LAB 2 H-Bridges with SPST Switches

DC motor control using arduino

Motors and Servos Part 2: DC Motors

Chapter 7: The motors of the robot

THE IMPORTANCE OF PLANNING AND DRAWING IN DESIGN

ECE 477 Digital Systems Senior Design Project Rev 8/09. Homework 5: Theory of Operation and Hardware Design Narrative

Mechatronics Engineering and Automation Faculty of Engineering, Ain Shams University MCT-151, Spring 2015 Lab-4: Electric Actuators

Direct Current Waveforms

Jaguar Motor Controller (Stellaris Brushed DC Motor Control Module with CAN)

Electronics Design Laboratory Lecture #6. ECEN2270 Electronics Design Laboratory

Application Note. Brushless DC Motor Control AN-1114

For reference only Refer to the latest documents for details

MDM5253 DC Motor Driver Module with Position and Current Feedback User Manual

Exercise 5: PWM and Control Theory

POLOLU MAX14870 SINGLE BRUSHED DC MOTOR DRIVER CARRIER USER S GUIDE

Speed Control Of Transformer Cooler Control By Using PWM

Variateur analogique courant continu série AZ et AZB

DC SOURCES. 1.1 LIST the four ways to produce a DC voltage. 1.2 STATE the purpose of a rectifier.

Assembly Language. Topic 14 Motion Control. Stepper and Servo Motors

HB-25 Motor Controller (#29144)

EE 308 Lab Spring 2009

PREREQUISITES: MODULE 10: MICROCONTROLLERS II; MODULE 14: DISCRETE COMPONENTS. MODULE 13 (SENSORS) WOULD ALSO BE HELPFUL.

Citrus Circuits Fall Workshop Series. Roborio and Sensors. Paul Ngo and Ellie Hass

Mechatronics System Design - Sensors

Laboratory Design Project: PWM DC Motor Speed Control

Dimensions: Specifications:

νµθωερτψυιοπασδφγηϕκλζξχϖβνµθωερτ ψυιοπασδφγηϕκλζξχϖβνµθωερτψυιοπα σδφγηϕκλζξχϖβνµθωερτψυιοπασδφγηϕκ χϖβνµθωερτψυιοπασδφγηϕκλζξχϖβνµθ

Brushed DC Motor Control. Module with CAN (MDL-BDC24)

ECE 5670/6670 Project. Brushless DC Motor Control with 6-Step Commutation. Objectives

The operational amplifier

Hydraulic Valve Interface Products

Adafruit 16-channel PWM/Servo Shield

Electronic Components

Electronic Speed Controls and RC Motors

results at the output, disrupting safe, precise measurements.

DC to DC Conversion: Boost Converter Design

MOBILE ROBOT LOCALIZATION with POSITION CONTROL

Experiment#6: Speaker Control

Sensorless Drive for High-Speed Brushless DC Motor Based on the Virtual Neutral Voltage

DC Motor and Servo motor Control with ARM and Arduino. Created by:

EE 308 Spring S12 SUBSYSTEMS: PULSE WIDTH MODULATION, A/D CONVERTER, AND SYNCHRONOUS SERIAN INTERFACE


10/21/2009. d R. d L. r L d B L08. POSE ESTIMATION, MOTORS. EECS 498-6: Autonomous Robotics Laboratory. Midterm 1. Mean: 53.9/67 Stddev: 7.

DC Motor-Driver H-Bridge Circuit

IT.MLD900 SENSORS AND TRANSDUCERS TRAINER. Signal Conditioning

Sensors and Sensing Motors, Encoders and Motor Control

Detect stepper motor stall with back EMF technique (Part 1)

FABO ACADEMY X ELECTRONIC DESIGN

Name & SID 1 : Name & SID 2:

Using Transistors and Driving Motors

Renewable Energy Based Interleaved Boost Converter

Shock Sensor Module This module is digital shock sensor. It will output a high level signal when it detects a shock event.

BUCK-BOOST CONVERTER:

R2000 FAQs [R2000FAQ.doc rev:0807]

Page ENSC387 - Introduction to Electro-Mechanical Sensors and Actuators: Simon Fraser University Engineering Science

MDSRC Proceedings, December, 2017 Wah/Pakistan

ECET 211 Electric Machines & Controls Lecture 9-1 Adjustable-Speed Drives and PLC Installations (1 of 2)

EEL4914 Senior Design. Final Design Report

Administrative Notes. DC Motors; Torque and Gearing; Encoders; Motor Control. Today. Early DC Motors. Friday 1pm: Communications lecture

ARDUINO BASED DC MOTOR SPEED CONTROL

Lecture 7 ECEN 4517/5517

Job Sheet 2 Servo Control

Hello, and welcome to this presentation of the STM32L4 comparators. It covers the main features of the ultra-lowpower comparators and some

MIG Encoders BEGE MIG NOVA+ Your drive, our (trans)mission. BEGE Power Transmission

Application Note Using MagAlpha Devices to Replace Optical Encoders

Design of double loop-locked system for brush-less DC motor based on DSP

A Low-Cost Collision Detection System for Compact Vehicles (aka Ping Around the Rosey )

DC-Motor Driver circuits

Modeling, Simulation and Implementation of Speed Control of DC Motor Using PIC 16F877A

Design of Joint Controller Circuit for PA10 Robot Arm

combine regular DC-motors with a gear-box and an encoder/potentiometer to form a position control loop can only assume a limited range of angular

AN457 APPLICATION NOTE

Product Information. Bipolar Switch Hall-Effect IC Basics. Introduction

Solid State Devices (2)

EECS 473 Advanced Embedded Systems

Performance Evaluation of a Newly Constructed Three Phase Flexible Inverter for Speed Control of a Brushless Dc Motor

Electronics Design Laboratory Lecture #4. ECEN 2270 Electronics Design Laboratory

MINI ELECTRONIC SIGNALS

in PSIM version 10.0:

Implementation of Brushless DC motor speed control on STM32F407 Cortex M4

A CSC Converter fed Sensorless BLDC Motor Drive

ME 2110 Controller Box Manual. Version 2.3

Open Loop Speed Control of Brushless DC Motor

Project Proposal. Low-Cost Motor Speed Controller for Bradley ECE Department Robots L.C.M.S.C. By Ben Lorentzen

Figure 1: Motor model

Electronics Design Laboratory Lecture #9. ECEN 2270 Electronics Design Laboratory

Transcription:

Micromouse Meeting #3 Lecture #2 Power Motors Encoders

Previous Stuff Microcontroller pick one yet? Meet your team Some teams were changed

High Level Diagram

Power Everything needs power Batteries Supply a constant voltage Supply as much current as needed (Ideally) = (almost)

Power Regulation Different components require different supply voltages MCU: ~5V Gyro: 5V or 3.3V Supply too little, components don t work properly Supply too much, components tend to light on fire

Common voltage divider circuit Power Regulation Does not work for Micromouse! Battery voltage decreases as it discharges If input voltage decreases, output voltage also decreases

Solution: Voltage Regulator Power Regulation These will output a constant voltage even if the input voltage changes Inside is a complicated mess of transistors and other components Check datasheet for input voltage range

Motors Convert electrical energy to mechanical energy Two types: Brushed Brushless

Brushed motors take a DC signal So they are also known as DC motors Motors: Brushed Power an inductor to rotate a magnet Increase the voltage and/or current -> Increase the rotation speed Reverse the polarity of the input voltage -> Reverse the rotation Most digital microcontrollers do not have an analog signal output MCU s output digital signals either high or low How do we control brushed motors?

Fake analog voltage signal Square wave with a certain frequency This can be used to control the speed of a motor Pulse Width Modulation (PWM) Speed is controlled by rapidly turning the motor on and off Turn the motor on for a greater fraction of the time to make it rotate faster The percent of time the PWM signal is on is the duty cycle 0% duty cycle is same as off all the time; 100% duty is same as on all the time Microcontrollers have libraries/functions that make generating PWM signals really easy

Motors: Signal Power and turning PWM signals can control the speed of the motors easily cool Problem: Connect a pin on a MCU to a motor and output a PWM The motor barely moves MCUs cannot provide enough current to turn motors at fast enough speeds Another problem: Microcontrollers cannot invert the PWM signal to rotate the motor in the other direction

Solution: Motor Driver Motors: Driver Use the PWM signal to control a transistor The transistor acts as a two-state switch that can handle lots of current The transistor switches on and off according to the PWM The motor can be directly powered by the battery, but now its speed can be controlled too

Motors: Rotation Control Motor driver circuit can pour all the current the battery can supply to the motor nice Problem: How can the motor change direction? Previous circuit allows current to flow in only one direction

Solution: Use H-Bridges Motor Driver: H-Bridge These use several driver circuits All contained in an IC

H-Bridge: Simplified diagram Turn selected switches on/off to control the current path

H-Bridge States Close these switches: Motor turns in one direction Close these switches: Motor turns in other direction Datasheet of H bridge describes which pins does what

Motors: Brushless Goal is the same as brushed motors: rotate something Mechanics is different Multiple inductors attract and repel the magnet Has more control over DC motors Controlling brushless motors are more complicated But fairly easy to do with IC chips/software libraries

While the mouse is moving around the maze, it needs to memorize it It needs some way to tell how many cells it has transversed So we need some kind of cell counter Cell Counter How does the mouse know going this far is four cells long?

Solution: Rotary Encoder Rotary Encoder Attach something to the wheels to count how many times the wheels have turned to get distance Two major flavors Optical Magnets with Hall effect sensor

Rotary Encoder: Optical LED shines light through holes in a disc A detector on the other side counts how many times the disc turns

Rotary Encoder: Magnetic Attach magnets to a disc Use Hall effect sensors to detect the changing magnetic field

Next Sensors! Meet your team if you haven t already