Tutorial 4 (Week 11): Matlab - Digital Control Systems

Size: px
Start display at page:

Download "Tutorial 4 (Week 11): Matlab - Digital Control Systems"

Transcription

1 ELEC 3004 Systems: Signals & Controls Tutorial 4 (Week ): Matlab - Digital Control Systems The process of designing and analysing sampled-data systems is enhanced by the use of interactive computer tools i.e. Matlab. Many of the control design functions for continuous-time control design have equivalent counterparts for sampled-data systems. Discrete-time transfer function model objects are obtained with the tf function. Need to check whether you have converted from the continuous domain to the discrete domain correctly? Try playing around with the c2d and d2c functions. TF function: SYS = tf(num,den) sys = tf([], [ 0]) sys = s^2 + s Continuous-time transfer function. If this were in the discrete domain rather than the continuous domain we just add the third parameter of the tf function Ts which is the sampling time. If the sampling time is unknown for some reason simply put - in its place. SYS = tf(num,den,ts) sys = tf([], [ 0], -) sys = z^2 + z Sample time: unspecified

2 Quite often it will be necessary to convert between the continuous domain and discrete domain, doing this be handy can be a rather tedious process, however sometimes it must be done. But to make life easier, matlab has a nice function for doing just that c2d. This matlab function will take the transfer function of a continuous system and convert it to the discrete domain. sys = tf([], [ 0]) sys = s^2 + s Continuous-time transfer function. SYSD = c2d(sysc,ts,method) sysz = c2d(sys, 0., 'zoh') sysz = z z^ z Sample time: 0. seconds As you have probably already seen there are a number of different approximations for converting from the continuous domain to the discrete domain. That is the third parameter in the c2d function, you can to conversions with the zero order hold method or matched pole zero or a number of other methods. All the methods that can be provided into this matlab function are all APPROXIMATIONS to the continuous time transfer function. It is possible to do the exact z- transform by hand, but generally it involves a little bit of maths. Wishing to view the root locus of your continuous or discrete transfer function?? There are a number of tools available to you, some of which are interactive i.e. They allow you to move the poles and zeros around so you are able to see what happens to them when varying gains and sampling times. Pzmap: pzmap(sys) All you have to give this function is your transfer function and it will map all the poles and zeros for you on a pretty little rool locus.

3 sysz = c2d(sys, 0., 'zoh') sysz = z z^ z Sample time: 0. seconds pzmap(sysz) grid on Rltool u --->O--->[ COMP ]--->[ PLANT ] > y rltool(plant) further specifies the plant model PLANT to be used in the SISO Tool. PLANT is any linear model created with TF, ZPK, or SS.

4 rltool(plant,comp) also specifies an initial value COMP for the compensator (also a linear model created with TF, ZPK, or SS). With this tool you are not only capable of mapping out the locations of your poles and zeros but you are also capable of seeing how a compensator will affect your system. For those of you who may not know, generally you apply a compensator to an unstable system to bring it back to stability. This is done by adding additional poles and zeros to the system along with system gains that will bring the poles of the plant back to stability. sysz = c2d(sys, 0., 'zoh') sysz = z z^ z Sample time: 0. seconds syscomp = tf([ 0], [ ], 0.) syscomp = z z^ z + 0. Sample time: 0. seconds rltool(sysz, syscomp)

5 As you can see in the plot above the pink squares are originally where the poles are, however you are able to click and drag them and it will show you how the other poles react to that change. Additionally, rltool is capable of converting between continuous and discrete after the plot has been done. Rlocus: Assume we have some discrete transfer function: And a compensator for this system: We wish to find the maximum gain possible for our system with the applied compensator without making the system unstable. One way to do this is to use the rlocus function and conjunction with rlocfind.

6 %This script generates the root locus for %the sampled dtaa system % K(0.3678)(z ) % % (z - )(z ) % %Plot the root locus num = [ ]; den = [ ]; sys = tf(num, den); rlocus(sys); hold on %plot the unit circle x = [-:0.:]; y = sqrt(-x.^2); plot(x, y, '--', x, -y, '--'); Once we have the plot simply use to rlocfind function, click on the intersect of the unit circle and the possible path taken by the poles to find the maximum possible gain without making the system unstable. In this example the gain comes out to be approximately (K = 4.369). Simulation of sampled-data: The functions step, impulse and Isim are used for simulation of sampled data systems. The step function and the impulse function will apply a step and impulse to your system respectively.

