CONTROL SYSTEMS LABORATORY ECE311 LAB 3: Control Design Using the Root Locus

Similar documents
STABILITY and Routh-Hurwitz Stability Criterion

20.2. The Transform and its Inverse. Introduction. Prerequisites. Learning Outcomes

CHOOSING THE NUMBER OF MODELS OF THE REFERENCE MODEL USING MULTIPLE MODELS ADAPTIVE CONTROL SYSTEM

Transfer Functions. Chapter 5. Transfer Functions. Derivation of a Transfer Function. Transfer Functions

PHYSICS 211 MIDTERM I 22 October 2003

When current flows through the armature, the magnetic fields create a torque. Torque = T =. K T i a

Massachusetts Institute of Technology Dynamics and Control II

2. The Laplace Transform

TP 10:Importance Sampling-The Metropolis Algorithm-The Ising Model-The Jackknife Method

Low-order simultaneous stabilization of linear bicycle models at different forward speeds

APPENDIX 2 LAPLACE TRANSFORMS

positive definite (symmetric with positive eigenvalues) positive semi definite (symmetric with nonnegative eigenvalues)

LINKÖPINGS TEKNISKA HÖGSKOLA. Fluid and Mechanical Engineering Systems

6.447 rad/sec and ln (% OS /100) tan Thus pc. the testing point is s 3.33 j5.519

EE 4443/5329. LAB 3: Control of Industrial Systems. Simulation and Hardware Control (PID Design) The Inverted Pendulum. (ECP Systems-Model: 505)

Fig. 1. Open-Loop and Closed-Loop Systems with Plant Variations

Analysis of Variance and Design of Experiments-II

4-4 E-field Calculations using Coulomb s Law

The Root Locus Method

PHYS 601 HW 5 Solution. We wish to find a Fourier expansion of e sin ψ so that the solution can be written in the form

SIMULATION OF TRANSIENT EQUILIBRIUM DECAY USING ANALOGUE CIRCUIT

ECE 3510 Root Locus Design Examples. PI To eliminate steady-state error (for constant inputs) & perfect rejection of constant disturbances

MODERN CONTROL SYSTEMS

MEM 355 Performance Enhancement of Dynamical Systems Root Locus Analysis

Chapter 13. Root Locus Introduction

VSS CONTROL OF STRIP STEERING FOR HOT ROLLING MILLS. M.Okada, K.Murayama, Y.Anabuki, Y.Hayashi

ELECTRICAL CIRCUITS 10. PART II BAND PASS BUTTERWORTH AND CHEBYSHEV

Approximation of continuous-time systems with discrete-time systems

Flexible Beam. Objectives

Reinforcement learning

ECE-320 Linear Control Systems. Spring 2014, Exam 1. No calculators or computers allowed, you may leave your answers as fractions.

ELEC 372 LECTURE NOTES, WEEK 6 Dr. Amir G. Aghdam Concordia University

Root Locus Contents. Root locus, sketching algorithm. Root locus, examples. Root locus, proofs. Root locus, control examples

Space Curves. Recall the parametric equations of a curve in xy-plane and compare them with parametric equations of a curve in space.

ME 375 FINAL EXAM Wednesday, May 6, 2009

ME 375 FINAL EXAM SOLUTIONS Friday December 17, 2004

CBE 291b - Computation And Optimization For Engineers

Homework 12 Solution - AME30315, Spring 2013

Problem Set 3 Solutions

Review of Calculus, cont d

Properties of Integrals, Indefinite Integrals. Goals: Definition of the Definite Integral Integral Calculations using Antiderivatives

Digital Control System

Math 2142 Homework 2 Solutions. Problem 1. Prove the following formulas for Laplace transforms for s > 0. a s 2 + a 2 L{cos at} = e st.

ME2142/ME2142E Feedback Control Systems

Mechanical Systems Part A: State-Space Systems Lecture AL10. State estimation Compensator design

CHAPTER 4 DESIGN OF STATE FEEDBACK CONTROLLERS AND STATE OBSERVERS USING REDUCED ORDER MODEL

Improper Integrals. Type I Improper Integrals How do we evaluate an integral such as

n f(x i ) x. i=1 In section 4.2, we defined the definite integral of f from x = a to x = b as n f(x i ) x; f(x) dx = lim i=1

