ME230 Lecture Notes. DC Motors and PID Control

Similar documents
Motor Fundamentals. DC Motor

Motors and Generators

Chen. Vibration Motor. Application note

Simple Analysis for Brushless DC Motors Case Study: Razor Scooter Wheel Motor

DIRECT CURRENT GENERATORS

DC GENERATOR THEORY. LIST the three conditions necessary to induce a voltage into a conductor.

Inductance. Motors. Generators

2. A conductor of length 2m moves at 4m/s at 30 to a uniform magnetic field of 0.1T. Which one of the following gives the e.m.f. generated?

Manufacturing Equipment Modeling

INSTRUMENTATION AND CONTROL TUTORIAL 2 ELECTRIC ACTUATORS

Application Information

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

Direct Current Motors

Brush DC Motor Basics. by Simon Pata Business Unit Manager, Brushless DC

Chapter 22: Electric motors and electromagnetic induction

Principles and Working of DC and AC machines

Induction Motor Theory

EDUMECH Mechatronic Instructional Systems. Ball on Beam System

Drive circuit basics + V. τ e. Industrial Circuits Application Note. Winding resistance and inductance

DC motors: dynamic model and control techniques

13 ELECTRIC MOTORS Basic Relations

CHAPTER 4 DESIGN OF INTEGRAL SLOT AND FRACTIONAL SLOT BRUSHLESS DC MOTOR

Mathematical Modeling and Dynamic Simulation of a Class of Drive Systems with Permanent Magnet Synchronous Motors

Understanding the Alternator

The DC Motor/Generator Commutation Mystery. Commutation and Brushes. DC Machine Basics

Application Information Fully Integrated Hall Effect Motor Driver for Brushless DC Vibration Motor Applications

Speed Control Methods of Various Types of Speed Control Motors. Kazuya SHIRAHATA

How to Turn an AC Induction Motor Into a DC Motor (A Matter of Perspective) Steve Bowling Application Segments Engineer Microchip Technology, Inc.

Equipment: Power Supply, DAI, Wound rotor induction motor (8231), Electrodynamometer (8960), timing belt.

AND8008/D. Solid State Control Solutions for Three Phase 1 HP Motor APPLICATION NOTE

THE LUCAS C40 DYNAMO & ITS ARMATURE.

Lab 8: DC generators: shunt, series, and compounded.

Synchronous motor. Type. Non-excited motors

DCMS DC MOTOR SYSTEM User Manual

Rotating Machinery Diagnostics & Instrumentation Solutions for Maintenance That Matters

FUZZY Based PID Controller for Speed Control of D.C. Motor Using LabVIEW

Technical Guide No High Performance Drives -- speed and torque regulation

ELECTRODYNAMICS 05 AUGUST 2014

Principles of Adjustable Frequency Drives

HITACHI INVERTER SJ/L100/300 SERIES PID CONTROL USERS GUIDE

AC Induction Motor Slip What It Is And How To Minimize It

8 Speed control of Induction Machines

DC Motor control Reversing

Magnetic electro-mechanical machines

dspace DSP DS-1104 based State Observer Design for Position Control of DC Servo Motor

Current Loop Tuning Procedure. Servo Drive Current Loop Tuning Procedure (intended for Analog input PWM output servo drives) General Procedure AN-015

GENERAL POWER SYSTEM WIRING PRACTICES APPLIED TO TECNADYNE DC BRUSHLESS MOTORS

Preview of Period 16: Motors and Generators

TwinCAT NC Configuration

Active Vibration Isolation of an Unbalanced Machine Spindle

SECTION 4 ELECTRIC MOTORS UNIT 17: TYPES OF ELECTRIC MOTORS

Time Response Analysis of DC Motor using Armature Control Method and Its Performance Improvement using PID Controller

MEASURING INSTRUMENTS. By: Nafees Ahmed, Asstt, Prof, EE Deptt, DIT, Dehradun