7 %This script generates the unit step response y(kt), % for the sampled data system % z % G(Z) = % z^2 - z num = []; den = [ 0]; sysc = (tf(num, den)); sysd = c2d(sysc,, 'zoh'); sys = feedback(sysd, []) T = [0::20]; %Note the form of T. It should be in the form T i :T s :T f where T s is the sample time. step(sys, T); An impulse can be applied to the system similarly.

ECE 203 LAB 1 MATLAB CONTROLS AND SIMULINK

ECE 203 LAB 1 MATLAB CONTROLS AND SIMULINK Version 1.1 1 of BEFORE YOU BEGIN PREREQUISITE LABS ECE 01 and 0 Labs EXPECTED KNOWLEDGE ECE 03 LAB 1 MATLAB CONTROLS AND SIMULINK Linear systems Transfer functions Step and impulse responses (at the level

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

MAE 143B - Homework 8 Solutions

MAE 143B - Homework 8 Solutions MAE 43B - Homework 8 Solutions P6.4 b) With this system, the root locus simply starts at the pole and ends at the zero. Sketches by hand and matlab are in Figure. In matlab, use zpk to build the system

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

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

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.

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. 6. Sketch the z-domain root locus and find the critical gain for the following systems K (i) Gz () z 4. (ii) Gz K () ( z+ 9. )( z 9. ) (iii) Gz () Kz ( z. )( z ) (iv) Gz () Kz ( + 9. ) ( z. )( z 8. ) (i)

More information

OKLAHOMA STATE UNIVERSITY

OKLAHOMA STATE UNIVERSITY OKLAHOMA STATE UNIVERSITY ECEN 4413 - Automatic Control Systems Matlab Lecture 1 Introduction and Control Basics Presented by Moayed Daneshyari 1 What is Matlab? Invented by Cleve Moler in late 1970s to

More information

DIGITAL CONTROL OF POWER CONVERTERS. 3 Digital controller design

DIGITAL CONTROL OF POWER CONVERTERS. 3 Digital controller design DIGITAL CONTROL OF POWER CONVERTERS 3 Digital controller design Frequency response of discrete systems H(z) Properties: z e j T s 1 DC Gain z=1 H(1)=DC 2 Periodic nature j Ts z e jt e s cos( jt ) j sin(

More information

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) =

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) = 567 This is often referred to as Þnite settling time or deadbeat design because the dynamics will settle in a Þnite number of sample periods. This estimator always drives the error to zero in time 2T or

More information

Control System Engineering

Control System Engineering Control System Engineering Matlab Exmaples Youngshik Kim, Ph.D. Mechanical Engineering youngshik@hanbat.ac.kr Partial Fraction: residue >> help residue RESIDUE Partial-fraction expansion (residues). [R,P,K]

More information

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

School of Mechanical Engineering Purdue University. DC Motor Position Control The block diagram for position control of the servo table is given by: Root Locus Motivation Sketching Root Locus Examples ME375 Root Locus - 1 Servo Table Example DC Motor Position Control The block diagram for position control of the servo table is given by: θ D 0.09 See

More information

Department of Mechanical Engineering

Department of Mechanical Engineering Department of Mechanical Engineering 2.14 ANALYSIS AND DESIGN OF FEEDBACK CONTROL SYSTEMS Fall Term 23 Problem Set 5: Solutions Problem 1: Nise, Ch. 6, Problem 2. Notice that there are sign changes in

More information

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

Matlab Controller Design. 1. Control system toolbox 2. Functions for model analysis 3. Linear system simulation 4. Biochemical reactor linearization Matlab Controller Design. Control system toolbox 2. Functions for model analysis 3. Linear system simulation 4. Biochemical reactor linearization Control System Toolbox Provides algorithms and tools for

More information

LABORATORY INSTRUCTION MANUAL CONTROL SYSTEM II LAB EE 693

LABORATORY INSTRUCTION MANUAL CONTROL SYSTEM II LAB EE 693 LABORATORY INSTRUCTION MANUAL CONTROL SYSTEM II LAB EE 693 ELECTRICAL ENGINEERING DEPARTMENT JIS COLLEGE OF ENGINEERING (AN AUTONOMOUS INSTITUTE) KALYANI, NADIA EXPERIMENT NO : CS II/ TITLE : FAMILIARIZATION

More information

Chapter 7. Digital Control Systems

Chapter 7. Digital Control Systems Chapter 7 Digital Control Systems 1 1 Introduction In this chapter, we introduce analysis and design of stability, steady-state error, and transient response for computer-controlled systems. Transfer functions,

