Digital Control & Digital Filters. Lectures 13 & 14

Similar documents
Module 6: Deadbeat Response Design Lecture Note 1

Lecture 8 - IIR Filters (II)

Modelling and Control of Dynamic Systems. Stability of Linear Systems. Sven Laur University of Tartu

Lecture 8 - IIR Filters (II)

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

26 Feedback Example: The Inverted Pendulum

Appendix I Discrete-Data Control Systems

Time Response Analysis (Part II)

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

16.30 Estimation and Control of Aerospace Systems

EL 625 Lecture 11. Frequency-domain analysis of discrete-time systems

6.241 Dynamic Systems and Control

Control System Design

An Introduction to Control Systems

Housing Market Monitor

UNIT - III PART A. 2. Mention any two techniques for digitizing the transfer function of an analog filter?

Control System Design

4F3 - Predictive Control

Module 08 Observability and State Estimator Design of Dynamical LTI Systems

EE402 - Discrete Time Systems Spring Lecture 10

DIGITAL CONTROL OF POWER CONVERTERS. 2 Digital controller design

Last week: analysis of pinion-rack w velocity feedback

Module 07 Controllability and Controller Design of Dynamical LTI Systems

CDS Final Exam

Automatic Control 2. Model reduction. Prof. Alberto Bemporad. University of Trento. Academic year

LABORATORY OF AUTOMATION SYSTEMS Analytical design of digital controllers

Introduction & Laplace Transforms Lectures 1 & 2

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

CONTROL OF DIGITAL SYSTEMS

Chapter 7. Digital Control Systems

EE Experiment 11 The Laplace Transform and Control System Characteristics

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

It is common to think and write in time domain. creating the mathematical description of the. Continuous systems- using Laplace or s-

Lecture 1 From Continuous-Time to Discrete-Time

ECE317 : Feedback and Control

Digital Control & Digital Filters. Lectures 21 & 22

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

LTI Systems (Continuous & Discrete) - Basics

Time Response of Systems

ECEN 605 LINEAR SYSTEMS. Lecture 20 Characteristics of Feedback Control Systems II Feedback and Stability 1/27

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

Control System (ECE411) Lectures 13 & 14

Ingegneria dell Automazione - Sistemi in Tempo Reale p.1/28

Digital Control & Digital Filters. Lectures 1 & 2

GATE EE Topic wise Questions SIGNALS & SYSTEMS

INTRODUCTION TO DIGITAL CONTROL

DESIGN OF CMOS ANALOG INTEGRATED CIRCUITS

Lecture 11. Frequency Response in Discrete Time Control Systems

Chapter 3 Convolution Representation

Linear System Theory. Wonhee Kim Lecture 1. March 7, 2018

Exercise 5: Digital Control

LTI system response. Daniele Carnevale. Dipartimento di Ing. Civile ed Ing. Informatica (DICII), University of Rome Tor Vergata

Lecture 5: Linear Systems. Transfer functions. Frequency Domain Analysis. Basic Control Design.

Exercise 1 (MC Questions)

School of Mechanical Engineering Purdue University. ME375 Feedback Control - 1

Rational Implementation of Distributed Delay Using Extended Bilinear Transformations

DIGITAL CONTROLLER DESIGN

CDS Solutions to Final Exam

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Science : Dynamic Systems Spring 2011

Homogeneous and particular LTI solutions

DEPARTMENT OF ELECTRICAL AND ELECTRONIC ENGINEERING EXAMINATIONS 2010

Why do we need a model?

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

z Transform System Analysis

Introduction to Feedback Control

Control Systems Lab - SC4070 Control techniques

I System variables: states, inputs, outputs, & measurements. I Linear independence. I State space representation

STABILITY ANALYSIS TECHNIQUES

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

Computing inverse Laplace Transforms.

The stability of linear time-invariant feedback systems

2. CONVOLUTION. Convolution sum. Response of d.t. LTI systems at a certain input signal

ECE504: Lecture 9. D. Richard Brown III. Worcester Polytechnic Institute. 04-Nov-2008

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

Discrete-time first-order systems

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

Notes on DPLL. Haiyun Tang Most of material is derived from Chistian s report[4]

EEE582 Homework Problems

1 Steady State Error (30 pts)

One-Sided Laplace Transform and Differential Equations

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

Outline. Classical Control. Lecture 2

DESIGN USING TRANSFORMATION TECHNIQUE CLASSICAL METHOD

GATE : , Copyright reserved. Web:

School of Engineering Faculty of Built Environment, Engineering, Technology & Design

