Brushed DC Motor PWM Speed Control with the NI myrio, Optical Encoder, and H-Bridge

Similar documents
Brushed DC Motor System

Brushed DC Motor Microcontroller PWM Speed Control with Optical Encoder and H-Bridge

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

Stepper Motor Drive Circuit

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

INTEGRATED CIRCUITS. AN1221 Switched-mode drives for DC motors. Author: Lester J. Hadley, Jr.

Actuators. EECS461, Lecture 5, updated September 16,

DUAL STEPPER MOTOR DRIVER

2.017 DESIGN OF ELECTROMECHANICAL ROBOTIC SYSTEMS Fall 2009 Lab 4: Motor Control. October 5, 2009 Dr. Harrison H. Chin

DC SERVO MOTOR CONTROL SYSTEM

Understanding RC Servos and DC Motors

DC motor control using arduino

Figure 1: Motor model

User Guide IRMCS3041 System Overview/Guide. Aengus Murray. Table of Contents. Introduction

CHAPTER-III MODELING AND IMPLEMENTATION OF PMBLDC MOTOR DRIVE

Robot Actuators. Motors and Control. Stepper Motor Basics. Increased Resolution. Stepper motors. DC motors AC motors. Physics review: Nature is lazy.

10 AMP, 75V, 3 PHASE MOSFET BRUSHLESS MOTOR CONTROLLER

PART 2 - ACTUATORS. 6.0 Stepper Motors. 6.1 Principle of Operation

DEPARTMENT OF ELECTRICAL AND ELECTRONIC ENGINEERING BANGLADESH UNIVERSITY OF ENGINEERING & TECHNOLOGY EEE 402 : CONTROL SYSTEMS SESSIONAL

NJM3777 DUAL STEPPER MOTOR DRIVER NJM3777E3(SOP24)

Step vs. Servo Selecting the Best

NJM37717 STEPPER MOTOR DRIVER

LSI/CSI LS8292 LS8293. PRELIMINARY MICRO-STEPPING MOTOR CONTROLLER June 2013

A COMPARISON STUDY OF THE COMMUTATION METHODS FOR THE THREE-PHASE PERMANENT MAGNET BRUSHLESS DC MOTOR

Volume 1, Number 1, 2015 Pages Jordan Journal of Electrical Engineering ISSN (Print): , ISSN (Online):

10 AMP, 75V, 3 PHASE MOSFET BRUSHLESS MOTOR CONTROLLER

POLOLU MAX14870 SINGLE BRUSHED DC MOTOR DRIVER CARRIER USER S GUIDE

100 VOLT 10 AMP RAD-HARD H-BRIDGE PWM MOTOR DRIVER/AMPLIFIER Dey Road Liverpool, N.Y (315)

BLOCK DIAGRAM OF THE UC3625

User Guide Introduction. IRMCS3043 System Overview/Guide. International Rectifier s imotion Team. Table of Contents

Where: (J LM ) is the load inertia referred to the motor shaft. 8.0 CONSIDERATIONS FOR THE CONTROL OF DC MICROMOTORS. 8.

Modeling Position Tracking System with Stepper Motor

ELG2336 Introduction to Electric Machines

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

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

100 VOLT 30 AMP H-BRIDGE PWM MOTOR

Designated client product

Transconductance vs Voltage Amplifiers

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

MP V - 21V, 0.8A, H-Bridge Motor Driver in a TSOT23-6

815-BR SERVO AMPLIFIER FOR BRUSH SERVOMOTORS

The motors are described by the following numbering system: D 500 ppr encoder 1 E 1,000 ppr encoder 1 H Hall-effect only R resolver

PHASE BRUSHLESS DC MOTOR CONTROLLER/DRIVER FEATURES

MEM01: DC-Motor Servomechanism

HIGH PERFORMANCE BRUSHLESS DC MOTOR DRIVER (800) 546-APEX (800) TOP DRIVE 1 1/2 BRIDGE 11 BOTTOM DRIVE 1

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

UNIT 2: DC MOTOR POSITION CONTROL

Modelling and Control of Hybrid Stepper Motor