More information

7.4 STEP BY STEP PROCEDURE TO DRAW THE ROOT LOCUS DIAGRAM

7.4 STEP BY STEP PROCEDURE TO DRAW THE ROOT LOCUS DIAGRAM ROOT LOCUS TECHNIQUE. Values of on the root loci The value of at any point s on the root loci is determined from the following equation G( s) H( s) Product of lengths of vectors from poles of G( s)h( s)

More information

Example on Root Locus Sketching and Control Design

Example on Root Locus Sketching and Control Design Example on Root Locus Sketching and Control Design MCE44 - Spring 5 Dr. Richter April 25, 25 The following figure represents the system used for controlling the robotic manipulator of a Mars Rover. We

More information

LABORATORY INSTRUCTION MANUAL CONTROL SYSTEM I LAB EE 593

LABORATORY INSTRUCTION MANUAL CONTROL SYSTEM I LAB EE 593 LABORATORY INSTRUCTION MANUAL CONTROL SYSTEM I LAB EE 593 ELECTRICAL ENGINEERING DEPARTMENT JIS COLLEGE OF ENGINEERING (AN AUTONOMOUS INSTITUTE) KALYANI, NADIA CONTROL SYSTEM I LAB. MANUAL EE 593 EXPERIMENT

More information

Root Locus. Motivation Sketching Root Locus Examples. School of Mechanical Engineering Purdue University. ME375 Root Locus - 1

Root Locus. Motivation Sketching Root Locus Examples. School of Mechanical Engineering Purdue University. ME375 Root Locus - 1 Root Locus Motivation Sketching Root Locus Examples ME375 Root Locus - 1 Servo Table Example DC Motor Position Control The block diagram for position control of the servo table is given by: D 0.09 Position

More information

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 )

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 ) .7 Quiz Solutions Problem : a H(s) = s a a) Calculate the zero order hold equivalent H eq (z). H eq (z) = z z G(s) Z{ } s G(s) a Z{ } = Z{ s s(s a ) } G(s) A B Z{ } = Z{ + } s s(s + a) s(s a) G(s) a a

More information

Meeting Design Specs using Root Locus

Meeting Design Specs using Root Locus Meeting Design Specs using Root Locus So far, we have Lead compensators which cancel a pole and move it left, speeding up the root locus. PID compensators which add a zero at s=0 and add zero, one, or

More information

Department of Electrical and Computer Engineering ECED4601 Digital Control System Lab3 Digital State Space Model

Department of Electrical and Computer Engineering ECED4601 Digital Control System Lab3 Digital State Space Model Department of Electrical and Computer Engineering ECED46 Digital Control System Lab3 Digital State Space Model Objectives. To learn some MATLAB commands that deals with the discrete time systems.. To give

More information

9/9/2011 Classical Control 1

9/9/2011 Classical Control 1 MM11 Root Locus Design Method Reading material: FC pp.270-328 9/9/2011 Classical Control 1 What have we talked in lecture (MM10)? Lead and lag compensators D(s)=(s+z)/(s+p) with z < p or z > p D(s)=K(Ts+1)/(Ts+1),

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

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

ECE 3793 Matlab Project 3

ECE 3793 Matlab Project 3 ECE 3793 Matlab Project 3 Spring 2017 Dr. Havlicek DUE: 04/25/2017, 11:59 PM What to Turn In: Make one file that contains your solution for this assignment. It can be an MS WORD file or a PDF file. Make

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

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

Signals and Systems. Problem Set: The z-transform and DT Fourier Transform

Signals and Systems. Problem Set: The z-transform and DT Fourier Transform Signals and Systems Problem Set: The z-transform and DT Fourier Transform Updated: October 9, 7 Problem Set Problem - Transfer functions in MATLAB A discrete-time, causal LTI system is described by the

More information

LabVIEW 开发技术丛书 控制设计与仿真实战篇

LabVIEW 开发技术丛书 控制设计与仿真实战篇 LabVIEW 开发技术丛书 控制设计与仿真实战篇 录目录 Modeling DC Motor Position 1-8 Motor Position PID Control 9-18 Root Locus Design Method for Motor Position Control 19-28 Frequency Design Method for Motor Position Control

More information

Lecture 3 Matlab Simulink Minimum Phase, Maximum Phase and Linear Phase Systems

