System Control Engineering 0

Similar documents
EE222 - Spring 16 - Lecture 2 Notes 1

LMI Methods in Optimal and Robust Control

Nonlinear Control Lecture 1: Introduction

Stability of Nonlinear Systems An Introduction

2 Lyapunov Stability. x(0) x 0 < δ x(t) x 0 < ɛ

CDS 101/110a: Lecture 2.1 Dynamic Behavior

Manifesto on Numerical Integration of Equations of Motion Using Matlab

The Big, Big Picture (Bifurcations II)

CDS 101/110a: Lecture 2.1 Dynamic Behavior

CHALMERS, GÖTEBORGS UNIVERSITET. EXAM for DYNAMICAL SYSTEMS. COURSE CODES: TIF 155, FIM770GU, PhD

Part II. Dynamical Systems. Year

Stability of Dynamical systems

STABILITY. Phase portraits and local stability

11 Chaos in Continuous Dynamical Systems.

Entrance Exam, Differential Equations April, (Solve exactly 6 out of the 8 problems) y + 2y + y cos(x 2 y) = 0, y(0) = 2, y (0) = 4.

Chapter #4 EEE8086-EEE8115. Robust and Adaptive Control Systems

Nonlinear Systems Theory

System Control Engineering

Practice Problems for Final Exam

APPM 2460 CHAOTIC DYNAMICS

A plane autonomous system is a pair of simultaneous first-order differential equations,

Prof. Krstic Nonlinear Systems MAE281A Homework set 1 Linearization & phase portrait

154 Chapter 9 Hints, Answers, and Solutions The particular trajectories are highlighted in the phase portraits below.

8 Example 1: The van der Pol oscillator (Strogatz Chapter 7)

Chaos. Lendert Gelens. KU Leuven - Vrije Universiteit Brussel Nonlinear dynamics course - VUB

ME8230 Nonlinear Dynamics

2.10 Saddles, Nodes, Foci and Centers

Nonlinear Dynamic Systems Homework 1

Complex Dynamic Systems: Qualitative vs Quantitative analysis

Chapter 1: Introduction

The Big Picture. Discuss Examples of unpredictability. Odds, Stanisław Lem, The New Yorker (1974) Chaos, Scientific American (1986)

Dynamical Systems and Chaos Part I: Theoretical Techniques. Lecture 4: Discrete systems + Chaos. Ilya Potapov Mathematics Department, TUT Room TD325

Control Systems. Internal Stability - LTI systems. L. Lanari

Problem Set Number 5, j/2.036j MIT (Fall 2014)

The Big Picture. Python environment? Discuss Examples of unpredictability. Chaos, Scientific American (1986)

Chapter 13 Internal (Lyapunov) Stability 13.1 Introduction We have already seen some examples of both stable and unstable systems. The objective of th

Simplest Chaotic Flows with Involutional Symmetries

APPM 2360: Final Exam 10:30am 1:00pm, May 6, 2015.

1. < 0: the eigenvalues are real and have opposite signs; the fixed point is a saddle point

ENGI 9420 Lecture Notes 4 - Stability Analysis Page Stability Analysis for Non-linear Ordinary Differential Equations

Lecture 4. Chapter 4: Lyapunov Stability. Eugenio Schuster. Mechanical Engineering and Mechanics Lehigh University.

NONLINEAR DYNAMICS AND CHAOS. Numerical integration. Stability analysis

4 Second-Order Systems

ẋ = f(x, y), ẏ = g(x, y), (x, y) D, can only have periodic solutions if (f,g) changes sign in D or if (f,g)=0in D.

Introduction to Modern Control MT 2016

Lecture 6. Lorenz equations and Malkus' waterwheel Some properties of the Lorenz Eq.'s Lorenz Map Towards definitions of:

STABILITY ANALYSIS OF DYNAMIC SYSTEMS

Analysis of Dynamical Systems

Review: control, feedback, etc. Today s topic: state-space models of systems; linearization

Department of Mathematics IIT Guwahati

Problem set 7 Math 207A, Fall 2011 Solutions

CDS 101 Precourse Phase Plane Analysis and Stability

Problem List MATH 5173 Spring, 2014

Lectures on Periodic Orbits

Vector Fields and Solutions to Ordinary Differential Equations using MATLAB/Octave

MCE693/793: Analysis and Control of Nonlinear Systems

DO NOT DO HOMEWORK UNTIL IT IS ASSIGNED. THE ASSIGNMENTS MAY CHANGE UNTIL ANNOUNCED.

Nonlinear Control Lecture 2:Phase Plane Analysis

DO NOT DO HOMEWORK UNTIL IT IS ASSIGNED. THE ASSIGNMENTS MAY CHANGE UNTIL ANNOUNCED.

Using Matlab to integrate Ordinary Differential Equations (ODEs)