CHAPTER 2 PID CONTROLLER BASED CLOSED LOOP CONTROL OF DC DRIVE

LMD A, 55V H-Bridge

Penn State Erie, The Behrend College School of Engineering

Designated client product

CHAPTER 3 EQUIVALENT CIRCUIT AND TWO AXIS MODEL OF DOUBLE WINDING INDUCTION MOTOR

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

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

Analog Devices: High Efficiency, Low Cost, Sensorless Motor Control.

Type of loads Active load torque: - Passive load torque :-

Pololu Dual G2 High-Power Motor Driver for Raspberry Pi

Implementation of Brushless DC motor speed control on STM32F407 Cortex M4

MEHRAN UNIVERSITY OF ENGINEERING & TECHNOLOGY, JAMSHORO

MSK4310 Demonstration

9 Things to Consider When Specifying Servo Motors

Motor Drives & Controllers

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

AC Drive Technology. An Overview for the Converting Industry. Siemens Industry, Inc All rights reserved.

PWM BASED DC MOTOR SPEED CONTROLLER USING 555 TIMER

International Journal of Science, Engineering and Management (IJSEM) Vol 3, Issue 12, December 2018 Self-Tuned PID Based Speed Control of BLDC Motor

Everything s possible. AxCent Panel Mount Drives. for Servo Systems. Hardware. Installation Manual. MNACHWIN-06

PBL 3717/2 Stepper Motor Drive Circuit

PBL 3775/1 Dual Stepper Motor Driver

CHAPTER 2 CURRENT SOURCE INVERTER FOR IM CONTROL

LMD A, 55V H-Bridge

Laboratory Investigation of Variable Speed Control of Synchronous Generator With a Boost Converter for Wind Turbine Applications

Speed Control of DC Motor Using Microcontroller

Design and Implementation of PID Controller for a two Quadrant Chopper Fed DC Motor Drive

UNIT-III STATOR SIDE CONTROLLED INDUCTION MOTOR DRIVE

Magnetic Levitation System

PBL 3774/1. Dual Stepper Motor Driver PBL3774/1. February Key Features. Description PBL 3774/1

DeviceCraft Revision #1 11/29/2010

Simulation Study of MOSFET Based Drive Circuit Design of Sensorless BLDC Motor for Space Vehicle

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.

SilverMax Datasheet. QuickSilver Controls, Inc. NEMA 23 Servomotors.

Fundamentals of Microelectronics

BLOCK DIAGRAM OF THE UC3625

MICROCONTROLLER BASED BOOST PID MUNAJAH BINTI MOHD RUBAEE

ECE 5670/ Lab 6. Parameter Estimation of a Brushless DC Motor. Objectives

Dual Full-Bridge PWM Motor Driver AMM56219

Dual Full-Bridge PWM Motor Driver AM2168

3Specifications CHAPTER THREE IN THIS CHAPTER

Analog Servo Drive 25A20DD

3. What is the difference between Switched Reluctance motor and variable reluctance stepper motor?(may12)

R2000 FAQs [R2000FAQ.doc rev:0807]

Electronics, Sensors, and Actuators

Discontinued Product

Part A: Lumped Element Simulation (Saber) Exercise 5: Electronic Motor Controller Last Name First Name Matr.-Nr.

SA60. H-Bridge Motor Driver/Amplifiers SA60

NJM3773 DUAL STEPPER MOTOR DRIVER

A4970. Dual Full-Bridge PWM Motor Driver

Ocean Controls KT-5198 Dual Bidirectional DC Motor Speed Controller

International Journal of Advance Engineering and Research Development. PI Controller for Switched Reluctance Motor

Transcription:

Brushed DC Motor PWM Speed Control with the NI myrio, Optical Encoder, and H-Bridge Motor Controller Brushed DC Motor / Encoder System K. Craig 1