PID Control. Chapter 10

SYNCHRONOUS MACHINES

CNC Machine Control Unit

Electronic Speed Variator for a Brushless DC Motor

Prof. Krishna Vasudevan, Prof. G. Sridhara Rao, Prof. P. Sasidhara Rao

WINDER SYSTEMS GE Industrial Control Systems

Tips For Selecting DC Motors For Your Mobile Robot

AN3327 Application note

3-Phase BLDC Motor Control with Hall Sensors Using 56800/E Digital Signal Controllers

Introduction. Upon completion of Basics of AC Motors you should be able to:

UNIT 3 AUTOMOBILE ELECTRICAL SYSTEMS

1. The diagram below represents magnetic lines of force within a region of space.

Vehicle Design Summit Electric Hub Motor (V2) Eric Conner Harvey Tang Matthew Peddie

PC BASED PID TEMPERATURE CONTROLLER

Brushless DC Motor Speed Control using both PI Controller and Fuzzy PI Controller

Linear DC Motors Magnetic Flux Permanent Bar Magnets

Motor Modeling and Position Control Lab Week 3: Closed Loop Control

How to Optimize Performance and Minimize Size in High Speed Applications High Performance Brushless DC Motors

Unit 33 Three-Phase Motors

BRUSHLESS DC MOTORS. BLDC 22mm. BLDC Gearmotor Size 9. nuvodisc 32BF. BLDC Gearmotor Size 5

Power Electronics. Prof. K. Gopakumar. Centre for Electronics Design and Technology. Indian Institute of Science, Bangalore.

Comparative Review Of PMSM And BLDCM Based On Direct Torque Control Method

Design and Analysis of Switched Reluctance Motors

Lab 14: 3-phase alternator.

Lesson 3 DIRECT AND ALTERNATING CURRENTS. Task. The skills and knowledge taught in this lesson are common to all missile repairer tasks.

Lecture 6: AC machinery fundamentals

Basics of Electricity

HIGH SPEED PERMANENT MAGNET SYNCHRONOUS MOTOR / GENERATOR DESIGN FOR FLYWHEEL APPLICATIONS

Service and Maintenance. SEW-EURODRIVE Driving the world

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

Power Plant Electrical Distribution Systems

Basics electronic speed Governor

PID Control. Proportional Integral Derivative (PID) Control. Matrix Multimedia 2011 MX009 - PID Control. by Ben Rowland, April 2011

Microcontroller for Variable Speed BLDC Fan Control System. T.C. Lun System Engineer, Freescale Semiconductor, Inc.

A simple method to determine control valve performance and its impacts on control loop performance

Drivetech, Inc. Innovations in Motor Control, Drives, and Power Electronics

Introduction. related products. Upon completion of Basics of DC Drives you will be able to: Explain the concepts of force, inertia, speed, and torque

INSTRUMENTATION AND CONTROL TUTORIAL 3 SIGNAL PROCESSORS AND RECEIVERS

Understanding Generator Ripple Waveforms

. Failure. Analysis... Report...

System Modeling and Control for Mechanical Engineers

Outline Servo Control

Ampere's Law. Introduction. times the current enclosed in that loop: Ampere's Law states that the line integral of B and dl over a closed path is 0

Available online at Available online at

LINEAR MOTOR CONTROL IN ACTIVE SUSPENSION SYSTEMS

Tuning Up DC Motors and Generators for Commutation and Performance

Introduction to Linear Actuators: Precision Linear Motion Accomplished Easily and Economically

Transcription:

