MAE 143B - Homework 9

Similar documents
MAE 143B - Homework 7

MAE 143B - Homework 9

Homework 7 - Solutions

Frequency Response Techniques

r + - FINAL June 12, 2012 MAE 143B Linear Control Prof. M. Krstic

Frequency methods for the analysis of feedback systems. Lecture 6. Loop analysis of feedback systems. Nyquist approach to study stability

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

EE C128 / ME C134 Fall 2014 HW 8 - Solutions. HW 8 - Solutions

MAE 143B - Homework 8 Solutions

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

8.1.6 Quadratic pole response: resonance

Exercise 1 (A Non-minimum Phase System)

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

1 (20 pts) Nyquist Exercise

Frequency domain analysis

1 (s + 3)(s + 2)(s + a) G(s) = C(s) = K P + K I

Exercise 1 (A Non-minimum Phase System)

Richiami di Controlli Automatici

Frequency (rad/s)

Boise State University Department of Electrical Engineering ECE461 Control Systems. Control System Design in the Frequency Domain

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 )

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

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

CDS 101/110 Homework #7 Solution

Control Systems I. Lecture 9: The Nyquist condition

ECE 486 Control Systems

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

Introduction. Performance and Robustness (Chapter 1) Advanced Control Systems Spring / 31

Dynamic circuits: Frequency domain analysis

K(s +2) s +20 K (s + 10)(s +1) 2. (c) KG(s) = K(s + 10)(s +1) (s + 100)(s +5) 3. Solution : (a) KG(s) = s +20 = K s s

Outline. Classical Control. Lecture 1

EE3CL4: Introduction to Linear Control Systems

ROOT LOCUS. Consider the system. Root locus presents the poles of the closed-loop system when the gain K changes from 0 to. H(s) H ( s) = ( s)

Transient response via gain adjustment. Consider a unity feedback system, where G(s) = 2. The closed loop transfer function is. s 2 + 2ζωs + ω 2 n

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

Control Systems I Lecture 10: System Specifications

R. W. Erickson. Department of Electrical, Computer, and Energy Engineering University of Colorado, Boulder

Topic # Feedback Control

Übersetzungshilfe / Translation aid (English) To be returned at the end of the exam!

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

Active Control? Contact : Website : Teaching

DESIGN USING TRANSFORMATION TECHNIQUE CLASSICAL METHOD

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

ECE382/ME482 Spring 2005 Homework 8 Solution December 11,

Mechanical Systems Part A: State-Space Systems Lecture AL12

CHAPTER 7 : BODE PLOTS AND GAIN ADJUSTMENTS COMPENSATION

Frequency Response Analysis

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

Systems Analysis and Control

Outline. Classical Control. Lecture 5

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

Asymptotic Bode Plot & Lead-Lag Compensator

MAS107 Control Theory Exam Solutions 2008

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

Analysis of SISO Control Loops

EE 4343/ Control System Design Project LECTURE 10

Chapter 6 - Solved Problems

Systems Analysis and Control

Stability of CL System

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

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

Systems Analysis and Control

Step Response Analysis. Frequency Response, Relation Between Model Descriptions

Grades will be determined by the correctness of your answers (explanations are not required).

Exercises for lectures 13 Design using frequency methods

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

Overview of Bode Plots Transfer function review Piece-wise linear approximations First-order terms Second-order terms (complex poles & zeros)

Lecture 5: Frequency domain analysis: Nyquist, Bode Diagrams, second order systems, system types

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

MEM 355 Performance Enhancement of Dynamical Systems

Response to a pure sinusoid

Systems Analysis and Control

Control System Design

ECE 388 Automatic Control

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.

Problem Weight Score Total 100

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

FREQUENCY-RESPONSE DESIGN

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

The loop shaping paradigm. Lecture 7. Loop analysis of feedback systems (2) Essential specifications (2)

Radar Dish. Armature controlled dc motor. Inside. θ r input. Outside. θ D output. θ m. Gearbox. Control Transmitter. Control. θ D.