Gnd 5 V OR Gate H-Bridge 12 V Bypass Capacitors Flyback Diodes Motor Controller The motor is connected to the outputs of the bridge. Depending on the type of H-Bridge used, internal protection to the transistor of the bridge may not exist. In this case, external protection circuitry needs to be provided. This protection consists of diodes connected in anti-parallel to the transistors. Shottky diodes are preferred for inductive loads. The motor rated voltage needs to be supplied to the bridge in order to allow the motor to develop rated torque. If the bridge is supplied with voltage higher than the motor rated voltage, damage may occur to the motor. A sensing resistor (R s ) can be used to monitor the motor current and shutdown the transistors if the motor rated current or the bridge maximum current is exceeded. Brushed DC Motor / Encoder System K. Craig 2

Brushed DC Motor / Encoder System K. Craig 3

The torque command from the control system can be split into two PWM signals. A dead-band control is used to avoid short circuits on the bridge with inductive loads while switching direction, as the transistor that is commanded to turn off stays conducting for a short period of time due the motor back-emf when the other transistor on the same branch may be commanded to turn on for the switching in direction. Thus, if the voltage command is within the dead-band, all four transistors are turned off. If the voltage command is positive and higher than the dead-band threshold, a signal is applied to the PWM FWD Direction output. Similarly, if the voltage command is negative and lower than the dead-band threshold, signal is applied to the PWM REV Direction output. Forward Direction Reverse Direction LabVIEW Programming Brushed DC Motor / Encoder System K. Craig 4

LabVIEW Front Panel Brushed DC Motor / Encoder System K. Craig 5

LabVIEW Block Diagram Brushed DC Motor / Encoder System K. Craig 6

Pittman DC Servo Motor 8322S001 Brushed DC Motor / Encoder System K. Craig 7

Pittman DC Servo Motor 8322S001 Encoder 500 counts/rev Wire Function Color Pins 1 GND Black GND 2 Index Green - 3 CH A Yellow 4 Vcc Red 5V 5 CH B Blue Brushed DC Motor / Encoder System K. Craig 8

L298 Dual Full Bridge Driver Brushed DC Motor / Encoder System K. Craig 9

Topics Brushed DC Motor Physical & Mathematical Models, Hardware Parameters H-Bridge Operation Feedback Control Design MatLab / Simulink Design and Auto-Code Generation Brushed DC Motor / Encoder System K. Craig 10

Brushed DC Motor Pittman DC Servo Motor Schematic Brushed DC Motor Brushed DC Motor / Encoder System K. Craig 11

For a permanent-magnet DC motor i f = constant. Physical Modeling Brushed DC Motor / Encoder System K. Craig 12

Physical Modeling Assumptions The copper armature windings in the motor are treated as a resistance and inductance in series. The distributed inductance and resistance is lumped into two characteristic quantities, L and R. The commutation of the motor is neglected. The system is treated as a single electrical network which is continuously energized. The compliance of the shaft connecting the load to the motor is negligible. The shaft is treated as a rigid member. The total inertia J is a single lumped inertia, equal to the sum of the inertias of the rotor and the driven load. Brushed DC Motor / Encoder System K. Craig 13

There exists motion only about the axis of rotation of the motor, i.e., a one-degree-of-freedom system. The parameters of the system are constant, i.e., they do not change over time. The damping in the mechanical system is modeled as viscous damping B, i.e., all stiction and dry friction are initially neglected. The optical encoder output is decoded in software. Position and velocity are calculated and made available as analog signals for control calculations. The motor is driven with a PWM control signal to a H- Bridge. The time delay associated with this, as well as computation for control, is lumped into a single system time delay. Brushed DC Motor / Encoder System K. Craig 14

Mathematical Modeling Steps Define System, System Boundary, System Inputs and Outputs Define Through and Across Variables Write Physical Relations for Each Element Write System Relations of Equilibrium and/or Compatibility Combine System Relations and Physical Relations to Generate the Mathematical Model for the System Brushed DC Motor / Encoder System K. Craig 15

Physical Relations P out Tm Kti m Vb Kb P T K i P V i K i P out m t m in b m b m in K K K t b m dil VL L VR Ri R TB B dt T J J J J J J motor load t P P out in t t Brushed DC Motor / Encoder System K. Craig 16 K K t b K (oz in / A) 1.3524K (V / krpm) K (Nm / A) b 3 9.5493 10 K b(v / krpm) K (Nm / A) K (V s / rad) b

