RealTime Systems Versus CyberPhysical Systems: Where is the Difference?


 Kelley Stevens
 1 years ago
 Views:
Transcription
1 RealTime Systems Versus CyberPhysical Systems: Where is the Difference? Samarjit Chakraborty TU Munich, Germany Joint work with Dip Goswami*, Reinhard Schneider #, Alejandro Masrur $, Anuradha Annaswamy + *TU Eindhoven, # AUDI, $ TU Chemnitz, + Massachusetts Institute of Technology and several collaborators from UPenn, Bosch, Linköping University, ETH Zurich
2 Control Systems Design Equations System identification system model Controller design controller Control system analysis 2
3 Control Systems Implementation Equations System identification system model Controller design controller Control system analysis Software Message scheduling Task mapping & scheduling Task partitioning Code generation Timing & performance analysis Are control objectives satisfied NO 3
4 The Design Flow Controller Design System identification system model Controller design controller Control system analysis Controller Implementation Message scheduling Task mapping & scheduling Task partitioning Code generation Timing & performance analysis Are control objectives satisfied NO 4
5 The Design Flow Controller Design Control theorist Controller Implementation Embedded systems engineer Design assumptions!! Infinite numerical accuracy!! Computing control law takes negligible time!! No delay from sensor to controller!! No delay from controller to actuator!! No jitter!!! Implementation reality!! Fixedprecision arithmetic!! Tasks have nonnegligible execution times!! Often large message delays!! Time and eventtriggered communication 5
6 Controller Design The Design Flow These are implementation details Control theorist Not my problem! Controller Implementation Modellevel assumptions are not satisfied by implementation Embedded systems engineer 6
7 Controller Design Semantic Gap Semantic gap between model and implementation Controller Implementation Research Questions?!! How should we quantify this gap?!! How should we close this gap? 7
8 Applications Model Current Design Flow! Highlevel requirements code generation Controller design m 1 m 2 HW/SW architecture Multiple processor units (PUs) connected via a shared bus T 1 T 2 T 3 T 4 Code synthesis & Task partitioning Task mapping Task and Message scheduling 8
9 Applications Model Current Design Flow! Highlevel requirements HW/SW architecture Multiple processor units (PUs) connected via a shared bus Unreliable hardware softerrors, aging,! m 1 m 2 T 1 T 2 T 3 T 4 Fixedprecision arithmetic Delay / jitter message loss Controller design Code synthesis & Task partitioning Task mapping Task and Message scheduling 9
10 Current Design Flow! Applications Highlevel requirements T1 m1 T2 HW/SW architecture Multiple processor units (PUs) connected via a shared bus T3 m2 T4 Fixedprecision arithmetic Model Controller design Code synthesis & Task partitioning Delay / jitter message loss Unreliable hardware softerrors, aging,! Task Algorithm & Architecture designed separately mapping followed by integration, testing, debugging,! Task and Message scheduling 10
11 CyberPhysical Systems!! Tight interaction between computational (cyber) and physical systems!! Isolated design of the two systems leads to:!! Higher integration, testing and debugging costs!! Poor resource utilization (e.g., unnecessarily high sampling rates)!! Question:!! Can existing techniques from realtime & embedded systems be directly applied? We know hardware/software codesign!! Answer:!! New techniques are required!! Traditional embedded systems design have focused only on meeting deadlines 11
12 Control Tasks  Characteristics The deadlines are usually not hard for controlrelated messages DC motor: Speed Objective: A fraction of feedback signals being dropped 33% Drop 25% Drop 0% Drop Controllers can be designed to be robust to drops and deadlinemisses Seconds 1 2
13 Control Tasks  Characteristics Sensitivity of control performance depends on the state of the controlled plant Speed h =20ms Disturbance Seconds h =200ms (1)! The computation requirement at the steady state is less, i.e., sampling frequency can be reduced (e.g., eventtriggered sampling) (2)! The communication requirements are less at the steady state, (e.g., lower priority can be assigned to the feedback signals) 1 3
14 Bottomline!! Realtime Systems View!! Meeting deadlines is the center of attraction Control performance constraints reduced to satisfaction of realtime constraints!! CPS View!! Deadline takes the back seat!! As a result, the design space becomes bigger!! Resulting design is better, robust, costeffective! 1 4
15 What about NCS? T 3 T4 Network T 2 m 2 m Controller m 1 Sensor Plant Networked Control Systems T 1! Take network characteristics into account when designing the control laws! Packet drops, delays, jitter! 1 5
16 What about NCS? Answer: ANCS T 3 T4 Network T 2 m 2 m Controller m 1 Plant Sensor Arbitrated Networked Control Systems T 1! ANCS We can design the network! By taking into account control performance constraints! Problem: How to design the network?! Given a network, how to design the controller?! NCS problem! Codesign Problem: How to design the network and the controller together? 1 6
17 First, a simple case 1 7
18 Embedded control systems Physical System Sensors Actuators Continuoustime A/D D/A Realtime applications Multimedia applications! Shared Communication Shared Computation Discretetime Embedded platform: Control software 1 8
19 Dynamical Systems: DC Motor The time dependence of the various states of dynamical systems is described by a set of difference or differential equations. J = moment of inertia of the rotor b = system damping ratio, K = EMF and Torque constant, R = armature resistance, L = armature inductance, i = armature current, V = input, DC terminal voltage! = output, position of shaft i 1 9
20 System models! Inputoutput model (Transfer function) suitable for frequency domain analysis! The relation between input u(t) and output y(t) (observed variable e.g., position, temperature)! The analysis is done in frequency domain by taking Laplace transform where s is the complex frequency! Statespace model suitable for time domain analysis! Represent the system in terms of a number of internal states
21 Example Computing statespace model (1) System dynamics: (2) Input and output: Output Input (3) States: (4) Statespace model: 2 2 1
22 Laplace Transform 2 2
23 Computing transfer function Example (1) System dynamics: (2) Input and output: Output Input (3) Take Laplace transform with zero initial condition: (4) Transfer function: 2 3
24 Statespace to Transfer Function Statespace model Laplace transform And x(0) = 0 2 4
25 Poles and Zeros! Given transfer function, the system poles are roots of the polynomial D(s) and the system zeros are roots of polynomial N(s)! Example Zeros: 0.2, 1 Poles: 1, 2, 3 2 5
26 Eigenvalues of a Matrix 2 6
27 Eigenvalues of a Matrix 2 7
28 Characteristic equation! Alternatively, system poles can also be computed from the statespace model by computing Characteristic Equation which is given by:! System poles are the roots of Characteristic polynomial! System poles are the eigenvalues of A 2 8
29 Stability There are various notions ! BoundedInput BoundedOutput (BIBO) stability! Stability in the sense of Lyapunov! Asymptotic stability! Exponential stability!! Our lecture is mainly confined to the following aspects: (1)! x(t), y(t), u(t) <! (all signals are bounded), (2)! y(t) " 0 as t "! (asymptotic stability) 2 9
30 Implications of System Poles on Stability! Consider the following system (discrete model)! Intuition behind the continuous time mo 3 0
31 Stability condition: continuoustime case!!! Stable system All poles should have negative real part Marginally stable system One or multiple poles are on imaginary axis and all other poles have negative real parts Unstable system One or more poles with positive real part. Marginally stable Stable Unstable 3 1
32 Stability! Example Poles at +1, +2, +3 Unstable!! Example Poles at 0, 0 Marginally stable! Example Poles at ±i2 Marginally stable 3 2
33 System dynamics: Summary Statespace Transfer function Roots of Poles at +10.9, 3.4 Poles at +10.9, 3.4 Unstable! 3 3
34 Summary How to compute system poles? 1.! Roots of 2.! Eigenvalues of system matrix A 3.! Solution of system characteristics equation 4.! Roots of D(s) for the transfer function!!! Stable system All poles with negative real part Marginally stable system One or multiple poles are on imaginary axis and all other poles have negative real parts Unstable system One or more poles with positive real part. 34
35 Controller Design: Continuous Model! We have a linear system given by the statespace model! For ndimensional SingleInputSingleOutput (SISO) systems! Objective! u =? 35
36 Controller Design: Continuous Model! Control law r = reference K = feedback gain F = static feedforward gain! How to design K?! How to design F? 36
37 Computing Feedback Gain! Choose the desired closedloop poles at! Using Ackermann s formula we get! Poles of (A+BK) are at 37
38 Static Feedforward Gain Closedloop system Taking Laplace transform F should be chosen such that y(t) " r (constant) as t "! i.e., Using final value theorem 38
39 Digital Platform: Sample and Hold Processor clock D/A u(t k ) u(t) x(t) x(t k ) Continuoustime Hold Sampler system A/D Control Algorithm D/A " digitaltoanalog converter A/D " analogtodigital converter! Input u(t) is piecewise constant! Look at the sampling points 39
40 ZOH Sampling x(t) t " Sampling period = h x(t k ) t k t k+1 t k+2 u(t) t " 40
41 Design: Step 1 (Discretization) ZOH periodic sampling with period = h 41
42 Design: Step 2 (Controller Design)!! Given system: Control law: Objectives (i)! Place system poles (ii)! Achieve y " r as t "! (iii) Design K and F 1.! Check controllability of (!,") " must be controllable. # must be invertible. 2.! Apply Ackermann s formula 3.! Feedforward gain 42
43 Step 2! Given! The control input such that closedloop poles are at! Using Ackermann s formula: 43
44 Continuous Vs Discrete Time Continuoustime ZOH periodic sampled Input: Controllability matrix: Input: Controllability matrix: 44
45 The Real Case Feedback loop T m : measure Loop start u = K*[x1(i);x2(i)] + r*f; xkp1 = phi*[x1(i);x2(i)]+ Gamma*u; T c : compute T a : actuate x1(i+1) = xkp1(1); x2(i+1) = xkp1(2); Loop end T m sensor task T c controller task T a actuator task 45
46 Control Loop Feedback loop Sensor reading $ = sensortoactuator delay T m : measure T m T c : compute T c T a : actuate T a h= sampling period Actuation Ideal design assumes: or 46
47 Control Task Triggering!!! In general, T m and T a tasks consume negligible computational time and are timetriggered T c needs finite computation time and is preemptive When multiple tasks are running on a processor, T c can be preempted T m T c T a $ $ $ $ Sensortoactuator delay: $ 47
48 Control Task Model: Constant Delay T c preemption wait T m Deadline D c T a T m Sampling period = h 48
49 Design Steps Realtime tasks + control applications Task models Partial redesign Overall response time analysis Stage I Schedulability test +Timing properties Controller design Stage II Design objectives met? No Yes 49
50 Response Time Analysis! Periodic tasks with fixedpriority scheduling! Solution to a fixed point computation 50
51 Controller design steps for D c < h Continuoustime model ZOH sampling with period h and constant sensortoactuator delay D c Step I New discretetime model: Sampleddata model Step II Controller design based on the sampleddata model Objectives (i)! Place system poles (ii)! Achieve y " r as t "! 51
52 Snapshot of One Sampling Period What happens within one sampling period? x(t k ) x(t k+1 ) T c D c t k t k+1 52
53 53
54 54
55 55
56 Sampleddata Model Continuoustime model ZOH sampling with period h and constant sensortoactuator delay D c! Sampleddata model End of Step 1 56
57 Augmented System! We define new system states:! With the new definition of states, the statespace becomes where the augmented matrices are defined as follows 57
58 Controller Design for D c < h!! Given system: Control law: Objectives (i)! Place system poles (ii)! Achieve y " r as t "! (iii) Design K and F 1.! Check controllability of " must be controllable. # must be invertible where # is defined as follows 2.! Apply Ackermann s formula 3.! Feedforward gain End of Step II 58
59 Summary: Design for D c < h Continuoustime model Sampleddata model Augmented system Controller gains 59
60 A More Complex Case (involves stability analysis of switched systems) 6 0
61 CPSOriented Design Example!! Control over FlexRay!! FlexRay is made up of timetriggered (TT) and eventtriggered (ET) segments!! Conventional design!! Use timetriggered segment for control messages one slot for each control message!! Expensive Challenge: Can we achieve the same control performance with fewer timetriggered slots? 6 1
62 FlexRay Event Vs Timetriggered Asynchronous task Jitter, lost/unused data message x task Synchronous task message task Predictable x 6 2
63 Communication Schedules Timetriggered (TT)!! The temporal behavior is predictable!! The bandwidth utilization is poor!! Availability is limited Eventtriggered (ET)!! The temporal behavior is unpredictable!! The bandwidth utilization is better!! Availability is higher Conventional design: Use TT for controlmessages Problem: Can we use fewer TT slots but still have good control performance? 6 3
64 Quality of Control vs. System State Transient State Steady State r Settling time t Observations "! The performance of a control application is more sensitive to the applied control input in transient state compared to that in steadystate "! ET communication for the control signals is good enough in the steadystate "! TT communication is better suited for transient state 6 4
65 Mode Switching Scheme Plant in Steady State M!" TT : ET : Schedule : Schedule : Controller : After S "#! K "#! Plant in Transient Mode Change Protocol Mode Change Request Controller : Plant in Transient M!! x[k]! x[k] > E "# S! " " K! " " Plant in Steady State After dwell time T! "# 6 5
66 Example!! We consider two distributed control applications communicating via a hybrid communication bus!! We apply statefeedback controller for both, i.e., u[k] =Fx[k] 6 6
67 Performance with TT Communication Control Gains Quality of control C 1 Converges very fast without any oscillation C 2 6 7
68 Performance with ET Communication Control Gains Quality of control C 1 Large oscillations and long settling time C 2 6 8
69 Performance with Switching We have one shared TT communication slot. The control messages are transmitted via ET communication when they are in steady state and switches to TT communication when transient state occurs due to some disturbance Quality of control C 1 Performance is better than that with ET communication but we consume less TT communication slots C 2 6 9
70 Experimental Setup 7 0
71 Experimental Results Purely eventtriggered Mixed time/eventtriggered Purely timetriggered 71
72 Controller Design with Signal Drops 7 2
73 Control Law for stable samples Sensor: x[k] x[0] x[1] x[2] x[3] x[4] x[5] $ % " # h! = 1 $ % " # h! = 1 $ % " # h! = 1 $ % " # h! = 1 $ % " # h! = 1 $ % " # h! = 1 Actuator: u[k]  f(x[0]) f(x[1]) f(x[2]) f(x[3]) f(x[4]) Stable samples: Control Law: Closedloop Dynamics: 0!"! h u[ k] = Fx[ k! 1] x[ k + 1] = Ax[ k] + BFx[ k! 1] F ischosen s.t. x[ k] " 0 if k "!
74 Control with stable and unstable Samples Sensor: x[k] x[0] x[1] x[2] x[3] x[4] x[5] $ % " # h! = 1 $ % " # h! = 1 $ % " # h! = 1 $ % " # h! = 2 $ % " # h! = 1 $ % " # h! = 1 Actuator: u[k]  f(x[0]) f(x[1]) f(x[2]) f(x[2]) f(x[4]) Sampling instant: k 0 stable stable stable unstable stable Proposed Control $! Fx[ k * 1] u[ k] = #! ) + 0 if! " ( h ' & Scheme: if % 1, ) + ( h or ' & = 1 or unstable stable samples samples time
75 Asymptotic Stability The distributed control application is asymptotically stable as long as the ratio between number of stable and unstable samples is greater than or equal to certain upper bound, i.e., the condition for guaranteed asymptotic stability is (! is a positive integer) number of stable samples number of unstable samples! µ 1 Therefore, we allow a fraction µ of samples to be unstable or violate the deadlines but still guarantee asymptotic stability!
76 +,./0" Intuitive Proof "9:"2;"<9,2.95"1012="81"431>"9,"2;":3<2"2;32"2;"" +,./0"><.311"A,"8:"2;."81"59<35"8,<.31"" 8,",./0"4<361"9:"6,12345"13=B51" " 6,12345"! = 2! = 3 $ % " & = # h!!! =1! = 1! =1!" #" $" %" &" '" (" )" *"!"#$%&'()*+ (
77 Intuitive Proof Illustration "! Does exist for any discretetime system?!! Yes. Let u assume the closedloop dynamics at: Stable samples: Unstable samples: As the closedloop dynamics is stable at the stable samples, What happens if one unstable sample occurs after Resultant Dynamics stable samples? Therefore, and the system is stable 7 7
78 Example: Control over FlexRay ) & ) 0.1& Plant : x[ k + 1] = ' $ x[ k] ' 0.7 $ ' # # # $ + ' $ u[ k] '( # 3.6 # 1.2 # 2.8 $ % '( 0.5$ % Open # loop Poles: [# 1.57, # 1.4, # ], Highly Unstable System Plant Controller : u[ k] = Fx[ k # 1] = [# Design Goal ( stability) : x[ k] " 0 as k "! Sampling Interval : 40ms # # ] x[ k # 1] We have found that the closedloop system with the above Controller is stable as long as the ratio between the number of stable and unstable samples µ! 52
79 Scheduling: Example 1 Stable Example: We choose a schedule such that µ =! C55"13=B51""DB.8,<">530"511"2;3,"" &!"=1E"8FFE">530"8,"2.=1"9:"13=B51"81"#" 7012="81"12345"31"" x[ k] " 0 as k "!
80 Scheduling: Example 2 Stable Example: We choose a schedule such that µ = "13=B51" G,12345"13=B51" 7012="81"12345"31"" x[ k] " 0 as k "! 9:"6,12345"13=B51"
81 Scheduling: Example 3 Unstable Example: We choose a schedule such that µ = "13=B51" G,12345"13=B51" 7012="81"6,12345"31"" x [ k] "! as k "!
82 Applications Model Current Design Flow! Highlevel requirements HW/SW architecture Multiple processor units (PUs) connected via a shared bus Unreliable hardware softerrors, aging,! m 1 m 2 T 1 T 2 T 3 T 4 Fixedprecision arithmetic Delay / jitter message loss Controller design Code synthesis & Task partitioning Task mapping Task and Message scheduling 8 2
83 Open Issues! Integration of control theory, program analysis, embedded systems modeling & analysis! How to synthesize implementation platform & software that minimizes error?! Crosslayer modeling & optimization techniques necessary (interplay between delay & numerical accuracy)! Open issues in hardware/circuit design! dynamically adjust precision during runtime or based on plant state (using reconfigurable computing)! harden hardware components to reduce softerror rates 8 3
84 Concluding Remarks!! Viewing cyberphysical systems not as traditional realtime systems!! Breaks traditional concepts of abstraction?!! Current practice:!! Specify control laws!! Specify architecture and schedules!! Test and debug (modify architecture and schedule)!! Problem:!! Synthesize the architecture/schedule from control performance constraints!! Large constrained optimization problem 8 4
From Control Loops to Software
CNRSVERIMAG Grenoble, France October 2006 Executive Summary Embedded systems realization of control systems by computers Computers are the major medium for realizing controllers There is a gap between
More informationDynamically Managing the Realtime Fabric of a Wireless SensorActuator Network
Dynamically Managing the Realtime Fabric of a Wireless SensorActuator Network Award No: CNS0931195 Duration: Sept. 1 2009  Aug. 31 2012 M.D. Lemmon, Univ. of Notre Dame (PI) S.X. Hu, Univ. of Notre
More informationEDUMECH Mechatronic Instructional Systems. Ball on Beam System
EDUMECH Mechatronic Instructional Systems Ball on Beam System Product of Shandor Motion Systems Written by Robert Hirsch Ph.D. 9989 All Rights Reserved. 999 Shandor Motion Systems, Ball on Beam Instructional
More informationELECTRICAL ENGINEERING
EE ELECTRICAL ENGINEERING See beginning of Section H for abbreviations, course numbers and coding. The * denotes labs which are held on alternate weeks. A minimum grade of C is required for all prerequisite
More informationdspace DSP DS1104 based State Observer Design for Position Control of DC Servo Motor
dspace DSP DS1104 based State Observer Design for Position Control of DC Servo Motor Jaswandi Sawant, Divyesh Ginoya Department of Instrumentation and control, College of Engineering, Pune. ABSTRACT This
More informationChapter 9: Controller design
Chapter 9. Controller Design 9.1. Introduction 9.2. Effect of negative feedback on the network transfer functions 9.2.1. Feedback reduces the transfer function from disturbances to the output 9.2.2. Feedback
More informationlaboratory guide 2 DOF Inverted Pendulum Experiment for MATLAB /Simulink Users
laboratory guide 2 DOF Inverted Pendulum Experiment for MATLAB /Simulink Users Developed by: Jacob Apkarian, Ph.D., Quanser Hervé Lacheray, M.A.SC., Quanser Michel Lévis, M.A.SC., Quanser Quanser educational
More informationDCMS DC MOTOR SYSTEM User Manual
DCMS DC MOTOR SYSTEM User Manual release 1.3 March 3, 2011 Disclaimer The developers of the DC Motor System (hardware and software) have used their best efforts in the development. The developers make
More informationUnderstanding Poles and Zeros
MASSACHUSETTS INSTITUTE OF TECHNOLOGY DEPARTMENT OF MECHANICAL ENGINEERING 2.14 Analysis and Design of Feedback Control Systems Understanding Poles and Zeros 1 System Poles and Zeros The transfer function
More informationTechnical Guide No. 100. High Performance Drives  speed and torque regulation
Technical Guide No. 100 High Performance Drives  speed and torque regulation Process Regulator Speed Regulator Torque Regulator Process Technical Guide: The illustrations, charts and examples given in
More information19 LINEAR QUADRATIC REGULATOR
19 LINEAR QUADRATIC REGULATOR 19.1 Introduction The simple form of loopshaping in scalar systems does not extend directly to multivariable (MIMO) plants, which are characterized by transfer matrices instead
More informationLecture 13 Linear quadratic Lyapunov theory
EE363 Winter 289 Lecture 13 Linear quadratic Lyapunov theory the Lyapunov equation Lyapunov stability conditions the Lyapunov operator and integral evaluating quadratic integrals analysis of ARE discretetime
More informationC21 Model Predictive Control
C21 Model Predictive Control Mark Cannon 4 lectures Hilary Term 2161 Lecture 1 Introduction 12 Organisation 4 lectures: week 3 week 4 { Monday 111 am LR5 Thursday 111 am LR5 { Monday 111 am LR5 Thursday
More informationReliability Guarantees in Automata Based Scheduling for Embedded Control Software
1 Reliability Guarantees in Automata Based Scheduling for Embedded Control Software Santhosh Prabhu, Aritra Hazra, Pallab Dasgupta Department of CSE, IIT Kharagpur West Bengal, India  721302. Email: {santhosh.prabhu,
More informationIEEE TRANSACTIONS ON AUTOMATIC CONTROL, VOL. 56, NO. 10, OCTOBER 2011 2345
IEEE TRANSACTIONS ON AUTOMATIC CONTROL, VOL 56, NO 10, OCTOBER 2011 2345 Compositional Modeling and Analysis of MultiHop Control Networks Rajeev Alur, Fellow, IEEE, Alessandro D Innocenzo, Karl H Johansson,
More information4. FixedPriority Scheduling
Simple workload model 4. FixedPriority Scheduling Credits to A. Burns and A. Wellings The application is assumed to consist of a fixed set of tasks All tasks are periodic with known periods This defines
More informationContents. Introduction. Introduction and Motivation Embedded Systems (ES) Content of Lecture Organisational
Introduction Dipl.Inf. Mirko Caspar Version: 10.01.V.r1.0100928 Contents Introduction and Motivation Embedded Systems (ES) characterisation mechatronics requirements classification Content of Lecture
More informationMathematical Modeling and Dynamic Simulation of a Class of Drive Systems with Permanent Magnet Synchronous Motors
Applied and Computational Mechanics 3 (2009) 331 338 Mathematical Modeling and Dynamic Simulation of a Class of Drive Systems with Permanent Magnet Synchronous Motors M. Mikhov a, a Faculty of Automatics,
More informationVFD 101 Lesson 4. Application Terminology for a VFD
VFD 101 Lesson 4 Application Terminology for a VFD This lesson covers the application terminology associated with a Variable Frequency Drive (VFD) and describes each term in detail. When applying a Variable
More informationOnline Tuning of Artificial Neural Networks for Induction Motor Control
Online Tuning of Artificial Neural Networks for Induction Motor Control A THESIS Submitted by RAMA KRISHNA MAYIRI (M060156EE) In partial fulfillment of the requirements for the award of the Degree of MASTER
More informationModule 4 : Propagation Delays in MOS Lecture 20 : Analyzing Delay in few Sequential Circuits
Module 4 : Propagation Delays in MOS Lecture 20 : Analyzing Delay in few Sequential Circuits Objectives In this lecture you will learn the delays in following circuits Motivation Negative DLatch SR Latch
More informationPart IB Paper 6: Information Engineering LINEAR SYSTEMS AND CONTROL Dr Glenn Vinnicombe HANDOUT 3. Stability and pole locations.
Part IB Paper 6: Information Engineering LINEAR SYSTEMS AND CONTROL Dr Glenn Vinnicombe HANDOUT 3 Stability and pole locations asymptotically stable marginally stable unstable Imag(s) repeated poles +
More informationEE 402 RECITATION #13 REPORT
MIDDLE EAST TECHNICAL UNIVERSITY EE 402 RECITATION #13 REPORT LEADLAG COMPENSATOR DESIGN F. Kağan İPEK Utku KIRAN Ç. Berkan Şahin 5/16/2013 Contents INTRODUCTION... 3 MODELLING... 3 OBTAINING PTF of OPEN
More informationECE 3510 Final given: Spring 11
ECE 50 Final given: Spring This part of the exam is Closed book, Closed notes, No Calculator.. ( pts) For each of the timedomain signals shown, draw the poles of the signal's Laplace transform on the
More informationScicos is a Scilab toolbox included in the Scilab package. The Scicos editor can be opened by the scicos command
7 Getting Started 7.1 Construction of a Simple Diagram Scicos contains a graphical editor that can be used to construct block diagram models of dynamical systems. The blocks can come from various palettes
More informationMethods and Tools For Embedded Distributed System Scheduling and Schedulability Analysis
Methods and Tools For Embedded Distributed System Scheduling and Schedulability Analysis Steve Vestal Honeywell Labs Steve.Vestal@Honeywell.com 18 October 2005 Outline Background Binding and Routing Scheduling
More informationGetting a handle on brushed DC motor current
Getting a handle on brushed DC motor current Ross Eisenbeis, Systems Engineer, Texas Instruments  November 11, 2015 Systems that have controlled parameters and closedloop feedback mechanisms are generally
More informationRealTime Component Software. slide credits: H. Kopetz, P. Puschner
RealTime Component Software slide credits: H. Kopetz, P. Puschner Overview OS services Task Structure Task Interaction Input/Output Error Detection 2 Operating System and Middleware Applica3on So5ware
More informationChapter 11 Current Programmed Control
Chapter 11 Current Programmed Control Buck converter v g i s Q 1 D 1 L i L C v R The peak transistor current replaces the duty cycle as the converter control input. Measure switch current R f i s Clock
More informationControl Systems with Actuator Saturation
Control Systems with Actuator Saturation Analysis and Design Tingshu Hu Zongli Lin With 67 Figures Birkhauser Boston Basel Berlin Preface xiii 1 Introduction 1 1.1 Linear Systems with Actuator Saturation
More informationOutline Servo Control
Outline Servo Control ServoMotor Drivers Control Modes orque Capability Servocontrol Systems Direct/Indirect Control System Control Algorithm Implementation Controller Design by Emulation Discretization
More informationExample 4.1 (nonlinear pendulum dynamics with friction) Figure 4.1: Pendulum. asin. k, a, and b. We study stability of the origin x
Lecture 4. LaSalle s Invariance Principle We begin with a motivating eample. Eample 4.1 (nonlinear pendulum dynamics with friction) Figure 4.1: Pendulum Dynamics of a pendulum with friction can be written
More informationPredictable response times in eventdriven realtime systems
Predictable response times in eventdriven realtime systems Automotive 2006  Security and Reliability in Automotive Systems Stuttgart, October 2006. Presented by: Michael González Harbour mgh@unican.es
More informationMicrocontrollerbased experiments for a control systems course in electrical engineering technology
Microcontrollerbased experiments for a control systems course in electrical engineering technology Albert LozanoNieto Penn State University, WilkesBarre Campus, Lehman, PA, USA Email: AXL17@psu.edu
More informationComputer Networks and Internets, 5e Chapter 6 Information Sources and Signals. Introduction
Computer Networks and Internets, 5e Chapter 6 Information Sources and Signals Modified from the lecture slides of Lami Kaya (LKaya@ieee.org) for use CECS 474, Fall 2008. 2009 Pearson Education Inc., Upper
More informationAdvanced Operating Systems (M) Dr Colin Perkins School of Computing Science University of Glasgow
Advanced Operating Systems (M) Dr Colin Perkins School of Computing Science University of Glasgow Rationale Radical changes to computing landscape; Desktop PC becoming irrelevant Heterogeneous, multicore,
More informationFrom Control Loops to RealTime Programs
From Control Loops to RealTime Programs Paul Caspi and Oded Maler VerimagCNRS 2, av. de Vignate 38610 Gires France wwwverimag.imag.fr Paul.Caspi@imag.fr Oded.Maler@imag.fr 1 Introduction This article
More informationG(s) = Y (s)/u(s) In this representation, the output is always the Transfer function times the input. Y (s) = G(s)U(s).
Transfer Functions The transfer function of a linear system is the ratio of the Laplace Transform of the output to the Laplace Transform of the input, i.e., Y (s)/u(s). Denoting this ratio by G(s), i.e.,
More informationCSEN301 Embedded Systems Trimester 1
Victoria University of Wellington (VUW) course offering for NZEU Joint Mobility Project Novel Sensing Technologies and Instrumentation in Environmental Climate Change Monitoring 1. General The Victoria
More information3.1 State Space Models
31 State Space Models In this section we study state space models of continuoustime linear systems The corresponding results for discretetime systems, obtained via duality with the continuoustime models,
More informationQNET Experiment #06: HVAC Proportional Integral (PI) Temperature Control Heating, Ventilation, and Air Conditioning Trainer (HVACT)
Quanser NIELVIS Trainer (QNET) Series: QNET Experiment #06: HVAC Proportional Integral (PI) Temperature Control Heating, Ventilation, and Air Conditioning Trainer (HVACT) Student Manual Table of Contents
More informationPredictive Control Algorithms: Stability despite Shortened Optimization Horizons
Predictive Control Algorithms: Stability despite Shortened Optimization Horizons Philipp Braun Jürgen Pannek Karl Worthmann University of Bayreuth, 9544 Bayreuth, Germany University of the Federal Armed
More informationFeedback Control RealTime Scheduling: Framework, Modeling, and Algorithms *
Journal of RealTime Systems, Special Issue on ControlTheoretical Approaches to RealTime Computing Feedback Control RealTime Scheduling: Framework, Modeling, and Algorithms * Chenyang Lu John A. Stankovic
More informationMAE143A Signals & Systems, Final Exam  Wednesday March 16, 2005
MAE43A Signals & Systems, Final Exam  Wednesday March 6, 25 Instructions This quiz is open book. You may use whatever written materials you choose including your class notes and the textbook. You may
More informationMotor Control. Suppose we wish to use a microprocessor to control a motor  (or to control the load attached to the motor!) Power supply.
Motor Control Suppose we wish to use a microprocessor to control a motor  (or to control the load attached to the motor!) Operator Input CPU digital? D/A, PWM analog voltage Power supply Amplifier linear,
More informationPOTENTIAL OF STATEFEEDBACK CONTROL FOR MACHINE TOOLS DRIVES
POTENTIAL OF STATEFEEDBACK CONTROL FOR MACHINE TOOLS DRIVES L. Novotny 1, P. Strakos 1, J. Vesely 1, A. Dietmair 2 1 Research Center of Manufacturing Technology, CTU in Prague, Czech Republic 2 SW, Universität
More informationDesigning EventControlled Continuous Processing Systems Class 325
Designing EventControlled Continuous Processing Systems Class 325 by Hans Peter Jepsen, Danfoss Drives and Finn Overgaard Hansen, Engineering College of Aarhus hans_peter_jepsen@danfoss.com foh@e.iha.dk
More informationUsing the Theory of Reals in. Analyzing Continuous and Hybrid Systems
Using the Theory of Reals in Analyzing Continuous and Hybrid Systems Ashish Tiwari Computer Science Laboratory (CSL) SRI International (SRI) Menlo Park, CA 94025 Email: ashish.tiwari@sri.com Ashish Tiwari
More informationMECE 102 Mechatronics Engineering Orientation
MECE 102 Mechatronics Engineering Orientation Mechatronic System Components Associate Prof. Dr. of Mechatronics Engineering Çankaya University Compulsory Course in Mechatronics Engineering Credits (2/0/2)
More informationControl System Definition
Control System Definition A control system consist of subsytems and processes (or plants) assembled for the purpose of controlling the outputs of the process. For example, a furnace produces heat as a
More informationThe Temporal FirewallA Standardized Interface in the TimeTriggered Architecture
1 The Temporal FirewallA Standardized Interface in the TimeTriggered Architecture H. Kopetz TU Vienna, Austria July 2000 Outline 2 Introduction Temporal Accuracy of RT Information The TimeTriggered
More informationLecture 8 : Dynamic Stability
Lecture 8 : Dynamic Stability Or what happens to small disturbances about a trim condition 1.0 : Dynamic Stability Static stability refers to the tendency of the aircraft to counter a disturbance. Dynamic
More informationPID Control. Chapter 10
Chapter PID Control Based on a survey of over eleven thousand controllers in the refining, chemicals and pulp and paper industries, 97% of regulatory controllers utilize PID feedback. Desborough Honeywell,
More informationEðlisfræði 2, vor 2007
[ Assignment View ] [ Print ] Eðlisfræði 2, vor 2007 30. Inductance Assignment is due at 2:00am on Wednesday, March 14, 2007 Credit for problems submitted late will decrease to 0% after the deadline has
More informationDesign Methods for Control Systems
Design Methods for Control Systems Okko H. Bosgra Delft University of Technology Delft, The Netherlands Huibert Kwakernaak Emeritus Professor University of Twente Enschede, The Netherlands Gjerrit Meinsma
More informationWireless Control Networks Modeling, Synthesis, Robustness, Security
Wireless Control Networks Modeling, Synthesis, Robustness, Security The image cannot be displayed. Your computer may not have enough memory to open the image, or the image may have been corrupted. Restart
More informationSECTION 19 CONTROL SYSTEMS
ChristiansenSec.9.qxd 6:8:4 6:43 PM Page 9. The Electronics Engineers' Handbook, 5th Edition McGrawHill, Section 9, pp. 9.9.3, 5. SECTION 9 CONTROL SYSTEMS Control is used to modify the behavior of
More informationHarmonics and Noise in Photovoltaic (PV) Inverter and the Mitigation Strategies
Soonwook Hong, Ph. D. Michael Zuercher Martinson Harmonics and Noise in Photovoltaic (PV) Inverter and the Mitigation Strategies 1. Introduction PV inverters use semiconductor devices to transform the
More informationLoad Balancing and Switch Scheduling
EE384Y Project Final Report Load Balancing and Switch Scheduling Xiangheng Liu Department of Electrical Engineering Stanford University, Stanford CA 94305 Email: liuxh@systems.stanford.edu Abstract Load
More informationLoop Analysis. Chapter 7. 7.1 Introduction
Chapter 7 Loop Analysis Quotation Authors, citation. This chapter describes how stability and robustness can be determined by investigating how sinusoidal signals propagate around the feedback loop. The
More informationMotor Control Application Tuning (MCAT) Tool for 3Phase PMSM
Freescale Semiconductor Document Number:AN4642 Application Note Rev. 1, 01/2013 Motor Control Application Tuning (MCAT) Tool for 3Phase PMSM by: Marek Stulrajter, Pavel Sustek 1 Introduction This application
More informationClocking. Figure by MIT OCW. 6.884  Spring 2005 2/18/05 L06 Clocks 1
ing Figure by MIT OCW. 6.884  Spring 2005 2/18/05 L06 s 1 Why s and Storage Elements? Inputs Combinational Logic Outputs Want to reuse combinational logic from cycle to cycle 6.884  Spring 2005 2/18/05
More informationLecture Outline Overview of realtime scheduling algorithms Outline relative strengths, weaknesses
Overview of RealTime Scheduling Embedded RealTime Software Lecture 3 Lecture Outline Overview of realtime scheduling algorithms Clockdriven Weighted roundrobin Prioritydriven Dynamic vs. static Deadline
More informationELECTRICAL ENGINEERING
ELECTRICAL ENGINEERING The master degree programme of Teacher Training in Electronical Engineering is designed to develop graduates competencies in the field of Curriculum Development and Instructional
More informationOn realtime delay monitoring in softwaredefined networks
On realtime delay monitoring in softwaredefined networks Victor S. Altukhov Lomonosov Moscow State University Moscow, Russia victoralt@lvk.cs.msu.su Eugene V. Chemeritskiy Applied Research Center for
More informationLinearQuadratic Optimal Controller 10.3 Optimal Linear Control Systems
LinearQuadratic Optimal Controller 10.3 Optimal Linear Control Systems In Chapters 8 and 9 of this book we have designed dynamic controllers such that the closedloop systems display the desired transient
More informationManufacturing Equipment Modeling
QUESTION 1 For a linear axis actuated by an electric motor complete the following: a. Derive a differential equation for the linear axis velocity assuming viscous friction acts on the DC motor shaft, leadscrew,
More informationScheduling Realtime Tasks: Algorithms and Complexity
Scheduling Realtime Tasks: Algorithms and Complexity Sanjoy Baruah The University of North Carolina at Chapel Hill Email: baruah@cs.unc.edu Joël Goossens Université Libre de Bruxelles Email: joel.goossens@ulb.ac.be
More information(Refer Slide Time: 01:1101:27)
Digital Signal Processing Prof. S. C. Dutta Roy Department of Electrical Engineering Indian Institute of Technology, Delhi Lecture  6 Digital systems (contd.); inverse systems, stability, FIR and IIR,
More informationW a d i a D i g i t a l
Wadia Decoding Computer Overview A Definition What is a Decoding Computer? The Wadia Decoding Computer is a small form factor digitaltoanalog converter with digital preamplifier capabilities. It is
More informationSchool of Technology Field of study Electrical Engineering (0714)
AUTUMN SEMESTER 2016 NOTE! Period Study level ECTS cr Course number Course Attendance required in both semesters Attendance required in both semesters M1 = 1 st year Master M2 = 2 nd year Master 1 M1 6
More informationLOOP TRANSFER RECOVERY FOR SAMPLEDDATA SYSTEMS 1
LOOP TRANSFER RECOVERY FOR SAMPLEDDATA SYSTEMS 1 Henrik Niemann Jakob Stoustrup Mike Lind Rank Bahram Shafai Dept. of Automation, Technical University of Denmark, Building 326, DK2800 Lyngby, Denmark
More information4 Lyapunov Stability Theory
4 Lyapunov Stability Theory In this section we review the tools of Lyapunov stability theory. These tools will be used in the next section to analyze the stability properties of a robot controller. We
More informationANALYZER BASICS WHAT IS AN FFT SPECTRUM ANALYZER? 21
WHAT IS AN FFT SPECTRUM ANALYZER? ANALYZER BASICS The SR760 FFT Spectrum Analyzer takes a time varying input signal, like you would see on an oscilloscope trace, and computes its frequency spectrum. Fourier's
More informationRealtime Scheduling of Periodic Tasks (1) Advanced Operating Systems Lecture 2
Realtime Scheduling of Periodic Tasks (1) Advanced Operating Systems Lecture 2 Lecture Outline Scheduling periodic tasks The rate monotonic algorithm Definition Nonoptimality Timedemand analysis...
More informationRealTime (Paradigms) (51)
RealTime (Paradigms) (51) 5. RealTime Communication Data flow (communication) in embedded systems : Sensor > Controller Controller > Actor Controller > Display Controller Controller Major
More informationDigital Representations of Analog Systems for Control System Applications
Digital Representations of Analog Systems for Control System Applications Peter Way May 21, 29 This tutorial shows how digital controllers can be created from an analog (or continuous) model. This is especially
More informationDIRECT torque control (DTC) of induction motors has
76 IEEE POWER ELECTRONICS LETTERS, VOL. 3, NO. 2, JUNE 2005 Constant and High Switching Frequency Torque Controller DTC Drives C. L. Toh, N. R. N. Idris, Senior Member, IEEE, and A. H. M. Yatim, Senior
More informationDually Fed Permanent Magnet Synchronous Generator Condition Monitoring Using Stator Current
Summary Dually Fed Permanent Magnet Synchronous Generator Condition Monitoring Using Stator Current Joachim Härsjö, Massimo Bongiorno and Ola Carlson Chalmers University of Technology Energi och Miljö,
More informationInteractive applications to explore the parametric space of multivariable controllers
Milano (Italy) August 28  September 2, 211 Interactive applications to explore the parametric space of multivariable controllers Yves Piguet Roland Longchamp Calerga Sàrl, Av. de la Chablière 35, 14 Lausanne,
More informationSystem Design and Methodology/ Embedded Systems Design (Modeling and Design of Embedded Systems)
System Design&Methodologies Fö 1&21 System Design&Methodologies Fö 1&22 Course Information System Design and Methodology/ Embedded Systems Design (Modeling and Design of Embedded Systems) TDTS30/TDDI08
More informationRealTime Scheduling 1 / 39
RealTime Scheduling 1 / 39 Multiple RealTime Processes A runs every 30 msec; each time it needs 10 msec of CPU time B runs 25 times/sec for 15 msec C runs 20 times/sec for 5 msec For our equation, A
More information4310/4320 Wireless Position Monitor Burst Configuration and Diagnostics
Instruction Manual Supplement 4310/4320 Wireless Position Monitor 4310/4320 Wireless Position Monitor Burst Configuration and Diagnostics This document applies to: Fisher 4320 Device Type 1308 (hex) 4872
More informationInterconnection Networks
Advanced Computer Architecture (0630561) Lecture 15 Interconnection Networks Prof. Kasim M. AlAubidy Computer Eng. Dept. Interconnection Networks: Multiprocessors INs can be classified based on: 1. Mode
More informationTransient analysis of integrated solar/diesel hybrid power system using MATLAB Simulink
Transient analysis of integrated solar/diesel hybrid power system using ATLAB Simulink Takyin Taky Chan School of Electrical Engineering Victoria University PO Box 14428 C, elbourne 81, Australia. Taky.Chan@vu.edu.au
More informationHow to Turn an AC Induction Motor Into a DC Motor (A Matter of Perspective) Steve Bowling Application Segments Engineer Microchip Technology, Inc.
1 How to Turn an AC Induction Motor Into a DC Motor (A Matter of Perspective) Steve Bowling Application Segments Engineer Microchip Technology, Inc. The territory of highperformance motor control has
More informationPeriodic Task Scheduling
Periodic Task Scheduling Radek Pelánek Motivation and Assumptions Examples of Periodic Tasks sensory data acquisition control loops action planning system monitoring Motivation and Assumptions Simplifying
More informationAutomotive Software Engineering
Automotive Software Engineering List of Chapters: 1. Introduction and Overview 1.1 The Driver Vehicle Environment System 1.1.1 Design and Method of Operation of Vehicle Electronic 1.1.2 Electronic of the
More information5. Sequential CMOS Logic Circuits
5. Sequential CMOS Logic Circuits In sequential logic circuits the output signals is determined by the current inputs as well as the previously applied input variables. Fig. 5.1a shows a sequential circuit
More informationPC BASED PID TEMPERATURE CONTROLLER
PC BASED PID TEMPERATURE CONTROLLER R. Nisha * and K.N. Madhusoodanan Dept. of Instrumentation, Cochin University of Science and Technology, Cochin 22, India ABSTRACT: A simple and versatile PC based Programmable
More informationAnalog and Digital Control Systems!
Analog and Digital Control Systems Robert Stengel Robotics and Intelligent Systems MAE 345, Princeton University, 2015 Frequency Response Transfer Functions Bode Plots Root Locus ProportionalIntegral
More informationFrequency Response of FIR Filters
Frequency Response of FIR Filters Chapter 6 This chapter continues the study of FIR filters from Chapter 5, but the emphasis is frequency response, which relates to how the filter responds to an input
More informationTEACHING AUTOMATIC CONTROL IN NONSPECIALIST ENGINEERING SCHOOLS
TEACHING AUTOMATIC CONTROL IN NONSPECIALIST ENGINEERING SCHOOLS J.A.Somolinos 1, R. Morales 2, T.Leo 1, D.Díaz 1 and M.C. Rodríguez 1 1 E.T.S. Ingenieros Navales. Universidad Politécnica de Madrid. Arco
More informationSpeed Control for Brushless DC Motors using PID Algorithm. Whitepaper
Speed ontrol for rushless D Motors using PID lgorithm Whitepaper 1 ontents bstract... 3 Keywords... 3 Introduction... 4 Three Phase Motor ommutation... 4 Methods for Speed ontrol of Motor... 6 1. Openloop
More informationLaboratory 4: Feedback and Compensation
Laboratory 4: Feedback and Compensation To be performed during Week 9 (Oct. 2024) and Week 10 (Oct. 2731) Due Week 11 (Nov. 37) 1 PreLab This PreLab should be completed before attending your regular
More informationPower Electronics. Prof. K. Gopakumar. Centre for Electronics Design and Technology. Indian Institute of Science, Bangalore.
Power Electronics Prof. K. Gopakumar Centre for Electronics Design and Technology Indian Institute of Science, Bangalore Lecture  1 Electric Drive Today, we will start with the topic on industrial drive
More informationSynchronization of sampling in distributed signal processing systems
Synchronization of sampling in distributed signal processing systems Károly Molnár, László Sujbert, Gábor Péceli Department of Measurement and Information Systems, Budapest University of Technology and
More informationSimulation and Analysis of Parameter Identification Techniques for Induction Motor Drive
International Journal of Electronic and Electrical Engineering. ISSN 09742174 Volume 7, Number 10 (2014), pp. 10271035 International Research Publication House http://www.irphouse.com Simulation and
More informationHITACHI INVERTER SJ/L100/300 SERIES PID CONTROL USERS GUIDE
HITACHI INVERTER SJ/L1/3 SERIES PID CONTROL USERS GUIDE After reading this manual, keep it for future reference Hitachi America, Ltd. HAL1PID CONTENTS 1. OVERVIEW 3 2. PID CONTROL ON SJ1/L1 INVERTERS 3
More information