Control Systems I. Lecture 6: Poles and Zeros. Readings: Emilio Frazzoli. Institute for Dynamic Systems and Control D-MAVT ETH Zürich

EE451/551: Digital Control. Chapter 7: State Space Representations

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

Systems Analysis and Control

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

APPLICATIONS FOR ROBOTICS

Course roadmap. ME451: Control Systems. Example of Laplace transform. Lecture 2 Laplace transform. Laplace transform

Lecture 9 Infinite Impulse Response Filters

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

ESE 531: Digital Signal Processing

23 Mapping Continuous-Time Filters to Discrete-Time Filters


Module 03 Linear Systems Theory: Necessary Background

Linear dynamical systems with inputs & outputs

Solving Dynamic Equations: The State Transition Matrix II

Transcription:

Digital Controls & Digital Filters Lectures 13 & 14, Professor Department of Electrical and Computer Engineering Colorado State University Spring 2017

Systems with Actual Time Delays-Application 2 Case 1: Delay in the Plant Let t 0 = kt + T, K I, 0 < 1 C(s) = G(s)e t0s E (s) C(z) = Z [G(s)e t0s E(z) = Z [ G(s)e kt s e T s E(z) = z k Z [ G(s)e T s =1 m E(z) = z k Z m [G(s) E(z) Thus, for this case we have C(z) = z k G(z, m)e(z)

Systems with Actual Time Delays-Application 2 Case 2: Delay in Digital Controller Delay corresponds to the time required for digital controller to compute the response (software or hardware). C(s) = G(s)e t0s D (s)e (s) = C(z) = z k G(z, m)d(z)e(z) Example: A plant with delay is shown. Find: (a) response to a unit step when t 0 = 2 sec and T = 0.6 sec; (b) c(t) and show c(t) t=nt yields c(n) in (a). t 0 = 2 = 3T + 0.2 = = 1/3, m = 2/3 (a) C(s) = 1 e T s s 2e 2s s+0.5 E (s)

Systems with Actual Time Delays-Cont. [ C(z) = (1 z 1 )Z [ C(z) = z 3 Z Expand C(z) z 2e 2s s(s+0.5) 2e (1 2/3)T s s(s+0.5) = (0.7256z 0.3112) z 4 (z 1)(z 0.7408) c(n) = [4 3.27(0.7408) n 4 u s (n 4) (b) Using shifting property C(s) = But 2 s(s+0.5) = 4 s 4 s+0.5 Hence c(t) = 4(1 e 0.5(t 2) )u s (t 2) [ E(z) = (1 z 1 )z 3 2e Z T 3 s s(s+0.5) [ = z 3 Z m 2 m=2/3 s(s+0.5) and take IZT, z z 1 = (0.7256z 0.3112) z 3 (z 1)(z 0.7408) 2e 2s s(s+0.5) = c(t) = L 1 2 { s(s+0.5) } t=t 2 Now, c(n) = 4(1 e 0.5(t 2) )u s (t 2) t=nt = 4(1 e 1 e 0.5nT )u s (nt 2) = (4 4e 1 e 1.2 e 0.5(n 4) )u s (n 4) = [4 3.27(0.7408) n 4 u s (n 4)

Non-synchronous Sampling-Application 3 Second sampler samples at T, T + T, 2T + T,... This system can be represented by the following (see your text) equivalent synchronous system. Now, we can write A(s) = e (1 )T s G 1(s)E (s) = A(z) = G 1(z, m) m= E(z) Also, B (s) = e T s A (s) = B(z) = za(z) The output is C(s) = e T s G 2(s)B (s) = C(z) = G 2(z, m) m=1 B(z) Combining these results yields, C(z) = zg 1(z, m) m= G 2(z, m) m=1 E(z)

Sampling Of A Continuous-Time State Space System Plant is described by continuous-time state-space equations. We would like to arrive at discrete state equations for the plant to preserve the natural states of the system and also to be able to analyse high order systems. Plant state-space equations, { v(t) = Acv(t) + B c m(t) c(t) = C cv(t) + d c m(t) v(t) : State vector of plant m(t) : Input of plant c(t): Output of plant Assuming IC at t 0, t v(t) = φ c(t t 0)v(t 0) + φ c(t τ)b c m(τ)dτ t 0 Thus, the response at time t is, c(t) = C c φ c(t t 0)v(t 0) }{{} zero input response ˆt + t 0 C cφ c(t τ)b c m(τ)dτ + d c m(t) } {{ } zero state response

Sampling Of A Continuous-Time State Space System φ c (t) : State transition matrix of continuous-time plant φ c (t) = e Act = I + A c t + (Act)2 2! +... = A k c tk k! Let t = (n + 1)T, Then, t 0 = nt v((n + 1)T ) = φ c (T )v(nt ) + (n+1)t nt k=0 φ c (nt + T τ)b c m(τ)dτ Note that when nt t < (n + 1)T, m(t) = m(nt ), then: (n+1)t v((n + 1)T ) = φ c (T )v(nt ) + m(nt ) φ c (nt + T τ)b c dτ Define x(n) = v(nt ), u(n) = m(nt ) A = e AcT = φ c (T ) nt +T B = φ c (nt + T τ)dτb c nt C = C c d = d c nt

Sampling Of A Continuous-Time State Space System Then we get the following discrete-time state-space mode for the plant: x(k + 1) = Ax(k) + Bu(k) c(k) = Cx(k) + du(k) A = φ c (T ) = e AcT = i=0 A i c T i i! = I + A c T + For B, ( let nt + T) τ = σ, then we have T B = φ c (σ)dσ 0 0 0 B c (AcT )2 2! +... But, T T φ c (σ)dσ = (I + A c σ + A2 C σ2 2 +...)dσ = IT + AcT 2 2 + A2 c T 3 3! +... Note that A I = A c T + A2 c T 2 2! +... Thus, A 1 c (A I) = IT + AcT 2 2! +... (if A 1 c exists) = which yields an alternative equation for B, B = A 1 C (A I)B c

Sampling Of A Continuous-Time State Space System Example: In open-loop system below, plant is given by: d 2 y(t) dt 2 0.7 dy(t) dt + 0.1y(t) = m(t) (a) Convert to continuous-time state equations (b) Find discrete-time state equations for the system Taking the Laplace transform (ICs=0), we get Y (s) U(s) = G(s) = 1 s 2 0.7s+0.1 = 1 (s 0.2)(s 0.5) Since distinct and real poles, we can convert to parallel form. Using PFE Y (s) = 10/3 + 10/3 U(s) s 0.2 s 0.5 Then, the continuous-time state space equation is parallel form is [ ẋ1(t) ẋ 2(t) = y(t) = [ 10/3 [ 0.2 0 0 0.5 [ x1(t) x 2(t) 10/3 [ x 1(t) x 2(t) + [ 1 1 u(t)

Sampling Of A Continuous-Time State Space System For parallel form, state transition matrix can easily be found, [ e φ c(t) = e Act 0.2t 0 = 0 e [ 0.5t e 0.2 0 A = φ c(t ) = 0 e [ 0.5 [ [ 5 0 e B = A 1 0.2 1 0 1 c (A I)B c = 0 2 0 e 0.5 1 1 B = [ 5(e 0.2 1 2(e 0.5 1), C = C c

Closed-Loop Systems Case 1: Sampler before plant 1 C(s) = G(s)E (s) 2 E(s) = R(s) H(s)C(s) sub 1 into 2 gives 3 E(s) = R(s) G(s)H(s)E (s) star 3 E (s) = R (s) GH (s)e (s) or E (s) = R (s) 1+GH (s) = E(z) = R(z) 1+GH(z) From 1 C (s) = G (s)e (s) or C(z) = G(z)R(z) 1+GH(z) Thus, in this case closed-loop transfer function is T (z) = C(z) R(z) = G(z) 1+GH(z)

Closed-Loop Systems-Cont. Important Note: Care must be taken when starring equations. For instance starring 2 would have led to C(s) getting lost in the operation, hence no closed loop transfer function. Case 2: Sampler after plant 1 C(s) = G(s)E(s) 2 E(s) = R(s) H(s)C (s) C(s) = G(s)R(s) G(s)H(s)C (s) C (s) = GR(s) GH (s)c (s) C (s) = C(z) = GR (s) 1+GH (s) GR(z) 1+GH(z) In this case the closed loop transfer function cannon be defined.

Closed-Loop Systems-Cont. Example: In the closed-loop system shown below G P (s) = 1 s+1. Find the closed-loop transfer function. From Case 1, closed-loop transfer function T (z) = G(z) 1+GH(z) In this case, H(s) = 1, thus, T (z) = Also, G(z) is given by G(z) = (1 z 1 )Z From the table, G(z) = (1 e T )z 1 (1 e T z 1 ) Thus, T (z) = [ Gp(s) s G(z) 1+G(z) [ = (1 z 1 )Z G(z) 1+G(z) = (1 e T )z 1 1+(1 2e T )z 1 1 s(s+1).