Autumn 2008 EEE8013 Revision lecture 1 Ordinary Differential Equations.

Slides:



Advertisements
Similar presentations
Ch 7.6: Complex Eigenvalues
Advertisements

Solving Differential Equations BIOE Solving Differential Equations Ex. Shock absorber with rigid massless tire Start with no input r(t)=0, assume.
Root Locus Diagrams Professor Walter W. Olson
Chapter 4 Continuous Time Signals Time Response Continuous Time Signals Time Response.
Lecture 7: Basis Functions & Fourier Series
AOSC 634 Air Sampling and Analysis Lecture 3 Measurement Theory Performance Characteristics of Instruments Dynamic Performance of Sensor Systems Response.
Properties of State Variables
Chapter 2: Second-Order Differential Equations
4. System Response This module is concern with the response of LTI system. L.T. is used to investigate the response of first and second order systems.
ECE 8443 – Pattern Recognition ECE 3163 – Signals and Systems Objectives: Review Resources: Wiki: State Variables YMZ: State Variable Technique Wiki: Controllability.
Linear Transformations
Ch 7.9: Nonhomogeneous Linear Systems
Ch 7.3: Systems of Linear Equations, Linear Independence, Eigenvalues
Lecture 14: Laplace Transform Properties
1 Lavi Shpigelman, Dynamic Systems and control – – Linear Time Invariant systems  definitions,  Laplace transform,  solutions,  stability.
Ordinary Differential Equations Final Review Shurong Sun University of Jinan Semester 1,
Review last lectures.
1 Lavi Shpigelman, Dynamic Systems and control – – Linear Time Invariant systems  definitions,  Laplace transform,  solutions,  stability.
1 Chapter 9 Differential Equations: Classical Methods A differential equation (DE) may be defined as an equation involving one or more derivatives of an.
Lecture 2 Differential equations
Viscously Damped Free Vibration. Viscous damping force is expressed by the equation where c is a constant of proportionality. Symbolically. it is designated.
Basic Mechanical Engineering Courses
Boyce/DiPrima 9th ed, Ch 7.3: Systems of Linear Equations, Linear Independence, Eigenvalues Elementary Differential Equations and Boundary Value Problems,
ECE 8443 – Pattern Recognition EE 3512 – Signals: Continuous and Discrete Objectives: Stability and the s-Plane Stability of an RC Circuit 1 st and 2 nd.
CIS 540 Principles of Embedded Computation Spring Instructor: Rajeev Alur
Sistem Kontrol I Kuliah II : Transformasi Laplace Imron Rosyadi, ST 1.
1 Chapter 2 We need to write differential equations representing the system or subsystem. Then write the Laplace transform of the system. Then we will.
1 Chapter 8 Ordinary differential equation Mathematical methods in the physical sciences 3rd edition Mary L. Boas Lecture 5 Introduction of ODE.
Fin500J Topic 6Fall 2010 Olin Business School 1 Fin500J: Mathematical Foundations in Finance Topic 6: Ordinary Differential Equations Philip H. Dybvig.
6 1 Linear Transformations. 6 2 Hopfield Network Questions The network output is repeatedly multiplied by the weight matrix W. What is the effect of this.
6.5 Fundamental Matrices and the Exponential of a Matrix Fundamental Matrices Suppose that x 1 (t),..., x n (t) form a fundamental set of solutions for.
Signals and Systems 1 Lecture 8 Dr. Ali. A. Jalali September 6, 2002.
Chapter 5 Transient and Steady State Response “I will study and get ready and someday my chance will come” Abraham Lincoln.
Professor Walter W. Olson Department of Mechanical, Industrial and Manufacturing Engineering University of Toledo System Solutions y(t) t +++++… 11 22.
Section 5.1 First-Order Systems & Applications
Motivation Thus far we have dealt primarily with the input/output characteristics of linear systems. State variable, or state space, representations describe.
Chapter 4 Dynamic Systems: Higher Order Processes Prof. Shi-Shang Jang National Tsing-Hua University Chemical Engineering Dept. Hsin Chu, Taiwan April,
Lecture 21 Review: Second order electrical circuits Series RLC circuit Parallel RLC circuit Second order circuit natural response Sinusoidal signals and.
Subsea Control and Communications Systems
L 7: Linear Systems and Metabolic Networks. Linear Equations Form System.
Advanced Engineering Mathematics, 7 th Edition Peter V. O’Neil © 2012 Cengage Learning Engineering. All Rights Reserved. CHAPTER 4 Series Solutions.
, Free vibration Eigenvalue equation EIGENVALUE EQUATION
Damped Free Oscillations
Lecture #7 Stability and convergence of ODEs João P. Hespanha University of California at Santa Barbara Hybrid Control and Switched Systems NO CLASSES.
Dr. Tamer Samy Gaafar Lec. 2 Transfer Functions & Block Diagrams.
Differential Equations MTH 242 Lecture # 28 Dr. Manshoor Ahmed.
Intelligent Robot Lab Pusan National University Intelligent Robot Lab Chapter 7. Forced Response Errors Pusan National University Intelligent Robot Laboratory.
Differential Equations
Class 3 Linear System Solution Using the Laplace Transform
CIS 540 Principles of Embedded Computation Spring Instructor: Rajeev Alur
Automatic Control Theory CSE 322
Modeling and Simulation Dr. Mohammad Kilani
Laplace Transforms Chapter 3 Standard notation in dynamics and control
Advanced Engineering Mathematics 6th Edition, Concise Edition
Pole Placement and Decoupling by State Feedback
State Space Analysis and Controller Design
Pole Placement and Decoupling by State Feedback
CHE 391 T. F. Edgar Spring 2012.
Systems of First Order Linear Equations
Final value theorem Conditions: f(t) is finite and converges
Autonomous Cyber-Physical Systems: Dynamical Systems
State Space Analysis and Controller Design
Digital and Non-Linear Control
MAE 82 – Engineering Mathematics
Response of Higher Order Systems
Chapter 4. Time Response I may not have gone where I intended to go, but I think I have ended up where I needed to be. Pusan National University Intelligent.
RAYAT SHIKSHAN SANSTHA’S S.M.JOSHI COLLEGE HADAPSAR, PUNE
Time Response, Stability, and
State Space Analysis and Controller Design
Presentation transcript:

