Entering Matrices

Size: px
Start display at page:

Download "Entering Matrices"

Transcription

1 MATLAB Basic

2 Entering Matrices

3 Transpose

4 Subscripts

5 The Colon Operator

6

7 Operators

8 Generating Matrices

9 Element-by-element operation

10 Creating a Plot

11

12 Multiple Data Sets in One Graph

13

14 Line Styles and Colors

15

16 Flow Control: for

17 Control System Toolbox

18 Linear Model Representations

19 DC Motor

20

21 Converting Model

22 Transfer Function

23 Transfer Function

24 MIMO Transfer Functions

25 Interconnecting Linear Models

26 Interconnecting Linear Models

27 Feedback Interconnection

28 Frequency and Time Response

29 Time Response

30 MIMO Model Responses

31 Step Response

32 Right-Click Menus

33 Data Markers

34 lsim >> g=tf([1],[1 1 1]) Transfer function: s^2 + s + 1 >> t=0:0.1:10; >> u=ones(size(t)); >> lsim(g,u,t)

35 bode >> g=tf([1],[1 1 1]) Transfer function: s^2 + s + 1 >> bode(g)

36 bode >> w=logspace(-1,1,100); >> bode(g,w)

37 bode >> w=logspace(-1,1,100); >> g=tf([1],[1 1 1]) Transfer function: s^2 + s + 1 >> [mag,phase]=bode(g,w); >> for i=1:100 db(i)=20*log10(mag(:,:,i)); end >> semilogx(w,db) >> grid

38 Example 2.3

39 Example 2.3

40 % Example 2.3. Computes the principle gains. clear % Define the state model matrices. A=[ ]; B=[ ]; C=[ ]; D=zeros(2); % Define the frequencies for computing the principle gains. w=logspace(-2,2); % Define an identity matrix with the right dimensions. I=eye(size(A)); % Compute the principle gains. for k=1:50, Hjw=C*inv(j*w(k)*I-A)*B; Pgains(:,k)=svd(Hjw); end

41 % Plot the results. set(0,'defaultaxesfontname','times') set(0,'defaultaxesfontsize',16) set(0,'defaulttextfontname','times') figure(1) clf semilogx(w,20*log10(pgains)) xlabel('frequency (rad/sec)') ylabel('gain (db)') grid % % Alternative code uses the sigma command: figure(2) clf sigma(a,b,c,d)

42 Observer Feedback State Feedback

43 Example 2.9

44 Example 2.9

45 Example 2.9. Computes the state feedback gain and simulates. clear % Define the state model matrices. A=[ ]; B=[0 1]; C=eye(2); D=[0 0]'; % Define the desired pole locations. p=[-2+2*j -2-2*j]; % Find the state feedback gain matrix. K=place(A,B,p) % Define the initial condition. X0=[1 0]'; % Generate the intial condition solution. [y,x,t]=initial(a-b*k,b,c,d,x0);

46 % Plot the results. set(0,'defaultaxesfontname','times') set(0,'defaultaxesfontsize',16) set(0,'defaulttextfontname','times') figure(1) clf plot(t,y(:,1),'r-',t,y(:,2),'r--') grid xlabel('time (sec)') ylabel('amplitude') legend('angle','angle rate')

47 Observers

48

49 x ˆˆ( t) = ( A GC) x() t + Gm() t + ( B GD) u() t = Axˆˆ( t) GCx() t + Gm() t + Bu() t GDu() t = Axˆˆ( t) + Bu() t + G m() t Cx() t Du() t ( )

50 Example xt ˆˆˆ () xt () ut () = + + mt () [ 1 0 ] xt ()

51

52 % Example Generate the observer and simulate. clear % Define the state model matrices. A=[ ]; B=[0 1]; C=[1 0]; D=0; % Define the desired observer pole locations. p=[-8-8]; % Generate the observer. G=acker(A',C',p)' F=A-G*C H=B-G*D % Set the plant initial condition. X0=[1-2]';

53 % Generate the plant initial condition response. t=0:.01:5; [y,x]=initial(a,b,c,d,x0,t); % Set the observer initial condition. Xhat0=[0 0]'; % Simulate the observer. [yh,xh]=lsim(f,g,c,d,y,t,xhat0); % Plot the results. set(0,'defaultaxesfontname','times') set(0,'defaultaxesfontsize',16) set(0,'defaulttextfontname','times') figure(1) clf plot(t,x(:,1),'r-',t,x(:,2),'r--',t,xh(:,1),'r-.',t,xh(:,2),'r:') grid xlabel('time (sec)') ylabel('amplitude') legend('angle','angle rate','est. angle','est. angle rate')

54 Deterministic Separation Principle

55 Example 2.12

56 Example 2.12

57 % Example Generate the observer feedback controller and simulate. clear % Define the state model matrices. A=[ ]; B=[0 1]; C=[1 0]; D=0; % Define the state feedback pole locations. p=[-2+2*j -2-2*j]; % Generate the state feedback gain matrix. K=place(A,B,p);

58 % Define the desired observer pole locations. po=[-8-8]; % Generate the observer. G=acker(A',C',po)'; F=A-G*C; H=B-G*D; % Form the closed loop state model: Acl=[ A -B*K G*C F-B*K]; Bcl=[ ]'; Ccl=eye(4); Dcl=[ ]'; % Set the plant initial condition. X0=[ ]'; % Simulate the closed loop system. t=0:0.01:3; [y,x]=initial(acl,bcl,ccl,dcl,x0,t);