MA FINAL EXAM INSTRUCTIONS

Artificial Intelligence Markov Decision Problems

Chapter #3 EEE Subsea Control and Communication Systems

Indefinite Integral. Chapter Integration - reverse of differentiation

Jim Lambers MAT 169 Fall Semester Lecture 4 Notes

The Fundamental Theorem of Calculus. The Total Change Theorem and the Area Under a Curve.

Ordinary Differential Equations- Boundary Value Problem

Solutions Problem Set 2. Problem (a) Let M denote the DFA constructed by swapping the accept and non-accepting state in M.

In-Class Problems 2 and 3: Projectile Motion Solutions. In-Class Problem 2: Throwing a Stone Down a Hill

Gain and Phase Margins Based Delay Dependent Stability Analysis of Two- Area LFC System with Communication Delays

ARCHIVUM MATHEMATICUM (BRNO) Tomus 47 (2011), Kristína Rostás

This lecture covers Chapter 8 of HMU: Properties of CFLs

Section The Precise Definition Of A Limit

f(x) dx, If one of these two conditions is not met, we call the integral improper. Our usual definition for the value for the definite integral

Stability Criterion Routh Hurwitz

A REVIEW OF CALCULUS CONCEPTS FOR JDEP 384H. Thomas Shores Department of Mathematics University of Nebraska Spring 2007

DYNAMICS VECTOR MECHANICS FOR ENGINEERS: Plane Motion of Rigid Bodies: Forces and Accelerations. Seventh Edition CHAPTER

20 MATHEMATICS POLYNOMIALS

Chapter #5 EEE Control Systems

Reinforcement Learning and Policy Reuse

SPACE VECTOR PULSE- WIDTH-MODULATED (SV-PWM) INVERTERS

Riemann Integrals and the Fundamental Theorem of Calculus

Lecture 4. Chapter 11 Nise. Controller Design via Frequency Response. G. Hovland 2004

Exam 2, Mathematics 4701, Section ETY6 6:05 pm 7:40 pm, March 31, 2016, IH-1105 Instructor: Attila Máté 1

PRACTICE EXAM 2 SOLUTIONS

Section 4.2 Analysis of synchronous machines Part II

Control Systems Analysis and Design by the Root-Locus Method

Function and Impulse Response

Chapter 7. Root Locus Analysis

1 The Riemann Integral

Objectives. Materials

Root Locus Diagram. Root loci: The portion of root locus when k assume positive values: that is 0

6.302 Feedback Systems Recitation 6: Steady-State Errors Prof. Joel L. Dawson S -

Unit #9 : Definite Integral Properties; Fundamental Theorem of Calculus

Distance And Velocity

Goals: Determine how to calculate the area described by a function. Define the definite integral. Explore the relationship between the definite

EE Control Systems LECTURE 8

Lecture 10 Filtering: Applied Concepts

5 Accumulated Change: The Definite Integral

7.2 The Definite Integral

MM1: Basic Concept (I): System and its Variables

Recursively Enumerable and Recursive. Languages

AQA Further Pure 1. Complex Numbers. Section 1: Introduction to Complex Numbers. The number system

Mathematics Extension 1

ECE382/ME482 Spring 2004 Homework 4 Solution November 14,

G(s) = 1 s by hand for! = 1, 2, 5, 10, 20, 50, and 100 rad/sec.

Now, given the derivative, can we find the function back? Can we antidifferenitate it?

Department of Mechanical Engineering MECE 551 Final examination Winter 2008 April 16, 9:00 11:30. Question Value Mark

Chapter 6 Notes, Larson/Hostetler 3e

ROB EBY Blinn College Mathematics Department

Strong Bisimulation. Overview. References. Actions Labeled transition system Transition semantics Simulation Bisimulation

The Regulated and Riemann Integrals

Transcription:

CONTROL SYSTEMS LABORATORY ECE311 LAB 3: Control Deign Uing the Root Locu 1 Purpoe The purpoe of thi lbortory i to deign cruie control ytem for cr uing the root locu. 2 Introduction Diturbnce D( ) = d Input V ( ) m Plnt b Output V ( ) Figure 1: Block digrm of the plnt Recll the mthemticl model of cr moving on tright rod with unknown lope θ derived in the introduction to lbortory 2. In the block digrm bove, d = g in θ, where g i the grvittionl contnt. Diturbnce R( ) E( ) V ( ) C( ) m D( ) = d Plnt b V ( ) Figure 2: Block digrm of the cloed-loop ytem Problem Sttement: Conider the feedbck control ytem in Figure 2. Deign the controller C() to meet the pecifiction below. 1

