Exercises for lectures 20 Digital Control

Similar documents
Digital Control System

into a discrete time function. Recall that the table of Laplace/z-transforms is constructed by (i) selecting to get

Module 4: Time Response of discrete time systems Lecture Note 1

Chapter 2: Problem Solutions

Exercises for lectures 19 Polynomial methods

Design of Digital Filters

Design By Emulation (Indirect Method)

ECE 3510 Root Locus Design Examples. PI To eliminate steady-state error (for constant inputs) & perfect rejection of constant disturbances

( 1) EE 313 Linear Signals & Systems (Fall 2018) Solution Set for Homework #10 on Laplace Transforms

Properties of Z-transform Transform 1 Linearity a

Physics 6C. Heisenberg Uncertainty Principle. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

R. W. Erickson. Department of Electrical, Computer, and Energy Engineering University of Colorado, Boulder

Digital Control System

Lecture 10 Filtering: Applied Concepts

Lecture 8. PID control. Industrial process control ( today) PID control. Insights about PID actions

Chapter 2 Sampling and Quantization. In order to investigate sampling and quantization, the difference between analog

Massachusetts Institute of Technology Dynamics and Control II

Solutions. Digital Control Systems ( ) 120 minutes examination time + 15 minutes reading time at the beginning of the exam

CHAPTER 4 DESIGN OF STATE FEEDBACK CONTROLLERS AND STATE OBSERVERS USING REDUCED ORDER MODEL

FRTN10 Exercise 3. Specifications and Disturbance Models

Chapter 4: Applications of Fourier Representations. Chih-Wei Liu

Lecture 8 - SISO Loop Design

Sampling and the Discrete Fourier Transform

S_LOOP: SINGLE-LOOP FEEDBACK CONTROL SYSTEM ANALYSIS

Lecture XVII. Abstract We introduce the concept of directional derivative of a scalar function and discuss its relation with the gradient operator.

SIMON FRASER UNIVERSITY School of Engineering Science ENSC 320 Electric Circuits II. R 4 := 100 kohm

Inference for Two Stage Cluster Sampling: Equal SSU per PSU. Projections of SSU Random Variables on Each SSU selection.

Physics 6C. De Broglie Wavelength Uncertainty Principle. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

5.5 Application of Frequency Response: Signal Filters

Homework 12 Solution - AME30315, Spring 2013

Wolfgang Hofle. CERN CAS Darmstadt, October W. Hofle feedback systems

This appendix derives Equations (16) and (17) from Equations (12) and (13).

Question 1 Equivalent Circuits

Lecture 5 Introduction to control

SIMON FRASER UNIVERSITY School of Engineering Science ENSC 320 Electric Circuits II. Solutions to Assignment 3 February 2005.

CONTROL SYSTEMS. Chapter 2 : Block Diagram & Signal Flow Graphs GATE Objective & Numerical Type Questions

LAPLACE TRANSFORM REVIEW SOLUTIONS

Correction for Simple System Example and Notes on Laplace Transforms / Deviation Variables ECHE 550 Fall 2002

Numerical Differentiation

Chapter 4: Numerical Methods for Common Mathematical Problems

EE Control Systems LECTURE 6

Chapter 13. Root Locus Introduction

DYNAMICS and CONTROL

Design of Robust PI Controller for Counter-Current Tubular Heat Exchangers

ME 375 FINAL EXAM Wednesday, May 6, 2009

Lecture #9 Continuous time filter

Given the following circuit with unknown initial capacitor voltage v(0): X(s) Immediately, we know that the transfer function H(s) is

The total error in numerical differentiation

DYNAMIC MODELS FOR CONTROLLER DESIGN

COMM 602: Digital Signal Processing. Lecture 8. Digital Filter Design

ECE-320 Linear Control Systems. Spring 2014, Exam 1. No calculators or computers allowed, you may leave your answers as fractions.

EE 477 Digital Signal Processing. 4 Sampling; Discrete-Time

CALIFORNIA INSTITUTE OF TECHNOLOGY Control and Dynamical Systems

Controllability and Observability

Mathematical modeling of control systems. Laith Batarseh. Mathematical modeling of control systems

6.302 Feedback Systems Recitation 6: Steady-State Errors Prof. Joel L. Dawson S -

MAHALAKSHMI ENGINEERING COLLEGE-TRICHY

MM1: Basic Concept (I): System and its Variables

Root Locus Diagram. Root loci: The portion of root locus when k assume positive values: that is 0

Control Systems Engineering ( Chapter 7. Steady-State Errors ) Prof. Kwang-Chun Ho Tel: Fax:

Spring 2014 EE 445S Real-Time Digital Signal Processing Laboratory. Homework #0 Solutions on Review of Signals and Systems Material

Roadmap for Discrete-Time Signal Processing

Digital Signal Processing

NONLINEAR CONTROLLER DESIGN FOR A SHELL AND TUBE HEAT EXCHANGER AN EXPERIMENTATION APPROACH

March 18, 2014 Academic Year 2013/14

