PID Control. Objectives

Similar documents
ECE3510 Lab #5 PID Control

Feedback Control of Linear SISO systems. Process Dynamics and Control

2.004 Dynamics and Control II Spring 2008

Quanser NI-ELVIS Trainer (QNET) Series: QNET Experiment #02: DC Motor Position Control. DC Motor Control Trainer (DCMCT) Student Manual

EE 422G - Signals and Systems Laboratory

ECE 5670/6670 Lab 8. Torque Curves of Induction Motors. Objectives

FEEDBACK CONTROL SYSTEMS

Bangladesh University of Engineering and Technology. EEE 402: Control System I Laboratory

Laboratory 11 Control Systems Laboratory ECE3557. State Feedback Controller for Position Control of a Flexible Joint

Review: stability; Routh Hurwitz criterion Today s topic: basic properties and benefits of feedback control

Control of Electromechanical Systems

Plan of the Lecture. Review: stability; Routh Hurwitz criterion Today s topic: basic properties and benefits of feedback control

SRV02-Series Rotary Experiment # 1. Position Control. Student Handout

State Feedback Controller for Position Control of a Flexible Link

DC-motor PID control

EE 3CL4: Introduction to Control Systems Lab 4: Lead Compensation

Unit 8: Part 2: PD, PID, and Feedback Compensation

Chapter 5 HW Solution

System Modeling: Motor position, θ The physical parameters for the dc motor are:

King Saud University

Control Systems Design

Automatic Control (TSRT15): Lecture 7

ECE 5670/ Lab 3. PID Control of a Brush DC Motor. Objectives

EE C128 / ME C134 Fall 2014 HW 6.2 Solutions. HW 6.2 Solutions

Laboratory Exercise 1 DC servo

Analysis and Design of Control Systems in the Time Domain

Dr Ian R. Manchester Dr Ian R. Manchester AMME 3500 : Review

YTÜ Mechanical Engineering Department

Chapter 12. Feedback Control Characteristics of Feedback Systems

QFT Framework for Robust Tuning of Power System Stabilizers

CYBER EXPLORATION LABORATORY EXPERIMENTS

Control of Manufacturing Processes

QNET DC Motor Control

YTÜ Mechanical Engineering Department

Chapter 7 - Solved Problems

C(s) R(s) 1 C(s) C(s) C(s) = s - T. Ts + 1 = 1 s - 1. s + (1 T) Taking the inverse Laplace transform of Equation (5 2), we obtain

EE 380 EXAM II 3 November 2011 Last Name (Print): First Name (Print): ID number (Last 4 digits): Section: DO NOT TURN THIS PAGE UNTIL YOU ARE TOLD TO

CHAPTER 1 Basic Concepts of Control System. CHAPTER 6 Hydraulic Control System

R a) Compare open loop and closed loop control systems. b) Clearly bring out, from basics, Force-current and Force-Voltage analogies.

Video 5.1 Vijay Kumar and Ani Hsieh

R10 JNTUWORLD B 1 M 1 K 2 M 2. f(t) Figure 1

Control System. Contents

Manufacturing Equipment Control

PID controllers. Laith Batarseh. PID controllers

100 (s + 10) (s + 100) e 0.5s. s 100 (s + 10) (s + 100). G(s) =

Outline. Classical Control. Lecture 5

6.1 Sketch the z-domain root locus and find the critical gain for the following systems K., the closed-loop characteristic equation is K + z 0.

ECE317 : Feedback and Control

Controls Problems for Qualifying Exam - Spring 2014

Contents. PART I METHODS AND CONCEPTS 2. Transfer Function Approach Frequency Domain Representations... 42

Example: DC Motor Speed Modeling

Positioning Servo Design Example

Chapter 9: Controller design

UNIVERSITY OF WASHINGTON Department of Aeronautics and Astronautics

06 Feedback Control System Characteristics The role of error signals to characterize feedback control system performance.

Digital Control: Summary # 7

Control Systems. State Estimation.

(b) A unity feedback system is characterized by the transfer function. Design a suitable compensator to meet the following specifications:

Lab 3: Model based Position Control of a Cart

Lab 3: Quanser Hardware and Proportional Control

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Mechanical Engineering 2.04A Systems and Controls Spring 2013

sc Control Systems Design Q.1, Sem.1, Ac. Yr. 2010/11

Time Response Analysis (Part II)

Introduction to Feedback Control

Proportional plus Integral (PI) Controller

Example: Modeling DC Motor Position Physical Setup System Equations Design Requirements MATLAB Representation and Open-Loop Response

MAS107 Control Theory Exam Solutions 2008

Chapter 2. Classical Control System Design. Dutch Institute of Systems and Control

Position Control Experiment MAE171a

ECSE 4962 Control Systems Design. A Brief Tutorial on Control Design

