Control System Design

Similar documents
Models for Sampled Data Systems

Models for Sampled Data Systems

Control System Design

Control System Design

Chapter 13 Digital Control

Control System Design

Unit 2: Modeling in the Frequency Domain Part 2: The Laplace Transform. The Laplace Transform. The need for Laplace

Control System Design

Laplace Transform Part 1: Introduction (I&N Chap 13)

Control System Design

ECEN 420 LINEAR CONTROL SYSTEMS. Lecture 2 Laplace Transform I 1/52

Chapter 13 Z Transform

Control System Design

ELEC2400 Signals & Systems

2.161 Signal Processing: Continuous and Discrete Fall 2008

Review: transient and steady-state response; DC gain and the FVT Today s topic: system-modeling diagrams; prototype 2nd-order system

EEE 188: Digital Control Systems

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

Lecture 7 ELE 301: Signals and Systems

1. Z-transform: Initial value theorem for causal signal. = u(0) + u(1)z 1 + u(2)z 2 +

DESIGN OF CMOS ANALOG INTEGRATED CIRCUITS

Definition of the Laplace transform. 0 x(t)e st dt

LTI Systems (Continuous & Discrete) - Basics

Lecture 04: Discrete Frequency Domain Analysis (z-transform)

Rational Implementation of Distributed Delay Using Extended Bilinear Transformations

Chapter 7. Digital Control Systems

GEORGIA INSTITUTE OF TECHNOLOGY SCHOOL of ELECTRICAL & COMPUTER ENGINEERING FINAL EXAM. COURSE: ECE 3084A (Prof. Michaels)

Systems Analysis and Control

Systems Analysis and Control

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

(f g)(t) = Example 4.5.1: Find f g the convolution of the functions f(t) = e t and g(t) = sin(t). Solution: The definition of convolution is,

Raktim Bhattacharya. . AERO 632: Design of Advance Flight Control System. Preliminaries

Time Response of Systems

Raktim Bhattacharya. . AERO 422: Active Controls for Aerospace Vehicles. Dynamic Response

April 24, 2012 (Tue) Lecture 19: Impulse Function and its Laplace Transform ( 6.5)

GATE EE Topic wise Questions SIGNALS & SYSTEMS

Lecture 8 - IIR Filters (II)

Introduction to Controls

GEORGIA INSTITUTE OF TECHNOLOGY SCHOOL of ELECTRICAL & COMPUTER ENGINEERING FINAL EXAM. COURSE: ECE 3084A (Prof. Michaels)

Control System Design

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

Use: Analysis of systems, simple convolution, shorthand for e jw, stability. Motivation easier to write. Or X(z) = Z {x(n)}

Signals and Systems. Spring Room 324, Geology Palace, ,

Exercise 5: Digital Control

Why do we need a model?

ECE 3084 QUIZ 2 SCHOOL OF ELECTRICAL AND COMPUTER ENGINEERING GEORGIA INSTITUTE OF TECHNOLOGY APRIL 2, Name:

Dr. Ian R. Manchester

Lecture 8 - IIR Filters (II)

Problem Set 3: Solution Due on Mon. 7 th Oct. in class. Fall 2013

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

Discrete-Time Signals and Systems. The z-transform and Its Application. The Direct z-transform. Region of Convergence. Reference: Sections

The formulas for derivatives are particularly useful because they reduce ODEs to algebraic expressions. Consider the following ODE d 2 dx + p d

DIGITAL CONTROL OF POWER CONVERTERS. 2 Digital controller design

Fourier Transform for Continuous Functions

ENGIN 211, Engineering Math. Laplace Transforms

7.2 Relationship between Z Transforms and Laplace Transforms

Introduction to Fourier Transforms. Lecture 7 ELE 301: Signals and Systems. Fourier Series. Rect Example

9.5 The Transfer Function

Control System. Contents

The Laplace transform

( ) f (k) = FT (R(x)) = R(k)

Control System Design

Generalized sources (Sect. 6.5). The Dirac delta generalized function. Definition Consider the sequence of functions for n 1, Remarks:

2.004 Dynamics and Control II Spring 2008

Chapter 12 - Solved Problems

6.003: Signals and Systems

Control System Design

2.161 Signal Processing: Continuous and Discrete Fall 2008