System Relations + Equations of Motion KVL Vin VR VL Vb 0 Tm TB TJ 0 ir il im i di d Vin Ri L Kb 0 J B Kti 0 dt dt d B Kt dt J J 0 V di K 1 b R i L dt L L Newton s Law Brushed DC Motor / Encoder System K. Craig 17 in

Steady-State Conditions di Vin Ri L Kb 0 dt T Vin R Kb 0 K t K t K tkb T Vin R R K t Ts V Stall Torque in R Vin 0 No-Load Speed K b Brushed DC Motor / Encoder System K. Craig 18

Transfer Functions di d Vin Ri L Kb 0 J B Kti 0 dt dt V s (Ls R)I(s) K (s) 0 Js B (s) K I(s) 0 in b t (s) Kt Kt V (s) Js B Ls R K K JLs BL JR s BR K K 2 in t b t b s K t JL B R BR KK s J L JL JL 2 t b Brushed DC Motor / Encoder System K. Craig 19

Block Diagram V in + - 1 Ls R i K t T m 1 Js B K b Brushed DC Motor / Encoder System K. Craig 20

Simplification J L m >> e B R d Vin Ri Kb 0 J B Kti 0 dt d 1 K t J B K ti K t Vin Kb Vin Kb dt R R d 1 dt d K tkb B K t V dt RJ J RJ d 1 1 dt motor m K t V in since m motor motor RJ Brushed DC Motor / Encoder System K. Craig 21 K t RJ V in in

Brushed DC Motor / Encoder System K. Craig 22

Brushed DC Motor / Encoder System K. Craig 23

Brushed DC Motor / Encoder System K. Craig 24

Brushed DC Motor / Encoder System K. Craig 25

Brushed DC Motor / Encoder System K. Craig 26

Brushed DC Motor / Encoder System K. Craig 27

Brushed DC Motor / Encoder System K. Craig 28

Brushed DC Motor / Encoder System K. Craig 29

MatLab M-File Brushed DC Motor / Encoder System K. Craig 30

H-Bridge Operation For DC electric motors, a power device configuration called an H-Bridge is used to control the direction and magnitude of the voltage applied to the load. The H- Bridge consists of four electronic power components arranged in an H-shape in which two or none of the power devices are turned on simultaneously. A typical technique to control the power components is via a PWM (Pulse Width Modulation) signal. A PWM signal has a constant frequency called the carrier frequency. Although the frequency of a PWM signal is constant, the width of the pulses (the duty cycle) varies to obtain the desired voltage to be applied to the load. Brushed DC Motor / Encoder System K. Craig 31

The H-Bridge can be in one of the four states: coasting, moving forward, moving backward, or braking, as shown on the next slide. In the coasting mode, all four devices are turned off and since no energy is applied to the motor, it will coast. In the forward direction, two power components are turned on, one connected to the power supply and one connected to ground. In reverse direction, only the opposite power components are turned on supplying voltage in the opposite direction and allowing the motor to reverse direction. In braking, only the two devices connected to ground are tuned on. This allows the energy of the motor to quickly dissipate, which will take the motor to a stop. Brushed DC Motor / Encoder System K. Craig 32

Brushed DC Motor / Encoder System K. Craig 33

The four diodes shown in anti-parallel to the transistors are for back-emf current decay when all transistors are turned off. These diodes protect the transistors from the voltage spike on the motor leads due to the back-emf when all four transistors are turned off. This could yield excessive voltage on the transistor terminals and potentially damage them. They must be sized to a current higher than the motor current and for the lowest forward voltage to reduce junction temperature and the time to dissipate the motor energy. Brushed DC Motor / Encoder System K. Craig 34

Diodes for back-emf protection are shown. The solid line is the current flow when the transistors on the upper left corner and on the lower right corner are turned on. The dashed line shows the motor current when all transistors are turned off. Brushed DC Motor / Encoder System K. Craig 35

Block diagram of L298 (Dual Full Bridge Driver) Brushed DC Motor / Encoder System K. Craig 36