Autumn 2008 EEE8013 Revision lecture 1 Ordinary Differential Equations

Autumn 2008 Model: Ordinary Differential Equations (ODE): Modeling Dynamics: Properties of the system, we have to solve/study the ODE.

Autumn 2008 First order ODEs: First order systems: Study approaches Analytic: Explicit formula for x(t) (a solution – separate variables, integrating factor) which satisfies INFINITE curves (for all Initial Conditions (ICs)).

Autumn 2008 First order linear equations First order linear equations - (linear in x and x’) General form: Numerical Solution: k=5, u=0.5

Autumn 2008 Analytic solution: Step input

Autumn 2008 Response to a sinusoidal input

Autumn 2008 Response to a sinusoidal input

Autumn 2008 Second order ODEs Second order ODEs: u=0 => Homogeneous ODE So I am expecting 2 arbitrary constants Let’s try a

Autumn 2008 Overdamped system Roots are real and unequal Overall solution x 2 x 1

Autumn 2008 Critically damped system Roots are real and equal A=2, B=1, x(0)=1, x’(0)= 0 => c 1 =c 2 =1

Autumn 2008 Underdamped system Roots are complexUnderdamped system r=a+bj r=a+bj Theorem: If x is a complex solution to a real ODE then Re(x) and Im(x) are the real solutions of the ODE:

Autumn 2008 Underdamped system, example A=1, B=1, x(0)=1, x’(0)=0 => c1=1, c2=1/sqrt(3)

Autumn 2008 Undamped Undamped system A=0, B=1, x(0)=1, x’(0)=0 =>c1=1, c2=0:

Autumn 2008 Stability In all previous cases if the real part is positive then the solution will diverge to infinity and the ODE (and hence the system) is called unstable.

Autumn 2008 Natural frequency, damping frequency, damping factor is the damping factor andis the natural frequency of the system. => Overdamped system implies that Case 1:

Autumn 2008 Natural frequency, damping frequency, damping factor => Critically damped system implies that => Underdamped systems implies called damped frequency or pseudo-frequency No damping the frequency of the oscillations = natural frequency Case 2: Case 3: Case 4:

