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

Similar documents
o Semiconductor Diode Symbol: The cathode contains the N-type material and the anode contains the P-type material.

Direct Current Waveforms

DC-Motor Driver circuits

Figure 1: Basic Relationships for a Comparator. For example: Figure 2: Example of Basic Relationships for a Comparator

Programming PIC Microcontrollers in PicBasic Pro LCD Lesson 3 Cornerstone Electronics Technology and Robotics II

Electronics Review 1 Cornerstone Electronics Technology and Robotics II Week 1

Cornerstone Electronics Technology and Robotics I Week 19 Electrical Relays

POLOLU MAX14870 SINGLE BRUSHED DC MOTOR DRIVER CARRIER USER S GUIDE

Autonomous Robot Control Circuit

EEE3410 Microcontroller Applications Department of Electrical Engineering Lecture 11 Motor Control

Tech Tutorials > H-Bridge

EXPERIMENT 5 CURRENT AND VOLTAGE CHARACTERISTICS OF BJT

EDE1204 Bi-Polar Stepper Motor IC

PreLab 6 PWM Design for H-bridge Driver (due Oct 23)

Lighting Tutorial Cornerstone Electronics Technology and Robotics I Week 7

USER S GUIDE POLOLU DRV8838 SINGLE BRUSHED DC MOTOR DRIVER CARRIER USING THE MOTOR DRIVER

Lab# 13: Introduction to the Digital Logic

CHAPTER SEMI-CONDUCTING DEVICES QUESTION & PROBLEM SOLUTIONS

BASIC-Tiger Application Note No. 059 Rev Motor control with H bridges. Gunther Zielosko. 1. Introduction

USER MANUAL FOR THE LM2901 QUAD VOLTAGE COMPARATOR FUNCTIONAL MODULE

Bill of Materials: PWM Stepper Motor Driver PART NO

HANDS-ON LAB INSTRUCTION SHEET MODULE 3 CAPACITORS, TIME CONSTANTS AND TRANSISTOR GAIN

Electronics Review 2 Cornerstone Electronics Technology and Robotics II

Electronic Components

The FMMT718 Range, Features and Applications

LAB 1 AN EXAMPLE MECHATRONIC SYSTEM: THE FURBY

The NMIH-0050 H-Bridge

Exercise 1: Tri-State Buffer Output Control

Devantech SRF04 Ultra-Sonic Ranger Finder Cornerstone Electronics Technology and Robotics II

DC Motor-Driver H-Bridge Circuit

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

1 Second Time Base From Crystal Oscillator

M328 version ESR inductance capacitance meter multifunctional tester DIY

LS7362 BRUSHLESS DC MOTOR COMMUTATOR / CONTROLLER

RC Servo Interface. Figure Bipolar amplifier connected to a large DC motor

LM555 and LM556 Timer Circuits

6. HARDWARE PROTOTYPE AND EXPERIMENTAL RESULTS

ME430 Mechatronics. Lab 2: Transistors, H Bridges, and Motors. Name. Name. The lab team has demonstrated:

H-bridge for DC motor control

DeviceCraft Revision #1 11/29/2010

Evaluation Board: H-Bridge Motor Drivers For DC Brush Motors

Phys Lecture 3. Power circuits how to control your motors Noise and Shielding

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

Formal Report of. Project 2: Advanced Multimeter using VHDL

7I30 MANUAL Quad 100W HBridge

Conventional transistor overview and special transistors

Linear Voltage Regulators Power supplies and chargers SMM Alavi, SBU, Fall2017

MD10B Enhanced 10A Motor Driver

Using Transistors and Driving Motors

Hello, and welcome to the TI Precision Labs video series discussing comparator applications. The comparator s job is to compare two analog input

Lab 4: Analysis of the Stereo Amplifier

Stepper motors. Resources and methods for learning about these subjects (list a few here, in preparation for your research):

Embedded Systems. Oscillator and I/O Hardware. Eng. Anis Nazer First Semester

Micromouse Meeting #3 Lecture #2. Power Motors Encoders

40 Amp Digital Bidirectional PWM Motor Controller with Regenerative Braking BIDIR-340-DR

POLOLU DUAL MC33926 MOTOR DRIVER FOR RASPBERRY PI (ASSEMBLED) USER S GUIDE

As delivered power levels approach 200W, sometimes before then, heatsinking issues become a royal pain. PWM is a way to ease this pain.