ME3 Lecture Notes DC Motors and PID Control 1 Introduction to Control Systems The purpose of a control system is to achieve the desired output from a physical system by controlling the input to a system. The components of a control system include sensors which measure system output, actuators which generate the input to the system, and the controller which is responsible for deciding what input will be sent to the system based upon the measured output. In this handout the topic of actuators and controllers will be addressed. In particular, we will discuss permanent magnet DC brush motors and PID controllers. Permanent Magnet DC Brush Motors Motors are the primary method for actuation in a mechatronic system. Of the many types of motors available, the permanent magnet DC brush motor is the most basic, and are the type used in the lab. An example of this type of motor is given in Figure 1..1 Anatomy of a Permanent Magnet DC Brush Motor The motor can be divided into two main elements the stator (stationary component) and the rotor (rotational component). The stator resides on the outer part of the motor and is composed of permanent magnets that have the form of a hollow cylinder. Figure shows a stator which uses two permanent magnets. The purpose of the stator is to generate a constant magnetic field between the pieces. Note the gap between the magnets. The armature windings shown in Figure 3 are formed by highly elongated ovals of wire wound around deep grooves running down the length of the iron cylindrical rotor. When current flows through a winding that s near one of the gaps between the magnets, it produces a torque on the rotor that tends to turn it. This is caused due to the fact that a force is applied to a current carrying conductor in a magnetic field. To continue rotation of the motor, different armature windings must be energized. This process is taken care of through the use of brushes and commutator rings. Figure is a simplified diagram of this operation. 1

Figure 1: Permanent magnet DC brush motor. Note the voltage terminals and the motor shaft bearing. Figure : Permanent magnet stator. The two pieces establish a magnetic field.

Figure 3: Coils of copper run lengthwise along the rotor and are called armature windings. These are responsible for carrying the current through the magnetic field of the stator. Figure : Simplified diagram of commutation. 3

Historically, the brushes were small pads of short metal wire but nowadays are just blocks of carbon. The brushes are connected to power and ground, and the commutator rings contact the brushes and transfer current to the correct armature windings. Figure 5 provides a rough picture of the brushes, commutator rings, and armature windings. To reverse the direction of motor rotation, the polarity of the applied voltage is changed. An important property of permanent magnet DC brush motors is that generated torque increases linearly with the increasing current through the armature windings, which makes it very easy to control. 3 PID Controllers A control problem is generally defined as how to achieve the desired output from a physical system. For this purpose, automatic control systems are employed. The intelligence necessary to produce the desired output is the responsibility of the controller. The intelligence appears in the form of an algorithm, commonly referred to as a control law. The most common control used in industrial practice is PID control. 1 In the discussion that follows, we will use a DC motor as the physical system to be controlled. Recall that the two first order differential equations that describes the relationship of angular velocity and angular position to input voltage are given by dω = Aω + B V dt dθ = ω dt where ω is the angular velocity of the motor shaft, θ is the angular position, t represents time, A and B are experimental constants, and V is the input voltage. As far as numerical values are concerned, in future simulations, we will use A =.1 andb = 1. It is also important to note that both position or velocity can be considered as the output which we wish to control. We will never seek to control both at the same time because this is either redundant (desired position and velocity are both zero) or impossible. 3.1 Proportional Control Given the first order differential equation relating voltage V to velocity ω for a DC motor, ω = Aω + B V the control problem is how to achieve a desired rotational velocity ω des. One possibility would be to input set amounts of voltage and to take measurements on how fast the motor turned in each case. We could then tabulate the experimental input/output relationship. Given a desired rotational velocity we would look at our table and determine the voltage necessary to attain this. Alternatively, by experimentally determining the values of A and B we could also calculate the necessary voltage to produce the desired rotational velocity through our knowledge of differential equations. Both methods are examples of open-loop control in that in both cases, the actual output (ω) of the motor is not used in determining the input voltage. This causes a serious problem when we try 1 PID stands for [P]roportional-[I]ntegral-[D]erivative.

Figure 5: A blurry picture of the workings of the motor. A brush (carbon block) contacts a commutator ring which routes current to the correct armature winding. 5