MAE106 Homework 2 - Solution DC Motors & Intro to the frequency domain

UNIVERSITY OF BOLTON SCHOOL OF ENGINEERING BSC (HONS) MECHATRONICS TOP-UP SEMESTER 1 EXAMINATION 2017/2018 ADVANCED MECHATRONIC SYSTEMS

IMPROVED TECHNIQUE OF MULTI-STAGE COMPENSATION. K. M. Yanev A. Obok Opok

ME 304 CONTROL SYSTEMS Spring 2016 MIDTERM EXAMINATION II

Project Lab Report. Michael Hall. Hao Zhu. Neil Nevgi. Station 6. Ta: Yan Cui

Lecture 25: Tue Nov 27, 2018

EE3CL4: Introduction to Linear Control Systems

CHAPTER 4 STATE FEEDBACK AND OUTPUT FEEDBACK CONTROLLERS

AN INTRODUCTION TO THE CONTROL THEORY

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING

PD, PI, PID Compensation. M. Sami Fadali Professor of Electrical Engineering University of Nevada

Performance of Feedback Control Systems

Control Systems. University Questions

Survey of Methods of Combining Velocity Profiles with Position control

Lec 6: State Feedback, Controllability, Integral Action

Outline. Classical Control. Lecture 2

3 Lab 3: DC Motor Transfer Function Estimation by Explicit Measurement

Objective: To study P, PI, and PID temperature controller for an oven and compare their performance. Name of the apparatus Range Quantity

Hands-on Lab. Damped Compound Pendulum System ID (Experimental and Simulation) L Bar length m d Pivot to CG distance m m Mass of pendulum kg

Exercises for lectures 13 Design using frequency methods

Lecture 5 Classical Control Overview III. Dr. Radhakant Padhi Asst. Professor Dept. of Aerospace Engineering Indian Institute of Science - Bangalore

The output voltage is given by,

UNIVERSITY OF BOLTON SCHOOL OF ENGINEERING BENG (HONS) IN BIOMEDICAL ENGINEERING SEMESTER 1 EXAMINATION 2017/2018 ADVANCED BIOMECHATRONIC SYSTEMS

Introduction to Root Locus. What is root locus?

EL2450: Hybrid and Embedded Control Systems: Homework 1

Index. Index. More information. in this web service Cambridge University Press

Texas A & M University Department of Mechanical Engineering MEEN 364 Dynamic Systems and Controls Dr. Alexander G. Parlos

Integrator Windup

Computer Aided Control Design

Feedback Control Systems

Transcription:

PID Control Objectives The objective of this lab is to study basic design issues for proportional-integral-derivative control laws. Emphasis is placed on transient responses and steady-state errors. The first control problem consists in the regulation of velocity for brush DC motors and is solved using proportional-integral control. The second problem consists in the regulation of position and requires derivative compensation in the form of velocity feedback. Introduction In the lab on first-order systems, the response of a brush DC motor with the voltage v (V or volts) considered as an input and the angular velocity ω (rad/s or s 1 )consideredasanoutput was found to be approximately described by a model P (s) = ω(s) v(s) = A proportional control law (P) consists in having k (s + a). (8.16) v = k P (r ω), (8.17) where r is the reference input for the velocity, in rad/s. k P The resulting closed-loop transfer function is given by is called the proportional gain. P CL (s) = ω(s) r(s) = kk P s + a + kk P. (8.18) Note that the closed-loop pole is given by a kk P. In theory, it would appear that the closedloop pole could be moved arbitrarily far in the left-half plane through the use of a sufficiently large proportional gain. The response of the system could be made arbitrarily fast in that manner. As this lab will show, there are limits on the gains that can be applied, however. Theselimitsareduetoeffects that are neglected in the model (such as the inductance of the motor and the limit on the voltage), but are nevertheless present in the physical system. 236

Proportional-integral control for velocity tracking TheDCgainin(8.18)isequaltokk P /(a + kk P ). For large k P, this gain approaches 1, but large gains are impractical. Therefore, it is useful to modify the control law in order to adjust the DC gain. Specifically, replacing (8.17) by v = k P (k F r ω), (8.19) yields a closed-loop transfer function P CL (s) = ω(s) r(s) = k F kk P s + a + kk P. (8.20) The closed-loop pole is equal to the original one, but the DC gain can now be adjusted to 1 by setting k F = a + kk P kk P. (8.21) We will call k F the feedforward gain. Despite the capability of adjusting the feedforward gain k F in order to obtain a DC gain of 1, perfect tracking of reference inputs is usually not achieved because the parameters of the system are not exactly known or may vary, and because disturbances may affect the response of the system. These problems can be resolved through the use of a proportional-integral (PI) control law of the form v = k P (r ω)+k I (r ω)dt, (8.22) where k P and k I are called the proportional gain and the integral gain, respectively. Then, the closed-loop transfer function becomes k I P CL (s) = ω(s) kk P (s + ) r(s) = k P s 2. (8.23) +(a + kk P )s + kk I The DC gain is equal to 1, regardless of what the parameters of the system or of the control law are. Of course, it should be remembered that the DC gain reflects the steady-state conditions only if the closed-loop system is stable, i.e., if the poles of (8.23) are all in the open left-half plane. Generally, the responses cannot be made as fast for a PI control law, so that the benefit of a zero steady-state error has to be weighted against that of the speed of response. 237

