Mechanical Systems Part A: State-Space Systems Lecture AL12

Similar documents
D(s) G(s) A control system design definition

Frequency (rad/s)

Systems Analysis and Control

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

Stability of CL System

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

MAE 143B - Homework 9

CDS 101/110a: Lecture 8-1 Frequency Domain Design

Today (10/23/01) Today. Reading Assignment: 6.3. Gain/phase margin lead/lag compensator Ref. 6.4, 6.7, 6.10

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.

Topic # Feedback Control. State-Space Systems Closed-loop control using estimators and regulators. Dynamics output feedback

AMME3500: System Dynamics & Control

Meeting Design Specs using Root Locus

Control Systems I Lecture 10: System Specifications

Chapter 9 Robust Stability in SISO Systems 9. Introduction There are many reasons to use feedback control. As we have seen earlier, with the help of a

Outline. Classical Control. Lecture 5

] [ 200. ] 3 [ 10 4 s. [ ] s + 10 [ P = s [ 10 8 ] 3. s s (s 1)(s 2) series compensator ] 2. s command pre-filter [ 0.

MAE 143B - Homework 9

Outline. Classical Control. Lecture 1

Topic # /31 Feedback Control Systems. State-Space Systems Closed-loop control using estimators and regulators. Dynamics output feedback

Lecture 7 LQG Design. Linear Quadratic Gaussian regulator Control-estimation duality SRL for optimal estimator Example of LQG design for MIMO plant

ELECTRONICS & COMMUNICATIONS DEP. 3rd YEAR, 2010/2011 CONTROL ENGINEERING SHEET 5 Lead-Lag Compensation Techniques

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

Systems Analysis and Control

FREQUENCY-RESPONSE DESIGN

1 x(k +1)=(Φ LH) x(k) = T 1 x 2 (k) x1 (0) 1 T x 2(0) T x 1 (0) x 2 (0) x(1) = x(2) = x(3) =

ECE382/ME482 Spring 2005 Homework 7 Solution April 17, K(s + 0.2) s 2 (s + 2)(s + 5) G(s) =

Positioning Servo Design Example

Advanced Control Theory

Digital Control Systems

Control System Design

Mechatronics Assignment # 1

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Mechanical Engineering Dynamics and Control II Fall 2007

Topic # Feedback Control Systems

Control Systems. State Estimation.

Active Control? Contact : Website : Teaching

Exercises for lectures 13 Design using frequency methods

Problem 1 (Analysis of a Feedback System - Bode, Root Locus, Nyquist) Consider the feedback system defined by the open loop transfer function 1.

Introduction to Feedback Control

Raktim Bhattacharya. . AERO 422: Active Controls for Aerospace Vehicles. Frequency Response-Design Method

MEM 355 Performance Enhancement of Dynamical Systems

9/9/2011 Classical Control 1

Implementation Issues for the Virtual Spring

School of Mechanical Engineering Purdue University. DC Motor Position Control The block diagram for position control of the servo table is given by:

MAE 142 Homework #5 Due Friday, March 13, 2009

Mechatronics Modeling and Analysis of Dynamic Systems Case-Study Exercise

Control of Electromechanical Systems

Engraving Machine Example

ECE382/ME482 Spring 2005 Homework 6 Solution April 17, (s/2 + 1) s(2s + 1)[(s/8) 2 + (s/20) + 1]

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

Richiami di Controlli Automatici

Dr Ian R. Manchester Dr Ian R. Manchester AMME 3500 : Root Locus

SAMPLE SOLUTION TO EXAM in MAS501 Control Systems 2 Autumn 2015

Analysis of SISO Control Loops

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

Lecture 14 - Using the MATLAB Control System Toolbox and Simulink Friday, February 8, 2013

VALLIAMMAI ENGINEERING COLLEGE SRM Nagar, Kattankulathur

Root Locus Methods. The root locus procedure

ECEn 483 / ME 431 Case Studies. Randal W. Beard Brigham Young University

EECS C128/ ME C134 Final Thu. May 14, pm. Closed book. One page, 2 sides of formula sheets. No calculators.

State Regulator. Advanced Control. design of controllers using pole placement and LQ design rules

Classify a transfer function to see which order or ramp it can follow and with which expected error.

PM diagram of the Transfer Function and its use in the Design of Controllers

Massachusetts Institute of Technology Department of Mechanical Engineering Dynamics and Control II Design Project

MAE 143B - Homework 7

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

Wind Turbine Control

Desired Bode plot shape

Robust and Optimal Control, Spring A: SISO Feedback Control A.1 Internal Stability and Youla Parameterization

Topic # Feedback Control

The requirements of a plant may be expressed in terms of (a) settling time (b) damping ratio (c) peak overshoot --- in time domain

Control Systems. Design of State Feedback Control.

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

Unit 11 - Week 7: Quantitative feedback theory (Part 1/2)

Control of Manufacturing Processes

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING

ECE 486 Control Systems

Intro to Frequency Domain Design

9. Two-Degrees-of-Freedom Design

Lecture 7:Time Response Pole-Zero Maps Influence of Poles and Zeros Higher Order Systems and Pole Dominance Criterion

Automatic Control (MSc in Mechanical Engineering) Lecturer: Andrea Zanchettin Date: Student ID number... Signature...

Module 5: Design of Sampled Data Control Systems Lecture Note 8

DESIGN USING TRANSFORMATION TECHNIQUE CLASSICAL METHOD

CDS 101/110 Homework #7 Solution

Exercise 1 (A Non-minimum Phase System)

H(s) = s. a 2. H eq (z) = z z. G(s) a 2. G(s) A B. s 2 s(s + a) 2 s(s a) G(s) 1 a 1 a. } = (z s 1)( z. e ) ) (z. (z 1)(z e at )(z e at )

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

Methods for analysis and control of. Lecture 4: The root locus design method

EE 4343/ Control System Design Project LECTURE 10

CDS 101/110a: Lecture 10-1 Robust Performance

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Mechanical Engineering Dynamics and Control II Fall K(s +1)(s +2) G(s) =.

Homework 7 - Solutions

ME 304 CONTROL SYSTEMS Spring 2016 MIDTERM EXAMINATION II

FEEDBACK CONTROL SYSTEMS

APPLICATIONS FOR ROBOTICS

Compensator Design to Improve Transient Performance Using Root Locus

Course Summary. The course cannot be summarized in one lecture.

Professor Fearing EE C128 / ME C134 Problem Set 7 Solution Fall 2010 Jansen Sheng and Wenjie Chen, UC Berkeley

MEM 355 Performance Enhancement of Dynamical Systems

A FEEDBACK STRUCTURE WITH HIGHER ORDER DERIVATIVES IN REGULATOR. Ryszard Gessing

Transcription:

AL: 436-433 Mechanical Systems Part A: State-Space Systems Lecture AL Case study

Case study AL: Design of a satellite attitude control system see Franklin, Powell & Emami-Naeini, Ch. 9. Requirements: accurate pointing of scientific sensor package package isolated from vibrations, etc. of main body of satellite must repond to commanded change in pointing direction with t s s, M p 5%

Available sensors/actuators AL: 3 Star tracker keep image of star centred on focal plane of a telescope provides noisy but accurate (on average) measure of θ Rate gyro provides clean measure of θ Cold-gas jets provide fast, accurate control torque θ θ

AL: 4 Model Model as two inertias connected by flexible structure States: [ ] T θ θ θ θ = x [ ] u y u J J b J k J b J k J b J k J b J k [] / / / / / / / / / + = + = x x x State-space equations of motion: Reference input r = desired θ Controller output u is torque T c b k u = T c J J θ y = θ

Model Transfer function Y ( s) bs + k G( s) = = U( s) s s + bs + k = s K ( ) ( s + σ) ( s + ςω + ω ) n s n AL: 5 k u = T c J J b θ y = θ Parameters Inertias: J =, J =. Temperature fluctuations cause:.38.9 k.4 k / b. k / hence, oscillatory mode characterised by: ω n rad/s. ζ.

Strategy Design for worst case nominal plant slowest natural response (ω n = ) lightest damping (ζ =.) Hence nominal plant: J =, J =., k =.9, b =.36.9.36.9.36 x = x +.9.36.9.36 / J y = x + [] [ ] u.36 G( s) = s ( s + 5) ( s +.4s + ) Check robustness by calculating performance with other parameter combinations u AL: 6

Pole placement design of control law Nominal plant Y ( s).36 G( s) = = U ( s) s ( s + 5) ( s +. ± j) Symmetric root locus + ρg( s) G( s) = AL: 7 % n - m = odd no. 3 % Hence draw deg locus G = ss(a, B, C, D); [z,p,k] = zpkdata(g,'v'); Z = [z; -z]; - P = [p; -p]; - GG = zpk(z,p,-k*k) -3 rlocus(gg) Get locus Imag 4 Symmetric root -4-4 -3 - - 3 4 Real

Symmetric root locus axis([- - ]) sgrid AL: 8 4 Symmetric root locus 3 Imag Axis - - -3-4 -4-3 - - 3 4 Real Axis

Symmetric root locus axis([- - ]) sgrid Select desired closed-loop poles AL: 9 Select poles with ω n.5 rad/s [rho,clp]=rlocfind(gg).5 Symmetric root locus Specs: t s s, M p 5% dominant poles ω n.5 rad/s, ζ.5 Imag axis.5 -.5 - -.5 - - - Real axis

Symmetric root locus axis([- - ]) sgrid Select desired closed-loop poles AL: Select poles with ω n.5 rad/s: [rho,clp]=rlocfind(gg).5 Symmetric root locus ρ =.6 dclp =.45 ± j.34.5 ± j.5 Imag axis.5 -.5 - Full state-feedback control law u = Kx -.5 - - - Real axis K = place(a,b,dclp) K = [-.8.5.68.6]

State-space design examined... AL: We now have a control law, assuming full state feedback: u = Kx Before proceeding, examine this state-space design in classical control terms open-loop transfer function open-loop frequency response what is the effective compensation? stability margins root locus: sensitivity to variations in open-loop gain closed-loop transfer function

Open-loop transfer function AL: % Get all states as plant outputs: Ga = G; Ga.c = eye(4); % Form open-loop TF: Gol = ss(k)*ga; zpk(gol) Zero/pole/gain:.6 (s+.36) (s^ +.64s +.8698) ----------------------------------------- s^ (s^ +.4s + ) r + u Ga ss(k) x Compensator zeros Plant poles

Effect of feedback on OL freq. resp. AL: 3 5 Effect of state-feedback on OLFR Amplitude ratio -5 - - with state-fb plant alone - Phase (deg) - -3 unstable with simple -4 output feedback u = ky - Frequency (rad/s) state feedback u = Kx stabilises with phase lead

Stability margins AL: 4 margin(gol) Bode Diagrams Gm=-48.8 db (at.35337 rad/sec), Pm=6.87 deg. (at.4 rad/sec) 4 ω c =.4 rad/s Phase (deg); Magnitude (db) - -5 - GM = -5 PM = 6 - - Frequency (rad/sec)

Sensitivity to loop-gain variations.5 placed pole (k = ) AL: 5 Plant pole Root locus for k.5 compensator zero Imag axis -.5 r + u k - Ga -.5 - -.5 - -.5.5 ss(k) x Real axis

Closed-loop transfer function AL: 6 % Form closed-loop system Gcl = feedback(ga, tf(k)); Gcl = Gcl(,); % select single output y disp('closed-loop transfer function') zpk(gcl) Plant zero: 5 Zero/pole/gain:.36364 (s+5) ---------------------------------------------- (s^ +.95s +.35) (s^ +.96s +.3) r + u Ga ss(k) x Placed CLPs:.45 ± j.34.5 ± j.5

Robustness test % Try same controller with stiff spring model k = 4/; % corresponds to wn = b = k/5; % corresponds to zeta =. As = [ -k/j -b/j k/j b/j k/j b/j -k/j -b/j]; Gs = ss(as, B, C, D); disp('stiff-spring plant transfer function') Gzpk = zpk(gs) Zero/pole/gain:.777 (s+5) --------------------- s^ (s^ +.8s + 4) ω n = ζ =. AL: 7

Stiff-spring plant with nominal controller AL: 8 Gsa = Gs; Gsa.c = eye(4); Gscl = feedback(gsa, tf(k)); Gscl = Gscl(,); disp('stiff-spring closed-loop transfer function') zpk(gscl) Zero/pole/gain:.777 (s+5) --------------------------------------------- (s^ +.4s +.3455) (s^ +.5s + 4.) figure(3), step(gcl, Gscl) legend('nominal plant', 'stiff plant') grid on

Step responses of nominal and stiff-spring plants with nominal controller AL: 9 Step Response 3 nominal plant stiff-spring plant.5 Amplitude.5 M p = 8% t s (%) = s M p = 3% t s (%) = s.5 5 5 5 Time (sec.)

Estimator AL: % F&P select CLPs corresponding to rho = 3.5e7 eclp = rlocus(gg,3.5e7); % We want the stable ones declp = eclp(find(real(eclp)<)) % Plot them rlocus(gg) hold on plot(real(declp), imag(declp), 'gs',... 'MarkerFaceColor','g') plot(real(dclp), imag(dclp), 'rs',... 'MarkerFaceColor','r') hold off axis([-8 8-8 8]), axis equal sgrid

Estimator and controller poles AL: 8 Symmetric root locus 6 A xis g a Im 4 - -4 Estimator poles chosen very fast (8 x controller poles) avoid compromising robustness fast estimator almost equivalent to direct state feedback (provided model is accurate and sensor noise is low!) -6-8 - -5 5 Real Axis

Estimator gains; regulator TF AL: % State-estimator gains L = place(a', C', declp)' % Form regulator H = reg(g, K, L); 4 L = 53 5498 disp('regulator transfer function') zpk(h) Zero/pole/gain: -743.584 (s+.3) (s^ +.985s +.8439) --------------------------------------------- (s^ + 6.96s + 85.8) (s^ + 6.44s + 79.9)

Frequency response of effective FB compensator bode(-h) % -H because u = -Kx^ built into H AL: 3 r K u xˆ Plant Estimator 6 4 y Bode Diagrams Frequency response of effective feedback compensator effective compensator H looks like lead compensation Phase (deg); Magnitude (db) - 5 5 5 - Frequency (rad/sec)

Open-loop transfer function AL: 4 Grol = -H*G; zpk(grol) Zero/pole/gain: 69.589 (s+5) (s+.3) (s^ +.985s +.8439) ------------------------------------------------------------------- s^ (s^ +.4s + ) (s^ + 6.96s + 85.8) (s^ + 6.44s + 79.9) Plant dynamics Compensator dynamics pzmap(grol) 8 Pole-zero map 6 4 Imag Axis - -4-6 -8 - -3-5 - -5 - -5 5 Real Axis

Stability margins AL: 5 % OLTF Grol = -H*G; margin(grol) Open-loop frequency response Gm=4.45 db (at 5.6595 rad/sec), Pm=45.859 deg. (at.394 rad/sec) 4 ω c =.3 rad/s Phase (deg); Magnitude (db) - -4 - - GM = 4 db PM = 46-3 - Frequency (rad/sec)

Imag Axis 5 5 5-5 - Sensitivity to loop-gain variations Root locus with regulator gain as parameter placed estimator poles (k = ) Root locus for k rlocus(grol) Root locus with regulator gain as parameter placed.5 controller poles (k = ) AL: 6-5 - -5-5 - -5 - -5 5 Real Axis r u k y Plant K Estimator effective compensator xˆ Imag Axis.5 -.5 - -.5 - - - Real Axis

Closed-loop transfer function AL: 7 % Form closed-loop system Grcl = feedback(g, H, +); % Show poles and zeros of CL system pzmap(grcl) 8 6 4 Pole-zero map estimator dynamics approximately cancelled in TF from r y Imag Axis - selected controller poles -4-6 -8 - -3-5 - -5 - -5 5 Real Axis selected estimator poles

Closed-loop response of regulated system AL: 8 step(grcl, Gsrcl) 4 Step Response Closed-loop response of regulated system dc gain 3.5 3 Amplitude.5 M p = 8% t s (%) = s BackgroundResponseObjectLine nominal plant stiff-spring plant.5.5 M p = 7% t s (%) = s quite different from direct state FB case 5 5 5 Time (sec.)

Examine stiff-spring system more closely... AL: 9 8 6 4 Sensitivity to variations in loop gain Gsrol = -H*Gs; rlocus(gsrol) poorly-damped mode (ζ =.5) could be excited by disturbance inputs 6 5 Imag Axis - -4 Imag Axis 4 3-6 -8 - -6-5 -4-3 - - Real Axis root locus structure different from nominal system - -6-5 -4-3 - - Real Axis dominant CLPs

Response to impulsive disturbance x = zeros(8,); x() = ; % set ydot = initial(grcl,gsrcl,x) Initial Condition Results AL: 3.6.4. BackgroundResponseObjectLine nominal plant stiff-spring plant Lightly damped modes now dominate the response Plant output y -. -.4 ω n = 5., ζ =.5 ω n =., ζ =.4 -.6 -.8 5 5 5 3 35 4 Time (sec.)

Tracking system AL: 3 u ss N u r N x x r + K + u Plant y N x N u = A C B D xˆ Estimator u = Kˆ x + ( KN N )r x + Implement with: Simulink model, or with MATLAB commands u

MATLAB implementation AL: 3 N u r N x + x r u K + Plant xˆ Estimator y G G G3 G4 G5 r Nu Nx K G + x^ Hest u u y G = [Nu; ss(nx)]; G = [, ss(k)]; G3 = [; G]; G4 = G3*G; Hest = estim(g, L, [], []); Hest = Hest(:5,:); % suppress y^ G5 = feedback(g4,hest,[:5],[:]); Gtcl = G5*G;

Closed-loop response of tracking system AL: 33 % Step response step(gtcl).4 Closed-loop step response of tracking system From: U(). nominal plant dc gain = Amplitude To: Y().8.6 stiff-spring plant.4. 5 5 5 Time (sec.)

Simulink implementation AL: 34 Control Tc r Nu Nu u K K G Position reference Sum Nx Sum K Sum3 Plant Q y Torque disturbance Hest Mux Estimator Mux sensors = []; % observed output = y known = []; % control input = u Hest = estim(g, L, sensors, known); Hest = Hest(:5,:); % suppress y^ output

Estimation errors Simulate with random initial plant states, but zero initial estimator states AL: 35 x = rand(4,)*. sim( sim_ex9 ) plot(tout,xout(:,:4)-xout(:,5:8)) 5 State estimation errors e = x xˆ e e e3 e4 Estimation error 5-5 - -5.5.5 Time