Electronic Fundamentals (Digital and Analogue) (2hours)

PS2-SMC-06 Servo Motor Controller Interface

ENG 100 Electric Circuits and Systems Lab 6: Introduction to Logic Circuits

Name & SID 1 : Name & SID 2:

Ocean Controls KT-5198 Dual Bidirectional DC Motor Speed Controller

MD03-50Volt 20Amp H Bridge Motor Drive

Rotary Relay Replacement. for the ICOM 720A KA6BFB

Practical 2P12 Semiconductor Devices

Pulse-Width-Modulation Motor Speed Control with a PIC (modified from lab text by Alciatore)

3a Switching Regulator Circuit Diagram Using Lm317

E X A M I N A T I O N S C O U N C I L SECONDARY EDUCATION CERTIFICATE EXAMINATION ELECTRICAL AND ELECTRONIC TECHNOLOGY TECHNICAL PROFICIENCY

12V Dimmer Kit, version 2

Controlling DC Brush Motor using MD10B or MD30B. Version 1.2. Aug Cytron Technologies Sdn. Bhd.

UM1360 Evaluation Board User s Guide

IR add-on module circuit board assembly - Jeffrey La Favre January 27, 2015

Microprocessors B Lab 4 Spring Motor Control Using Pulse Width Modulation (PWM)

Potentiometer Tutorial Cornerstone Electronics Technology and Robotics I Week 8

The Motor sketch. One Direction ON-OFF DC Motor

Semiconductors, ICs and Digital Fundamentals

Experiment#6: Speaker Control

Low Voltage, High Current Time Delay Circuit

Cornerstone Electronics Technology and Robotics Week 21 Electricity & Electronics Section 10.5, Oscilloscope

Dev Bhoomi Institute Of Technology Department of Electronics and Communication Engineering PRACTICAL INSTRUCTION SHEET

Using Circuits, Signals and Instruments

Electronics Merit Badge Kit Theory of Operation

Single-phase Variable Frequency Switch Gear

MicroToys Guide: Motors N. Pinckney April 2005

4-bit counter circa bit counter circa 1990

Exercise 1: EXCLUSIVE OR/NOR Gate Functions

A servo is an electric motor that takes in a pulse width modulated signal that controls direction and speed. A servo has three leads:

Basic Electronics Course Part 2

Lab Exercise 9: Stepper and Servo Motors

HEATHKIT HD-1410 ELECTRONICKEYER

Department of Electrical Engineering, DESCOET Dhamangaon Rly, India

Project Name: SpyBot

Activity 4: Due before the lab during the week of Feb

PWM BASED DC MOTOR SPEED CONTROLLER USING 555 TIMER

Block Diagram of a DC Power Supply. Wiring diagrams are used to help with the actual circuit wiring.

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

At the end of this course, students should be able to: 1 explain experimental results with theoretical expected outcome

USER S GUIDE POLOLU A4988 STEPPER MOTOR DRIVER CARRIER USING THE DRIVER POWER CONNECTIONS

Schmitt Trigger Inputs, Decoders

12V Victor 888 User Manual

Transcription:

Cornerstone Electronics Technology and Robotics II H-Bridges and Electronic Motor Control 4 Hour Class Administration: o Prayer o Debriefing Botball competition Four States of a DC Motor with Terminals A and B: o Clockwise: Terminal A to GND, Terminal B to +VDC o Counterclockwise: Terminal A to +VDC, Terminal B to GND o Coasting: Terminals A & B disconnected o Braking: Terminal A to Terminal B When a force acts on a motor (such as coasting), the motor acts as a generator, resisting the applied force. So as the motor tries to coast to a stop, the motor acting as a generator resists the coasting rotation thereby serving as a brake. o Perform Motor Control, H-Bridges LAB 1 Four States of a Motor The Need for Motor Drivers: o Motor drivers provide high currents to a motor. o Motor drivers provide higher voltages to motor than microcontrollers can handle. o Motor drivers isolate logic circuits from spikes and electrical noise from the motor. o Motor drivers supply unregulated power from batteries. Basic H-Bridges Motor Driver Circuit: o Circuit is known as an H-bridge because it resembles the letter H. o H-Bridge Using SPST Switches: The motor in the following circuit will operate when the diagonally opposite switches are closed. Motor Runs Clockwise (Switches 1 and 4 Closed) Motor Runs Counter-Clockwise (Switches 2 and 3 Closed) 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