L = 1 2 a(q) q2 V (q).

Math 266: Phase Plane Portrait

Handout 2: Invariant Sets and Stability

Dynamical analysis and circuit simulation of a new three-dimensional chaotic system

Dynamical Systems & Lyapunov Stability

Lecture 20/Lab 21: Systems of Nonlinear ODEs

ENGR 213: Applied Ordinary Differential Equations

THREE DIMENSIONAL SYSTEMS. Lecture 6: The Lorenz Equations

Introduction to numerical simulations for Stochastic ODEs

Consider an ideal pendulum as shown below. l θ is the angular acceleration θ is the angular velocity

Nonlinear Autonomous Systems of Differential

Half of Final Exam Name: Practice Problems October 28, 2014

EG4321/EG7040. Nonlinear Control. Dr. Matt Turner

Section 9.3 Phase Plane Portraits (for Planar Systems)

Daba Meshesha Gusu and O.Chandra Sekhara Reddy 1

MA 441 Advanced Engineering Mathematics I Assignments - Spring 2014

MATH 415, WEEKS 7 & 8: Conservative and Hamiltonian Systems, Non-linear Pendulum

Nonlinear Control Lecture 2:Phase Plane Analysis

Nonlinear dynamics & chaos BECS

ME 680- Spring Representation and Stability Concepts

2 Solving Ordinary Differential Equations Using MATLAB

CHALMERS, GÖTEBORGS UNIVERSITET. EXAM for DYNAMICAL SYSTEMS. COURSE CODES: TIF 155, FIM770GU, PhD

Lecture 1: Introduction, history, dynamics, nonlinearity, 1-D problem, phase portrait

Workshop on Theoretical Ecology and Global Change March 2009

EN Nonlinear Control and Planning in Robotics Lecture 3: Stability February 4, 2015

Section 2.1 : Solution Curves without a Solution. - allow us to sketch solution curves to first-order ODEs. dy dx. = f (x, y) (1)

UNIVERSIDADE DE SÃO PAULO

1.7. Stability and attractors. Consider the autonomous differential equation. (7.1) ẋ = f(x),

Chaos Control for the Lorenz System

Due 1/24/12: Section and 6 and the problems below.

6.2 Brief review of fundamental concepts about chaotic systems

Basic Theory of Dynamical Systems

Solving systems of first order equations with ode Systems of first order differential equations.

Mathematical Model of Forced Van Der Pol s Equation

Examination paper for TMA4195 Mathematical Modeling

Topic # /31 Feedback Control Systems. Analysis of Nonlinear Systems Lyapunov Stability Analysis

Lecture 10: Singular Perturbations and Averaging 1

Nonlinear Oscillators: Free Response

Linearization problem. The simplest example

Two-Body Problem. Central Potential. 1D Motion

Transcription:

System Control Engineering 0 Koichi Hashimoto Graduate School of Information Sciences Text: Nonlinear Control Systems Analysis and Design, Wiley Author: Horacio J. Marquez Web: http://www.ic.is.tohoku.ac.jp/~koichi/system_control/

Nonlinear Systems 1 Nonlinear systems expression Unforced, Autonomous, Example Equilibrium points Examples first order, second order Phase-plane analysis Vector field diagram Examples Limit cycle Van der Pol oscillator, MATLAB Lorenz attractor MATLAB Exercises

Nonlinear Systems 2 State x(t), Input u(t), Output y(t) x(t) = x 1 (t). x n (t), u(t) = u 1 (t). u p (t), y(t) = y 1 (t). y m (t) System: A set of first-order ordinary differential equations ẋ(t) = f(x(t), t, u(t)) y(t) = h(x(t), t, u(t)) i.e., (hereafter, (t) may be omitted) ẋ 1 = f 1 (x 1,..., x n, t, u 1,..., u p ). ẋ n = f n (x 1,..., x n, t, u 1,..., u p ) y 1 = h 1 (x 1,..., x n, t, u 1,..., u p ). y m = h m (x 1,..., x n, t, u 1,..., u p )

Examples of Nonlinear Systems 3 Unforced system: Input u is identically zero, i.e., u(t) = 0 ẋ = f(x, t, 0) = f(x, t) Autonomous system: f(x, t) is not a function of time ẋ = f(x) Autonomous systems are invariant to shifts in the time origin, i.e., changing the time variable from t to τ = t α does not change the right-hand side of the equation.

Example 4 Input: u, Output: x Consider a system: x 1 = x, x 2 = ẋ mẍ + d(x, ẋ) + k(x) = u ẋ 1 = x 2 ẋ 2 = d(x 1, x 2 ) k(x 1) m m + 1 m u i.e., the left-hand side should be first derivative of x, the right-hand side should not contain ẋ.