59 % Plot the results. set(0,'defaultaxesfontname','times') set(0,'defaultaxesfontsize',16) set(0,'defaulttextfontname','times') figure(1) clf plot(t,x(:,1),'r-',t,x(:,2),'r--',t,x(:,3),'r-.',t,x(:,4),'r:') grid xlabel('time (sec)') ylabel('amplitude') legend('angle','angle rate','est. angle','est. angle rate')

60 Mu-Analysis and Synthesis Toolbox

61 SYSTEM Matrices

62

63 VARYING Matrices

64

65

66 Plotting VARYING Matrices

67 Frequency Domain Functions

68

69

70 Example 4.5

71 % Example 4.5. System 2-norm computation clear % Define the Plant. A=[ ]; Bu=[0 1]'; Bw=[ ]; Cm=[1 0]; Cy=[ ]; Dmw=[0 1]; Dyu=[0 1]'; Dyw=zeros(2);

72 % Define the Controller. Ac=[ ]; Bcm=[ ]'; Cc=[ ]; Dcm=0; % Generate the closed loop state model. Acl=[A+Bu*Dcm*Cm Bu*Cc Bcm*Cm Ac ]; Bcl=[Bw+Bu*Dcm*Dmw Bcm*Dmw ]; Ccl=[Cy+Dyu*Dcm*Cm Dyu*Cc]; Dcl=Dyw+Dyu*Dcm*Dmw;

73 % Compute the system 2-norm. Lc=lyap(Acl,Bcl*Bcl'); J=sqrt(trace(Ccl*Lc*Ccl')) % Alternative computation of the system 2-norm. Lo=lyap(Acl',Ccl'*Ccl); J=sqrt(trace(Bcl'*Lo*Bcl)) % A function for computing the system 2-norm is provided in the Matlab % mu-syn toolbox. Gcl=pck(Acl,Bcl,Ccl,Dcl); J=h2norm(Gcl) % MATLAB2010b Gcl=ss(Acl,Bcl,Ccl,Dcl); J=norm(Gcl,2)

74 Example 4.6

75 % Example 4.6. Infinity-norm computation. clear % Define the closed loop system: p1=4; p2=0.1; k1=10; k2=0.01; k3=10; k4=150; a=0.4; b=4; Acl=[-p1 0 -k1*k4 k1 k2 -p k4*(b-a) -b ]; Bcl=[ k1*k4 0 -k1*k4 0 k2*k k4*(a-b) 0 k4*(b-a)]; Ccl=[ k4 1]; Dcl=[1 0 0 k4 0 -k4];

76 % Compute the principal gains of the closed loop system. w=logspace(-2,3,200); Gcl=pck(Acl,Bcl,Ccl,Dcl); fr=frsp(gcl,w); pgains=vsvd(fr); % Plot the principle gains. figure(1) set(0,'defaultaxesfontname','times') set(0,'defaultaxesfontsize',16) set(0,'defaulttextfontname','times') clf vplot('liv,lm',pgains) xlabel('frequency (rad/sec)') ylabel('magnitude') axis([ ]) grid

77 % The infinity-norm is the maximum over frequency of the maximum % principal gain. [nr,nc]=size(pgains); Hinf=max(pgains(1:nr-1,1)) % An alternative algorithm for computing upper and lower bounds on % the infinity-norm is given in the Mu-Synthesis and Analysis Toolbox. temp=hinfnorm(gcl); % The infinity-norm is given as the average of the bounds. Hinf=(temp(1)+temp(2))/2 %MATLAB2010b Gcl=ss(Acl,Bcl,Ccl,Dcl); J=norm(Gcl,inf)

78 Hinf = Hinf =

79 % Example 4.6. Infinity-norm computation. MATLAB2010 clear % Define the closed loop system: p1=4; p2=0.1; k1=10; k2=0.01; k3=10; k4=150; a=0.4; b=4; Acl=[-p1 0 -k1*k4 k1 k2 -p k4*(b-a) -b ]; Bcl=[ k1*k4 0 -k1*k4 0 k2*k k4*(a-b) 0 k4*(b-a)]; Ccl=[ k4 1]; Dcl=[1 0 0 k4 0 -k4];

80 % Compute the principal gains of the closed loop system. w=logspace(-2,3,200); Gcl=ss(Acl,Bcl,Ccl,Dcl); fr=frd(gcl,w); pgains=svd(fr); % Plot the principle gains. figure(1) set(0,'defaultaxesfontname','times') set(0,'defaultaxesfontsize',16) set(0,'defaulttextfontname','times') clf P = bodeoptions; P.MagUnits = 'abs'; P.MagScale = 'log'; P.PhaseVisible = 'off'; P.XLim = {[ ]}; P.YLim = {[ ]}; P.Grid = 'on'; bode(pgains(1),'c',pgains(2),'r',p)

81 % The infinity-norm is the maximum over frequency of the maximum % principal gain. [response, frequency]=frdata(pgains(1)); Hinf=max(response) % MATLAB2010 Gcl=ss(Acl,Bcl,Ccl,Dcl); Hinf=norm(Gcl,inf)

82 Hinf = Hinf = 10 3 Bode Diagram Magnitude (abs) Frequency (rad/sec)

Structured Uncertainty. Block diagonal

Structured Uncertainty. Block diagonal Structured Uncertainty Block diagonal Example 5.8 0.1 δ 0.1, 1 δ 1 1 2 error : N yw ( s) Example 5.9 The Structured Singular Value and Stability Robustness Assume nominal closed-loop system N(s) is

More information

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

Topic # Feedback Control. State-Space Systems Closed-loop control using estimators and regulators. Dynamics output feedback Topic #17 16.31 Feedback Control State-Space Systems Closed-loop control using estimators and regulators. Dynamics output feedback Back to reality Copyright 21 by Jonathan How. All Rights reserved 1 Fall

More information

CHAPTER 6 STATE SPACE: FREQUENCY RESPONSE, TIME DOMAIN

CHAPTER 6 STATE SPACE: FREQUENCY RESPONSE, TIME DOMAIN CHAPTER 6 STATE SPACE: FREQUENCY RESPONSE, TIME DOMAIN 6. Introduction Frequency Response This chapter will begin with the state space form of the equations of motion. We will use Laplace transforms to

More information

Frequency (rad/s)

Frequency (rad/s) . The frequency response of the plant in a unity feedback control systems is shown in Figure. a) What is the static velocity error coefficient K v for the system? b) A lead compensator with a transfer