(SPEC1) The output v(t) of the cloed-loop ytem hould ymptoticlly trck reference tep ignl r(t) depite the preence of the unknown diturbnce d(t) = d 1(t) (SPEC2) The cloed-loop ytem (input R(), output V (), nd no diturbnce, D() = 0) hould be BIBO tble. (SPEC3) All pole of the cloed-loop ytem hould lie on the rel xi, o tht the output v(t) doe not hve ocilltory behvior. (SPEC4) When D() = 0 (i.e., when the crt trck i horizontl), the ettling time T hould be le thn 0.3. (SPEC5) The mgnitude voltge v m (t) imprted by the control ytem to the DC motor hould be le thn 11.75V. Concretely, you re required to deign control ytem mking the crt, trck contnt reference peed even when the trck i not horizontl, nd meeting certin trnient performnce pecifiction. The experimentl etup ued in the lb i hown in figure 3. D/A Plnt A/D PWM b Encoder Controller Arduino Figure 3: Block digrm of the experimentl etup The deign controller will be implemented on the Arduino bord. A hown in the figure, the micro controller mple the poition of the crt from the encoder (A/D) nd compute the control input to be pplied to the crt. Given the deired control input, the motor hield generte PWM ignl tht pproximte the deired control vlue (D/A). 3 Preprtion 1. Referring to Figure 2, verify tht the plnt h type 0. Hence, in order to meet SPEC1, you need controller with pole t zero. Letting E() = R() V (), define the PI controller V m () E() = K(1 1 T I ), K, T I > 0. 2

Write the trnfer function from R() to E() (uming D() = 0), nd from D() to E() (uming R() = 0). 2. Let R() = v/ nd recll tht D() = d/. Uing uperpoition, write the expreion for E() in the cloed-loop ytem. 3. Applying the finl vlue theorem to E(), how tht if lim x e(t) exit, then it mut be zero. You hve thu hown tht PI controller i cpble of meeting SPEC1. Submit your derivtion for point 1-3 to your lb TA t the beginning of the lb. Thoroughly red the next ection prior to the lb. 4 Experiment 4.1 Identifiction of model prmeter nd b If you re uing different crt nd trck unit thn the one ued in lb 2, you need to re-timte the plnt prmeter nd b following the procedure outlined in lb 2. If inted you re working with the me experimentl etup, ue the vlue of nd b you etimted in lb 2. 4.2 Controller deign uing Mtlb 1. In your preprtion you ve hown tht PI controller i cpble of meeting SPEC1. We now focu on SPEC2-SPEC4. Let θ = 0 or, equivlently, D() = 0. Recll tht n pproximte expreion for the ettling time in econd-order ytem with complex conjugte pole i T = 4, where σ i the rel prt of the pole of the cloed-loop ytem. In order to tify σ SPEC4, you thu need 4 0.2, or σ 20. You ll chieve thi by n pproprite choice of K σ nd T I. Pick gue for T I, T I = 1. Uing Mtlb, you will now drw the root locu of the ytem, i.e., the locu of the pole of the cloed-loop ytem the gin K i vried between 0 nd. Firt, define the trnfer function G() of the open-loop ytem without the gin K. Thi i given by G() = T I 1 T I b. In Mtlb, you cn define G() follow >> TI=1; =(your vlue); b=(your vlue); >> G=tf([TI 1],[Ti 0])*tf([],[1 b]); The root locu i the locu of the pole of KG()/(1 KG()) K i vried. Plot the root locu by iuing the commnd. >> rlocu(g) Verify, uing the plot, tht for ll K > 0 the pole of the cloed-loop ytem hve negtive rel prt, nd hence SPEC2 i met. However, for the preent vlue of T I, SPEC4 cnnot be met by ny choice of K > 0. Specificlly, there doen t exit K > 0 uch tht the cloed-loop 3