Example 5 Dynamical equation: l ml θ + kl θ + mg sin θ = 0 State variables: x 1 = θ, x 2 = θ θ ẋ 1 = x 2 mg ẋ 2 = g l sin x 1 k m x 2

Nonlinear Systems 6 Nonlinear systems expression Unforced, Autonomous, Example Equilibrium points Examples first order, second order Phase-plane analysis Vector field diagram Examples Limit cycle Van der Pol oscillator, MATLAB Lorenz attractor MATLAB Exercises

Equilibrium Points 7 Definition: A point x = x e is said to be an equilibrium point of the autonomous system ẋ = f(x) if it has the property that whenever the state of the system starts at x e, it remains at x e for all future time i.e., x(t 0 ) = x e x(t) x e, t t 0, ẋ = 0. Property: The equilibrium points are the real roots of the equation f(x e ) = 0.

Example of Equilibrium Points 8 Consider the following system where r is a parameter. ẋ = r + x 2 1. If r > 0, the system has two equilibrium points x = ± r. 2. If r = 0, both of the equilibrium points collapse, the equilibrium point is x = 0. 3. If r < 0, then the system has no equilibrium points.

First-Order Autonomous Systems I 9 ẋ = r + x 2 (r > 0) When ẋ > 0, the trajectories move to the right, and vice versa. Thus x e = r is attractive, x e = r is repelling. 0.6 0.4 0.2 0-0.2-0.4-0.6-1 -0.5 0 0.5 1 r = 0.5

First-Order Autonomous Systems II 10 ẋ = cos x where ẋ = 0 are equilibrium points.

Second-Order Autonomous Systems 11 ẋ 1 = r x 2 1 (r = 0.5) ẋ 2 = x 2

Second-Order Autonomous Systems 12 ẋ 1 = r x 2 1 (r = 0.5) ẋ 2 = x 2 where ( r, 0) is stable, ( r, 0) is unstable.

Second-Order Autonomous Systems 13 [x, y]= meshgrid(-1.5:0.1:1.5, -1.5:0.1:1.5); global r; r = 0.5; px=r-x.*x; py=-y; quiver(x,y,px,py,1.5); [t,xx]=ode45(@func_bifur,[0 1.5],[0;1]); plot(xx(:,1),xx(:,2), go- ); ----- function dx = func_bifur(t, x) global r; dx = [r-x(1)*x(1); -x(2)]; end

Pendulum 14 Dynamical equation: ml θ + kl θ + mg sin θ = 0 State variables: x 1 = θ, x 2 = θ θ l ẋ 1 = x 2 ẋ 2 = g l sin x 1 k m x 2 Equilibrium points mg 0 = x 2 0 = g l sin x 1 k m x 2 (x 1, x 2 ) = (nπ, 0), n = 0, ±1,...

Nonlinear Systems 15 Nonlinear systems expression Unforced, Autonomous, Example Equilibrium points Examples first order, second order Phase-plane analysis Vector field diagram Examples Limit cycle Van der Pol oscillator, MATLAB Lorenz attractor MATLAB Exercises

Second-Order Systems: Phase-Plane 16 Consider the system ẋ 1 = f 1 (x 1, x 2 ) ẋ 2 = f 2 (x 1, x 2 ) The solution of the differential equation with an initial condition x 0 = [x 10, x 20 ] is called a trajectory from x 0. The trajectory in x 1 x 2 plane is called phase-plane. f(x) in ẋ = [ ẋ1 ẋ 2 is called a vector field. ] = [ f1 (x 1, x 2 ) f 2 (x 1, x 2 ) ] = f(x)

Vector Field Diagram 17 To each point x in the plane we can assign a vector with amplitude and direction of f(x ). For easy visualization we can represent f(x) as a vector based at x, i.e., we assign to x the directed line segment from x to x + f(x). Repeating this operation at every point in the plane, we obtain a vector field diagram.

Nonlinear Systems 18 Nonlinear systems expression Unforced, Autonomous, Example Equilibrium points Examples first order, second order Phase-plane analysis Vector field diagram Examples Limit cycle Van der Pol oscillator, MATLAB Lorenz attractor MATLAB Exercises

Vector Field Diagram 19 ẋ 1 = x 2 ẋ 2 = x 2 1 x 2 (0 t 3)

Vector Field Diagram of Pendulum 20 ẋ 1 = x 2 (g = 10, l = 1) ẋ 2 = g l sin x 1 (0 t 5) (π/4, 0), (π/2, 0), (3π/4, 0), ( π ɛ, 0.04), (π + ɛ, 0.04)

Pendulum with Friction 21 ẋ 1 = x 2 (g = 10, l = 1, k = 0.5, m = 1) ẋ 2 = g l sin x 1 k m x 2 (0 t 5) (π/4, 0), (π/2, 0), (3π/4, 0), ( π ɛ, 0.04), (π + ɛ, 0.04)