1 Proportional Velocity Control of DC Motor, ω des = 1 9 7 Angular Velocity (rad/s) 5 3 1 =.5 =.1 =.5 1 3 5 7 9 1 Time (s) Figure : Proportional velocity control results. to implement open-loop control in the real world. For example, what happens if over time the motor shaft bearings become stiffer, effectively changing the A parameter of our model? What if a load torque is applied to the motor shaft? A better alternative is to determine the voltage input based upon the desired performance and actual performance. This is referred to as closed-loop control. Define the velocity error e such that e = ω des ω Now make the input voltage proportional to the velocity error: V = e where is a constant value. Intuitively, the operation of proportional controllers are easy to understand. Take the initial condition that ω =rad/s and ω des =1rad/s. The initial value of rotational error would be 1rad/s and after being multiplied by a constant gain, the input voltage would be determined. The motor immediately starts accelerating. As the rotational velocity approaches the desired value, it can be seen that the velocity error decreases, reducing the input voltage, which reduces the acceleration of the motor. Over time, the velocity error reaches a finitely small value. The performance of our controller is given in Figure. For velocity control, a higher proportional gain leads to a faster response.

1 PI Velocity Control of DC Motor, ω des = 1, =.1 1 1 Angular Velocity (rad/s) k i =. k i =.5 k i =.5 5 1 15 5 3 Time (s) Figure 7: PI velocity control results. 3. Steady-State Error and the Use of Integral Control Given the differential equation above, it can be shown that for a finite value of proportional gain, there will be a steady-state error in the velocity tracking. Clearly this is shown in Figure. Intuitively it can be argued that if there is no velocity error, then input voltage is equal to zero, implying that the motor decelerates! The amount of steady state error is dependent upon the value of the proportional gain constant. For high gains, steady-state error is reduced. However, high gain controllers are sometimes undesirable, and a different method for eliminating steady state error is used. Amend the control law such that t V = e + k i edt Notice that the control signal is based upon current error information but also past error information through the use of the integral term. It can be shown that the addition of the integral component eliminates steady-state error in this system as shown in Figure 7. Integral control can be dangerous, however, as evidenced in Figure 7 by the choice of k i =.5. Moderate integral gains can lead to system instability. 7

Proportional Position Control of DC Motor, θ des = 1 1 1 1 Angular Position (rad) 1 1 =.1 =.1 =.1 5 1 15 5 3 35 5 5 Time (s) Figure : Proportional position control results. 3.3 Overshoot, Oscillation, and the Use of Derivative Gain High gain controllers benefit from fast response times and high frequency tracking. The downside of a high gain controller is that the system often exhibits overshoot to a step input, and oscillation during tracking. To demonstrate this, consider the problem of position control. Similar to velocity control, let the desired performance be specified as θ des, and the error be defined as e = θ des θ. Using proportional control the response of the DC motor to a step input in desired position is given in Figure. Note that using moderate gains causes extreme overshoot and oscillation in the actual response of the motor. Lowering the gain attenuates these problems but increases the response time. Realize that integral control is not a solution to this problem integral control increases this instability! A method for increasing the effective damping of the system is to once again amend the control law such that t de V = e + k i edt+ k d dt Intuitively, while the integral term gives past error information, the addition of the derivative term effectively acts to give future information. Derivative gain is used to smooth the response of the system and this is shown in Figure 9. It s important to realize, however, that implementing derivative control is usually very difficult. This stems from the fact that numerical differentiation is often used, and this procedure tends to amplify noise in the position measurement.

PD Position Control of DC Motor, θ des = 1, =.1 1 1 1 Angular Position (rad) 1 1 k d =. k d =.5 k d =.1 1 1 1 1 1 Time (s) Figure 9: PD position control results. 3. Tuning PID Controllers The act of selecting, k i,andk d for desired system performance is called gain tuning. The vast majority of the control effort should be supplied by the proportional component, while small amounts of integral and derivative control are added to address the specific problems described above. Start by just using proportional control to achieve roughly the desired transient response. Then add integral and derivative control in moderation if the system behavior requires it. 9