Proportional-integral-derivative control for position tracking To control position, instead of velocity, it is common to use of proportional-integral-derivative (PID) control law d v = k P (r θ)+k I (r θ)dt + k D (r θ). (8.24) dt Note that the derivative term can be viewed as a proportional feedback acting on the velocity error. In general, derivative feedback improves the stability and the damping of the closed-loop system. In practice, the control law (8.24) is often modified in two ways. First, the derivative action is applied only to the output θ, and not to the reference input. This is done because reference inputs often change in steps, and the derivative is then either zero or not defined (infinite). Second, a feedforward gain is often applied to the reference input. This is not done to adjust the DC gain (as for the control law without integral term), but rather to place the zero of the closed-loop transfer function. This will be explained shortly. The modified control law is given by d v = k P (k F r θ)+k I (r θ)dt k D θ. (8.25) dt The closed-loop transfer function for the system with transfer function P (s) = θ(s) v(s) = and the PID control law (8.25), is given by k s(s + a), (8.26) k I P CL (s) = θ(s) kk F k P (s + ) r(s) = k F k P s 3 +(a + kk D )s 2. (8.27) + kk P s + kk I Note that the closed-loop transfer function (8.27) has three poles. There is also a zero at k I /(k F k P ). For the original control law with k F = 1, the zero may have a small magnitude compared to the closed-loop poles, yielding overshoot in the step response even if the closedloop poles were well-damped. Reducing the value of k F allows one to push the zero farther in the left-half plane and to improve the step response. Pre-lab Derive equation (8.20) and calculate values of k P and k F such that the closed-loop pole is at an arbitrary location b and such that the DC gain is 1. Specialize the results to the cases 238

b =2a, b =6a, andb =11a. Calculate the specific values of the gains for the DC motor (a =100,k = 1000) for all three cases. Derive equation (8.23) and calculate values of k P and k I such that the closed-loop poles are both at an arbitrary location b. Specialize the results to the case where b = a, andto the specific values of the DC motor. Derive the transfer function given in (8.27) and calculate the values of the PID parameters such that all three poles are placed at some b. Calculate the parameters that correspond to b = a, and also for the specific motor parameters (a =100,k = 1000). Experiments Equipment needed You will need a brush DC motor, a dual power amplifier, and a cable rack. Preliminary testing Carry out the usual testing procedure. Transfer the file LAB4.C to your account, and create an executable program for the file. Proportional control The program LAB4 lets you enter values for the proportional, integral, and feedforward gains. Then, you enter a value for the reference input, and may change it in real-time. The reference input is a reference speed, given in rpm. First, experiment with proportional control by letting k I =0. Setk P and k F according to the pre-lab calculations, and apply a reference input that steps from 0 to 1000 rpm and then to 2000 rpm and then back to zero. Repeat the experiment for all three cases and plot the results. Discuss what happens when the gain k P becomes large. Proportional-integral control Apply the values calculated for the PI control law, setting k F = 1 in the program. You may also experiment with other values of k P and k I, in particular those resulting in faster responses. Plottheresultsforyourbestexperiment. Proportional-integral-derivative (PID) control Adjust the program LAB4.C in order to: 239

Read the derivative parameter k D from the keyboard (change a printf statement and add a scanf statement in user init). Read the reference position in degrees (change a printf statement in user init and compute r in rad in user task). Implement the PID control law for position (change the computation of u in user task). Declare the new variables at the beginning of the program. Once this is done, you may apply the calculated values of the PID parameters, with k F =1, and a step of reference input of 90. The settling time should be approximately 100ms, with an overshoot of the response. Adjusting the parameter k F should yield a better response. Plot the results for a few values of k F on a single graph. Indicate what value of k F gives the best response (minimum settling time with negligible overshoot). DEMONSTRATE YOUR FINAL EXPERIMENT TO THE TA Report at a glance Be sure to include: Pre-lab calculations. Plots of the responses with the proportional control law, for the three cases. Plot of the response with the proportional-integral control law, with the values of the gains that were used. Plot of responses with PID control law, and a few values of k F. Written note from the TA that the program worked. Comments. 240