Finite Difference Formulae for Unequal Sub- Intervals Using Lagrange s Interpolation Formula

ME 375 FINAL EXAM SOLUTIONS Friday December 17, 2004

Chapter #4 EEE8013. Linear Controller Design and State Space Analysis. Design of control system in state space using Matlab

Higher Derivatives. Differentiable Functions

EE/ME/AE324: Dynamical Systems. Chapter 8: Transfer Function Analysis

MA 266 FINAL EXAM INSTRUCTIONS May 2, 2005

Test 2 Review. 1. Find the determinant of the matrix below using (a) cofactor expansion and (b) row reduction. A = 3 2 =

Analysis of Stability &

Lecture 15. Interpolation II. 2 Piecewise polynomial interpolation Hermite splines

IGC. 50 th. 50 th INDIAN GEOTECHNICAL CONFERENCE SEISMIC ACTIVE EARTH PRESSURE ON RETAINING WALL CONSIDERING SOIL AMPLIFICATION

Lecture 5 Frequency Response of FIR Systems (III)

III.9. THE HYSTERESIS CYCLE OF FERROELECTRIC SUBSTANCES

Lesson 6: The Derivative

A Simple Approach to Synthesizing Naïve Quantized Control for Reference Tracking

CHBE320 LECTURE V LAPLACE TRANSFORM AND TRANSFER FUNCTION. Professor Dae Ryook Yang

7.2 INVERSE TRANSFORMS AND TRANSFORMS OF DERIVATIVES 281

On Alternative Formulations for Linearised Miss Distance Analysis

MM7. PID Control Design

Lecture 21. Numerical differentiation. f ( x+h) f ( x) h h

The Derivative as a Function

Math 212-Lecture 9. For a single-variable function z = f(x), the derivative is f (x) = lim h 0

Trajectory Planning and Feedforward Design for High Performance Motion Systems

Automatic Control Systems

Modeling in the Frequency Domain

Designing Circuits Synthesis - Lego

LIMITS AND DERIVATIVES CONDITIONS FOR THE EXISTENCE OF A LIMIT

8. [12 Points] Find a particular solution of the differential equation. t 2 y + ty 4y = t 3, y h = c 1 t 2 + c 2 t 2.

Psychrometrics. PV = N R u T (9.01) PV = N M R T (9.02) Pv = R T (9.03) PV = m R T (9.04)

AMS 147 Computational Methods and Applications Lecture 09 Copyright by Hongyun Wang, UCSC. Exact value. Effect of round-off error.

Adaptive Control of Level in Water Tank: Simulation Study

Introduction to Machine Learning. Recitation 8. w 2, b 2. w 1, b 1. z 0 z 1. The function we want to minimize is the loss over all examples: f =

EE 4443/5329. LAB 3: Control of Industrial Systems. Simulation and Hardware Control (PID Design) The Inverted Pendulum. (ECP Systems-Model: 505)

Lecture 4. Chapter 11 Nise. Controller Design via Frequency Response. G. Hovland 2004

Laplace Transformation

Lecture 2: The z-transform

Transcription:

Exercie for lecture 0 Digital Control Micael Šebek Automatic control 06-4-

Sampling: and z relationip for complex pole Continuou ignal Laplace tranform wit pole Dicrete ignal z-tranform, t y( t) e in t, t 0 y () ( ) j k y( k) e in( k) yz ( ) Wit pole z e in( ) ze in( ) z e co( ) z e z ze co( ) e ( ) z, e co( ) j in( ) e j Tere i a relationip between te continuou and ampled ytem pole. z, e, Micael Šebek Pr-ARI-0-03

Strobocopic effect Signal wit frequencie from 0 to π/ are diplayed to unit circle after ampling. Were are diplayed ignal wit iger frequencie? Conider ine ignal wit L-tranform and pole y( t) int y (), j Te ampling period zin y( k) in( k) yz ( ) j z z zco, e In cae in Hz dicrete pole ave an angle > 80 f Hz, f f for j j( ) j j( ) i e e, e e, were( ) 0,80 And poition of te pole correpond to te frequency Micael Šebek Pr-ARI-0-03 3

Strobocopic effect ampling z e z We don't know te correct frequency band in a revere tranform (ignal recontruction) To prevent ti, we ave to ample wit a iger ample rate. Or filter out a iger frequencie tan (anti-aliaing filter) N 3 ampling z e z Micael Šebek Pr-ARI-0-03 4

Dik drive Arm implified (normalized to ) more detail ÅW, 3, ex. Tranfer function from voltage to arm poition G () goal: follow te track Accurate poition control Important dynamic reading peed Control tructure u () C u () y () controller amplifier arm Example: Dik drive Micael Šebek ARI-Pr-0-03 5