More information

State Space Control D R. T A R E K A. T U T U N J I

State Space Control D R. T A R E K A. T U T U N J I State Space Control D R. T A R E K A. T U T U N J I A D V A N C E D C O N T R O L S Y S T E M S M E C H A T R O N I C S E N G I N E E R I N G D E P A R T M E N T P H I L A D E L P H I A U N I V E R S I

More information

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

State Regulator. Advanced Control. design of controllers using pole placement and LQ design rules Advanced Control State Regulator Scope design of controllers using pole placement and LQ design rules Keywords pole placement, optimal control, LQ regulator, weighting matrixes Prerequisites Contact state

More information

Linear Matrix Inequality (LMI)

Linear Matrix Inequality (LMI) Linear Matrix Inequality (LMI) A linear matrix inequality is an expression of the form where F (x) F 0 + x 1 F 1 + + x m F m > 0 (1) x = (x 1,, x m ) R m, F 0,, F m are real symmetric matrices, and the

More information

Systems Analysis and Control

Systems Analysis and Control Systems Analysis and Control Matthew M. Peet Arizona State University Lecture 21: Stability Margins and Closing the Loop Overview In this Lecture, you will learn: Closing the Loop Effect on Bode Plot Effect

More information

Lecture 15: H Control Synthesis

Lecture 15: H Control Synthesis c A. Shiriaev/L. Freidovich. March 12, 2010. Optimal Control for Linear Systems: Lecture 15 p. 1/14 Lecture 15: H Control Synthesis Example c A. Shiriaev/L. Freidovich. March 12, 2010. Optimal Control

More information

Full State Feedback for State Space Approach

Full State Feedback for State Space Approach Full State Feedback for State Space Approach State Space Equations Using Cramer s rule it can be shown that the characteristic equation of the system is : det[ si A] 0 Roots (for s) of the resulting polynomial

More information

EE 4343/ Control System Design Project LECTURE 10

EE 4343/ Control System Design Project LECTURE 10 Copyright S. Ikenaga 998 All rights reserved EE 4343/5329 - Control System Design Project LECTURE EE 4343/5329 Homepage EE 4343/5329 Course Outline Design of Phase-lead and Phase-lag compensators using

More information

Control System Design

Control System Design ELEC4410 Control System Design Lecture 19: Feedback from Estimated States and Discrete-Time Control Design Julio H. Braslavsky julio@ee.newcastle.edu.au School of Electrical Engineering and Computer Science

More information

Advanced Control Theory

Advanced Control Theory State Feedback Control Design chibum@seoultech.ac.kr Outline State feedback control design Benefits of CCF 2 Conceptual steps in controller design We begin by considering the regulation problem the task

More information

Design Methods for Control Systems

Design Methods for Control Systems Design Methods for Control Systems Maarten Steinbuch TU/e Gjerrit Meinsma UT Dutch Institute of Systems and Control Winter term 2002-2003 Schedule November 25 MSt December 2 MSt Homework # 1 December 9

More information

Stability of CL System

Stability of CL System Stability of CL System Consider an open loop stable system that becomes unstable with large gain: At the point of instability, K( j) G( j) = 1 0dB K( j) G( j) K( j) G( j) K( j) G( j) =± 180 o 180 o Closed

More information

EEE582 Homework Problems

