Automatic Control EEE 2002 Tutorial Exercise IV

Similar documents
Lab # 4 Time Response Analysis

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.

Outline. Classical Control. Lecture 1

Chapter 12. Feedback Control Characteristics of Feedback Systems

Introduction to Feedback Control

Homework Assignment 3

Homework 7 - Solutions

Systems Analysis and Control

Matlab Controller Design. 1. Control system toolbox 2. Functions for model analysis 3. Linear system simulation 4. Biochemical reactor linearization

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

SOLUTIONS TO CASE STUDIES CHALLENGES

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

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

Chapter 7: Time Domain Analysis

Due Wednesday, February 6th EE/MFS 599 HW #5

Dynamic Response. Assoc. Prof. Enver Tatlicioglu. Department of Electrical & Electronics Engineering Izmir Institute of Technology.

Outline. Classical Control. Lecture 5

Step Response of First-Order Systems

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

CDS 101/110 Homework #7 Solution

Control Systems, Lecture04

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

Chapter #4 EEE Automatic Control

APPLICATIONS FOR ROBOTICS

State Feedback Controller for Position Control of a Flexible Link

12.7 Steady State Error

Control of Manufacturing Processes

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

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

Step Response Analysis. Frequency Response, Relation Between Model Descriptions

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

LABORATORY INSTRUCTION MANUAL CONTROL SYSTEM I LAB EE 593

EEL2216 Control Theory CT1: PID Controller Design

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

Systems Analysis and Control

Laboratory handouts, ME 340

Discrete Systems. Step response and pole locations. Mark Cannon. Hilary Term Lecture

AMME3500: System Dynamics & Control

EE 4343/ Control System Design Project LECTURE 10

YTÜ Mechanical Engineering Department

LABORATORY INSTRUCTION MANUAL CONTROL SYSTEM II LAB EE 693

Outline. Classical Control. Lecture 2

ECE-320: Linear Control Systems Homework 8. 1) For one of the rectilinear systems in lab, I found the following state variable representations:

16.31 Homework 2 Solution

CALIFORNIA INSTITUTE OF TECHNOLOGY Control and Dynamical Systems

Systems Analysis and Control

Lab Experiment 2: Performance of First order and second order systems

Notes for ECE-320. Winter by R. Throne

EL2450: Hybrid and Embedded Control Systems: Homework 1

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

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

YTÜ Mechanical Engineering Department

OKLAHOMA STATE UNIVERSITY

EEE 184 Project: Option 1

Controller Design using Root Locus

Feedback Control part 2

Pitch Rate CAS Design Project

EE C128 / ME C134 Fall 2014 HW 9 Solutions. HW 9 Solutions. 10(s + 3) s(s + 2)(s + 5) G(s) =

Problem Value Score Total 100/105

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

Multivariable Control Laboratory experiment 2 The Quadruple Tank 1

EE 422G - Signals and Systems Laboratory

Chapter 6 Steady-State Analysis of Continuous-Time Systems

MAE 143B - Homework 7

Control Systems I Lecture 10: System Specifications

Digital Control: Summary # 7

ME 375 System Modeling and Analysis. Homework 11 Solution. Out: 18 November 2011 Due: 30 November 2011 = + +

Control Systems Design

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

Dynamic circuits: Frequency domain analysis

EE 4314 Lab 1 Handout Control Systems Simulation with MATLAB and SIMULINK Spring Lab Information

CDS 101/110: Lecture 3.1 Linear Systems

EE 370L Controls Laboratory. Laboratory Exercise #7 Root Locus. Department of Electrical and Computer Engineering University of Nevada, at Las Vegas

Proportional plus Integral (PI) Controller

EE451/551: Digital Control. Chapter 3: Modeling of Digital Control Systems

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

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

FEEDBACK CONTROL SYSTEMS

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

The control of a gantry

Chapter 5 HW Solution

9/9/2011 Classical Control 1

AN INTRODUCTION TO THE CONTROL THEORY

MEG6007: Advanced Dynamics -Principles and Computational Methods (Fall, 2017) Lecture DOF Modeling of Shock Absorbers. This lecture covers:

Compensator Design to Improve Transient Performance Using Root Locus

Homework 11 Solution - AME 30315, Spring 2015

Automatic Control 2. Loop shaping. Prof. Alberto Bemporad. University of Trento. Academic year

Improving a Heart Rate Controller for a Cardiac Pacemaker. Connor Morrow

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

Analysis and Design of Control Systems in the Time Domain

Recursive, Infinite Impulse Response (IIR) Digital Filters:

Design of a Lead Compensator

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

Appendix 3B MATLAB Functions for Modeling and Time-domain analysis

u (t t ) + e ζωn (t tw )

Module 3F2: Systems and Control EXAMPLES PAPER 2 ROOT-LOCUS. Solutions

ME 304 CONTROL SYSTEMS Spring 2016 MIDTERM EXAMINATION II

Control of Manufacturing Processes

Control Systems. University Questions

Delhi Noida Bhopal Hyderabad Jaipur Lucknow Indore Pune Bhubaneswar Kolkata Patna Web: Ph:

Transcription:

Automatic Control EEE Tutorial Exercise IV k A second order system is given by G() s =. as + bs + c k'. Write the transfer function as: G() s =. s + ζω ns + ωn () G s = as k = + bs + c s + k / a b s a + c a, hence c b k' = k / a, ω b n =, ζω a n = ζ = a a a c. For k = and ζ =., ω = rad s and define a transfer function and use the command damp to find the damping factor and natural frequency. >> kp=; z=.; wn=; >> num=kp; den=[ *z*wn wn^]; >> g=tf(num,den) Transfer function: -------------- s^ + s + >> [z, wn]=damp(g) z =.. wn =.. 3. Based on the previous answer predict the behaviour of the system for a (unit) step input. Since the damping factor is positive and less than I expect a stable but initially oscillatory behaviour. The frequency of these oscillations is ω d = ωn ζ =. =.33rad / s. The overshoot is going to be:

