Embedded Systems and Software. A Simple Introduction to Embedded Control Systems (PID Control)
|
|
- Nora Mathews
- 6 years ago
- Views:
Transcription
1 Embedded Sysems and Sofware A Simple Inroducion o Embedded Conrol Sysems (PID Conrol) Embedded Sysems and Sofware, ECE:3360. The Universiy of Iowa, 2016 Slide 1
2 Acknowledgemens The maerial in his lecure is adaped from: F. Vahid and T. Givargis, Embedded Sysem Design A Unified Hardware/Sofware Inroducion, John Wiley & Sons, 2002 (Chaper 9) T. Wesco, PID Wihou a PhD hp:// Embedded Sysems and Sofware, ECE:3360. The Universiy of Iowa, 2016 Slide 2
3 Conrol Sysem Terminology Conrol physical sysem (plan) oupu By seing plan inpu Examples Cruise conrol, hermosa, disk drive, chemical processes Difficuly due o Disurbance: wind, road, ire, brake; opening/closing door Human inerface: feel good, feel righ Embedded Sysems and Sofware, ECE:3360. The Universiy of Iowa, 2016 Slide 3
4 Conrol Sysem Tracking Reference Inpu a.k.a. Se Poin where we wan he oupu o be This how he sysem racks he reference inpu or se poin For example, here he user urned up he hermosa Embedded Sysems and Sofware, ECE:3360. The Universiy of Iowa, 2016 Slide 4
5 Conrol Sysem Tracking Reference Inpu a.k.a. Se Poin where we wan he oupu o be This how he sysem racks he reference inpu or se poin For example, here he user urned up he hermosa Embedded Sysems and Sofware, ECE:3360. The Universiy of Iowa, 2016 Slide 5
6 Open-Loop Conrol Sysems Plan Physical sysem o be conrolled: car, plane, disk, heaer, Acuaor Device o conrol he plan: hrole, wing flap, disk moor, Conroller Designed produc o conrol he plan Embedded Sysems and Sofware, ECE:3360. The Universiy of Iowa, 2016 Slide 6
7 Open-Loop Conrol Sysems Oupu (v ) Wha we are ineresed in: speed, disk locaion, emperaure Reference Inpu / Se Poin (r ) Desired oupu: speed, desired locaion, desired emperaure Disurbance (w ) Unconrollable inpu o he plan imposed by environmen Wind, bumping he disk drive, door opening 7 Embedded Sysems and Sofware, ECE:3360. The Universiy of Iowa, 2016 Slide 7
8 Characerisics of Open Loop Conrol Feed-forward conrol Delay in acual change of he oupu Conroller doesn know how well hings are going Simple Bes use for predicable sysems Examples? Embedded Sysems and Sofware, ECE:3360. The Universiy of Iowa, 2016 Slide 8
9 Closed Loop Conrol Sysem Error (e = r v ) Disurbance (w ) Se Poin (r ) + Σ u = F e u Plan Model v Conroller Plan Sensor Conrol Law: Plan Model Sysem Model u = F e v +1 = F(v, u, w ) v +1 = F(v, u, w ) Goal: minimize racking error e Embedded Sysems and Sofware, ECE:3360. The Universiy of Iowa, 2016 Slide 9
10 Example Closed Loop Conrol Sysem Conrol Law u P r v Plan Model v 0.7 v u w Error (e = r v ) Disurbance (w ) Se Poin (r ) + Σ u = F e u Plan Model v Conroller Plan Sensor Sysem Model v 1 0.7v 0.5P( r Pv 0. 5Pr w v ) w Embedded Sysems and Sofware, ECE:3360. The Universiy of Iowa, 2016 Slide 10
11 Model of he Plan Error (e = r v ) Disurbance (w ) Se Poin (r ) + Σ u = F e u Plan Model v Conroller Plan Sensor Couner-inuiively, i may no necessary o (accuraely) model he plan However, even a simple model can be very helpful Embedded Sysems and Sofware, ECE:3360. The Universiy of Iowa, 2016 Slide 11
12 Example Model he car speed a + 1 as a linear combinaion of he speed a (i.e., v ) and he hrole a (i.e., u ) v +1 = Av + Bu Nex, experimenally deermine he model parameers A and B. On fla surface a 50 mph, open he hrole o 40 degrees. Then measure he speed afer one ime uni. Assume he speed is 55 mph. Then 55 = 50A + 40B Repea he experimen, bu now sar a 65 mph and wih he hrole a 50 degrees. Assume he resuling speed afer one ime uni is 70.5 mph. Then 70.5 = 65A + 50B One can now solve hese wo equaions for he wo unknowns A and B, o find A = 0.7 and B = 0.5. One can repea he experimen many imes and deermine, say, average values for A and B. (There are more opimum echniques for dealing wih muliple As and Bs). Regardless, we now have model for he car (plan). v +1 = 0.7v + 0.5u Embedded Sysems and Sofware, ECE:3360. The Universiy of Iowa, 2016 Slide 12
13 v v v 0.7v 0. u 0.5P( r w Pv 0. 5Pr w Closed-Loop Conrol v ) w Plan model u P r v Conrol Law (feedback) v Pv 0. Pr0 w0 1 5 Consider fixed se poin and fixed disurbance A P, B 0.5Pr0 w0 v 1 Av B v 1 Av0 B v 2 2 Av B B A v AB B Av1 B A 0 0 v 3 Av 2 B AB B B A v A B AB B A A v n n1 n2 vn A v0 A A 1B v n 0 n n1 n P v P P 1 0. Pr w Embedded Sysems and Sofware, ECE:3360. The Universiy of Iowa, 2016 Slide 13
14 Tuning Performance: Finding Proper P Error (e = r v ) Disurbance (w ) Se Poin (r ) + Σ u = P e u Plan Model v Conroller Plan Sensor v n v Pv 0. 5Pr0 w0 u Pr0 v 45 n n1 n P v P P 1 0. Pr w To obain convergence requires To avoid oscillaion requires P 0.6 P 3. 4 P P 1. 4 Reduce he effec of iniial condiions (v 0 ), make ( P) as small as possible P Embedded Sysems and Sofware, ECE:3360. The Universiy of Iowa, 2016 Slide 14
15 Error (e = r v ) Disurbance (w ) Se Poin (r ) + Σ u = P e u Plan Model v Conroller Plan Sensor v n v Pv 0. 5Pr0 w0 u Pr0 v 45 n n1 n P v P P 1 0. Pr w v P v 0. 5Pr w Seady sae means v ss = v + 1 = v ss ss 0 0 v 0.5P w0 r ss P P To ge v ss as close as possible o r 0, (perfec racking) le P Embedded Sysems and Sofware, ECE:3360. The Universiy of Iowa, 2016 Slide 15
16 Tuning Performance: Finding Proper P Error (e = r v ) Disurbance (w ) Se Poin (r ) + Σ u = P e u Plan Model v Conroller Plan Sensor To obain convergence requires 1 To avoid oscillaion requires P 0.6 P P P 1. 4 Reduce he effec of iniial condiions (v 0 ), make ( P) as small as possible P 1. 4 To ge v ss as close as possible o r 0, (perfec racking) le P Finally, pick P 3. 3 sable, fas, good racking, bu some oscillaion Embedded Sysems and Sofware, ECE:3360. The Universiy of Iowa, 2016 Slide 16
17 v v v 70 Analyze Conroller Performance 20mph, r 50 mph, w Pv 0. Pr (3.3) v 0. 5(3.3 r ) v 0.95 v u Pr0 u v v 0 P 3.3 Valid range for conroller is 0-45 o. Thus, wih his P, he acuaor sauraes. Speed (mph) Tracking error ~ 8 mph Significan oscillaion Conrol Poin (i.e., ime) Embedded Sysems and Sofware, ECE:3360. The Universiy of Iowa, 2016 Slide 17
18 Analyze Conroller Performance Se P = 1 o avoid oscillaion Valid range for conroller is 0-45 o. Thus, wih his P=1, he acuaor does no saurae. 70 Speed (mph) No oscillaion Tracking error ~ 20 mph Conrol Poin (i.e., ime) Embedded Sysems and Sofware, ECE:3360. The Universiy of Iowa, 2016 Slide 18
19 Analyzing he Conroller 70 Se poin (where we wan o be) 60 Speed (mph) P = 1.0 P = 2.5 P = Conrol Poin (i.e., ime) Embedded Sysems and Sofware, ECE:3360. The Universiy of Iowa, 2016 Slide 19
20 v v v v 20 mph, r0 50 mph, w0 0 Closed-Loop Performance Pv 0. Pr (3.3) v 0. 5(3.3 r ) 1.95 v w 0 0 Speed (mph) P = 3.3, W = - 5 Change is 5 mph compared o = 33 mph for open-loop conrol 20 P = 3.3, W =+5 P = 3.3, W = Conrol Poin (i.e., ime) Embedded Sysems and Sofware, ECE:3360. The Universiy of Iowa, 2016 Slide 20
21 General Conrol Sysem Objecive Causing oupu o rack a reference even in he presence of Measuremen noise Model error Disurbances Merics Sabiliy Oupu remains bounded Performance How well an oupu racks he reference Disurbance rejecion Robusness Abiliy o olerae modeling error of he plan Embedded Sysems and Sofware, ECE:3360. The Universiy of Iowa, 2016 Slide 21
22 Performance (generally speaking) Rise ime Time i akes from 10% o 90% Peak ime Overshoo Percenage by which Peak exceed final value Seling ime Time i akes o reach 1% of final value Embedded Sysems and Sofware, ECE:3360. The Universiy of Iowa, 2016 Slide 22
23 Difficul May need o be done firs Plan is usually on coninuous ime No discree ime. For example, car speed coninuously reacs o hrole posiion, no a discree inerval Sampling period mus be chosen carefully o ensure nohing ineresing happens in beween sampling inervals Plan is usually non-linear Plan Modeling For example, shock absorber response may need o be 8 h order differenial equaion Ieraive developmen of he plan model and conroller Have a plan model ha is good enough Embedded Sysems and Sofware, ECE:3360. The Universiy of Iowa, 2016 Slide 23
24 Conroller Design: P Error (e = r v ) Disurbance (w ) Se Poin (r ) + Σ u = P e u Plan Model v Conroller Plan Sensor Proporional conrol - muliplies he racking error wih a consan P u P r0 v Closed-loop model wih linear plan v Pv 0. Pr0 w0 1 5 P affecs Sabiliy Tracking Disurbance rejecion Large P can lead o overshoo and oscillaion Make P large o reduce racking error Make P large o improve disurbance rejecion Embedded Sysems and Sofware, ECE:3360. The Universiy of Iowa, 2016 Slide 24
25 Conroller Design: PD Proporional and Derivaive conrol u u - P conrol, and also consider error over ime v D r v r 1 v1 De e P r Pe Inuiively Wan o push more if error is no reducing fas enough Wan o push less if error is reducing really fas 1 Embedded Sysems and Sofware, ECE:3360. The Universiy of Iowa, 2016 Slide 25
26 v u v v v 0. 5u w Plan model Pe PD Conroller De e 1 e r v Conrol Law (feedback) 0.7 v 0. Pr v Dr v r 1 v w 0.7 v 0. 5P Dv 0.5Dv 1 0.5P Dr 0. Dr w Seady sae means v ss = v + 1 = v Assume reference inpu and disurbance are consan, hen he seady-sae speed is v ss 0.5P r P 0 Does no depend on D P can be se for bes racking and disurbance conrol Then D can be se o conrol ransien behavior Embedded Sysems and Sofware, ECE:3360. The Universiy of Iowa, 2016 Slide 26
27 PD Conrol Example Embedded Sysems and Sofware, ECE:3360. The Universiy of Iowa, 2016 Slide 27
28 Proporional and Inegral conrol Inuiively u u Conroller Design: PI Sum (inegrae) error over ime, and use his o push P conrol, and also inegrae (sum) error v Ir v r 1 v 1 Ie e e P r Pe 1 2 Ensure ha sysem reaches desired seady sae, evenually P conrols disurbance, I conrols seady sae convergence and convergence rae Embedded Sysems and Sofware, ECE:3360. The Universiy of Iowa, 2016 Slide 28
29 Conroller Design: PID Proporional, Inegral and Derivaive conrol u u P r Pe - use all 3 ypes of conrol v Ir v r 1 v 1 Dr v r 1 v 1 Ie e e De e Inuiively P considers curren error, conrols disurbance I conrols long-erm error, conrols seady sae convergence and convergence rae D considers how error is changing, conrols ransien response Embedded Sysems and Sofware, ECE:3360. The Universiy of Iowa, 2016 Slide 29
30 Examples Embedded Sysems and Sofware, ECE:3360. The Universiy of Iowa, 2016 Slide 30
31 Applicaion of PID Conrol More han 90% of all conrollers used in process indusries are PID conrollers. A ypical chemical plan has 100s or more PID conrollers. PID conrollers are widely used in: Chemical plans Oil refineries Pharmaceuical indusries Food indusries Paper mills Elecronic equipmens Embedded Sysems and Sofware, ECE:3360. The Universiy of Iowa, 2016 Slide 31
32 Off-The-Shelf PID Conrollers There are many off-he-shelf PID conrollers available Embedded Sysems and Sofware, ECE:3360. The Universiy of Iowa, 2016 Slide 32
33 Block Diagram View of PID Conroller Embedded Sysems and Sofware, ECE:3360. The Universiy of Iowa, 2016 Slide 33
34 Anoher Block Diagram View of PID Conroller Se desired inpu Embedded Sysems and Sofware, ECE:3360. The Universiy of Iowa, 2016 Slide 34
35 Anoher Block Diagram View of PID Conroller Compare acual oupu agains se poin Embedded Sysems and Sofware, ECE:3360. The Universiy of Iowa, 2016 Slide 35
36 Anoher Block Diagram View of PID Conroller Use par of he error signal Embedded Sysems and Sofware, ECE:3360. The Universiy of Iowa, 2016 Slide 36
37 Anoher Block Diagram View of PID Conroller Use sum of he previous errors Embedded Sysems and Sofware, ECE:3360. The Universiy of Iowa, 2016 Slide 37
38 Anoher Block Diagram View of PID Conroller Use rae of change of errors Embedded Sysems and Sofware, ECE:3360. The Universiy of Iowa, 2016 Slide 38
39 Anoher Block Diagram View of PID Conroller Updae he process, and repea Embedded Sysems and Sofware, ECE:3360. The Universiy of Iowa, 2016 Slide 39
40 Sidebar: Analog PID Conroller Inegral Proporional Summer Derivaive Embedded Sysems and Sofware, ECE:3360. The Universiy of Iowa, 2016 Slide 40
41 PID Pseudo Code previous_error = 0 inegral = 0 sar: ge acual_posiion error = sepoin - acual_posiion inegral = inegral + error*d derivaive = (error - previous_error)/d oupu = P*error + I*inegral + D*derivaive previous_error = error wai(d) goo sar Embedded Sysems and Sofware, ECE:3360. The Universiy of Iowa, 2016 Slide 41
42 Sofware Coding Main funcion loops forever, during each ieraion Read plan oupu sensor (may require ADC) Read curren desired reference inpu (se poin) Call a rouine PidUpdae, o deermine acuaor value Se acuaor value (may require DAC) Embedded Sysems and Sofware, ECE:3360. The Universiy of Iowa, 2016 Slide 42
43 Sofware Coding u Pe I e e e De e Embedded Sysems and Sofware, ECE:3360. The Universiy of Iowa, 2016 Slide 43
44 Compuaion u Pe I e e e De e Embedded Sysems and Sofware, ECE:3360. The Universiy of Iowa, 2016 Slide 44
45 Analyically deriving P, I, D may no be possible E.g., plan no is no available, or o cosly o obain Ad hoc mehod for geing reasonable P, I, D Sar wih a small P, I = D = 0 PID Tuning Increase D, unil seeing oscillaion, hen reduce D a bi Increase P, unil seeing oscillaion, hen D a bi Increase I, unil seeing oscillaion Ierae unil one can change anyhing wihou excessive oscillaion Embedded Sysems and Sofware, ECE:3360. The Universiy of Iowa, 2016 Slide 45
46 Pracical Issues wih Compuer-Based Conrol Quanizaion Overflow Aliasing Compuaion Delay Embedded Sysems and Sofware, ECE:3360. The Universiy of Iowa, 2016 Slide 46
47 Quanizaion & Overflow Quanizaion E.g., can sore 0.36 as 4-bi fracional number Can only sore 0.75, 0.59, 0.25, 0.00, -0.25, -050,-0.75, Choose 0.25 Resuls in quanizaion error of 0.11 Sources of quanizaion error Operaions, e.g., 0.50*0.25=0.125 Can use more bis unil inpu/oupu o he environmen/memory ADC resoluion Overflow Can sore = 1.25 as 4-bi fracional number Soluions Use fix-poin represenaion/operaions carefully Time-consuming Use floaing-poin co-processor Cosly Embedded Sysems and Sofware, ECE:3360. The Universiy of Iowa, 2016 Slide 47
48 Volage Aliasing Example The poins below are he samples from a sine wave Embedded Sysems and Sofware, ECE:3360. The Universiy of Iowa, 2016 Slide 48
49 Volage Reconsrucion of he sine wave Aliasing Example Embedded Sysems and Sofware, ECE:3360. The Universiy of Iowa, 2016 Slide 49
50 Volage Bu why no his reconsrucion? Aliasing Example Embedded Sysems and Sofware, ECE:3360. The Universiy of Iowa, 2016 Slide 50
51 Volage Aliasing Example Boh (an many ohers) are valid reconsrucions if we don exclude higher frequencies In oher words, if we don eliminae (filer ou) high frequencies, heir samples become undisinguishable from low frequency samples. The high frequencies alias as low frequency signals. Embedded Sysems and Sofware, ECE:3360. The Universiy of Iowa, 2016 Slide 51
52 Aliasing Example Sampling a 2.5 Hz (period = 0.4 s) he following signals are indisinguishable y( ) sin 6 y( ) sin Frequency f = 3 Hz Frequency f = 0.5 Hz In fac, wih sampling frequency of 2.5 Hz one can only correcly sample signal below he Nyquis frequency 2.5/2 = 1.25 Hz. Embedded Sysems and Sofware, ECE:3360. The Universiy of Iowa, 2016 Slide 52
53 Inheren delay in processing Acuaion occurs laer han expeced Need o characerize implemenaion delay o make sure i is negligible Hardware delay is usually easy o characerize Synchronous design Sofware delay is harder o predic Should organize code carefully so delay is predicable and minimized Wrie sofware wih predicable iming behavior (be like hardware) Time Trigger Archiecure Compuaion Delay Synchronous Sofware Language and/or RTOS Embedded Sysems and Sofware, ECE:3360. The Universiy of Iowa, 2016 Slide 53
Acknowledgements. Control System. Tracking. CS122A: Embedded System Design 4/24/2007. A Simple Introduction to Embedded Control Systems (PID Control)
Acknowledgements A Simple Introduction to Embedded Control Systems (PID Control) The material in this lecture is adapted from: F. Vahid and T. Givargis, Embedded System Design A Unified Hardware/Software
More informationLAPLACE TRANSFORM AND TRANSFER FUNCTION
CHBE320 LECTURE V LAPLACE TRANSFORM AND TRANSFER FUNCTION Professor Dae Ryook Yang Spring 2018 Dep. of Chemical and Biological Engineering 5-1 Road Map of he Lecure V Laplace Transform and Transfer funcions
More informationSimulation-Solving Dynamic Models ABE 5646 Week 2, Spring 2010
Simulaion-Solving Dynamic Models ABE 5646 Week 2, Spring 2010 Week Descripion Reading Maerial 2 Compuer Simulaion of Dynamic Models Finie Difference, coninuous saes, discree ime Simple Mehods Euler Trapezoid
More informationSome Basic Information about M-S-D Systems
Some Basic Informaion abou M-S-D Sysems 1 Inroducion We wan o give some summary of he facs concerning unforced (homogeneous) and forced (non-homogeneous) models for linear oscillaors governed by second-order,
More informationDynamic Effects of Feedback Control!
Dynamic Effecs of Feedback Conrol! Rober Sengel! Roboics and Inelligen Sysems MAE 345, Princeon Universiy, 2017 Inner, Middle, and Ouer Feedback Conrol Loops Sep Response of Linear, Time- Invarian (LTI)
More informationd 1 = c 1 b 2 - b 1 c 2 d 2 = c 1 b 3 - b 1 c 3
and d = c b - b c c d = c b - b c c This process is coninued unil he nh row has been compleed. The complee array of coefficiens is riangular. Noe ha in developing he array an enire row may be divided or
More informationMath 333 Problem Set #2 Solution 14 February 2003
Mah 333 Problem Se #2 Soluion 14 February 2003 A1. Solve he iniial value problem dy dx = x2 + e 3x ; 2y 4 y(0) = 1. Soluion: This is separable; we wrie 2y 4 dy = x 2 + e x dx and inegrae o ge The iniial
More informationECE 2100 Circuit Analysis
ECE 1 Circui Analysis Lesson 35 Chaper 8: Second Order Circuis Daniel M. Liynski, Ph.D. ECE 1 Circui Analysis Lesson 3-34 Chaper 7: Firs Order Circuis (Naural response RC & RL circuis, Singulariy funcions,
More informationdt = C exp (3 ln t 4 ). t 4 W = C exp ( ln(4 t) 3) = C(4 t) 3.
Mah Rahman Exam Review Soluions () Consider he IVP: ( 4)y 3y + 4y = ; y(3) = 0, y (3) =. (a) Please deermine he longes inerval for which he IVP is guaraneed o have a unique soluion. Soluion: The disconinuiies
More informationLinear Response Theory: The connection between QFT and experiments
Phys540.nb 39 3 Linear Response Theory: The connecion beween QFT and experimens 3.1. Basic conceps and ideas Q: How do we measure he conduciviy of a meal? A: we firs inroduce a weak elecric field E, and
More informationR.#W.#Erickson# Department#of#Electrical,#Computer,#and#Energy#Engineering# University#of#Colorado,#Boulder#
.#W.#Erickson# Deparmen#of#Elecrical,#Compuer,#and#Energy#Engineering# Universiy#of#Colorado,#Boulder# Chaper 2 Principles of Seady-Sae Converer Analysis 2.1. Inroducion 2.2. Inducor vol-second balance,
More information3.1.3 INTRODUCTION TO DYNAMIC OPTIMIZATION: DISCRETE TIME PROBLEMS. A. The Hamiltonian and First-Order Conditions in a Finite Time Horizon
3..3 INRODUCION O DYNAMIC OPIMIZAION: DISCREE IME PROBLEMS A. he Hamilonian and Firs-Order Condiions in a Finie ime Horizon Define a new funcion, he Hamilonian funcion, H. H he change in he oal value of
More informationChapter 5 Digital PID control algorithm. Hesheng Wang Department of Automation,SJTU 2016,03
Chaper 5 Digial PID conrol algorihm Hesheng Wang Deparmen of Auomaion,SJTU 216,3 Ouline Absrac Quasi-coninuous PID conrol algorihm Improvemen of sandard PID algorihm Choosing parameer of PID regulaor Brief
More informationChapter 2: Principles of steady-state converter analysis
Chaper 2 Principles of Seady-Sae Converer Analysis 2.1. Inroducion 2.2. Inducor vol-second balance, capacior charge balance, and he small ripple approximaion 2.3. Boos converer example 2.4. Cuk converer
More informationChapter 8 The Complete Response of RL and RC Circuits
Chaper 8 The Complee Response of RL and RC Circuis Seoul Naional Universiy Deparmen of Elecrical and Compuer Engineering Wha is Firs Order Circuis? Circuis ha conain only one inducor or only one capacior
More informationSub Module 2.6. Measurement of transient temperature
Mechanical Measuremens Prof. S.P.Venkaeshan Sub Module 2.6 Measuremen of ransien emperaure Many processes of engineering relevance involve variaions wih respec o ime. The sysem properies like emperaure,
More information2.4 Cuk converter example
2.4 Cuk converer example C 1 Cuk converer, wih ideal swich i 1 i v 1 2 1 2 C 2 v 2 Cuk converer: pracical realizaion using MOSFET and diode C 1 i 1 i v 1 2 Q 1 D 1 C 2 v 2 28 Analysis sraegy This converer
More informationINDEX. Transient analysis 1 Initial Conditions 1
INDEX Secion Page Transien analysis 1 Iniial Condiions 1 Please inform me of your opinion of he relaive emphasis of he review maerial by simply making commens on his page and sending i o me a: Frank Mera
More informationOpen loop vs Closed Loop. Example: Open Loop. Example: Feedforward Control. Advanced Control I
Open loop vs Closed Loop Advanced I Moor Command Movemen Overview Open Loop vs Closed Loop Some examples Useful Open Loop lers Dynamical sysems CPG (biologically inspired ), Force Fields Feedback conrol
More informationModule 4: Time Response of discrete time systems Lecture Note 2
Module 4: Time Response of discree ime sysems Lecure Noe 2 1 Prooype second order sysem The sudy of a second order sysem is imporan because many higher order sysem can be approimaed by a second order model
More informationSliding Mode Controller for Unstable Systems
S. SIVARAMAKRISHNAN e al., Sliding Mode Conroller for Unsable Sysems, Chem. Biochem. Eng. Q. 22 (1) 41 47 (28) 41 Sliding Mode Conroller for Unsable Sysems S. Sivaramakrishnan, A. K. Tangirala, and M.
More information( ) ( ) if t = t. It must satisfy the identity. So, bulkiness of the unit impulse (hyper)function is equal to 1. The defining characteristic is
UNIT IMPULSE RESPONSE, UNIT STEP RESPONSE, STABILITY. Uni impulse funcion (Dirac dela funcion, dela funcion) rigorously defined is no sricly a funcion, bu disribuion (or measure), precise reamen requires
More informationChapter 2. Models, Censoring, and Likelihood for Failure-Time Data
Chaper 2 Models, Censoring, and Likelihood for Failure-Time Daa William Q. Meeker and Luis A. Escobar Iowa Sae Universiy and Louisiana Sae Universiy Copyrigh 1998-2008 W. Q. Meeker and L. A. Escobar. Based
More information04. Kinetics of a second order reaction
4. Kineics of a second order reacion Imporan conceps Reacion rae, reacion exen, reacion rae equaion, order of a reacion, firs-order reacions, second-order reacions, differenial and inegraed rae laws, Arrhenius
More informationA First Course on Kinetics and Reaction Engineering. Class 19 on Unit 18
A Firs ourse on Kineics and Reacion Engineering lass 19 on Uni 18 Par I - hemical Reacions Par II - hemical Reacion Kineics Where We re Going Par III - hemical Reacion Engineering A. Ideal Reacors B. Perfecly
More informationEECE251. Circuit Analysis I. Set 4: Capacitors, Inductors, and First-Order Linear Circuits
EEE25 ircui Analysis I Se 4: apaciors, Inducors, and Firs-Order inear ircuis Shahriar Mirabbasi Deparmen of Elecrical and ompuer Engineering Universiy of Briish olumbia shahriar@ece.ubc.ca Overview Passive
More informationAdvanced Organic Chemistry
Lalic, G. Chem 53A Chemisry 53A Advanced Organic Chemisry Lecure noes 1 Kineics: A racical Approach Simple Kineics Scenarios Fiing Experimenal Daa Using Kineics o Deermine he Mechanism Doughery, D. A.,
More informationDesigning Information Devices and Systems I Spring 2019 Lecture Notes Note 17
EES 16A Designing Informaion Devices and Sysems I Spring 019 Lecure Noes Noe 17 17.1 apaciive ouchscreen In he las noe, we saw ha a capacior consiss of wo pieces on conducive maerial separaed by a nonconducive
More informationSolutions to Assignment 1
MA 2326 Differenial Equaions Insrucor: Peronela Radu Friday, February 8, 203 Soluions o Assignmen. Find he general soluions of he following ODEs: (a) 2 x = an x Soluion: I is a separable equaion as we
More informationSolutions Problem Set 3 Macro II (14.452)
Soluions Problem Se 3 Macro II (14.452) Francisco A. Gallego 04/27/2005 1 Q heory of invesmen in coninuous ime and no uncerainy Consider he in nie horizon model of a rm facing adjusmen coss o invesmen.
More informationElectrical Circuits. 1. Circuit Laws. Tools Used in Lab 13 Series Circuits Damped Vibrations: Energy Van der Pol Circuit
V() R L C 513 Elecrical Circuis Tools Used in Lab 13 Series Circuis Damped Vibraions: Energy Van der Pol Circui A series circui wih an inducor, resisor, and capacior can be represened by Lq + Rq + 1, a
More informationEE 435. Lecture 31. Absolute and Relative Accuracy DAC Design. The String DAC
EE 435 Lecure 3 Absolue and Relaive Accuracy DAC Design The Sring DAC . Review from las lecure. DFT Simulaion from Malab Quanizaion Noise DACs and ADCs generally quanize boh ampliude and ime If convering
More informationChapter 10 INDUCTANCE Recommended Problems:
Chaper 0 NDUCTANCE Recommended Problems: 3,5,7,9,5,6,7,8,9,,,3,6,7,9,3,35,47,48,5,5,69, 7,7. Self nducance Consider he circui shown in he Figure. When he swich is closed, he curren, and so he magneic field,
More informationRobust and Learning Control for Complex Systems
Robus and Learning Conrol for Complex Sysems Peer M. Young Sepember 13, 2007 & Talk Ouline Inroducion Robus Conroller Analysis and Design Theory Experimenal Applicaions Overview MIMO Robus HVAC Conrol
More informationDetermination of the Sampling Period Required for a Fast Dynamic Response of DC-Motors
Deerminaion of he Sampling Period Required for a Fas Dynamic Response of DC-Moors J. A. GA'EB, Deparmen of Elecrical and Compuer Eng, The Hashemie Universiy, P.O.Box 15459, Posal code 13115, Zerka, JORDAN
More informationPredator - Prey Model Trajectories and the nonlinear conservation law
Predaor - Prey Model Trajecories and he nonlinear conservaion law James K. Peerson Deparmen of Biological Sciences and Deparmen of Mahemaical Sciences Clemson Universiy Ocober 28, 213 Ouline Drawing Trajecories
More informationSTATE-SPACE MODELLING. A mass balance across the tank gives:
B. Lennox and N.F. Thornhill, 9, Sae Space Modelling, IChemE Process Managemen and Conrol Subjec Group Newsleer STE-SPACE MODELLING Inroducion: Over he pas decade or so here has been an ever increasing
More informationECE 2100 Circuit Analysis
ECE 1 Circui Analysis Lesson 37 Chaper 8: Second Order Circuis Discuss Exam Daniel M. Liynski, Ph.D. Exam CH 1-4: On Exam 1; Basis for work CH 5: Operaional Amplifiers CH 6: Capaciors and Inducor CH 7-8:
More informationSection 3.5 Nonhomogeneous Equations; Method of Undetermined Coefficients
Secion 3.5 Nonhomogeneous Equaions; Mehod of Undeermined Coefficiens Key Terms/Ideas: Linear Differenial operaor Nonlinear operaor Second order homogeneous DE Second order nonhomogeneous DE Soluion o homogeneous
More informationCSE 3802 / ECE Numerical Methods in Scientific Computation. Jinbo Bi. Department of Computer Science & Engineering
CSE 3802 / ECE 3431 Numerical Mehods in Scienific Compuaion Jinbo Bi Deparmen of Compuer Science & Engineering hp://www.engr.uconn.edu/~jinbo 1 Ph.D in Mahemaics The Insrucor Previous professional experience:
More information2.9 Modeling: Electric Circuits
SE. 2.9 Modeling: Elecric ircuis 93 2.9 Modeling: Elecric ircuis Designing good models is a ask he compuer canno do. Hence seing up models has become an imporan ask in modern applied mahemaics. The bes
More informationNEWTON S SECOND LAW OF MOTION
Course and Secion Dae Names NEWTON S SECOND LAW OF MOTION The acceleraion of an objec is defined as he rae of change of elociy. If he elociy changes by an amoun in a ime, hen he aerage acceleraion during
More informationChapter 7 Response of First-order RL and RC Circuits
Chaper 7 Response of Firs-order RL and RC Circuis 7.- The Naural Response of RL and RC Circuis 7.3 The Sep Response of RL and RC Circuis 7.4 A General Soluion for Sep and Naural Responses 7.5 Sequenial
More informationPosition, Velocity, and Acceleration
rev 06/2017 Posiion, Velociy, and Acceleraion Equipmen Qy Equipmen Par Number 1 Dynamic Track ME-9493 1 Car ME-9454 1 Fan Accessory ME-9491 1 Moion Sensor II CI-6742A 1 Track Barrier Purpose The purpose
More informationY 0.4Y 0.45Y Y to a proper ARMA specification.
HG Jan 04 ECON 50 Exercises II - 0 Feb 04 (wih answers Exercise. Read secion 8 in lecure noes 3 (LN3 on he common facor problem in ARMA-processes. Consider he following process Y 0.4Y 0.45Y 0.5 ( where
More informationMath Week 14 April 16-20: sections first order systems of linear differential equations; 7.4 mass-spring systems.
Mah 2250-004 Week 4 April 6-20 secions 7.-7.3 firs order sysems of linear differenial equaions; 7.4 mass-spring sysems. Mon Apr 6 7.-7.2 Sysems of differenial equaions (7.), and he vecor Calculus we need
More informationINVERSE RESPONSE COMPENSATION BY ESTIMATING PARAMETERS OF A PROCESS COMPRISING OF TWO FIRST ORDER SYSTEMS
Inernaional Journal of Informaion Technology and nowledge Managemen July-December 0, Volume 5, No., pp. 433-438 INVERSE RESPONSE COMPENSATION BY ESTIMATING PARAMETERS OF A PROCESS COMPRISING OF TWO FIRST
More informationModal identification of structures from roving input data by means of maximum likelihood estimation of the state space model
Modal idenificaion of srucures from roving inpu daa by means of maximum likelihood esimaion of he sae space model J. Cara, J. Juan, E. Alarcón Absrac The usual way o perform a forced vibraion es is o fix
More information= ( ) ) or a system of differential equations with continuous parametrization (T = R
XIII. DIFFERENCE AND DIFFERENTIAL EQUATIONS Ofen funcions, or a sysem of funcion, are paramerized in erms of some variable, usually denoed as and inerpreed as ime. The variable is wrien as a funcion of
More informationdy dx = xey (a) y(0) = 2 (b) y(1) = 2.5 SOLUTION: See next page
Assignmen 1 MATH 2270 SOLUTION Please wrie ou complee soluions for each of he following 6 problems (one more will sill be added). You may, of course, consul wih your classmaes, he exbook or oher resources,
More informationMatlab and Python programming: how to get started
Malab and Pyhon programming: how o ge sared Equipping readers he skills o wrie programs o explore complex sysems and discover ineresing paerns from big daa is one of he main goals of his book. In his chaper,
More informationDead-time Induced Oscillations in Inverter-fed Induction Motor Drives
Dead-ime Induced Oscillaions in Inverer-fed Inducion Moor Drives Anirudh Guha Advisor: Prof G. Narayanan Power Elecronics Group Dep of Elecrical Engineering, Indian Insiue of Science, Bangalore, India
More informationBasic Circuit Elements Professor J R Lucas November 2001
Basic Circui Elemens - J ucas An elecrical circui is an inerconnecion of circui elemens. These circui elemens can be caegorised ino wo ypes, namely acive and passive elemens. Some Definiions/explanaions
More informationh[n] is the impulse response of the discrete-time system:
Definiion Examples Properies Memory Inveribiliy Causaliy Sabiliy Time Invariance Lineariy Sysems Fundamenals Overview Definiion of a Sysem x() h() y() x[n] h[n] Sysem: a process in which inpu signals are
More informationProblem Set on Differential Equations
Problem Se on Differenial Equaions 1. Solve he following differenial equaions (a) x () = e x (), x () = 3/ 4. (b) x () = e x (), x (1) =. (c) xe () = + (1 x ()) e, x () =.. (An asse marke model). Le p()
More informationRC, RL and RLC circuits
Name Dae Time o Complee h m Parner Course/ Secion / Grade RC, RL and RLC circuis Inroducion In his experimen we will invesigae he behavior of circuis conaining combinaions of resisors, capaciors, and inducors.
More informationPhysical Limitations of Logic Gates Week 10a
Physical Limiaions of Logic Gaes Week 10a In a compuer we ll have circuis of logic gaes o perform specific funcions Compuer Daapah: Boolean algebraic funcions using binary variables Symbolic represenaion
More informationMath 2142 Exam 1 Review Problems. x 2 + f (0) 3! for the 3rd Taylor polynomial at x = 0. To calculate the various quantities:
Mah 4 Eam Review Problems Problem. Calculae he 3rd Taylor polynomial for arcsin a =. Soluion. Le f() = arcsin. For his problem, we use he formula f() + f () + f ()! + f () 3! for he 3rd Taylor polynomial
More informationChapter #1 EEE8013 EEE3001. Linear Controller Design and State Space Analysis
Chaper EEE83 EEE3 Chaper # EEE83 EEE3 Linear Conroller Design and Sae Space Analysis Ordinary Differenial Equaions.... Inroducion.... Firs Order ODEs... 3. Second Order ODEs... 7 3. General Maerial...
More informationLaplace transfom: t-translation rule , Haynes Miller and Jeremy Orloff
Laplace ransfom: -ranslaion rule 8.03, Haynes Miller and Jeremy Orloff Inroducory example Consider he sysem ẋ + 3x = f(, where f is he inpu and x he response. We know is uni impulse response is 0 for
More informationEE 315 Notes. Gürdal Arslan CLASS 1. (Sections ) What is a signal?
EE 35 Noes Gürdal Arslan CLASS (Secions.-.2) Wha is a signal? In his class, a signal is some funcion of ime and i represens how some physical quaniy changes over some window of ime. Examples: velociy of
More informationProblemas das Aulas Práticas
Mesrado Inegrado em Engenharia Elecroécnica e de Compuadores Conrolo em Espaço de Esados Problemas das Aulas Práicas J. Miranda Lemos Fevereiro de 3 Translaed o English by José Gaspar, 6 J. M. Lemos, IST
More informationExperimental Buck Converter
Experimenal Buck Converer Inpu Filer Cap MOSFET Schoky Diode Inducor Conroller Block Proecion Conroller ASIC Experimenal Synchronous Buck Converer SoC Buck Converer Basic Sysem S 1 u D 1 r r C C R R X
More informationNon Linear Op Amp Circuits.
Non Linear Op Amp ircuis. omparaors wih 0 and non zero reference volage. omparaors wih hyseresis. The Schmid Trigger. Window comparaors. The inegraor. Waveform conversion. Sine o ecangular. ecangular o
More informationEE100 Lab 3 Experiment Guide: RC Circuits
I. Inroducion EE100 Lab 3 Experimen Guide: A. apaciors A capacior is a passive elecronic componen ha sores energy in he form of an elecrosaic field. The uni of capaciance is he farad (coulomb/vol). Pracical
More informationTwo Coupled Oscillators / Normal Modes
Lecure 3 Phys 3750 Two Coupled Oscillaors / Normal Modes Overview and Moivaion: Today we ake a small, bu significan, sep owards wave moion. We will no ye observe waves, bu his sep is imporan in is own
More information( ) a system of differential equations with continuous parametrization ( T = R + These look like, respectively:
XIII. DIFFERENCE AND DIFFERENTIAL EQUATIONS Ofen funcions, or a sysem of funcion, are paramerized in erms of some variable, usually denoed as and inerpreed as ime. The variable is wrien as a funcion of
More informationUniversità degli Studi di Roma Tor Vergata Dipartimento di Ingegneria Elettronica. Analogue Electronics. Paolo Colantonio A.A.
Universià degli Sudi di Roma Tor Vergaa Diparimeno di Ingegneria Eleronica Analogue Elecronics Paolo Colanonio A.A. 2015-16 Diode circui analysis The non linearbehaviorofdiodesmakesanalysisdifficul consider
More informationA Dynamic Model of Economic Fluctuations
CHAPTER 15 A Dynamic Model of Economic Flucuaions Modified for ECON 2204 by Bob Murphy 2016 Worh Publishers, all righs reserved IN THIS CHAPTER, OU WILL LEARN: how o incorporae dynamics ino he AD-AS model
More information10. State Space Methods
. Sae Space Mehods. Inroducion Sae space modelling was briefly inroduced in chaper. Here more coverage is provided of sae space mehods before some of heir uses in conrol sysem design are covered in he
More informationCHAPTER 10 VALIDATION OF TEST WITH ARTIFICAL NEURAL NETWORK
175 CHAPTER 10 VALIDATION OF TEST WITH ARTIFICAL NEURAL NETWORK 10.1 INTRODUCTION Amongs he research work performed, he bes resuls of experimenal work are validaed wih Arificial Neural Nework. From he
More informationCSE/NB 528 Lecture 14: From Supervised to Reinforcement Learning (Chapter 9) R. Rao, 528: Lecture 14
CSE/NB 58 Lecure 14: From Supervised o Reinforcemen Learning Chaper 9 1 Recall from las ime: Sigmoid Neworks Oupu v T g w u g wiui w Inpu nodes u = u 1 u u 3 T i Sigmoid oupu funcion: 1 g a 1 a e 1 ga
More information6.01: Introduction to EECS I Lecture 8 March 29, 2011
6.01: Inroducion o EES I Lecure 8 March 29, 2011 6.01: Inroducion o EES I Op-Amps Las Time: The ircui Absracion ircuis represen sysems as connecions of elemens hrough which currens (hrough variables) flow
More informationNumerical Dispersion
eview of Linear Numerical Sabiliy Numerical Dispersion n he previous lecure, we considered he linear numerical sabiliy of boh advecion and diffusion erms when approimaed wih several spaial and emporal
More information23.2. Representing Periodic Functions by Fourier Series. Introduction. Prerequisites. Learning Outcomes
Represening Periodic Funcions by Fourier Series 3. Inroducion In his Secion we show how a periodic funcion can be expressed as a series of sines and cosines. We begin by obaining some sandard inegrals
More information2.7. Some common engineering functions. Introduction. Prerequisites. Learning Outcomes
Some common engineering funcions 2.7 Inroducion This secion provides a caalogue of some common funcions ofen used in Science and Engineering. These include polynomials, raional funcions, he modulus funcion
More informationLab 10: RC, RL, and RLC Circuits
Lab 10: RC, RL, and RLC Circuis In his experimen, we will invesigae he behavior of circuis conaining combinaions of resisors, capaciors, and inducors. We will sudy he way volages and currens change in
More informationInductor Energy Storage
School of Compuer Science and Elecrical Engineering 5/5/ nducor Energy Sorage Boh capaciors and inducors are energy sorage devices They do no dissipae energy like a resisor, bu sore and reurn i o he circui
More informationMath Final Exam Solutions
Mah 246 - Final Exam Soluions Friday, July h, 204 () Find explici soluions and give he inerval of definiion o he following iniial value problems (a) ( + 2 )y + 2y = e, y(0) = 0 Soluion: In normal form,
More informationLabQuest 24. Capacitors
Capaciors LabQues 24 The charge q on a capacior s plae is proporional o he poenial difference V across he capacior. We express his wih q V = C where C is a proporionaliy consan known as he capaciance.
More informationPhysics 235 Chapter 2. Chapter 2 Newtonian Mechanics Single Particle
Chaper 2 Newonian Mechanics Single Paricle In his Chaper we will review wha Newon s laws of mechanics ell us abou he moion of a single paricle. Newon s laws are only valid in suiable reference frames,
More informationHomework-8(1) P8.3-1, 3, 8, 10, 17, 21, 24, 28,29 P8.4-1, 2, 5
Homework-8() P8.3-, 3, 8, 0, 7, 2, 24, 28,29 P8.4-, 2, 5 Secion 8.3: The Response of a Firs Order Circui o a Consan Inpu P 8.3- The circui shown in Figure P 8.3- is a seady sae before he swich closes a
More informationPhys1112: DC and RC circuits
Name: Group Members: Dae: TA s Name: Phys1112: DC and RC circuis Objecives: 1. To undersand curren and volage characerisics of a DC RC discharging circui. 2. To undersand he effec of he RC ime consan.
More informationChapter 15: Phenomena. Chapter 15 Chemical Kinetics. Reaction Rates. Reaction Rates R P. Reaction Rates. Rate Laws
Chaper 5: Phenomena Phenomena: The reacion (aq) + B(aq) C(aq) was sudied a wo differen emperaures (98 K and 35 K). For each emperaure he reacion was sared by puing differen concenraions of he 3 species
More informationt is a basis for the solution space to this system, then the matrix having these solutions as columns, t x 1 t, x 2 t,... x n t x 2 t...
Mah 228- Fri Mar 24 5.6 Marix exponenials and linear sysems: The analogy beween firs order sysems of linear differenial equaions (Chaper 5) and scalar linear differenial equaions (Chaper ) is much sronger
More informationLinear Time-invariant systems, Convolution, and Cross-correlation
Linear Time-invarian sysems, Convoluion, and Cross-correlaion (1) Linear Time-invarian (LTI) sysem A sysem akes in an inpu funcion and reurns an oupu funcion. x() T y() Inpu Sysem Oupu y() = T[x()] An
More informationCHBE320 LECTURE IV MATHEMATICAL MODELING OF CHEMICAL PROCESS. Professor Dae Ryook Yang
CHBE320 LECTURE IV MATHEMATICAL MODELING OF CHEMICAL PROCESS Professor Dae Ryook Yang Spring 208 Dep. of Chemical and Biological Engineering CHBE320 Process Dynamics and Conrol 4- Road Map of he Lecure
More informationChallenge Problems. DIS 203 and 210. March 6, (e 2) k. k(k + 2). k=1. f(x) = k(k + 2) = 1 x k
Challenge Problems DIS 03 and 0 March 6, 05 Choose one of he following problems, and work on i in your group. Your goal is o convince me ha your answer is correc. Even if your answer isn compleely correc,
More informationRobust Learning Control with Application to HVAC Systems
Robus Learning Conrol wih Applicaion o HVAC Sysems Naional Science Foundaion & Projec Invesigaors: Dr. Charles Anderson, CS Dr. Douglas Hile, ME Dr. Peer Young, ECE Mechanical Engineering Compuer Science
More informationChapter 3 Boundary Value Problem
Chaper 3 Boundary Value Problem A boundary value problem (BVP) is a problem, ypically an ODE or a PDE, which has values assigned on he physical boundary of he domain in which he problem is specified. Le
More informationMath 10B: Mock Mid II. April 13, 2016
Name: Soluions Mah 10B: Mock Mid II April 13, 016 1. ( poins) Sae, wih jusificaion, wheher he following saemens are rue or false. (a) If a 3 3 marix A saisfies A 3 A = 0, hen i canno be inverible. True.
More informationLecture 2-1 Kinematics in One Dimension Displacement, Velocity and Acceleration Everything in the world is moving. Nothing stays still.
Lecure - Kinemaics in One Dimension Displacemen, Velociy and Acceleraion Everyhing in he world is moving. Nohing says sill. Moion occurs a all scales of he universe, saring from he moion of elecrons in
More informationKEY. Math 334 Midterm I Fall 2008 sections 001 and 003 Instructor: Scott Glasgow
1 KEY Mah 4 Miderm I Fall 8 secions 1 and Insrucor: Sco Glasgow Please do NOT wrie on his eam. No credi will be given for such work. Raher wrie in a blue book, or on our own paper, preferabl engineering
More informationVehicle Arrival Models : Headway
Chaper 12 Vehicle Arrival Models : Headway 12.1 Inroducion Modelling arrival of vehicle a secion of road is an imporan sep in raffic flow modelling. I has imporan applicaion in raffic flow simulaion where
More informationFishing limits and the Logistic Equation. 1
Fishing limis and he Logisic Equaion. 1 1. The Logisic Equaion. The logisic equaion is an equaion governing populaion growh for populaions in an environmen wih a limied amoun of resources (for insance,
More informationThis document was generated at 1:04 PM, 09/10/13 Copyright 2013 Richard T. Woodward. 4. End points and transversality conditions AGEC
his documen was generaed a 1:4 PM, 9/1/13 Copyrigh 213 Richard. Woodward 4. End poins and ransversaliy condiions AGEC 637-213 F z d Recall from Lecure 3 ha a ypical opimal conrol problem is o maimize (,,
More information2.160 System Identification, Estimation, and Learning. Lecture Notes No. 8. March 6, 2006
2.160 Sysem Idenificaion, Esimaion, and Learning Lecure Noes No. 8 March 6, 2006 4.9 Eended Kalman Filer In many pracical problems, he process dynamics are nonlinear. w Process Dynamics v y u Model (Linearized)
More informationInventory Control of Perishable Items in a Two-Echelon Supply Chain
Journal of Indusrial Engineering, Universiy of ehran, Special Issue,, PP. 69-77 69 Invenory Conrol of Perishable Iems in a wo-echelon Supply Chain Fariborz Jolai *, Elmira Gheisariha and Farnaz Nojavan
More informationEcon107 Applied Econometrics Topic 7: Multicollinearity (Studenmund, Chapter 8)
I. Definiions and Problems A. Perfec Mulicollineariy Econ7 Applied Economerics Topic 7: Mulicollineariy (Sudenmund, Chaper 8) Definiion: Perfec mulicollineariy exiss in a following K-variable regression
More informationNotes on Kalman Filtering
Noes on Kalman Filering Brian Borchers and Rick Aser November 7, Inroducion Daa Assimilaion is he problem of merging model predicions wih acual measuremens of a sysem o produce an opimal esimae of he curren
More information