DC otor & H Bridge 1.

Slides:



Advertisements
Similar presentations
Brushless DC Motors Sohaib Hasan. Motor Basics What is a motor –Converts electrical energy into kinetic energy Where did it come from –Identification.
Advertisements

Operational Amplifiers Brandon Borm Shelley Nation Chloe Milion.
MOTION CONTROL ECE 105 Industrial Electronics Engr. Jeffrey T. Dellosa College of Engineering and Information Technology Caraga State University Ampayon,
ENGG1100 Ch6: Introduction To Engineering Design (Digital Logic) Part 2 of digital logic KH WONG ENGG1100. Ch6-Digital Logic (part2) v3h1.
EECS 373 Presentation DC motor with H-bridge Team: Bowen Xu, Chenyu Yi, Yitian Chen 1.
M2-3 Buck Converter Objective is to answer the following questions: 1.How does a buck converter operate?
EET 252 Digital Systems II Professor Nick Reeder.
Greg Henderson Abdul Jaroudi Nishanth Mehanathan.
Science Assignment Ashlee Marshall and Ashley Lenger.
Transistors Camille Cruz Chase Thompson Tyler Nelson September 26, 2013.
PHY 235 Robotics Workshop Day 6 DC Motors, H-Bridge Board, Simple Lego/Boe Bot.
EML 2023 – Motor Control Lecture 4 – DAQ and Motor Controller.
Justin Chow Jacob Huang Daniel Soledad ME 4447/6405 Student Lecture.
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.
Course Outline 1. Chapter 1: Signals and Amplifiers
1 Eric Taseski, Yihe Huang, Ronak Mehta H-Bridges and Stepper Motors 2.
As an Astable Multivibrator 1. 2  An integrated chip that is used in a wide variety of circuits to generate square wave and triangular shaped single.
Micromouse Meeting #3 Lecture #2 Power Motors Encoders.
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.
Computer-Controlled Current Switches BJT Transistors
Electric Motors and Motion Control Ara Knaian. Motors Motors convert electrical energy to mechanical energy Motors make things move LINEAR ELECTROSTATIC.
ECE 331 – Digital System Design Transistor Technologies, and Realizing Logic Gates using CMOS Circuits (Lecture #23)
Black Box Electronics An Introduction to Applied Electronics for Physicists 2. Analog Electronics: BJTs to opamps University of Toronto Quantum Optics.
Transistors Three-terminal devices with three doped silicon regions and two P-N junctions versus a diode with two doped regions and one P-N junction Two.
ENGR 6806 – Motor Control Prepared By: Rob Collett September 15, Office: EN2074.
© 2013 The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill 5-1 Electronics Principles & Applications Eighth Edition Chapter 5 Transistors.
Chapter 11 Field effect Transistors: Operation, Circuit, Models, and Applications Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction.
Motors & Motor Drivers ECE 450.
Chapter 3 How transistors operate and form simple switches
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:
MOTORS. Definition Of Motor That powered by electricity or internal combustion, that supplies motive power for a vehicle or for some other device. A device.
MicroLogix Packaged Controllers Programmable Controller Basics Sourcing And Sinking.
SMV Electric Tutorials
Lianna Dicke MOTOR HARDWARE BREAKDOWN. Design Goals: Drive DC motor that draws 5 A maximum continuous current Voltage operation at 12 Volts (automotive)
BLDC Motor Speed Control with RPM Display. Introduction BLDC Motor Speed Control with RPM Display  The main objective of this.
Components and their operation. SMART Funded by The National Science Foundation Diode A diode is an semiconductor component that, in general, will pass.
DC motor principles Speed control Direction Stepper motor principles
Wireless Bluetooth Controller For DC Motor. Introduction Wireless becoming more and more available and widely used Bluetooth is one of the major players.
HIGH VOLTAGE DC BY MARX GENERATOR PRINCIPLES
EENG 3520: Electronics II Lecture 3 Oluwayomi Adamo.
1 Transistor. 2 Transistors are used to turn components on and off They come in all different shapes and sizes.
Rectifiers, Switches and Power Supplies
Motors & Motor Controllers
CHAPTER 10 AC Power Bipolar Junction Transistors: Operation, Circuit Models, and Applications.
Microcontroller basics
Introduction to Motors, servos and steppers
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.
Servo’s and Motor’s with Arduino
DC MOTOR INTERFACING WITH 8051 MICROCONTROLLER PRESENTED BY
Dept. of Electrical and Computer Eng., NCTU
MARX GENERATOR BASED HIGH VOLTAGE USING MOSFETs
ECE Computer Engineering Design Project
Bipolar Junction Transistor
Field effect Transistors: Operation, Circuit, Models, and Applications
DC Motor and Stepper Controller
MC3479P Stepper Motor and Stepper Motor IC
Arduino Application: Speed control of small DC Motors
Electronics Fundamentals
Introduction to H-Bridge
LECTURE 1 (Ch. 1) INTRODUCTION
Principles & Applications Large-Signal Amplifiers
CHAPTER 3 Range of power supply Voltage Regulator VRi = VPS - VZ
#3 How to Read the Schematic
CMPUT 399 Intro Robotics & Mechatronics: Motor Control
Figure PIC18 Connection to Relay
PWM and DC Motor Control
UNIT 11: RC-SERVOMOTOR CONTROL
Robotics System Lecture 11_12: DC Motor
Presentation transcript:

DC otor & H Bridge 1

Outline DC Motor H Bridge Principle Speed Control Control Power 2 Figure 1. Real DC Motors 2

Principle Recap 3 Figure 2. Lorentz Force Direction   Figure 2. Lorentz Force Direction   http://hyperphysics.phyastr.gsu.edu/hbase/magnetic/magmom.html Figure 3. Loop Current Diagram 3

Rotational Speed + - + - Assume it is a 6V motor 6V 6V 4 Figure 5. Macro View + - 6V Figure 4. Voltage and Full Speed Rotation commons.wikimedia.org  4

Rotational Speed - + - + Assume it is a 6V motor 6V 6V 5 Figure 5. Macro View - + 6V Figure 4. Reverse Voltage and Rotation commons.wikimedia.org  5

Rotational Speed - + - + Assume it is a 6V motor 4V 4V 6 Figure 5. Macro View - + 4V Figure 4. Small Voltage and Slow Rotation commons.wikimedia.org  6

Speed Control PWM % Duty Cycle ↓↓ % AVG Voltage % Speed 7 http://forum.xda-developers.com/showthread.php?t=2542054 Figure 6. PWM Timing Diagram PWM % Duty Cycle ↓↓ % AVG Voltage % Speed 7

But… Drive? VCC: ~3.3V Current: ~10mA Backwards? 8 http://www.hennkwell.com.tw/products.php?func=p_detail&p_id=39&pc_parent=8 Table 1. Specification of DC Gear Motor 8

H Bridge 9 Figure 7. H Bridge Diagram (http://en.wikipedia.org/wiki/H_bridge) Table 2. H Bridge Functions (http://en.wikipedia.org/wiki/H_bridge) 9

H Bridge Figure 7. An H Bridge Diagram Table 2. H Bridge Functions 10

H Bridge Figure 7. An H Bridge Diagram Table 2. H Bridge Functions 11

H Bridge Figure 7. An H Bridge Diagram Table 2. H Bridge Functions 12

H Bridge Figure 7. An H Bridge Diagram Table 2. H Bridge Functions 13

H Bridge Figure 7. An H Bridge Diagram Table 2. H Bridge Functions 14

H Bridge Figure 7. An H Bridge Diagram Table 2. H Bridge Functions 15

H Bridge Figure 7. An H Bridge Diagram Table 2. H Bridge Functions 16

H Bridge Figure 7. An H Bridge Diagram Table 2. H Bridge Functions 17

L298N Block Diagram Figure 8. L298N Block Diagram (L298N Datasheet) 18

L298N Block Diagram (Left Half) Figure 9. L298N Block Diagram (Left Half) (L298N Datasheet) 19

Four Switches in H Bridge Figure 9. L298N Block Diagram (Left Half) (L298N Datasheet) 20

Figure 7. H Bridge Diagram H Bridge’s Shape Figure 7. H Bridge Diagram (http://en.wikipedia.org/wiki/H_bridge) Figure 9. L298N Block Diagram (Left Half) (L298N Datasheet) 21

Figure 7. H Bridge Diagram Power Supply Figure 7. H Bridge Diagram (http://en.wikipedia.org/wiki/H_bridge) Figure 9. L298N Block Diagram (Left Half) (L298N Datasheet) 22

Figure 7. H Bridge Diagram Logic Power Supply Figure 7. H Bridge Diagram (http://en.wikipedia.org/wiki/H_bridge) Figure 9. L298N Block Diagram (Left Half) (L298N Datasheet) 23

Figure 7. H Bridge Diagram Inputs and Enable Figure 7. H Bridge Diagram (http://en.wikipedia.org/wiki/H_bridge) Figure 9. L298N Block Diagram (Left Half) (L298N Datasheet) 24

Figure 7. H Bridge Diagram Outputs Figure 7. H Bridge Diagram (http://en.wikipedia.org/wiki/H_bridge) Figure 9. L298N Block Diagram (Left Half) (L298N Datasheet) 25

Table 2. H Bridge Functions M S1 S3 1 S2 S4 1 Figure 9. L298N Block Diagram (Left Half) (L298N Datasheet) Table 2. H Bridge Functions (http://en.wikipedia.org/wiki/H_bridge) 26

Table 2. H Bridge Functions M S1 S3 S2 S4 1 1 Figure 9. L298N Block Diagram (Left Half) (L298N Datasheet) Table 2. H Bridge Functions (http://en.wikipedia.org/wiki/H_bridge) 27

Table 2. H Bridge Functions v M S1 S3 X S2 S4 X Figure 9. L298N Block Diagram (Left Half) (L298N Datasheet) Table 2. H Bridge Functions (http://en.wikipedia.org/wiki/H_bridge) 28

Table 2. H Bridge Functions M S1 S3 S2 S4 1 Figure 9. L298N Block Diagram (Left Half) (L298N Datasheet) Table 2. H Bridge Functions (http://en.wikipedia.org/wiki/H_bridge) 29

Table 2. H Bridge Functions M S1 S3 1 S2 S4 1 1 Figure 9. L298N Block Diagram (Left Half) (L298N Datasheet) Table 2. H Bridge Functions (http://en.wikipedia.org/wiki/H_bridge) 30

Table 2. H Bridge Functions M S1 S3 S2 S4 Figure 9. L298N Block Diagram (Left Half) (L298N Datasheet) Table 2. H Bridge Functions (http://en.wikipedia.org/wiki/H_bridge) 31

Table 2. H Bridge Functions M S1 S3 S2 S4 Figure 9. L298N Block Diagram (Left Half) (L298N Datasheet) Table 2. H Bridge Functions (http://en.wikipedia.org/wiki/H_bridge) 32

Table 2. H Bridge Functions M S1 S3 S2 S4 Figure 9. L298N Block Diagram (Left Half) (L298N Datasheet) Table 2. H Bridge Functions (http://en.wikipedia.org/wiki/H_bridge) 33

An example 40V GND 34 Figure 10. 30mm DC Motor from Maxon http://www.eecs.umich.edu/eecs/courses/eecs373/labsW14/lab6/index.html http://www.motioncontroltips.com/2013/05/06/30mm-dc-motor-from-maxon/ Figure 10. 30mm DC Motor from Maxon Figure 11. SN754410 Pin Connections (SN754410 Datasheet) Figure 12. SmartFusion FPGA GND 34

What if we want to use a large-powered motor? 50V http://www.motioncontroltips.com/2013/05/06/30mm-dc-motor-from-maxon/ Figure 10. 30mm DC motor from maxon Figure 13. L298N Pin Connections (L298N Datasheet) It will likely burn the H-bridge! 35

Voltage Constraint (L298N) https://www.sparkfun.com/datasheets/Robotics/L298_H_Bridge.pdf Power Supply can’t be higher than DC motor Logic Supply Voltage can’t be lower than FPGA output Table 3. Voltage Constraint for L298N DC voltage cannot exceed H-bridge voltage constraint 36

Power Constraint (SN754410) http://www.ti.com/lit/ds/symlink/sn754410.pdf Table 4. Voltage Constraint for SN754410 37

What if we want to use that large-power DC motor? Build an H-bridge with 4 switches! 38

Which switch shall we use? BJT (Bipolar Junction Transistor) Easier to build, use less circuitary Good for low current operation VS MOSFET (Metal–Oxide–Semiconductor Field-Effect Transistor) Good for high current operation When H-bridge Motor cannot meet your power requirement You don’t trust your integrated H-bridge You need to build an H-bridge on your own!   Two options: BJT and MOSFET BJT: Bipolar Junction Transistor MOSFET: Metal–Oxide–Semiconductor Field-Effect Transistor http://www.eeweb.com/electronics-forum/how- this-h-brigde-is-working http://www.youtube.com/watch?v=A_JNjAFo1f4&list=PL XrSeSVAb819HfhysOtYMdwDg3CTKXi6B Figure 14. H-bridge with BJT Figure 15. H-bridge with MOSFET 39

What is BJT? What is MOSFET? Don’t need to know Ignore the mechanism (band diagram, Quantum Mechanics, Energy momentum diagram, semiconductor dopping) Ref Two diode. Two ways to connect them PNP – active low NPN – active high (Explain) Base, Collector, and Emitter. Small current can induce large current First why? BJT is resistive when on. It will generate heat, which will break them.   [What is MOSFET?] Ignore the mechanism (even more complex than BJT) BJT with a shell NMOS – active high PMOS – active low (Explain) PMOS to Vdd, NMOS to Gnd Second why? It will reach saturation voltage, turn MOSFET into a big resistor, and consume large power and burn the gate. http://fourier.eng.hmc.edu/e84/lectures/ch4/node3.html http://robertdick.org/eecs312/lectures/dic-l5.pdf PNP – active low NPN – active high NMOS – active high PMOS – active low Choose voltage/current wisely on gate/base 40

How to use BJT? 41 C B E Figure 16. BJT Model http://blog.oscarliang.net/bjt-bipolar- junction-transistor-beginner-tutorial/ http://www.eeweb.com/electronics-forum/how- this-h-brigde-is-working Figure 16. BJT Model Figure 17. H-bridge with BJT 41

How to use MOSFET? Connect PMOS to Vcc, NMOS to ground 42 PMOS NMOS http://airsofttutorials.com/tutorials/diy-mosfet.html http://www.youtube.com/watch?v=A_JNjA Fo1f4&list=PLXrSeSVAb819HfhysOtYMdwD g3CTKXi6B Figure 18. MOSFET Model Figure 19. H-bridge with MOSFET Connect PMOS to Vcc, NMOS to ground 42

Reference 43 DC Motor: Basic Principle: http://hyperphysics.phy-astr.gsu.edu/hbase/magnetic/motdc.html http://en.wikipedia.org/wiki/DC_motor Speed Control with PWM: http://www.youtube.com/watch?v=NqqgbS3KXz0 Shaft Encoder https://www.anaheimautomation.com/ manuals/forms/magnetic-encoder-guide.php H Bridge http://en.wikipedia.org/wiki/H_bridge L298N Datasheet: https://www.sparkfun.com/datasheets/Components/General/L298N.pdf SN754410 Datasheet: http://www.ti.com/lit/ds/symlink/sn754410.pdf 43