>> mp=exp(-(z/sqrt(-z^))*pi) mp =.63 The peak time is: >> wd=wn*sqrt(-z^); tp=pi/wd tp =.7 And finally the settling time: >> ts=3/(z*wn) ts =.. Find the step response of that system using Matlab AND Simulink and hence crosscheck your previous answer. Also plot the system s error. >> step(g).. System: g Peak amplitude:.6 Overshoot (%): 6.3 At time (sec):.79 System: g Settling :.6.3..... Check the properties of the settling time and notice the discrepancy!????

. Use the command step as [y,t]=step(sys), where sys is the transfer function of the system given in the previous question. Using these two vectors find the overshoot and peak time. kp=; z=.; wn=; num=kp; den=[ *z*wn wn^]; g=tf(num,den); [y,t]=step(g); yss=y(); mp=max(y) overshoot=*(mp-yss)/yss k=find(y==max(y)); tp=t(k) mp =.6 overshoot = 6.3 tp =.788 6. Using Matlab find the exact value of the steady state error using Matlab AND Simulink. >> [y,t]=step(g); >> yss=y(); err_ss=-yss err_ss =.999 See also Simulink model, once you run the simulation type: >> plot(error_scope(:,),error_scope(:,))

.99.98.97.96.9... 3 >> error_scope(,) ans =.96 7. Assume a system with k = and ω = rad s. Use an m-file to calculate and hence plot the pole location in the s-plane for [.,.] ζ (use a step size of.). kp=; wn=; cnt=; for z=.:.:.; den=[ *z*wn wn^]; r(cnt,:)=roots(den); cnt=cnt+; hold on plot(real(r(:,)),imag(r(:,)),'b.') plot(real(r(:,)),imag(r(:,)),'g.') - - - -

8. Assume a system with ζ =. and ω = rad s. Use an m-file to calculate and hence plot the pole location in the s-plane for [., ] k (use a step size of.). As kp is not in the CE no change will be seen in the pole location. 9. Assume a system with k = and ζ =.. Use an m-file to calculate and hence plot the pole location in the s-plane for [.,] ω (use a step size of ). n kp=; z=.; cnt=; for wn=.::; den=[ *z*wn wn^]; r(cnt,:)=roots(den); cnt=cnt+; hold on plot(real(r(:,)),imag(r(:,)),'b.') plot(real(r(:,)),imag(r(:,)),'g.') - - - - -3 - -. Find the unit step response and discuss the results (in connection to your answer given in the previous question) for: a. k =., k = and k = (keep ζ =., ω = rad s ) num=.; num=; num3=; z=., wn=; den=[ *z*wn wn^]; g=tf(num,den); g=tf(num,den); g3=tf(num3,den); subplot(3,,); step(g)

subplot(3,,); step(g) subplot(3,,3); step(g3) x -3 3......3........3..... b. ζ =., ζ =, ζ =. (keep k = and ω = rad s ) num=; wn=; z=., z=; z3=.; den=[ *z*wn wn^]; den=[ *z*wn wn^]; den3=[ *z3*wn wn^]; g=tf(num,den); g=tf(num,den); g3=tf(num,den3); subplot(3,,); step(g)

subplot(3,,); step(g) subplot(3,,3); step(g3).6.. 6 8..3..... 3..3..... 3 c. ω =.rad / s, ω = rad / s, ω = rad s (keep ζ =., k = ) n n num=; z=.; wn=., wn=; wn3=; den=[ *z*wn wn^]; den=[ *z*wn wn^]; den3=[ *z*wn3 wn3^]; g=tf(num,den); g=tf(num,den); g3=tf(num,den3);

subplot(3,,); step(g) subplot(3,,); step(g) subplot(3,,3); step(g3) 3 x - 3..... 6 x -..... Comments on these responses during the lectures!. Using the specific formula plot the overshoot versus the damping factor. cnt=; for z=.:.: mp(cnt)=exp(-(z/sqrt(-z^))*pi); cnt=cnt+;

plot(.:.:,mp,'.').8.6.....6.8. Using the specific formula plot the overshoot versus the natural frequency. The overshoot is not a function of the natural frequency! 3. Using the specific formula plot the peak time versus the damping factor for wn=rad/s. cnt=; wn=; for z=.:.: wd=wn*sqrt(-z^) tp(cnt)=pi/wd; cnt=cnt+; plot(.:.:,tp,'.') 3...6.8

. Using the specific formula plot the peak time versus the natural frequency for z=.rad/s. 3 3 6 8. Using the specific formula plot the settling time (% and % in the same graph) versus the natural frequency for z=.rad/s: cnt=; z=.; for wn=.:.: ts(cnt)=3/z/wn; ts(cnt)=/z/wn; cnt=cnt+; plot(.:.:,ts,'r.'), hold on plot(.:.:,ts,'b.') 8 6 6 8 6. Using the specific formula plot the settling time (% and % in the same graph) versus the damping factor for wn=rad/s:

cnt=; wn=; for z=.:.: ts(cnt)=3/z/wn; ts(cnt)=/z/wn; cnt=cnt+; plot(.:.:,ts,'r.'), hold on plot(.:.:,ts,'b.') 8 7 6 3...3...6.7.8.9