Lecture 3 Matlab Simulink Minimum Phase, Maximum Phase and Linear Phase Systems Lecture 3 Matlab Simulink Minimum Phase, Maximum Phase and Linear Phase Systems Lester Liu October 31, 2012 Minimum Phase, Maximum Phase and Linear Phase LTI Systems In this section, we will explore the

More information

Dr. Ian R. Manchester

Dr. Ian R. Manchester Dr Ian R. Manchester Week Content Notes 1 Introduction 2 Frequency Domain Modelling 3 Transient Performance and the s-plane 4 Block Diagrams 5 Feedback System Characteristics Assign 1 Due 6 Root Locus

More information

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

Due Wednesday, February 6th EE/MFS 599 HW #5 Due Wednesday, February 6th EE/MFS 599 HW #5 You may use Matlab/Simulink wherever applicable. Consider the standard, unity-feedback closed loop control system shown below where G(s) = /[s q (s+)(s+9)]

More information

2.010 Fall 2000 Solution of Homework Assignment 8

2.010 Fall 2000 Solution of Homework Assignment 8 2.1 Fall 2 Solution of Homework Assignment 8 1. Root Locus Analysis of Hydraulic Servomechanism. The block diagram of the controlled hydraulic servomechanism is shown in Fig. 1 e r e error + i Σ C(s) P(s)

More information

Lecture Discrete dynamic systems

Lecture Discrete dynamic systems Chapter 3 Low-level io Lecture 3.4 Discrete dynamic systems Lecture 3.4 Discrete dynamic systems Suppose that we wish to implement an embedded computer system that behaves analogously to a continuous linear

More information

CDS 101/110: Lecture 6.2 Transfer Functions

CDS 101/110: Lecture 6.2 Transfer Functions CDS 11/11: Lecture 6.2 Transfer Functions November 2, 216 Goals: Continued study of Transfer functions Review Laplace Transform Block Diagram Algebra Bode Plot Intro Reading: Åström and Murray, Feedback

More information

Methods for analysis and control of. Lecture 6: Introduction to digital control

Methods for analysis and control of. Lecture 6: Introduction to digital control Methods for analysis and of Lecture 6: to digital O. Sename 1 1 Gipsa-lab, CNRS-INPG, FRANCE Olivier.Sename@gipsa-lab.inpg.fr www.lag.ensieg.inpg.fr/sename 6th May 2009 Outline Some interesting books:

More information

(a) Torsional spring-mass system. (b) Spring element.

(a) Torsional spring-mass system. (b) Spring element. m v s T s v a (a) T a (b) T a FIGURE 2.1 (a) Torsional spring-mass system. (b) Spring element. by ky Wall friction, b Mass M k y M y r(t) Force r(t) (a) (b) FIGURE 2.2 (a) Spring-mass-damper system. (b)

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

16.31 Homework 2 Solution

16.31 Homework 2 Solution 16.31 Homework Solution Prof. S. R. Hall Issued: September, 6 Due: September 9, 6 Problem 1. (Dominant Pole Locations) [FPE 3.36 (a),(c),(d), page 161]. Consider the second order system ωn H(s) = (s/p

More information

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

EE 4314 Lab 1 Handout Control Systems Simulation with MATLAB and SIMULINK Spring Lab Information EE 4314 Lab 1 Handout Control Systems Simulation with MATLAB and SIMULINK Spring 2013 1. Lab Information This is a take-home lab assignment. There is no experiment for this lab. You will study the tutorial

More information

Digital Control System Models. M. Sami Fadali Professor of Electrical Engineering University of Nevada

Digital Control System Models. M. Sami Fadali Professor of Electrical Engineering University of Nevada Digital Control System Models M. Sami Fadali Professor of Electrical Engineering University of Nevada 1 Outline Model of ADC. Model of DAC. Model of ADC, analog subsystem and DAC. Systems with transport

More information

Inverted Pendulum. Objectives

Inverted Pendulum. Objectives Inverted Pendulum Objectives The objective of this lab is to experiment with the stabilization of an unstable system. The inverted pendulum problem is taken as an example and the animation program gives

More information

Chapter 6 Steady-State Analysis of Continuous-Time Systems

Chapter 6 Steady-State Analysis of Continuous-Time Systems Chapter 6 Steady-State Analysis of Continuous-Time Systems 6.1 INTRODUCTION One of the objectives of a control systems engineer is to minimize the steady-state error of the closed-loop system response

More information

and a where is a Vc. K val paran This ( suitab value

and a where is a Vc. K val paran This ( suitab value 198 Chapter 5 Root-Locus Method One classical technique in determining pole variations with parameters is known as the root-locus method, invented by W. R. Evens, which will be introduced in this chapter.

More information

Lab(8) controller design using root locus

Lab(8) controller design using root locus Lab(8) cotroller desig usig root locus I this lab we will lear how to desig a cotroller usig root locus but before this we eed to aswer the followig questios: What is root locus? What is the purpose of

More information

Control Systems Engineering ( Chapter 8. Root Locus Techniques ) Prof. Kwang-Chun Ho Tel: Fax:

Control Systems Engineering ( Chapter 8. Root Locus Techniques ) Prof. Kwang-Chun Ho Tel: Fax: Control Systems Engineering ( Chapter 8. Root Locus Techniques ) Prof. Kwang-Chun Ho kwangho@hansung.ac.kr Tel: 02-760-4253 Fax:02-760-4435 Introduction In this lesson, you will learn the following : The

More information

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

PD, PI, PID Compensation. M. Sami Fadali Professor of Electrical Engineering University of Nevada PD, PI, PID Compensation M. Sami Fadali Professor of Electrical Engineering University of Nevada 1 Outline PD compensation. PI compensation. PID compensation. 2 PD Control L= loop gain s cl = desired closed-loop

More information

1 Steady State Error (30 pts)

1 Steady State Error (30 pts) Professor Fearing EECS C28/ME C34 Problem Set Fall 2 Steady State Error (3 pts) Given the following continuous time (CT) system ] ẋ = A x + B u = x + 2 7 ] u(t), y = ] x () a) Given error e(t) = r(t) y(t)