Raktim Bhattacharya. . AERO 422: Active Controls for Aerospace Vehicles. Basic Feedback Analysis & Design

] [ 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.

Class 13 Frequency domain analysis

2.010 Fall 2000 Solution of Homework Assignment 8

Course roadmap. Step response for 2nd-order system. Step response for 2nd-order system

Grades will be determined by the correctness of your answers (explanations are not required).

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

Andrea Zanchettin Automatic Control AUTOMATIC CONTROL. Andrea M. Zanchettin, PhD Spring Semester, Linear systems (frequency domain)

Transfer func+ons, block diagram algebra, and Bode plots. by Ania- Ariadna Bae+ca CDS Caltech 11/05/15

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

The Nyquist criterion relates the stability of a closed system to the open-loop frequency response and open loop pole location.

MEM 355 Performance Enhancement of Dynamical Systems

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

SECTION 5: ROOT LOCUS ANALYSIS

Process Control & Instrumentation (CH 3040)

APPLICATIONS FOR ROBOTICS

Systems Analysis and Control

CHAPTER # 9 ROOT LOCUS ANALYSES

ECE137B Final Exam. There are 5 problems on this exam and you have 3 hours There are pages 1-19 in the exam: please make sure all are there.

Transcription:

MAE 143B - Homework 9 7.1 a) We have stable first-order poles at p 1 = 1 and p 2 = 1. For small values of ω, we recover the DC gain K = lim ω G(jω) = 1 1 = 2dB. Having this finite limit, our straight-line approximation for the magnitude plot must start with a horizontal line at 2dB. The resulting straight-line approximation and Bode plot are shown in Fig. 1, where the exact plot can be reconstructed in Matlab using the commands zpk (you could also use tf or ss, whichever you prefer) and bode: >> sys = zpk([],[-1-1],1) sys = 1 ------------ (s+1) (s+1) Continuous-time zero/pole/gain model. >> bode(sys); Mag(dB) 5 1 15 ω 1 2 1 1 1 1 1 1 2 1 3 Phased(deg) 9 18 1 2 1 1 1 ω 1 1 1 2 1 3 Figure 1: Bode plot for part a), straight-line approximation in red. 1

c) We have a simple zero at z 1 = 1, stable second-order poles with ω n = 1 rad/s and ζ =.5 and DC gain K = lim ω G(jω) = 1 = 2dB. Resulting straight-line approximation and Bode plot are shown in Fig. 2. 5 Mag(dB) 5 1 ω 1 2 1 1 1 1 1 1 2 1 3 Phased(deg) 9 18 1 2 1 1 1 ω 1 1 1 2 1 3 Figure 2: Bode plot for part c), straight-line approximation in red. g) In this case, we have a simple zero at z 1 = 1 and a pole of multiplicity 2 at p 1 = 1. The DC gain is K = lim ω G(jω) = 1 = 2dB. Resulting straight-line approximation and Bode plot are shown in Fig. 3 below. 2

5 Mag(dB) 5 1 ω 1 2 1 1 1 1 1 1 2 1 3 Phased(deg) 45 9 135 1 2 1 1 1 ω 1 1 1 2 1 3 Figure 3: Bode plot for part g), straight-line approximation in red. 3

7.2 The three plots are shown in Figures 4-6. You can reconstruct these using the Matlab command nyquist. None of the plots have encirclements of the point 1, implying stability under negative unit feedback by the Nyquist stability criterion..6 Nyquist Diagram.4 Imaginary Axis.2.2.4.6.2.2.4.6.8.1 Real Axis Figure 4: Polar plot for part a). 4

15 Nyquist Diagram 1 Imaginary Axis 5 5 1 15 6 4 2 2 4 6 Real Axis Figure 5: Polar plot for part c). 8 Nyquist Diagram 6 4 Imaginary Axis 2 2 4 6 8 2 2 4 6 8 1 Real Axis Figure 6: Polar plot for part g). 5

7.3 For the solutions, we assume all frequency axes are in rad/s instead Hz. Otherwise, factors of 2π would have to be added for all poles and zeros. a) We have a DC gain K = 2dB =.1, straight-line slope of 2 db per decade on ω [1, 1) rad/s and zero slope elsewhere. For the transfer function to be minimum-phase, we thus need a zero at z 1 = 1 and a pole at p 1 = 1, resulting in the transfer function e) G(s) =.1 s + 1.1s + 1 = s + 1 s + 1 We have a DC gain K = db = 1. The straight-line slope is 2 db per decade on ω [1, 1) rad/s, 4 db on ω 1 rad/s and zero elsewhere. This behavior is achieved by the minimum-phase transfer function G(s) = 1 (s + 1)(.1s + 1) = 1 1 (s + 1)(s + 1). j) Again, the DC gain is K = db = 1. The straight-line approximation has slope 4 db per decade on ω [1, 1) rad/s, 6 db on ω 1 rad/s and zero elsewhere. Thus, we need a simple pole at p 1 = 1 and second-order poles with ω n = 1 and ζ.5 (ζ needs to be very small for the peak of approximately 4dB). This yields the minimum-phase transfer function 7.4 G(s) = 1 (.1s + 1)(s 2 +.1s + 1) = 1 1 (s + 1)(s 2 +.1s + 1) Our transfer function from 7.3 already match the given phase diagrams. 7.8 From P6.8, we have the transfer function sys = -s^4-597.3 s^3-1.737e4 s^2 ------------------------------------------------------ s^4 + 597.3 s^3 + 1.737e4 s^2 + 1.867e5 s + 3.867e6 The Bode plot for this solution is displayed in Figure 7. As we can see, we have pole-zero cancellations with the non-dominant poles. Moreover, the phase is shifted upwards by π twice. The first shift is because of the two zeros at the origin of our transfer function, whereas the second shift is due to the negative sign in our transfer function (see setup in P6.8). You could equivalently have the phase start from. In P6.1, we found that the worst-case velocity to drive over a sinusoidal road profile with wavelength λ was v 2.5λ/s, which coincides with the peak in our Bode Magnitude plot. In P6.9, we computed the oscillation 6