H-Bridge Using Bipolar Transistors: o Transistors can serve as switches in the above circuit and perform the same function. o The transistors used have a peak collector current of 800 ma. o The diodes, D1 D4, are called clamp diodes and they protect the transistors from counter-electro motive force or CEMF. Remember, when current through an inductor is increased or decreased, the inductor "resists" the change in current by producing a voltage between its leads in opposing polarity to the change. Since DC motors act as inductors, they can produce voltages 20 times the original voltage. These diodes trap the voltage spikes. Bipolar NPN and PNP H-Bridge Motor Driver Circuit o Operations: Clockwise Operation: Q3 Grounded, Q2 +9 VDC Counterclockwise Operation: Q1 Grounded, Q4 +9 VDC Braking: Q1 and Q3 Grounded with Q2 and Q4 Disconnected Braking: Q2 and Q4 +9 VDC with Q1 and Q3 Disconnected Coasting: Q1, Q2, Q3, and Q4 Disconnected Perform Motor Control, H-Bridges LAB 3 Bipolar Transistor H- Bridges Motor Driver

o Adding a 4427 Interface Chip: The 4427 IC translates the input logic levels (0 and +5V) to output voltage levels within 25mV of the positive supply voltage or ground. The supply voltage can range from +4.5V to +18V. In our case, the supply voltage is +9V. The peak output current is 1.5A. All of the transistors can not be off at the same time so coast mode is not possible with the 4427 IC. 4427 IC Connection to the H-Bridge Complete Motor Control, H-Bridges LAB 4 4427 Interface IC o Single Output for Motor Control: Since the motion outputs are always reverse of each other, an inverter connected to the second input allows a single output from the microcontroller. See schematic and truth table below. When Input A is HIGH (+5 V), Input B is inverted to a LOW (0V). Single Output H-Bridge Driver Output from Microcontroller Input A Input B HIGH HIGH LOW LOW LOW HIGH Truth Table

Texas Instrument SN754410 Motor Driver IC: o Many applications have no need to supply high current devices. There are smaller H-bridges that require little additional circuitry such as the Texas Instrument SN754410. o Pin Layout: There are 4 sections (1-4) inside, each with an input designated A, and an output designated Y: Each output is good for about 1 amp continuous output. The EN pins enable the outputs when HIGH. The outputs are disconnected from what they are driving when the EN lines are LOW. An inverter can be added to provide bi-directional operation: Connections to SN754410 From http://www.learn-c.com/experiment7.htm o Perform Motor Control, H-Bridges LAB 5 SN754410 H-Bridges Motor Driver o Perform Motor Control, H-Bridges LAB 6 PIC16F88 Driving the SN754410 H-Bridges Motor Driver

Electronics and Robotics II Motor Control, H-Bridges LAB 1 Four States of a Motor Purpose: The purpose of this lab is to have the student verify the four states of a motor. Apparatus and Materials: 1 DC Motor 1 9 Volt Battery Procedure: o Connect the motor in the following manner and record the response of the motor: Connect motor terminal A to GND and terminal B to +9 VDC Motor Response: Connect motor terminal A to +9 VDC, and terminal B to GND Motor Response: Disconnect terminals A & B Motor Response: Connect terminal A to terminal B Motor Response:

Electronics and Robotics II Motor Control, H-Bridges LAB 2 H-Bridges with SPST Switches Purpose: The purpose of this lab is to have the student manually verify the basic function of an H-bridge. Apparatus and Materials: o 1 DC Motor o 1 9 Volt Battery o 4 SPST Switches Procedure: o Wire the follow circuits to operate the motor clockwise, then counterclockwise: (Do not close S1 and S2 or S3 and S4 simultaneously it will create a short circuit) Motor Runs Clockwise (Switches 1 and 4 Closed) Motor Runs Counter-Clockwise (Switches 2 and 3 Closed)

Electronics and Robotics II Motor Control, H-Bridges LAB 3 Bipolar Transistor H-Bridges Motor Driver Purpose: The purpose of this lab is to have the student setup an electronic H-bridge and to operate it manually. Apparatus and Materials: o 1 DC Motor o 1 9 Volt Battery o 2 2N2907A PNP Transistors o 2 2N2222A NPN Transistors o 4 1N5817 Diodes Procedure: o As with switches, do not short circuit through the transistors (Q1 & Q2 or Q3 & Q4). o Wire the following circuit the robotic car breadboard. o Connect the inputs to the transistor bases according to the following table and record the action of the motor: Transistor Connections Q1 Q2 Q3 Q4 Motor Operation +9V +9V GND GND GND GND +9V +9V GND Disconnected GND Disconnected Disconnected +9V Disconnected +9V Disconnected Disconnected Disconnected Disconnected CHECK LINES 3 & 4 FOR +9 AND GND RESPECTIVELY Tie the inputs of Q1 and Q2 together and also connect the inputs of Q3 and Q4 together. What purpose do these connections serve?