Laplace Transforms and use in Automatic Control

Introduction to Modern Control MT 2016

Systems and Control Theory Lecture Notes. Laura Giarré

12/20/2017. Lectures on Signals & systems Engineering. Designed and Presented by Dr. Ayman Elshenawy Elsefy

Signals & Systems Handout #4

Z - Transform. It offers the techniques for digital filter design and frequency analysis of digital signals.

Discrete-time Controllers

Introduction & Laplace Transforms Lectures 1 & 2

FEEDBACK CONTROL SYSTEMS

6 The Fourier transform

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

Generalizing the DTFT!

EE480.3 Digital Control Systems. Part 2. z-transform

Today s goals So far Today 2.004

Contents lecture 6 2(17) Automatic Control III. Summary of lecture 5 (I/III) 3(17) Summary of lecture 5 (II/III) 4(17) H 2, H synthesis pros and cons:

Theory of Linear Systems Exercises. Luigi Palopoli and Daniele Fontanelli

Digital Control System

Discrete and continuous dynamic systems

ENSC327 Communications Systems 2: Fourier Representations. Jie Liang School of Engineering Science Simon Fraser University

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

Identification Methods for Structural Systems. Prof. Dr. Eleni Chatzi Lecture March, 2016

y[n] = = h[k]x[n k] h[k]z n k k= 0 h[k]z k ) = H(z)z n h[k]z h (7.1)

EE 3054: Signals, Systems, and Transforms Summer It is observed of some continuous-time LTI system that the input signal.

A.1 THE SAMPLED TIME DOMAIN AND THE Z TRANSFORM. 0 δ(t)dt = 1, (A.1) δ(t)dt =

Control of Manufacturing Processes

Aspects of Continuous- and Discrete-Time Signals and Systems

Math Shifting theorems

Linear Systems Theory

Digital Control & Digital Filters. Lectures 1 & 2

EE102 Homework 2, 3, and 4 Solutions

The Z transform (2) Alexandra Branzan Albu ELEC 310-Spring 2009-Lecture 28 1

Laplace Transforms Chapter 3

Transcription:

ELEC ENG 4CL4: Control System Design Notes for Lecture #27 Wednesday, March 17, 2004 Dr. Ian C. Bruce Room: CRL-229 Phone ext.: 26984 Email: ibruce@mail.ece.mcmaster.ca

Discrete Delta Domain Models The shift operator (as described above) is used in the vast majority of digital control and digital signal processing work. However, in some applications the shift operator can lead to difficulties. The reason for these difficulties are explained below.

Consider the first order continuous time equation ρy(t)+y(t) = dy(t) dt + y(t) =u(t) and the corresponding discretized shift operator equation is of the form: a 2 qy(t k )+a 1 y(t k )=b 1 u(t k ) Expanding the differential explicitly as a limiting operation, we obtain the following form of the continuous time equation: lim 0 ( ) y(t +) y(t) + y(t) =u(t)

If we now compare the discrete model to the approximate expanded form, namely a y( t + ) + a y( t ) = b u( t ); where = t k t 2 1 1 +1 k we then see that the fundamental difference between continuous and discrete time is that the discrete model describes absolute displacements (i.e. y(t+) in terms of y(t), etc.) whereas the differential equation describes the increment i.e. y( t + ) y( t)

This fundamental difficulty is avoided by use of an alternative operator; namely the Delta operator: δ (f(k)), f((k +1)) f(k) For sampled signals, an important feature of this operation is the observation that lim [δ{f(k)}] =ρ(f(t)) 0 i.e., the Delta operator acts as a derivative in the limit as the sampling period 0. Note, however, that no approximations will be involved in employing the Delta operator for finite sampling periods since we will derive

exact model descriptions relevant to this operator at the given sampling rate. We next develop an alternative discrete transform (which we call the Delta transform) which is the appropriate transform to use with the Delta operator, i.e. Time Domain q δ Transfer Domain Z-transform delta transform

Discrete Delta Transform We define the Discrete Delta Transform pair as: D [y(k)] = Y δ (γ) = (1 + γ) k y(k) k=0 D 1 [Y δ (γ)] = y(k) = 1 2πj The Discrete Delta Transform can be related to Z- transform by noting that where Y q (z) = Z[(k)]. Conversely Y δ (γ) =Y q (z) Y q (z) = 1 Y δ(γ) (1 + γ) k 1 Y δ (γ)dγ z=γ+1 γ= z 1