2 Bode Diagram Magnitude (db) 2 4 6 36 Phase (deg) 27 18 9 1 1 1 1 2 Frequency (rad/s) Figure 7: Bode plot for P7.8. response to a rectangular pothole traversed at different velocities. The Fourier transform of a rectangle of height d and width T centered at the origin is a scaled sinc function, i.e. ( ) ωt F{d rect(t/t )} = dt sinc. 2π Figure 8 shows the Fourier transform of the pothole traversed at the two velocities. Notice that a time shift does not change the magnitude of our Fourier transform, only the phase. As expected, it does not matter when we hit the pothole, provided our velocity does not change. Zooming into the Fourier transform plots reveals approximately the same frequency content at the resonance frequency of approximately 15.7 rad/s. Given that the system is a high-pass filter, the large peak of the low-velocity Fourier transform at low frequencies does not affect the output significantly. At high frequencies, the two signals have similar total frequency content. Based on these observations, it seems reasonable that we did not observe a fundamental difference in the responses computed in assignment 7 for these two velocities. 7

2 x 1 3 v = 1km/h 2 x 1 3 v = 1km/h Fourier transform of d*rect(t/t) 15 1 5 Fourier transform of d*rect(t/t) 15 1 5 5 5 5 ω 5 5 5 ω Figure 8: Fourier transform of centered pothole with d = 1m traversed at given velocities. 8

7.9 As we know from previous assignments, the transfer function of this plant model is G(s) = Ω 2(s) Y (s) = r 1Ω 1 (s) r 2 T (s) = r 1r 2 /J r, s + b r /J r with I-controller K(s) = K i /s for some K i. Independent of our design, the closed-loop system will be able to track a constant reference due to the controller pole at the origin. Also, using Bode or Nyquist plots and positivity of all parameters, it is easily verified that the closed-loop system is asymptotically stable for any K i >, which is not surprising after P6.16 on assignment 7. The plots are shown in Figure 9. Bode Diagram Nyquist Diagram 1 Magnitude (db) Phase (deg) 5 1 9 135 Imaginary Axis.5.5 18 1 1 2 Frequency (rad/s) 1 1.5 Real Axis Figure 9: Plots for P7.9. 9

7.13 Given our parameters, we can use Matlab to compute the transfer function of our system. One possible controller achieving closed-loop stability can be constructed by placing complex conjugate zeros on the imaginary axis at approximately half the imaginary parts of the complex system poles on the axis. The two poles required to make the controller proper can be placed on the negative part of the real axis, for instance at p c,1/2 = 1. Bode and Nyquist plots corresponding to this setup are displayed in Figure 1, where the Bode plot includes gain and phase margins and the Nyquist plot has information on several points for positive frequencies to help track the behavior. We clearly have positive margins and no encirclements of the point at s = 1, implying asymptotic stability of the closed-loop transfer function with the controller described above. The plots can be reconstructed using the following Matlab code, where the Nyquist plot requires some zooming due to the very large and very small gains of our transfer function at different frequencies. % P 7.13 m = 16; T = 11*36; W = 2*pi/T; A = [ 1 ; 3*W^2 2*W; -2*W ]; B = [ ; ; 1/m ]; C = [ 1 ]; D = ; sys = ss(a,b,c,d); sys = zpk(sys); sys.p = {zeros(3,1) + j*imag(sys.p{:})}; % To correct numerical errors in computing the transfer function C = zpk([-j*.15e-3/2,j*.15e-3/2],[-1,-1],1); figure; subplot(1,2,1) margin(sys*c); grid on; subplot(1,2,2) nyquist(sys*c,{1e-5,1}); 1

Bode Diagram Gm = 2 db (at 1 rad/s), Pm = 9 deg (at.159 rad/s) 2 4 x 1 5 Nyquist Diagram Magnitude (db) Phase (deg) 1 1 2 3 4 18 18 Imaginary Axis 3 2 System: untitled1 1Real: 2.71e 1 Imag: 2.35e 1 Frequency (rad/s): 4.58 System: untitled1 1 Real: 9.59e 1 Imag: 2.42e 5 Frequency (rad/s): 2.22 3 System: untitled1 Real: 5.2e 1 Imag: 1.99e 5 Frequency (rad/s):.126 System: untitled1 Real: 8.32e 11 Imag: 2e 5 Frequency (rad/s): 2.9e 5 36 1 5 1 Frequency (rad/s) 4 2 1 1 Real Axis x 1 9 Figure 1: Plots for P7.13. 11