Electronics and Robotics II Motor Control, H-Bridges LAB 4 4427 Interface IC Purpose: The purpose of this lab is to have the student insert a 4427 interface IC to simplify the control of an H-bridge. Apparatus and Materials: o 2 DC Motors o 1 4427 Interface IC o 2 2N2907A PNP Transistors o 2 2N2222A NPN Transistors o 4 1N5817 Diodes Procedure: o Refer to the 4427 Interface IC H-Bridge Output Results Table below. Given the inputs for A and B, fill in the states of Q1-Q4 (On or off), then predict the action of the motor (Clockwise, counter-clockwise, braking, or coasting). o Now wire the 4427 interface IC circuit below. o Apply a HIGH, Low, or Disconnect to the inputs A and B of the 4427 IC. o Record the experimental results in the table. 4427 Interface IC Circuit Results: 4427 Interface IC H-Bridge Output Results Input A Input B Q1 Q2 Q3 Q4 Predicted Results Experimental Results HIGH HIGH HIGH LOW LOW HIGH LOW LOW

Electronics and Robotics II Motor Control, H-Bridges LAB 5 SN754410 H-Bridges Motor Driver Purpose: The purpose of this lab is to acquaint the student with the operation of a single chip motor driver SN754410 by Texas Instrument. Discussion: o PWM has yet to be covered so the PWM ports are either set HIGH (100% duty cycle) or LOW (0% duty cycle) See the lesson on PWM to adjust values between 100% and 0%. Apparatus and Materials: o 2 Gearhead DC Motors, Jameco #155855 o 1 SN754410 Quadruple Half-H Driver, Pololu #0024 o 1 74LS04 Hex-Inverter o 8 1N5817 Diodes o 4 10K Resistors o 1 1000 uf Capacitor Procedure: o Wire the circuit below and make the input connections as follows: Motor + Voltage to +9V PWM Motor 1 and 2 to 0V or +5V Forward/Reverse Motor 1 and 2 to 0V or +5V Complete the table below.

Results: SN754410 H-Bridge Motor Driver Results PWM Motor 1 F/R Motor 1 Motor Operation HIGH HIGH HIGH LOW LOW HIGH LOW LOW

Electronics and Robotics II Motor Control, H-Bridges LAB 6 PIC16F88 Driving the SN754410 H-Bridges Motor Driver Purpose: The purpose of this lab is to acquaint the student with using a PIC microcontroller to drive a single chip motor driver SN754410 by Texas Instrument. Apparatus and Materials: o 1 Robotic Car Platform o 2 Gearhead DC Motors, Jameco #155855 o 1 SN754410 Quadruple Half-H Driver, Pololu #0024 o 1 74LS04 Hex-Inverter o 1 PIC16F88 o 8 1N5817 Diodes o 1 4.7K Resistor o 4 10K Resistors o 2 150 Ohm Resistors o 2 - LEDs o 1 1000 uf Capacitor Procedure: o Wire the following circuit on the robotic car breadboard. o Make sure that the motor is from a power supply separate from the PIC16F88. o Program the PIC16F88 with h_bridge_sn754410_with_pic_drive1.pbp.

Challenge: o The robotic car must navigate the given course. o Dead reckoning may be used to navigate the course. o An LCD must display which direction the car is traveling, such as, forward, right, left, or backup. o Create and call up subroutines for each direction of movement including backup. Do not use the word reverse since it is a reserved word in PicBasic Pro. o Save the new program as sn754410_navigate.pbp.

Results to Motor Control, H-Bridges LAB 4 4427 Interface Chip 4427 Interface IC H-Bridge Output Results Input A Input B Q1 Q2 Q3 Q4 Predicted Results Experimental Results HIGH HIGH Off On Off On Braking Braking HIGH LOW Off On On Off Clockwise Clockwise LOW HIGH On Off Off On Counterclockwise Counterclockwise LOW LOW On Off On Off Braking Braking