ytem h two pole on the rel xi with rel prt 20. Prove the truth of the clim by uing the root locu plot. Evidently, we need to chooe different vlue for T I. Try different (poitive) vlue of T I. For ech choice of T I, plot the correponding root locu. By tril nd error, find the vlue of T I comptible with thi requirement: there exit K > 0 uch tht the cloed-loop ytem h two pole cloe to = 20 on the negtive rel xi. Sve the root locu plot. Once you found T I > 0 tifying the requirement bove, you need to find K > 0 for which the cloed-loop ytem h two pole cloe to = 20. Firt, plot the root locu correponding to the vlue of T I you jut elected. Next, iue the commnd >> rlocfind(g) Move the moue curor over the root locu nd click on the deired loction of the cloed-loop pole on the rel xi = 20. Thi ction will return the vlue of K you were looking for. Notice tht the PI controller with the vlue of K nd T I you hve jut found hould meet SPEC2-SPEC4. Hve your TA ign here before proceeding to the next tep. 2. Next, you ll double-check tht uing the vlue of K nd T I you jut found, SPEC2-SPEC4 re met in imultion. Downlod the file lb3.mdl from Blckbord nd open it. Begin by double-checking tht your controller indeed meet SPEC4. Enter the vlue of θ, T I nd K into the Mtlb workpce >> =(your vlue); b=(your vlue); thet = 0; TI=(your vlue); K=(your vlue); >> VMAX UPM=11.75; Run the Simulink block by clicking on Simultion > Strt. The cope depict (i) the output v(t) veru the reference ignl r(t), (ii) the trcking error e(t), nd (iii) the voltge v m (t). The reference ignl i qure wve of frequency 0.5Hz nd mplitude 0.2m/. Recll tht the ettling time T of v(t) i the time v(t) tke to rech nd ty within the rnge [v( ) 0.02(v( ) v(0)), v( ) 0.02(v( ) v(0))] where v( ) i the vlue v(t) ymptoticlly ettle to. By zooming in on one period of the imultion output, grphiclly etimte the ettling time T. Sve the plot you ued to derive your etimte. I it true tht T 0.2 ec.? Verify tht SPEC5 i pproximtely met. Hve your TA ign here before proceeding to the next tep. 3. Now you ll try to deign more ggreive PI controller. Similrly to wht you did in tep 1, ue the root locu nd tril error to find the vlue of T I > 0 uch tht there exit K > 0 uch tht the cloed-loop ytem h two pole cloe to = 30. Ue the commnd rlocfind to find the vlue of K for which the cloed-loop ytem h two pole cloe to -30. Enter the vlue of K nd T I you jut found in the Mtlb workpce nd run the Simulink digrm lb3.mdl. Similrly to wht you did in tep 2, evlute the ettling time T by zooming in on one period of the imultion output. Sve the plot. Compre the performnce of thi ggreive controller to tht of the controller you evluted erlier. 4

How do the ettling time nd overhoot compre? Which controller i bet uited to meet the pec? Wht i the cue of the difference you oberve? Hve your TA ign here before proceeding to the next tep. 4.3 Controller Implementtion To perform the prcticl experiment for ech prt, open it Arduino file with.ino uffix nd the ocited Mtlb m-file. You will enter your controller in the Arduino code nd will record the dt uing Mtlb. Follow your TA intruction on how to compile the Arduino code nd how to perform the experiment. Perform the following tep: Open the Arduino code file nmed Lb3.ino, The velocity reference i et to qure wve form with the mplitude of 0.2 m/ nd frequency of 0.5 Hz. In the beginning of the code, modify nd djut the vrible K nd Ti. Enter the vlue of K nd T I ocited with the le ggreive controller. Uplod the code nd lunch the Mtlb m-file locted in the me directory nmed rel time dt plot Lb3. Sve the obtined plot. Doe your controller tify the deign pecifiction? Hve your TA ign here before proceeding to the next tep. Now you ll tet the performnce of your controller gint the unknown diturbnce d(t). Uing one or more book, rie one end of the trck. Thi correpond to etting θ 0. While holding the trck in firm poition, run the experiment gin nd compre the reult. Now enter the vlue of K nd T I ocited with the more ggreive controller nd repet ll the bove tep. Hve your TA ign here before proceeding to the next tep. 5 Report Plee ubmit your finl report before the igned dedline to your lbortory TA. 5