The next slide shows a table of Delta transform pairs; The slide after next lists some Delta transform properties.

f[k] (k 0) D [f[k]] Region of Convergence 1+γ 1 γ γ + 1 > 1 1 δ K[k] 1 γ < 1 µ[k] µ[k 1] γ < 1+γ k γ 2 γ + 1 > 1 k 2 (1 + γ)(2 + γ) 2 γ 3 γ + 1 > 1 e αk 1+γ α C γ eα 1 γ + 1 > eα (1 + γ)e α α C ( ) 2 γ + 1 γ eα 1 > eα (1 + γ)ω o sinc(ω o ) sin(ω o k) γ 2 +φ(ω o, )γ + φ(ω o, ) γ + 1 > 1 where sinc(ω o ) = sin(ω o) ω o and φ(ω o, ) = 2(1 cos(ω o)) 2 (1 + γ)(γ +0.5φ(ω o, )) cos(ω o k) γ 2 +φ(ω o, )γ + φ(ω o, ) γ + 1 > 1 ke αk Table 12.3: Delta Transform Table

f[k] D [f[k]] Names l a i f i [k] l a i F i (γ) Partial fractions i=1 i=1 f 1 [k +1] (γ +1)(F 1 (γ) f 1 [0]) Forward shift f 1 [k +1] f 1 [k] γf 1 (γ) (1 + γ)f 1 [0] Scaled difference k 1 1 f[l] γ F (γ) Reimann sum l=0 f[k 1] (1 + γ) 1 F (γ)+f[ 1] Backward shift f[k l]µ[k l] (1 + γ) l F (γ) kf[k] 1+γ df (γ) dγ 1 k f[k] F (ζ) γ 1+ζ dζ lim k lim γf(γ) γ 0 Final value theorem lim f[k] k 0 lim γ Table 12.4: Delta Transform properties. Note that F i (γ) = D[fi[k]], µ[k] denotes, as usual, a unit step, f[ ] must be well defined and the convolution property holds provided that f 1 [k] = f 2 [k] = 0 for all k < 0. γf(γ) 1+γ Initial value theorem k 1 f 1 [l]f 2 [k l] F 1 (γ)f 2 (γ) Convolution l=0 ( ) 1 γ ζ dζ f 1 [k]f 2 [k] F 1 (ζ)f 2 Complex convolution 2πj 1+ζ ) 1+ζ (1 + a) k f 1 [k] F 1 ( γ a 1+a

Why is the Delta Transform sometimes better than the Z-Transform? As can be seen from by comparing the Z-transform given in Table 12.1 with those for the Laplace Transform given in Table 4.1, expressions in Laplace and Z-transform do not exhibit an obvious structural equivalence. Intuitively, we would expect such an equivalence to exist when the discrete sequence is obtained by sampling a continuous time signal. We will show that this indeed happens if we use the alternative delta operator.

In particular, by comparing the entries in Table 12.3 (The Delta Transform) with those in Table 4.1 (The Laplace Transform) we see that a key property of Delta Transforms is that they converge to the associated Laplace Transform as 0, i.e. lim Y δ(γ) =Y (s) 0 s=γ We illustrate this property by a simple example:

Example 12.9 Say that {y[k]} arises from sampling, at period, a continuous time exponential e βt. Then and, from Table 12.3 Y δ (γ) = y[k] =e βk 1+γ [ γ e β 1 In particular, note that as 0, Yδ ( γ ) which is the Laplace transform of e βt γ β. Hence we confirm the close connections between the Delta and Laplace Transforms. ] 1

How do we use Delta Transforms? We saw earlier in this chapter that Z-transforms could be used to convert discrete time models expressed in terms of the shift operator into algebraic equations. Similarly, the Delta Transform can be used to convert difference equations (expressed in terms of the Delta operator) into algebraic equations. The Delta Transform also provides a smooth transition from discrete to continuous time as the sampling rate increases.

We next examine several properties of discrete time models, beginning with the issue of stability.

Discrete System Stability Relationship to Poles We have seen that the response of a discrete system (in the shift operator) to an input U(z) has the form Y (z) =G q (z)u(z)+ f q (z, x o ) (z α 1 )(z α 2 ) (z α n ) where α 1 α n are the poles of the system. We then know, via a partial fraction expansion, that Y(z) can be written as Y (z) = n j=1 β j z z α j + terms depending on U(z)

where, for simplicity, we have assumed non repeated poles. The corresponding time response is y[k] =β j [α j ] k + terms depending on the input Stability requires that [α j ] k 0, which is the case if [α j ] < 1. Hence stability requires the poles to have magnitude less than 1, i.e. to lie inside a unit circle centered at the origin.

Delta Domain Stability We have seen that the delta domain is simply a shifted and scaled version of the Z-Domain, i.e. γ = Z 1 and Z = γ + 1. It follows that the Delta Domain stability boundary is simply a shifted and scaled version of the Z-domain stability boundary. In particular, the delta domain stability boundary is a circle of radius 1 / centered on - 1 / in the γ domain. Note again the close connection between the continuous s-domain and discrete δ-domain, since the δ-stability region approaches the s-stability region (OLHP) as 0.

Discrete Models for Sampled Continuous Systems So far in this chapter, we have assumed that the model is already given in discrete form. However, often discrete models arise by sampling the output of a continuous time system. We thus next examine how to obtain discrete time models which link the sampled output of a continuous time system to a sampled input. We are thus interested in modelling a continuous system operating under computer control.

A typical way of making this interconnection is shown on the next slide. The analogue to digital converter (A/D in the figure) implements the process of sampling (at some fixed period ). The digital to analogue converter (D/A in the figure) interpolates the discrete control action into a function suitable for application to the plant input.

Figure 12.4: Digital control of a continuous time plant input Plant output D/A A/D Digital controller

Details of how the plant input is reconstructed When a zero order hold is used to reconstruct u(t), then u(t) = u[k] for k t <(k + 1) Note that this is the staircase signal shown earlier in Figure 12.2. Discrete time models typically relate the sampled signal y[k] to the sampled input u[k]. Also a digital controller usually evaluates u[k] based on y[j] and r[j], where {r(k)} is the reference sequence and j k.

Using Continuous Transfer Function Models We observe that the generation of the staircase signal u(t), from the sequence {u(k)} can be modeled as in Figure 12.5. u[k] u s (t) 1 e s s ZOH m(t) Figure 12.5: Zero order hold

Figure 12.6: Discrete time equivalent model with zero order hold Combining the circuit on the previous slide with the plant transfer function G 0 (s), yields the equivalent connection between input sequence, u(k), and sampled output y(k) as shown below: u(k) u s (t) G h0 (s) G o (s) y(t) y(k)

We saw earlier that the transfer function of a discrete time system, in Z-transform form is the Z-transform of the output (the sequence {y[k]}) when the input, u[k], is a Kronecker delta, with zero initial conditions. We also have, from the previous slide, that if u[k] = δ K [k], then the input to the continuous plant is a Dirac Delta, i.e. u s (t) = δ(t). If we denote by H eq (z) the transfer function from U q (z) to Y q (z), we then have the following result. H oq (z) =Z [the sampled impulse response of G h0 (s)g o (s)] =(1 z 1 )Z [the sampled step response of G o (s)]

Example 12.10 Consider the d.c. servo motor problem used as motivation for this chapter. The continuous time transfer function is G o (s) = b 0 s(s + a 0 ) Using the result on the previous slide we see that H oq (z) = = { b0 (z 1) Z (k) b 0 z a 0 a 2 + b } 0 0 a 2 e δk 0 { (z 1) a0 b 0 z (z 1) 2 b } 0z z 1 + b 0 z e a 0 a 2 0 = ( b0 a 0 +b 0 e a 0 b 0 ) z b0 a 0 e a 0 b 0 e a 0 + b 0 a 2 0 (z 1)(z e a 0 )

This model is of the form: y k + 1 = a 1 y k + a 0 y k 1 + b1u k + b 2u k 1 Note that this is a second order transfer function with a first order numerator. The reader may care to check that this is consistent with the input-output model which was stated without proof in the introduction i.e. b1z+ b0 H 0q ( z) = Z 2 a1z a 0 We have thus fulfilled one promise of showing where this model comes from. ( ) ( ) ( ) ( ) ( )