Nonlinear Systems 22 Nonlinear systems expression Unforced, Autonomous, Example Equilibrium points Examples first order, second order Phase-plane analysis Vector field diagram Examples Limit cycle Van der Pol oscillator, MATLAB Lorenz attractor MATLAB Exercises

Limit Cycles 23 Oscillations: Characteristics of higher-order nonlinear systems A system oscillates when it has a nontrivial periodic solution (not the one found in LTI imaginary case). t 0 > 0, t t 0, x(t + T ) = x(t) Stable, self-excited oscillations: limit cycles.

Example of Limit Cycles (Van der Pol) 24 Consider the following system: Define x 1 = y, and x 2 = ẏ ÿ µ(1 y 2 )ẏ + y = 0 µ > 0 ẋ 1 = x 2 ẋ 2 = x 1 + µ(1 x 2 1 )x 2 Note that if µ = 0, the resulting system is [ ] [ ] [ ] ẋ1 0 1 x1 = 1 0 ẋ 2 x 2 which is LTI and has circular trajectories.

Example of Limit Cycles (Van der Pol) 25 ẋ 1 = x 2 (0 t 8) ẋ 2 = x 1 + µ(1 x 2 1 )x 2 (µ = 1)

Example of Limit Cycles (Van der Pol) 26 µ = 1, (-3,3), (-1,3), (3,3), (3,-3), (-3,3)

Example of Limit Cycles (Van der Pol) 27 µ = 0.1, (-3,3), (-1,3), (3,3), (3,-3), (-3,3)

Example of Limit Cycles (Van der Pol) 28 µ = 2, (-3,3), (-1,3), (3,3), (3,-3), (-3,3)

Example of Limit Cycles (Van der Pol) 29 [x, y]= meshgrid(-4:0.4:4, -4:0.4:4); global mu; mu=1; px=y; py=-x+mu*(1-x.*x).*y; quiver(x,y,px,py,3); [t,xx]=ode45(@vdp,[0 8],[-1;3]); plot(xx(:,1),xx(:,2), go- ); ----- function dx=vdp(t,x) global mu; dx=[x(2); -x(1)+mu*(1-x(1)*x(1))*x(2)]; end

Van der Pol Limit Cycle 30 There is only one isolated orbit (Limit Cycle). All trajectories converge to this trajectory as t, i.e., it is a stable limit cycle. µ = 1, (0.1,0.0), (2,-2)

Van der Pol Limit Cycle (Unstable) 31 µ = 0.1, (0.3,0.0), (2,-2)

Nonlinear Systems 32 Nonlinear systems expression Unforced, Autonomous, Example Equilibrium points Examples first order, second order Phase-plane analysis Vector field diagram Examples Limit cycle Van der Pol oscillator, MATLAB Lorenz attractor MATLAB Exercises

Higer-Order Systems 33 Chaos: Consider the following system of nonlinear equations (Ed Lorenz, 1963) where σ, r, b > 0. ẋ = σ(y x) ẏ = rx y xz ż = xy bz

Lorenz Attractor 34

Example of Limit Cycles (Van der Pol) 35 r = 2; c = 2; [t,xyz] = ode45( lorenz,[0,30],[5;3;1]); x = xyz(:,1); xmin = min(x); xmax = max(x); y = xyz(:,2); ymin = min(y); ymax = max(y); z = xyz(:,3); zmin = min(z); zmax = max(z); plot3(x(1:i),y(1:i),z(1:i),... x(1),y(1),z(1), or,... x(i),y(i),z(i), ob ); axis([xmin xmax ymin ymax zmin zmax]); xlabel( x ); ylabel( y ); zlabel( z );

Example of Limit Cycles (Van der Pol) 36 function xyz = lorenz(t,y) s = 10; b = 8/3; r = 28; xyz = [ -s.* y(1) + s.* y(2) r.* y(1) - y(2) - y(1).* y(3) y(1).* y(2) - b.* y(3) ]; end

Nonlinear Systems 37 Nonlinear systems expression Unforced, Autonomous, Example Equilibrium points Examples first order, second order Phase-plane analysis Vector field diagram Examples Limit cycle Van der Pol oscillator, MATLAB Lorenz attractor MATLAB Exercises

Exercises 38 For each of the following systems, (i) find the equilibrium points, (ii) plot the phase portrait, and (iii) classify each equilibrium point as stable or unstable. (a) (b) { ẋ1 = x 1 x 3 1 + x 2 ẋ 2 = x 2 { ẋ1 = x 2 + 2x 1 (x 2 1 + x2 2 ) ẋ 2 = x 1 + 2x 2 (x 2 1 + x2 2 ) (c) { ẋ1 = cos x 2 ẋ 2 = sin x 1 Find a nonlinear system in your research field and derive a state equation (a set of nonlinear first-order ordinary differential equations): ẋ = f(x, t, u), y = h(x)