EEE582 Homework Problems EEE582 Homework Problems HW. Write a state-space realization of the linearized model for the cruise control system around speeds v = 4 (Section.3, http://tsakalis.faculty.asu.edu/notes/models.pdf). Use

More information

Suppose that we have a specific single stage dynamic system governed by the following equation:

Suppose that we have a specific single stage dynamic system governed by the following equation: Dynamic Optimisation Discrete Dynamic Systems A single stage example Suppose that we have a specific single stage dynamic system governed by the following equation: x 1 = ax 0 + bu 0, x 0 = x i (1) where

More information

Homework 6 AERE355 Fall 2017 Due 11/27 (M) Name. is called the. 3dB bandwidth.

Homework 6 AERE355 Fall 2017 Due 11/27 (M) Name. is called the. 3dB bandwidth. 1 Homeork 6 AERE355 Fall 17 Due 11/7 (M) Name PROBLEM 1(3pt The transfer function of a first order Lo Pass Filter (LPF) is frequency rane [, BW ] is called the filter 3dB bandidth (BW) (a)(8pt The dc (ie

More information

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

D(s) G(s) A control system design definition R E Compensation D(s) U Plant G(s) Y Figure 7. A control system design definition x x x 2 x 2 U 2 s s 7 2 Y Figure 7.2 A block diagram representing Eq. (7.) in control form z U 2 s z Y 4 z 2 s z 2 3 Figure

More information

Control Systems Design

Control Systems Design ELEC4410 Control Systems Design Lecture 18: State Feedback Tracking and State Estimation Julio H. Braslavsky julio@ee.newcastle.edu.au School of Electrical Engineering and Computer Science Lecture 18:

More information

Chapter 6 - Solved Problems

Chapter 6 - Solved Problems Chapter 6 - Solved Problems Solved Problem 6.. Contributed by - James Welsh, University of Newcastle, Australia. Find suitable values for the PID parameters using the Z-N tuning strategy for the nominal

More information

Problem Set 4 Solution 1

Problem Set 4 Solution 1 Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science 6.245: MULTIVARIABLE CONTROL SYSTEMS by A. Megretski Problem Set 4 Solution Problem 4. For the SISO feedback

More information

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

Bangladesh University of Engineering and Technology. EEE 402: Control System I Laboratory Bangladesh University of Engineering and Technology Electrical and Electronic Engineering Department EEE 402: Control System I Laboratory Experiment No. 4 a) Effect of input waveform, loop gain, and system

More information

CHAPTER 12 TIME DOMAIN: MODAL STATE SPACE FORM

CHAPTER 12 TIME DOMAIN: MODAL STATE SPACE FORM CHAPTER 1 TIME DOMAIN: MODAL STATE SPACE FORM 1.1 Introduction In Chapter 7 we derived the equations of motion in modal form for the system in Figure 1.1. In this chapter we will convert the modal form

More information

Problem Weight Score Total 100

Problem Weight Score Total 100 EE 350 EXAM IV 15 December 2010 Last Name (Print): First Name (Print): ID number (Last 4 digits): Section: DO NOT TURN THIS PAGE UNTIL YOU ARE TOLD TO DO SO Problem Weight Score 1 25 2 25 3 25 4 25 Total

More information

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

Lab Experiment 2: Performance of First order and second order systems Lab Experiment 2: Performance of First order and second order systems Objective: The objective of this exercise will be to study the performance characteristics of first and second order systems using

More information

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

Module 5: Design of Sampled Data Control Systems Lecture Note 8 Module 5: Design of Sampled Data Control Systems Lecture Note 8 Lag-lead Compensator When a single lead or lag compensator cannot guarantee the specified design criteria, a laglead compensator is used.

More information

x(t) = x(t h), x(t) 2 R ), where is the time delay, the transfer function for such a e s Figure 1: Simple Time Delay Block Diagram e i! =1 \e i!t =!

x(t) = x(t h), x(t) 2 R ), where is the time delay, the transfer function for such a e s Figure 1: Simple Time Delay Block Diagram e i! =1 \e i!t =! 1 Time-Delay Systems 1.1 Introduction Recitation Notes: Time Delays and Nyquist Plots Review In control systems a challenging area is operating in the presence of delays. Delays can be attributed to acquiring

More information

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

Today (10/23/01) Today. Reading Assignment: 6.3. Gain/phase margin lead/lag compensator Ref. 6.4, 6.7, 6.10 Today Today (10/23/01) Gain/phase margin lead/lag compensator Ref. 6.4, 6.7, 6.10 Reading Assignment: 6.3 Last Time In the last lecture, we discussed control design through shaping of the loop gain GK:

More information

is called the 3dB bandwidth. (d)(6pts) The Dryden model MIL-F-8785C for simulating turbulence in relation to the short period mode is

is called the 3dB bandwidth. (d)(6pts) The Dryden model MIL-F-8785C for simulating turbulence in relation to the short period mode is Homeork 6 AERE355 Fall 7 Due /7 (M) SOLUTION PROBLEM (3pt The transfer function of a first order Lo Pass Filter (LPF) is frequency rane [, ] is called the filter 3dB bandidth () (a)(8pt The dc (ie very

More information

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

Appendix 3B MATLAB Functions for Modeling and Time-domain analysis Appendix 3B MATLAB Functions for Modeling and Time-domain analysis MATLAB control system Toolbox contain the following functions for the time-domain response step impulse initial lsim gensig damp ltiview

More information

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

Professor Fearing EE C128 / ME C134 Problem Set 7 Solution Fall 2010 Jansen Sheng and Wenjie Chen, UC Berkeley Professor Fearing EE C8 / ME C34 Problem Set 7 Solution Fall Jansen Sheng and Wenjie Chen, UC Berkeley. 35 pts Lag compensation. For open loop plant Gs ss+5s+8 a Find compensator gain Ds k such that the

More information

Topic # /31 Feedback Control Systems

Topic # /31 Feedback Control Systems Topic #17 16.30/31 Feedback Control Systems Improving the transient performance of the LQ Servo Feedforward Control Architecture Design DOFB Servo Handling saturations in DOFB Fall 2010 16.30/31 17 1 LQ

More information

UNIVERSITY OF BOLTON SCHOOL OF ENGINEERING. MSc SYSTEMS ENGINEERING AND ENGINEERING MANAGEMENT SEMESTER 2 EXAMINATION 2015/2016

UNIVERSITY OF BOLTON SCHOOL OF ENGINEERING. MSc SYSTEMS ENGINEERING AND ENGINEERING MANAGEMENT SEMESTER 2 EXAMINATION 2015/2016 TW2 UNIVERSITY OF BOLTON SCHOOL OF ENGINEERING MSc SYSTEMS ENGINEERING AND ENGINEERING MANAGEMENT SEMESTER 2 EXAMINATION 2015/2016 ADVANCED CONTROL TECHNOLOGY MODULE NO: EEM7015 Date: Monday 16 May 2016

More information

6.245: MULTIVARIABLE CONTROL SYSTEMS by A. Megretski. Solutions to Problem Set 1 1. Massachusetts Institute of Technology

6.245: MULTIVARIABLE CONTROL SYSTEMS by A. Megretski. Solutions to Problem Set 1 1. Massachusetts Institute of Technology Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science 6.245: MULTIVARIABLE CONTROL SYSTEMS by A. Megretski Solutions to Problem Set 1 1 Problem 1.1T Consider the

More information

From the multivariable Nyquist plot, if 1/k < or 1/k > 5.36, or 0.19 < k < 2.7, then the closed loop system is stable.

From the multivariable Nyquist plot, if 1/k < or 1/k > 5.36, or 0.19 < k < 2.7, then the closed loop system is stable. 1. (a) Multivariable Nyquist Plot (diagonal uncertainty case) dash=neg freq solid=pos freq 2.5 2 1.5 1.5 Im -.5-1 -1.5-2 -2.5 1 2 3 4 5 Re From the multivariable Nyquist plot, if 1/k < -.37 or 1/k > 5.36,

More information

Chapter 5. Standard LTI Feedback Optimization Setup. 5.1 The Canonical Setup

Chapter 5. Standard LTI Feedback Optimization Setup. 5.1 The Canonical Setup Chapter 5 Standard LTI Feedback Optimization Setup Efficient LTI feedback optimization algorithms comprise a major component of modern feedback design approach: application problems involving complex models

More information

MODERN CONTROL DESIGN

MODERN CONTROL DESIGN CHAPTER 8 MODERN CONTROL DESIGN The classical design techniques of Chapters 6 and 7 are based on the root-locus and frequency response that utilize only the plant output for feedback with a dynamic controller

More information

Digital Control Systems

Digital Control Systems Digital Control Systems Lecture Summary #4 This summary discussed some graphical methods their use to determine the stability the stability margins of closed loop systems. A. Nyquist criterion Nyquist

More information

Modeling and System Identification for a DC Servo

Modeling and System Identification for a DC Servo Modeling and System Identification for a DC Servo Kevin M. Passino and Nicanor Quijano Dept. Electrical Engineering, The Ohio State University 5 Neil Avenue, Columbus, OH 3-7 March 7, Abstract First, you

More information

Outline. Classical Control. Lecture 5

Outline. Classical Control. Lecture 5 Outline Outline Outline 1 What is 2 Outline What is Why use? Sketching a 1 What is Why use? Sketching a 2 Gain Controller Lead Compensation Lag Compensation What is Properties of a General System Why use?

More information

APPLICATIONS FOR ROBOTICS

APPLICATIONS FOR ROBOTICS Version: 1 CONTROL APPLICATIONS FOR ROBOTICS TEX d: Feb. 17, 214 PREVIEW We show that the transfer function and conditions of stability for linear systems can be studied using Laplace transforms. Table

More information

EL 625 Lecture 10. Pole Placement and Observer Design. ẋ = Ax (1)

EL 625 Lecture 10. Pole Placement and Observer Design. ẋ = Ax (1) EL 625 Lecture 0 EL 625 Lecture 0 Pole Placement and Observer Design Pole Placement Consider the system ẋ Ax () The solution to this system is x(t) e At x(0) (2) If the eigenvalues of A all lie in the

More information

9. Introduction and Chapter Objectives

9. Introduction and Chapter Objectives Real Analog - Circuits 1 Chapter 9: Introduction to State Variable Models 9. Introduction and Chapter Objectives In our analysis approach of dynamic systems so far, we have defined variables which describe

More information

Chapter 3: Block Diagrams and Signal Flow Graphs

Chapter 3: Block Diagrams and Signal Flow Graphs Chapter 3: Block Diagrams and Signal Flow Graphs Farid Golnaraghi, Simon Fraser University Benjamin C. Kuo, University of Illinois ISBN: 978 0 470 04896 2 Introduction In this chapter, we discuss graphical

More information

Closed Loop Transfer Functions

Closed Loop Transfer Functions Closed Loop Transfer Functions The following script illustrates and demonstrates key control concepts discussed in class on Feb 21 and Feb 23rd. Use these notes to understand how to specify transfer functions

More information

INTRODUCTION TO TRANSFER FUNCTIONS

INTRODUCTION TO TRANSFER FUNCTIONS INTRODUCTION TO TRANSFER FUNCTIONS The transfer function is the ratio of the output Laplace Transform to the input Laplace Transform assuming zero initial conditions. Many important characteristics of

More information

FREQUENCY-RESPONSE DESIGN

FREQUENCY-RESPONSE DESIGN ECE45/55: Feedback Control Systems. 9 FREQUENCY-RESPONSE DESIGN 9.: PD and lead compensation networks The frequency-response methods we have seen so far largely tell us about stability and stability margins

More information

CONTROL SYSTEMS ENGINEERING Sixth Edition International Student Version

CONTROL SYSTEMS ENGINEERING Sixth Edition International Student Version CONTROL SYSTEMS ENGINEERING Sixth Edition International Student Version Norman S. Nise California State Polytechnic University, Pomona John Wiley fir Sons, Inc. Contents PREFACE, vii 1. INTRODUCTION, 1

More information

CHAPTER 11 FREQUENCY RESPONSE: MODAL STATE SPACE FORM

CHAPTER 11 FREQUENCY RESPONSE: MODAL STATE SPACE FORM CHAPTER 11 FREQUENCY RESPONSE: MODAL STATE SPACE FORM 11.1 Introduction In Chapter 1 we constructed the modal form of the state equations for the overall frequency response as well as for the individual

More information

EECS C128/ ME C134 Final Wed. Dec. 15, am. Closed book. Two pages of formula sheets. No calculators.

EECS C128/ ME C134 Final Wed. Dec. 15, am. Closed book. Two pages of formula sheets. No calculators. Name: SID: EECS C28/ ME C34 Final Wed. Dec. 5, 2 8- am Closed book. Two pages of formula sheets. No calculators. There are 8 problems worth points total. Problem Points Score 2 2 6 3 4 4 5 6 6 7 8 2 Total

More information

Topic # Feedback Control Systems

Topic # Feedback Control Systems Topic #16 16.31 Feedback Control Systems State-Space Systems Closed-loop control using estimators and regulators. Dynamics output feedback Back to reality Fall 2007 16.31 16 1 Combined Estimators and Regulators

More information

University of Alberta ENGM 541: Modeling and Simulation of Engineering Systems Laboratory #7. M.G. Lipsett & M. Mashkournia 2011

University of Alberta ENGM 541: Modeling and Simulation of Engineering Systems Laboratory #7. M.G. Lipsett & M. Mashkournia 2011 ENG M 54 Laboratory #7 University of Alberta ENGM 54: Modeling and Simulation of Engineering Systems Laboratory #7 M.G. Lipsett & M. Mashkournia 2 Mixed Systems Modeling with MATLAB & SIMULINK Mixed systems

More information

ECE317 : Feedback and Control

ECE317 : Feedback and Control ECE317 : Feedback and Control Lecture : Steady-state error Dr. Richard Tymerski Dept. of Electrical and Computer Engineering Portland State University 1 Course roadmap Modeling Analysis Design Laplace

More information

Outline. Classical Control. Lecture 1

Outline. Classical Control. Lecture 1 Outline Outline Outline 1 Introduction 2 Prerequisites Block diagram for system modeling Modeling Mechanical Electrical Outline Introduction Background Basic Systems Models/Transfers functions 1 Introduction

More information

SAMPLE SOLUTION TO EXAM in MAS501 Control Systems 2 Autumn 2015

SAMPLE SOLUTION TO EXAM in MAS501 Control Systems 2 Autumn 2015 FACULTY OF ENGINEERING AND SCIENCE SAMPLE SOLUTION TO EXAM in MAS501 Control Systems 2 Autumn 2015 Lecturer: Michael Ruderman Problem 1: Frequency-domain analysis and control design (15 pt) Given is a

More information

2.010 Fall 2000 Solution of Homework Assignment 1

2.010 Fall 2000 Solution of Homework Assignment 1 2. Fall 2 Solution of Homework Assignment. Compact Disk Player. This is essentially a reprise of Problems and 2 from the Fall 999 2.3 Homework Assignment 7. t is included here to encourage you to review

More information

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

Contents. PART I METHODS AND CONCEPTS 2. Transfer Function Approach Frequency Domain Representations... 42 Contents Preface.............................................. xiii 1. Introduction......................................... 1 1.1 Continuous and Discrete Control Systems................. 4 1.2 Open-Loop

More information

Lecture 1: Introduction to System Modeling and Control. Introduction Basic Definitions Different Model Types System Identification

Lecture 1: Introduction to System Modeling and Control. Introduction Basic Definitions Different Model Types System Identification Lecture 1: Introduction to System Modeling and Control Introduction Basic Definitions Different Model Types System Identification What is Mathematical Model? A set of mathematical equations (e.g., differential

More information

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

Topic # /31 Feedback Control Systems. State-Space Systems Closed-loop control using estimators and regulators. Dynamics output feedback Topic #15 16.3/31 Feedback Control Systems State-Space Systems Closed-loop control using estimators and regulators. Dynamics output feedback Back to reality Reading: FPE 7.6 Fall 21 16.3/31 15 2 Combined

More information

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

ECSE 4962 Control Systems Design. A Brief Tutorial on Control Design ECSE 4962 Control Systems Design A Brief Tutorial on Control Design Instructor: Professor John T. Wen TA: Ben Potsaid http://www.cat.rpi.edu/~wen/ecse4962s04/ Don t Wait Until The Last Minute! You got

More information

Topic # /31 Feedback Control Systems

Topic # /31 Feedback Control Systems Topic #16 16.30/31 Feedback Control Systems Add reference inputs for the DOFB case Reading: FPE 7.8, 7.9 Fall 2010 16.30/31 16 2 Reference Input - II On page 15-6, compensator implemented with reference

More information

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

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Mechanical Engineering Dynamics and Control II Fall 2007 MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Mechanical Engineering.4 Dynamics and Control II Fall 7 Problem Set #9 Solution Posted: Sunday, Dec., 7. The.4 Tower system. The system parameters are

More information

CONTROL * ~ SYSTEMS ENGINEERING

CONTROL * ~ SYSTEMS ENGINEERING CONTROL * ~ SYSTEMS ENGINEERING H Fourth Edition NormanS. Nise California State Polytechnic University, Pomona JOHN WILEY& SONS, INC. Contents 1. Introduction 1 1.1 Introduction, 2 1.2 A History of Control

More information

Solution to HW State-feedback control of the motor with load (from text problem 1.3) (t) I a (t) V a (t) J L.

Solution to HW State-feedback control of the motor with load (from text problem 1.3) (t) I a (t) V a (t) J L. EE/ME 7: Advanced Linear Systems Solution Solution to HW Name On each item, grading is, or (full points, /2 points, points) EE/ME 7: Advanced Linear Systems Solution State-feedback control of the motor

More information

Principles of Optimal Control Spring 2008

Principles of Optimal Control Spring 2008 MIT OpenCourseWare http://ocw.mit.edu 16.323 Principles of Optimal Control Spring 2008 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms. 16.323 Lecture

More information

MIMO analysis: loop-at-a-time

MIMO analysis: loop-at-a-time MIMO robustness MIMO analysis: loop-at-a-time y 1 y 2 P (s) + + K 2 (s) r 1 r 2 K 1 (s) Plant: P (s) = 1 s 2 + α 2 s α 2 α(s + 1) α(s + 1) s α 2. (take α = 10 in the following numerical analysis) Controller:

More information

MATLAB Introduction and Review

MATLAB Introduction and Review MATLAB Introduction and Review Alireza Abouhossein Ph.D. Alireza.abouhossein@unibo.it 1 Introduction MATLAB: MATrix LABoratory System Analysis: SISO (single input -single output) MIMO (multiple input multiple

More information

Simulation, Transfer Function

Simulation, Transfer Function Max Force (lb) Displacement (in) 1 ME313 Homework #12 Simulation, Transfer Function Last Updated November 17, 214. Repeat the car-crash problem from HW#6. Use the Matlab function lsim with ABCD format

More information

Optimal Control. Quadratic Functions. Single variable quadratic function: Multi-variable quadratic function:

Optimal Control. Quadratic Functions. Single variable quadratic function: Multi-variable quadratic function: Optimal Control Control design based on pole-placement has non unique solutions Best locations for eigenvalues are sometimes difficult to determine Linear Quadratic LQ) Optimal control minimizes a quadratic

More information

Control Systems, Lecture 05

Control Systems, Lecture 05 Control Systems, Lecture 05 İbrahim Beklan Küçükdemiral Yıldız Teknik Üniversitesi 2015 1 / 33 Laplace Transform Solution of State Equations In previous sections, systems were modeled in state space, where

More information

H 2 Optimal State Feedback Control Synthesis. Raktim Bhattacharya Aerospace Engineering, Texas A&M University

H 2 Optimal State Feedback Control Synthesis. Raktim Bhattacharya Aerospace Engineering, Texas A&M University H 2 Optimal State Feedback Control Synthesis Raktim Bhattacharya Aerospace Engineering, Texas A&M University Motivation Motivation w(t) u(t) G K y(t) z(t) w(t) are exogenous signals reference, process

More information

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

CDS 101/110a: Lecture 10-1 Robust Performance CDS 11/11a: Lecture 1-1 Robust Performance Richard M. Murray 1 December 28 Goals: Describe how to represent uncertainty in process dynamics Describe how to analyze a system in the presence of uncertainty

More information

1 (30 pts) Dominant Pole

1 (30 pts) Dominant Pole EECS C8/ME C34 Fall Problem Set 9 Solutions (3 pts) Dominant Pole For the following transfer function: Y (s) U(s) = (s + )(s + ) a) Give state space description of the system in parallel form (ẋ = Ax +

More information

Department of Electrical and Computer Engineering. EE461: Digital Control - Lab Manual

Department of Electrical and Computer Engineering. EE461: Digital Control - Lab Manual Department of Electrical and Computer Engineering EE461: Digital Control - Lab Manual Winter 2011 EE 461 Experiment #1 Digital Control of DC Servomotor 1 Objectives The objective of this lab is to introduce

More information

Topic # Feedback Control

Topic # Feedback Control Topic #5 6.3 Feedback Control State-Space Systems Full-state Feedback Control How do we change the poles of the state-space system? Or,evenifwecanchangethepolelocations. Where do we put the poles? Linear

More information

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

EECS C128/ ME C134 Final Thu. May 14, pm. Closed book. One page, 2 sides of formula sheets. No calculators. Name: SID: EECS C28/ ME C34 Final Thu. May 4, 25 5-8 pm Closed book. One page, 2 sides of formula sheets. No calculators. There are 8 problems worth points total. Problem Points Score 4 2 4 3 6 4 8 5 3

More information

Stability and Robustness 1

Stability and Robustness 1 Lecture 2 Stability and Robustness This lecture discusses the role of stability in feedback design. The emphasis is notonyes/notestsforstability,butratheronhowtomeasurethedistanceto instability. The small

More information

EE 4343/ Control System Design Project

EE 4343/ Control System Design Project Copyright F.L. Lewi 2004 All right reerved EE 4343/5320 - Control Sytem Deign Project Updated: Sunday, February 08, 2004 Background: Analyi of Linear ytem, MATLAB Review of Baic Concept LTI Sytem LT I

More information

State Feedback Controller for Position Control of a Flexible Link

State Feedback Controller for Position Control of a Flexible Link Laboratory 12 Control Systems Laboratory ECE3557 Laboratory 12 State Feedback Controller for Position Control of a Flexible Link 12.1 Objective The objective of this laboratory is to design a full state

More information

ẋ n = f n (x 1,...,x n,u 1,...,u m ) (5) y 1 = g 1 (x 1,...,x n,u 1,...,u m ) (6) y p = g p (x 1,...,x n,u 1,...,u m ) (7)

ẋ n = f n (x 1,...,x n,u 1,...,u m ) (5) y 1 = g 1 (x 1,...,x n,u 1,...,u m ) (6) y p = g p (x 1,...,x n,u 1,...,u m ) (7) EEE582 Topical Outline A.A. Rodriguez Fall 2007 GWC 352, 965-3712 The following represents a detailed topical outline of the course. It attempts to highlight most of the key concepts to be covered and

More information

CURRENT LOOPS George W. Younkin, P.E. Life Fellow IEEE Industrial Controls Research, Inc. Fond du Lac, Wisconsin

CURRENT LOOPS George W. Younkin, P.E. Life Fellow IEEE Industrial Controls Research, Inc. Fond du Lac, Wisconsin CURRENT LOOPS George W. Younkin, P.E. Life Fellow IEEE Industrial Controls Research, Inc. Fond du Lac, Wisconsin All industrial servo drives require some form of compensation often referred to as proportional,

More information

MAE 143B - Homework 9

MAE 143B - Homework 9 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

More information

= rad/sec. We can find the last parameter, T, from ωcg new

= rad/sec. We can find the last parameter, T, from ωcg new EE572 Solution to HW#22. Keep working on your project!! 1. Consider the following system: W(s) + T s =1 msec G lead (z) G zoh (z) 8 ( s+ 4) - a) Design a lead compensator, G lead (z), which meets the following

More information

Homework 7 - Solutions

Homework 7 - Solutions Homework 7 - Solutions Note: This homework is worth a total of 48 points. 1. Compensators (9 points) For a unity feedback system given below, with G(s) = K s(s + 5)(s + 11) do the following: (c) Find the

More information

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

PM diagram of the Transfer Function and its use in the Design of Controllers PM diagram of the Transfer Function and its use in the Design of Controllers Santiago Garrido, Luis Moreno Abstract This paper presents the graphical chromatic representation of the phase and the magnitude

More information

Stability and Frequency Response of Linear Systems

Stability and Frequency Response of Linear Systems ECE 350 Linear Systems I MATLAB Tutorial #4 Stability and Frequency Response of Linear Systems This tutorial describes the MATLAB commands that can be used to determine the stability and/or frequency response

More information

Chap 8. State Feedback and State Estimators

Chap 8. State Feedback and State Estimators Chap 8. State Feedback and State Estimators Outlines Introduction State feedback Regulation and tracking State estimator Feedback from estimated states State feedback-multivariable case State estimators-multivariable

More information

EE 311 February 22, 2019 Lecture 13

EE 311 February 22, 2019 Lecture 13 EE 311 February, 019 Lecture 13 Minimum Phase FIR filters Geometric Interpretation of P/Z locations Minimum Phase System - A system is said to be a minimum phase system if the deviation from zero in the

More information

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

CDS 101/110a: Lecture 8-1 Frequency Domain Design CDS 11/11a: Lecture 8-1 Frequency Domain Design Richard M. Murray 17 November 28 Goals: Describe canonical control design problem and standard performance measures Show how to use loop shaping to achieve

More information

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

R a) Compare open loop and closed loop control systems. b) Clearly bring out, from basics, Force-current and Force-Voltage analogies. SET - 1 II B. Tech II Semester Supplementary Examinations Dec 01 1. a) Compare open loop and closed loop control systems. b) Clearly bring out, from basics, Force-current and Force-Voltage analogies..

More information

Note. Design via State Space

Note. Design via State Space Note Design via State Space Reference: Norman S. Nise, Sections 3.5, 3.6, 7.8, 12.1, 12.2, and 12.8 of Control Systems Engineering, 7 th Edition, John Wiley & Sons, INC., 2014 Department of Mechanical

More information

Massachusetts Institute of Technology. Department of Electrical Engineering and Computer Science : MULTIVARIABLE CONTROL SYSTEMS by A.

Massachusetts Institute of Technology. Department of Electrical Engineering and Computer Science : MULTIVARIABLE CONTROL SYSTEMS by A. Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science 6.245: MULTIVARIABLE CONTROL SYSTEMS by A. Megretski Q-Parameterization 1 This lecture introduces the so-called

More information

The norms can also be characterized in terms of Riccati inequalities.

The norms can also be characterized in terms of Riccati inequalities. 9 Analysis of stability and H norms Consider the causal, linear, time-invariant system ẋ(t = Ax(t + Bu(t y(t = Cx(t Denote the transfer function G(s := C (si A 1 B. Theorem 85 The following statements

More information

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

Lecture 14 - Using the MATLAB Control System Toolbox and Simulink Friday, February 8, 2013 Today s Objectives ENGR 105: Feedback Control Design Winter 2013 Lecture 14 - Using the MATLAB Control System Toolbox and Simulink Friday, February 8, 2013 1. introduce the MATLAB Control System Toolbox

More information

MTNS 06, Kyoto (July, 2006) Shinji Hara The University of Tokyo, Japan

MTNS 06, Kyoto (July, 2006) Shinji Hara The University of Tokyo, Japan MTNS 06, Kyoto (July, 2006) Shinji Hara The University of Tokyo, Japan Outline Motivation & Background: H2 Tracking Performance Limits: new paradigm Explicit analytical solutions with examples H2 Regulation

More information

Topic # Feedback Control Systems

Topic # Feedback Control Systems Topic #17 16.31 Feedback Control Systems Deterministic LQR Optimal control and the Riccati equation Weight Selection Fall 2007 16.31 17 1 Linear Quadratic Regulator (LQR) Have seen the solutions to the

More information

State Feedback and State Estimators Linear System Theory and Design, Chapter 8.

State Feedback and State Estimators Linear System Theory and Design, Chapter 8. 1 Linear System Theory and Design, http://zitompul.wordpress.com 2 0 1 4 State Estimator In previous section, we have discussed the state feedback, based on the assumption that all state variables are

More information

VALLIAMMAI ENGINEERING COLLEGE SRM Nagar, Kattankulathur

VALLIAMMAI ENGINEERING COLLEGE SRM Nagar, Kattankulathur VALLIAMMAI ENGINEERING COLLEGE SRM Nagar, Kattankulathur 603 203. DEPARTMENT OF ELECTRONICS & COMMUNICATION ENGINEERING SUBJECT QUESTION BANK : EC6405 CONTROL SYSTEM ENGINEERING SEM / YEAR: IV / II year

More information

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

ECE382/ME482 Spring 2005 Homework 7 Solution April 17, K(s + 0.2) s 2 (s + 2)(s + 5) G(s) = ECE382/ME482 Spring 25 Homework 7 Solution April 17, 25 1 Solution to HW7 AP9.5 We are given a system with open loop transfer function G(s) = K(s +.2) s 2 (s + 2)(s + 5) (1) and unity negative feedback.

More information