Micromouse Meeting #3 Lecture #2 Power Motors Encoders.

Slides:



Advertisements
Similar presentations
Solar Array & Maximum Power Point Tracker Group Senior Design Project 2003 Stephanie Chin Jeanell Gadson Katie Nordstrom Advisor: Karen Panetta.
Advertisements

MOTION CONTROL ECE 105 Industrial Electronics Engr. Jeffrey T. Dellosa College of Engineering and Information Technology Caraga State University Ampayon,
Encoders, Motors, Power, Mini Project #1 10/24/2014.
DC Choppers 1 Prof. T.K. Anantha Kumar, E&E Dept., MSRIT
Fair Use Building and Research Labs Presents
We deal with voltage signals Sensors convert environment data to electrical signals Output: Voltage Input: Time/Distance/Whatever Move Receiver around.
Index  INTRODUCTION  HARDWARE DESCRIPTION  BLOCK DIAGRAM  COMPONENT LIST  ADVANTAGES AND APPLICATIONS  CONCLUSION.
EML 2023 – Motor Control Lecture 4 – DAQ and Motor Controller.
ELECTRICAL. Circuits Outline Power Hub Microcontroller Sensor Inputs Motor Driver.
1. Output signal alternates between on and off within specified period Controls power received by a device The voltage seen by the load is directly proportional.
Advanced Micromouse Hardware Design
L.
DC Motors DC Motors are widely used in robotics because of their small size and high energy output. Key characteristics of DC motors include: 1. High Speed.
Part A: Controlling Oscillation Frequency with Capacitors and Resistors Part B: Diodes and Light Experiment Timer.
Course Outline 1. Chapter 1: Signals and Amplifiers
SENIOR DESIGN 10/16.
PWM (Pulse Width Modulation)
© 2002 Microchip Technology Incorporated. All Rights Reserved. 1 Motor Control Solutions Microchip Technology Inc.
Spectrum Analyzer Ray Mathes, Nirav Patel,
Embedded Programming and Robotics Lesson 1 Basic Electricity and Electronics Transistor Basics Lesson 1 -- Basic Electricity1.
 Main Components:  Sensors  Micro controller  Motor drivers  Chasis.
Microprocessors Tutorial 2: Arduino Robotics
Power Electronics DC to AC Converters
LECTURE 9 INTRO TO POWER ELECTRONICS
Pulse Width Modulation (PWM) LED Dimmer Circuit
1 Motors & Motor Controllers ECE AC or DC Motors AC –Few robots use AC except in factories –Most of those that use AC first convert to DC DC –Dominates.
Electric Motors and Motion Control Ara Knaian. Motors Motors convert electrical energy to mechanical energy Motors make things move LINEAR ELECTROSTATIC.
Microcontroller Hands-on Workshop #3 Ahmad Manshad New Mexico State University Institute of Electrical and Electronics Engineers November 7, 2009.
Segway Controller Notes. = connection on top layer of circuit board = connection on bottom layer of circuit board Ground Plane: Areas enclosed by the.
ENGR 6806 – Motor Control Prepared By: Rob Collett September 15, Office: EN2074.
1  Actuators are used in order to produce mechanical movement in robots.
Ohm’s Law + - R E I E = I * R I = E / R R = E / I E = Voltage I = Current R = Resistance.
PH4705 & ET4305: Digital Sensors
CS 478: Microcontroller Systems University of Wisconsin-Eau Claire Dan Ernst Hybrid I/O – Pulses.
Microprocessor and Microcontroller Based Systems Instructor: Eng.Moayed N. EL Mobaied The Islamic University of Gaza Faculty of Engineering Electrical.
Motors & Motor Drivers ECE 450.
STEPPER MOTORS Name: Mr.R.Anandaraj Designation: Associate. Professor Department: Electrical and Electronics Engineering Subject code :EC 6252 Year: II.
DC Motor Control The material presented is taken from a variety of sources including: ponents/inductor001.html#howworks,
Microprocessors Tutorial 2: Arduino Robotics. Agenda 1. Robot Anatomy 2. Sensor Review 3. PWM 4. MAKE: Fade 5. Motors 6. H Bridge 7. Robot Control library.
Automatic accident avoiding system PROJECT MEMBERS MUTHUKUMAR.K (05ME33) SAKTHIDHASAN.S (05ME39) SAKTHIVEL.N (05ME40) VINOTH.S (05ME56) PROJECT GUIDE:
NATCAR SUMMER CLASS II 6 July 2004 Chung Hsieh. Topic of Discussion Power Supply Motor Drive Circuits Braking.
Data Acquisition Device (DAQ) A DAQ is a cool little device that allows you to interface hardware to a computer. Here is what we will do:  Create a square.
SMV Electric Tutorials
BLDC Motor Speed Control with RPM Display. Introduction BLDC Motor Speed Control with RPM Display  The main objective of this.
Solar Powered LED Blinds Group 28: Austin Estes and Kerr Oliva TA: Katherine O’Kane.
DC motor principles Speed control Direction Stepper motor principles
Microcontroller basics Embedded systems for mortals.
ARM CORTEX (STM32) BASED MOTOR SPEED CONTROL SUBMITTED BY EDGEFX TEAM.
Generators, Motors, and AC Power
Motors & Motor Controllers
Microcontroller basics
Introduction to Motors, servos and steppers
UNIT III DC Choppers.
DC Motors DC Motors are widely used in robotics because of their small size and high energy output. Key characteristics of DC motors include: 1. High Speed.
MICROCONTROLLER AND INTERFACING
Timers and Event Counters
Motor Control Solutions
An FPGA Implementation of a Brushless DC Motor Speed Controller
UNIT-IV Application of Special I.C’s.
Predefined Speed Control of BLDC Motor
Fair Use Building and Research Labs Presents
WALL DETECTOR ROBOT VEHICLE
Electric Motors.
Pulse Width Modulation (PWM) Motor Feedback - Shaft Encoder
CBC Fundamentals Lecture is based on material from Robotic Explorations: A Hands-on Introduction to Engineering, Fred Martin, Prentice Hall, 2001.
Motor Control Solutions
Introduction to H-Bridge
Fair Use Building and Research Labs Presents
Sensors and actuators Sensors Resistive sensors
Motor Control Solutions
Presentation transcript:

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

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

Power Regulation Solution: Voltage Regulator  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

Motors: Brushed  Brushed motors take a DC signal  So they are also known as DC motors  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?

Pulse Width Modulation (PWM)  “Fake” analog voltage signal  Square wave with a certain frequency  This can be used to control the speed of a motor 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

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 Solution: Motor Driver

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

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

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

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

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

Cell Counter  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 How does the mouse know going this far is four cells long?

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 Solution: Rotary Encoder

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