More information

DESIGN USING TRANSFORMATION TECHNIQUE CLASSICAL METHOD

DESIGN USING TRANSFORMATION TECHNIQUE CLASSICAL METHOD 206 Spring Semester ELEC733 Digital Control System LECTURE 7: DESIGN USING TRANSFORMATION TECHNIQUE CLASSICAL METHOD For a unit ramp input Tz Ez ( ) 2 ( z ) D( z) G( z) Tz e( ) lim( z) z 2 ( z ) D( z)

More information

EE480.3 Digital Control Systems. Part 7. Controller Design I. - Pole Assignment Method

EE480.3 Digital Control Systems. Part 7. Controller Design I. - Pole Assignment Method EE480.3 Digital Control Systems Part 7. Controller Design I. - Pole Assignment Method Kunio Takaya Electrical and Computer Engineering University of Saskatchewan March 3, 2008 ** Go to full-screen mode

More information

Automatique. A. Hably 1. Commande d un robot mobile. Automatique. A.Hably. Digital implementation

Automatique. A. Hably 1. Commande d un robot mobile. Automatique. A.Hably. Digital implementation A. Hably 1 1 Gipsa-lab, Grenoble-INP ahmad.hably@grenoble-inp.fr Commande d un robot mobile (Gipsa-lab (DA)) ASI 1 / 25 Outline 1 2 (Gipsa-lab (DA)) ASI 2 / 25 of controllers Signals must be sampled and

More information

Responses of Digital Filters Chapter Intended Learning Outcomes:

Responses of Digital Filters Chapter Intended Learning Outcomes: Responses of Digital Filters Chapter Intended Learning Outcomes: (i) Understanding the relationships between impulse response, frequency response, difference equation and transfer function in characterizing

More information

Richiami di Controlli Automatici

Richiami di Controlli Automatici Richiami di Controlli Automatici Gianmaria De Tommasi 1 1 Università degli Studi di Napoli Federico II detommas@unina.it Ottobre 2012 Corsi AnsaldoBreda G. De Tommasi (UNINA) Richiami di Controlli Automatici

More information

Numeric Matlab for Laplace Transforms

Numeric Matlab for Laplace Transforms EE 213 Spring 2008 LABORATORY # 4 Numeric Matlab for Laplace Transforms Objective: The objective of this laboratory is to introduce some numeric Matlab commands that are useful with Laplace transforms

More information

Exercise 1a: Transfer functions

Exercise 1a: Transfer functions Exercise 1a: Transfer functions Transfer functions are a model form based on the Laplace transform. Transfer functions are very useful in analysis and design of linear dynamic systems. A general Transfer

More information

Root Locus U R K. Root Locus: Find the roots of the closed-loop system for 0 < k < infinity

Root Locus U R K. Root Locus: Find the roots of the closed-loop system for 0 < k < infinity Background: Root Locus Routh Criteria tells you the range of gains that result in a stable system. It doesn't tell you how the system will behave, however. That's a problem. For example, for the following