Example: continuou control Continuou controller (deigned by continuou metod ) 0.5 u( ) uc ( ) y( ) CL caracteritic polynomial c ( ) CL,3 CL tranfer function y( ) u ( ) C imulation AW.mdl Setting time for 5% i 5.5, overoot to 0% - OK How to realize digitally? ARI_0 AW.mdl >> a=^; b=;p=+;q=*+;r=.5*+; >> c=a*p+b*q c = + + ^ + ^3 >> pformat rootr >> c=a*p+b*q c = (+.0000)(^+.0000+.0000) >> T=b*r/c T = 0.5000(+) / u () C t (+.0000)(^+.0000+.0000) >> yt () >> pbar=+;qbar=*+;rbar=/; >> cbar=a*pbar+b*qbar cbar = ut () (+.0000)(^+.0000+.0000) >> Tbar=b*rbar*pbar/cbar Tbar = 0.5000(+) / (+.0000)(^+.0000+.0000) Micael Šebek ARI-Pr-0-03 6 3 j

Continuou controller i Example: Naive controller approximaton 0.5.5 u( ) 0.5 uc( ) y( ) 0.5 uc( ) y( ) y( ) 0.5 uc ( ) y( ) x( ).5 were x( ) y( ) We get a continuou time domain algoritm (control law) u( t) 0.5 u ( t) y( t) x( t) C Dicrete algoritm we ample ignal wit a period And te derivative i approximated by difference 0.5.5 dx x( t).5 y( t) dt x( t ) x( t) x( t).5 y( t) Micael Šebek ARI-Pr-0-03 7

Example: Naive deign So we get a decrete approximation x( t ) x( t ).5 y( t ) x( t ) k k k k u( t ) 0.5 u ( t ) y( t ) x( t ) k C k k k It can be realized by algoritm (were u C i dicrete) dx x( t).5 y( t) dt u( t) 0.5 u ( t) y( t) x( t) C y:= adin(in) u:= *(0.5*uc-y+x) dout(u) x:= x+(.5*y-*x) {read a proce value} {compute a control value} {end out a control value} {compute te new x value} algoritm Or dicrete tranfer function z0.5 u( z) 0.5 uc ( z) y( z) z Micael Šebek ARI-Pr-0-03 8 u( z) 0.5 u ( z) y( z) x( z) C zx( z) x( z).5 y( z) x( z) Correpond to z continuou tranfer function ubtitution

Example: comparion Comparin continuou and dicrete control for = 0. z 0.9 u( z) 0.5 uc ( z) y( z) z 0.6 ydt () t yct () t yct () t uct udt () t () t ydt () t udt () t ARI_0 AW.mdl uct () t Micael Šebek ARI-Pr-0-03 9

Variou ampling period = 0., 0.5,,.5 0. Example: comparion 0.5.5 Micael Šebek ARI-Pr-0-03 0

Example: anoter olution We find a dicrete tranfer function of a ytem and a aper. We ue dicreté metod for decreet controller deign Solve te equation We get G () z z p( z) z q( z) z 3 p p q q 0 0 0 p p q q 0 0 3 4 Gz () 0 0 0 0 0 0 3 5 0 0 z z p( z) 3 4 z 3 5 q( z) z Micael Šebek ARI-Pr-0-03

Example: anoter olution Ti pure dicrete controller 4 5 z 3 5 u( z) u ( z) y( z) C 7 z 3 4 It give a tranfer function ( z)( z3 4) y( z) u ( ) 3 C z 7 z and CL caracteritic polynomial c z z CL () imulation ARI_0 AW 3.mdl for =.4 3 Micael Šebek ARI-Pr-0-03

Example: anoter olution Simulation ARI_0 AW 3.mdl for =.4 output: input: peed: yt () ut () yt () Te output value i te ame a required value in te 4t ample tep. Ti pure dicrete olution i better tan continuou and Tere i no parallel in continuou ytem. So wat append wit decreaing? Micael Šebek ARI-Pr-0-03 3

I it poible to decreae te number of tep even more? Apparently ye: z z p( z) z q( z) z ( z ) Solve 0 0 p0 p q0 q 0 0 0 0 0 0 we get p p q q Example: econd anoter olution 4 0 0 Micael Šebek 4 p ( z) z weak q ( z) 4 z weak controller 4 z u u C y z ( z ) y u wit CL tranfer function z and CL caracteritic polynomial c ( ) ( ) CL z z z C

Simulation Simulation econd model in ARI_0 AW 3.mdl it look OK But for nonzero initial condition reveal a problém. Note tat in moment of ampling beave perfectly Micael Šebek ARI-Pr-0-03 5

Solution wit tate feedback State equiation of double integrator are It dicrete verion (wit ZOH and ampling period ) State controller Te ytem cange to. wit polynomial Example: anoter tate olution 0 0 x( t) x( t) u( t), y 0 x( t) 0 0 G( ) x( k ) x( k) u( k), y( k) 0 x( k) 0 u k x k u k 3 ( ) ( ) ( ) C ( ) 4 x( k ) x( k) uc ( k), y( k) 0 x( k) Micael Šebek ARI-Pr-0-03 6 c z z CL () z y( z) u ( ) C z z

Simulation Simulation ARI_0_3_AW_4_5.mdl for =.4 Starting from te tird tep, te et point i exactly et, and control i zero. And for eac initial condition ytem i internally table. Micael Šebek ARI-Pr-0-03 7