Autumn 2008 Summary

Stability revised If then cases 1-3 are the same but with

Autumn 2008 NonHomogeneous (NH) differential equations  u=0 => Homogeneous => x 1 & x 2.  Assume a particular solution of the nonhomogeneous ODE: xp If u(t)=R=cosnt => Then all the solutions of the NHODE are So we have all the previous cases for under/over/un/critically damped systems plus a constant R/B. If complementary solution is stable then the particular solution is called steady state.

Autumn 2008 Example x(0)=1, x’(0)=0 => c1=-1, c2=-1/sqrt(3)

Autumn 2008 State Space Very difficult to be studied => so we use computers Computers are better with 1st order ODE 1 n th => n 1 st Powerful tools from the linear algebra Use sensors: Output = x =>

Autumn 2008 State Space

Autumn 2008 Block Diagram X is an n x 1 state vector U is an q x 1 input vector Y is an p x 1 output vector A is an n x n state matrix B is an n x q input matrix C is an p x n output matrix D is an p x m feed forward matrix (usually zero)

Autumn 2008 State space rules The state vector describes the system => Gives its state => The state of a system is a complete summary of the system at a particular point in time. If the current state of the system and the future input signals are known then it is possible to define the future states and outputs of the system. The choice of the state space variables is free as long as some rules are followed: 1.They must be linearly independent. 2.They must specify completely the dynamic behaviour of the system. 3.Finally they must not be input of the system.

Autumn 2008 State space The system’s states can be written in a vector form as:  A standard orthogonal basis (since they are linear independent)  for an n-dimensional vector space called state space. Matlab definition

Autumn 2008 Solution

Solution II How can we solve that ??? Assume is a parameter => A homogeneous linear system (This last equation is the characteristic equation of the system, why???).

Autumn 2008 Solution III I assume that a 2 =1 so a 1 =2 I assume that a 1 =2 so a 2 =-2 Matlab example

Autumn 2008 General Solution The roots of this equation are called eigenvalues negative eigenvalues => stable positive eigenvalues => unstable repeated eigenvalues => eigenvectors are not linearly independent. Complex eigenvalues => conjugate and the eigenvector will be complex =>solution will consists of sines, cosines and exponential terms

Autumn 2008 Properties of general solution If we start exactly on one eigenvector then the solution will remain on that forever. Hence if I have some stable and some unstable eigenvalues it is still possible (in theory) for the solution to converge to zero if we start exactly on a stable eigenvector. Determines the nature of the time response (stable, fast..) Determines the extend in which each state contributes to Determines the extend in which the IC excites the To find the eigenvalues and eigenvectors use the command eig()

Autumn 2008 Example

Example

Example

State Transition Matrix Until now the use of vector ODEs was not very helpful. We still have special cases => No special cases are needed then Use the command expm (not exp)! X(0)=[1 2] X(5) =? 4 ways to calculate it!!!

Autumn 2008 State Transition Matrix

Autumn 2008 State Transition Matrix

Autumn 2008 Solution

SS => TF??? TF Response to ICs

Autumn 2008 SS => TF??? CE of the TF The TF is a matrix

Autumn 2008 Example: Find the TF of SS => TF???

Autumn 2008 Basic properties of state space State space transformations State space representations are not unique Same input/output properties, => same eigenvalues T is an invertible matrix Z is the new state vector

Autumn 2008 Do these two systems have the TF? Matlab example Basic properties of state space

Autumn 2008 Observability - Controllability Notice the structure of A and C Observability - Controllability

Autumn 2008 There is a pole zero cancellation pzmap(ss_model)Matlab verification The cancellation is due to C=[3 0]. We can influence x 2 through U but we cannot observe how it behaves and hence there is no way to feedback that signal to a controller!!! Observability - Controllability

Autumn 2008 In this case we can see how both states behave but we can not change U in any way so that we can influence x 2 due to the form of B. Unobservable & uncontrollable Minimal realisation. Difficult task if the system is nonlinear!!!! Observability - Controllability

Autumn 2008 Check the rank >> rank(obsv(A,C)) >> rank(ctrb(A,B)) Observability - Controllability