More information

ECE 345 / ME 380 Introduction to Control Systems Lecture Notes 8

ECE 345 / ME 380 Introduction to Control Systems Lecture Notes 8 Learning Objectives ECE 345 / ME 380 Introduction to Control Systems Lecture Notes 8 Dr. Oishi oishi@unm.edu November 2, 203 State the phase and gain properties of a root locus Sketch a root locus, by

More information

Homework 11 Solution - AME 30315, Spring 2015

Homework 11 Solution - AME 30315, Spring 2015 1 Homework 11 Solution - AME 30315, Spring 2015 Problem 1 [10/10 pts] R + - K G(s) Y Gpsq Θpsq{Ipsq and we are interested in the closed-loop pole locations as the parameter k is varied. Θpsq Ipsq k ωn

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

Recursive, Infinite Impulse Response (IIR) Digital Filters:

Recursive, Infinite Impulse Response (IIR) Digital Filters: Recursive, Infinite Impulse Response (IIR) Digital Filters: Filters defined by Laplace Domain transfer functions (analog devices) can be easily converted to Z domain transfer functions (digital, sampled

More information

Identification Methods for Structural Systems. Prof. Dr. Eleni Chatzi System Stability - 26 March, 2014

Identification Methods for Structural Systems. Prof. Dr. Eleni Chatzi System Stability - 26 March, 2014 Prof. Dr. Eleni Chatzi System Stability - 26 March, 24 Fundamentals Overview System Stability Assume given a dynamic system with input u(t) and output x(t). The stability property of a dynamic system can

More information

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

Professor Fearing EE C128 / ME C134 Problem Set 10 Solution Fall 2010 Jansen Sheng and Wenjie Chen, UC Berkeley Professor Fearing EE C28 / ME C34 Problem Set Solution Fall 2 Jansen Sheng and Wenjie Chen, UC Berkeley. (5 pts) Final Value Given the following continuous time (CT) system ẋ = Ax+Bu = 5 9 7 x+ u(t), y

More information

SECTION 5: ROOT LOCUS ANALYSIS

SECTION 5: ROOT LOCUS ANALYSIS SECTION 5: ROOT LOCUS ANALYSIS MAE 4421 Control of Aerospace & Mechanical Systems 2 Introduction Introduction 3 Consider a general feedback system: Closed loop transfer function is 1 is the forward path

More information

Topics in Undergraduate Control Systems Design

Topics in Undergraduate Control Systems Design Topics in Undergraduate Control Systems Design João P. Hespanha April 9, 2006 Disclaimer: This is an early draft and probably contains many typos. Comments and information about typos are welcome. Please

More information

Closed-loop system 2/1/2016. Generally MIMO case. Two-degrees-of-freedom (2 DOF) control structure. (2 DOF structure) The closed loop equations become

Closed-loop system 2/1/2016. Generally MIMO case. Two-degrees-of-freedom (2 DOF) control structure. (2 DOF structure) The closed loop equations become Closed-loop system enerally MIMO case Two-degrees-of-freedom (2 DOF) control structure (2 DOF structure) 2 The closed loop equations become solving for z gives where is the closed loop transfer function

More information

Lab 3: Model based Position Control of a Cart

Lab 3: Model based Position Control of a Cart I. Objective Lab 3: Model based Position Control of a Cart The goal of this lab is to help understand the methodology to design a controller using the given plant dynamics. Specifically, we would do position

More information

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

Dr Ian R. Manchester Dr Ian R. Manchester AMME 3500 : Root Locus Week Content Notes 1 Introduction 2 Frequency Domain Modelling 3 Transient Performance and the s-plane 4 Block Diagrams 5 Feedback System Characteristics Assign 1 Due 6 Root Locus 7 Root Locus 2 Assign

More information

EE480.3 Digital Control Systems. Part 7. Controller Design I. - Pole Assignment Method - State Estimation

EE480.3 Digital Control Systems. Part 7. Controller Design I. - Pole Assignment Method - State Estimation EE480.3 Digital Control Systems Part 7. Controller Design I. - Pole Assignment Method - State Estimation Kunio Takaya Electrical and Computer Engineering University of Saskatchewan February 10, 2010 **

More information

The Laplace Transform

The Laplace Transform The Laplace Transform Syllabus ECE 316, Spring 2015 Final Grades Homework (6 problems per week): 25% Exams (midterm and final): 50% (25:25) Random Quiz: 25% Textbook M. Roberts, Signals and Systems, 2nd

More information

Proportional plus Integral (PI) Controller

Proportional plus Integral (PI) Controller Proportional plus Integral (PI) Controller 1. A pole is placed at the origin 2. This causes the system type to increase by 1 and as a result the error is reduced to zero. 3. Originally a point A is on

More information

Control of Single-Input Single-Output Systems

Control of Single-Input Single-Output Systems Control of Single-Input Single-Output Systems Dimitrios Hristu-Varsakelis 1 and William S. Levine 2 1 Department of Applied Informatics, University of Macedonia, Thessaloniki, 546, Greece dcv@uom.gr 2

More information

Introduction to Digital Control. Week Date Lecture Title

Introduction to Digital Control. Week Date Lecture Title http://elec3004.com Introduction to Digital Control 2016 School of Information Technology and Electrical Engineering at The University of Queensland Lecture Schedule: Week Date Lecture Title 1 29-Feb Introduction

More information

Chapter 7: Time Domain Analysis

Chapter 7: Time Domain Analysis Chapter 7: Time Domain Analysis Samantha Ramirez Preview Questions How do the system parameters affect the response? How are the parameters linked to the system poles or eigenvalues? How can Laplace transforms

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

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

ECE382/ME482 Spring 2005 Homework 6 Solution April 17, (s/2 + 1) s(2s + 1)[(s/8) 2 + (s/20) + 1] ECE382/ME482 Spring 25 Homework 6 Solution April 17, 25 1 Solution to HW6 P8.17 We are given a system with open loop transfer function G(s) = 4(s/2 + 1) s(2s + 1)[(s/8) 2 + (s/2) + 1] (1) and unity negative

More information

Math 1241, Spring 2014 Section 3.3. Rates of Change Average vs. Instantaneous Rates

Math 1241, Spring 2014 Section 3.3. Rates of Change Average vs. Instantaneous Rates Math 1241, Spring 2014 Section 3.3 Rates of Change Average vs. Instantaneous Rates Average Speed The concept of speed (distance traveled divided by time traveled) is a familiar instance of a rate of change.

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

Exercise 3: Transfer functions (Solutions)

Exercise 3: Transfer functions (Solutions) Exercise 3: Transfer functions (Solutions) Transfer functions are a model form based on the Laplace transform. Transfer functions are very useful in analysis and design of linear dynamic systems. A general

More information

Assignment 1: Optimization and mathematical modeling

Assignment 1: Optimization and mathematical modeling Math 360 Winter 2017 Section 101 Assignment 1: Optimization and mathematical modeling 0.1 (Due Thursday Sept 28, 2017) Let P = (, y) be any point on the straight line y = 4 3. (a) Show that the distance

More information

Separation Principle & Full-Order Observer Design

Separation Principle & Full-Order Observer Design Separation Principle & Full-Order Observer Design Suppose you want to design a feedback controller. Using full-state feedback you can place the poles of the closed-loop system at will. U Plant Kx If the

More information

Circles Print Activity. Use the Explore It mode to answer the following questions. 1. Use the diagram below to answer the following questions:

Circles Print Activity. Use the Explore It mode to answer the following questions. 1. Use the diagram below to answer the following questions: Name: Circles Print Activity Use the Explore It mode to answer the following questions. 1. Use the diagram below to answer the following questions: a. A is a/an angle. (central/inscribed) b. A is subtended

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

University of Utah Electrical & Computer Engineering Department ECE 3510 Lab 9 Inverted Pendulum

University of Utah Electrical & Computer Engineering Department ECE 3510 Lab 9 Inverted Pendulum University of Utah Electrical & Computer Engineering Department ECE 3510 Lab 9 Inverted Pendulum p1 ECE 3510 Lab 9, Inverted Pendulum M. Bodson, A. Stolp, 4/2/13 rev, 4/9/13 Objectives The objective of

More information

Inverted Pendulum: State-Space Methods for Controller Design

Inverted Pendulum: State-Space Methods for Controller Design 1 de 12 18/10/2015 22:45 Tips Effects TIPS ABOUT BASICS HARDWARE INDEX NEXT INTRODUCTION CRUISE CONTROL MOTOR SPEED MOTOR POSITION SYSTEM MODELING ANALYSIS Inverted Pendulum: State-Space Methods for Controller

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

Multivariable Control. Lecture 03. Description of Linear Time Invariant Systems. John T. Wen. September 7, 2006

Multivariable Control. Lecture 03. Description of Linear Time Invariant Systems. John T. Wen. September 7, 2006 Multivariable Control Lecture 3 Description of Linear Time Invariant Systems John T. Wen September 7, 26 Outline Mathematical description of LTI Systems Ref: 3.1-3.4 of text September 7, 26Copyrighted

More information

EE 4443/5329. LAB 3: Control of Industrial Systems. Simulation and Hardware Control (PID Design) The Torsion Disks. (ECP Systems-Model: 205)

EE 4443/5329. LAB 3: Control of Industrial Systems. Simulation and Hardware Control (PID Design) The Torsion Disks. (ECP Systems-Model: 205) EE 4443/539 LAB 3: Control of Industrial Systems Simulation and Hardware Control (PID Design) The Torsion Disks (ECP Systems-Model: 05) Compiled by: Nitin Swamy Email: nswamy@lakeshore.uta.edu Email: okuljaca@lakeshore.uta.edu

More information

EE451/551: Digital Control. Final Exam Review Fall 2013

EE451/551: Digital Control. Final Exam Review Fall 2013 EE45/55: Digital Control Final Exam Review Fall 03 Exam Overview The Final Exam will consist of four/five questions for EE45/55 students based on Chapters 7 and a bonus based on Chapters 8 9 (students

More information

Mechanical Systems Part A: State-Space Systems Lecture AL12

Mechanical Systems Part A: State-Space Systems Lecture AL12 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

More information

Observer Incorporated Neoclassical Controller Design: A Discrete Perspective

Observer Incorporated Neoclassical Controller Design: A Discrete Perspective Marquette University e-publications@marquette Master's Theses (2009 -) Dissertations, Theses, and Professional Projects Observer Incorporated Neoclassical Controller Design: A Discrete Perspective Winston

More information

ECE 3793 Matlab Project 3 Solution

ECE 3793 Matlab Project 3 Solution ECE 3793 Matlab Project 3 Solution Spring 27 Dr. Havlicek. (a) In text problem 9.22(d), we are given X(s) = s + 2 s 2 + 7s + 2 4 < Re {s} < 3. The following Matlab statements determine the partial fraction

More information

DSSynth: An Automated Digital Controller Synthesis Tool for Physical Plants ASE 2017

DSSynth: An Automated Digital Controller Synthesis Tool for Physical Plants ASE 2017 DSSynth: An Automated Digital Controller Synthesis Tool for Physical Plants ASE 2017 Alessandro Abate, Iury Bessa, Dario Cattaruzza, Lennon Chaves, Lucas Cordeiro, Cristina David, Pascal Kesseli, Daniel

More information

EE Experiment 11 The Laplace Transform and Control System Characteristics

EE Experiment 11 The Laplace Transform and Control System Characteristics EE216:11 1 EE 216 - Experiment 11 The Laplace Transform and Control System Characteristics Objectives: To illustrate computer usage in determining inverse Laplace transforms. Also to determine useful signal

More information

EXPERIMENTALLY DETERMINING THE TRANSFER FUNCTION OF A SPRING- MASS SYSTEM

EXPERIMENTALLY DETERMINING THE TRANSFER FUNCTION OF A SPRING- MASS SYSTEM EXPERIMENTALLY DETERMINING THE TRANSFER FUNCTION OF A SPRING- MASS SYSTEM Lab 8 OBJECTIVES At the conclusion of this experiment, students should be able to: Experimentally determine the best fourth order

More information

Lecture: Sampling. Automatic Control 2. Sampling. Prof. Alberto Bemporad. University of Trento. Academic year

Lecture: Sampling. Automatic Control 2. Sampling. Prof. Alberto Bemporad. University of Trento. Academic year Automatic Control 2 Sampling Prof. Alberto Bemporad University of rento Academic year 2010-2011 Prof. Alberto Bemporad (University of rento) Automatic Control 2 Academic year 2010-2011 1 / 31 ime-discretization

More information

System Modeling: Motor position, θ The physical parameters for the dc motor are:

System Modeling: Motor position, θ The physical parameters for the dc motor are: Dept. of EEE, KUET, Sessional on EE 3202: Expt. # 2 2k15 Batch Experiment No. 02 Name of the experiment: Modeling of Physical systems and study of their closed loop response Objective: (i) (ii) (iii) (iv)

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

Step Response of First-Order Systems

Step Response of First-Order Systems INTRODUCTION This tutorial discusses the response of a first-order system to a unit step function input. In particular, it addresses the time constant and how that affects the speed of the system s response.

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