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

Similar documents
ECEN 420 LINEAR CONTROL SYSTEMS. Lecture 6 Mathematical Representation of Physical Systems II 1/67

In the presence of viscous damping, a more generalized form of the Lagrange s equation of motion can be written as

CDS 101/110a: Lecture 2.1 Dynamic Behavior

CDS 101/110a: Lecture 2.1 Dynamic Behavior

Chapter 6. Second order differential equations

Nonlinear Control Lecture 1: Introduction

MCE 366 System Dynamics, Spring Problem Set 2. Solutions to Set 2

Linearization problem. The simplest example

!T = 2# T = 2! " The velocity and acceleration of the object are found by taking the first and second derivative of the position:

Chapter 9 Global Nonlinear Techniques

Lecture 9: Eigenvalues and Eigenvectors in Classical Mechanics (See Section 3.12 in Boas)

Stability of Nonlinear Systems An Introduction

EE Homework 3 Due Date: 03 / 30 / Spring 2015

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

Contents. Dynamics and control of mechanical systems. Focus on

I Laplace transform. I Transfer function. I Conversion between systems in time-, frequency-domain, and transfer

Simple Harmonic Motion

School of Engineering Faculty of Built Environment, Engineering, Technology & Design

ECE557 Systems Control

The Inverted Pendulum

! 4 4! o! +! h 4 o=0! ±= ± p i And back-substituting into the linear equations gave us the ratios of the amplitudes of oscillation:.»» = A p e i! +t»»

CP1 REVISION LECTURE 3 INTRODUCTION TO CLASSICAL MECHANICS. Prof. N. Harnew University of Oxford TT 2017

Linear Systems Theory

Simple Harmonic Motion

Robot Control Basics CS 685

Lab 6a: Pole Placement for the Inverted Pendulum

Rotational Kinetic Energy

Definition of differential equations and their classification. Methods of solution of first-order differential equations

Wave Phenomena Physics 15c

ME8230 Nonlinear Dynamics

CALIFORNIA INSTITUTE OF TECHNOLOGY Control and Dynamical Systems

Wave Phenomena Physics 15c

2.003 Quiz #1 Review

Lecture Note 1: Background

Math 322. Spring 2015 Review Problems for Midterm 2

APPPHYS 217 Tuesday 6 April 2010

Modeling and Experimentation: Compound Pendulum

ECE 422/522 Power System Operations & Planning/Power Systems Analysis II : 7 - Transient Stability

Analog Signals and Systems and their properties

Consider a particle in 1D at position x(t), subject to a force F (x), so that mẍ = F (x). Define the kinetic energy to be.

Springs and Dampers. MCE371: Vibrations. Prof. Richter. Department of Mechanical Engineering. Handout 2 Fall 2017

NORMAL MODES, WAVE MOTION AND THE WAVE EQUATION. Professor G.G.Ross. Oxford University Hilary Term 2009

Simple Harmonic Motion Concept Questions

Lecture Notes of EE 714

Symmetries 2 - Rotations in Space

MEM 255 Introduction to Control Systems: Modeling & analyzing systems

Linear control of inverted pendulum

Math 266: Ordinary Differential Equations

General Physics (PHY 2130)

EE C128 / ME C134 Final Exam Fall 2014

EE 16B Midterm 2, March 21, Name: SID #: Discussion Section and TA: Lab Section and TA: Name of left neighbor: Name of right neighbor:

Mathematical Models. MATH 365 Ordinary Differential Equations. J. Robert Buchanan. Spring Department of Mathematics

Variation Principle in Mechanics

Chapter 13 Lecture. Essential University Physics Richard Wolfson 2 nd Edition. Oscillatory Motion Pearson Education, Inc.

Fundamentals Physics. Chapter 15 Oscillations

Mathematical Models. MATH 365 Ordinary Differential Equations. J. Robert Buchanan. Fall Department of Mathematics

28. Pendulum phase portrait Draw the phase portrait for the pendulum (supported by an inextensible rod)

Lecture 9 Nonlinear Control Design

=================~ NONHOMOGENEOUS LINEAR EQUATIONS. rn y" - y' - 6y = 0. lid y" + 2y' + 2y = 0, y(o) = 2, y'(0) = I

Mass on a Spring C2: Simple Harmonic Motion. Simple Harmonic Motion. Announcements Week 12D1

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

Examination paper for TMA4195 Mathematical Modeling

Chapter 14 Periodic Motion

21.55 Worksheet 7 - preparation problems - question 1:

Classical Mechanics Comprehensive Exam Solution

Harmonic Oscillator - Model Systems

PH.D. PRELIMINARY EXAMINATION MATHEMATICS

In-Class Problems 30-32: Moment of Inertia, Torque, and Pendulum: Solutions

Cross Product Angular Momentum

Daba Meshesha Gusu and O.Chandra Sekhara Reddy 1

State Space Representation

7 Pendulum. Part II: More complicated situations

Rutgers University Department of Physics & Astronomy. 01:750:271 Honors Physics I Fall Lecture 20 JJ II. Home Page. Title Page.

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

Video 8.1 Vijay Kumar. Property of University of Pennsylvania, Vijay Kumar

Numerics and Control of PDEs Lecture 1. IFCAM IISc Bangalore

Topic # Feedback Control

Center of Gravity. The location of the center of gravity is defined by: n mgx. APSC 111 Review Page 7

Dynamic Modeling. For the mechanical translational system shown in Figure 1, determine a set of first order

Physics 41 HW Set 1 Chapter 15 Serway 8 th ( 7 th )

APPLICATIONS OF SECOND-ORDER DIFFERENTIAL EQUATIONS

CHAPTER 12 OSCILLATORY MOTION

7.3 State Space Averaging!

Chapter 12. Recall that when a spring is stretched a distance x, it will pull back with a force given by: F = -kx

Problem Set Number 01, MIT (Winter-Spring 2018)

Oscillations. Oscillations and Simple Harmonic Motion

Oscillations and Waves

First Year Physics: Prelims CP1. Classical Mechanics: Prof. Neville Harnew. Problem Set III : Projectiles, rocket motion and motion in E & B fields

AP Physics 1. Course Overview

Physics 8 Monday, October 28, 2013

State-space models 2 2 nd order ODEs

Modeling and Simulation Revision III D R. T A R E K A. T U T U N J I P H I L A D E L P H I A U N I V E R S I T Y, J O R D A N

Lecture Outline Chapter 11. Physics, 4 th Edition James S. Walker. Copyright 2010 Pearson Education, Inc.

Control Systems I. Lecture 2: Modeling. Suggested Readings: Åström & Murray Ch. 2-3, Guzzella Ch Emilio Frazzoli

Differential Equations (Math 217) Practice Midterm 1

Mass on a Horizontal Spring

Robotics. Dynamics. Marc Toussaint U Stuttgart

Problem Solving Session 10 Simple Harmonic Oscillator Solutions

Mechanical Energy and Simple Harmonic Oscillator

Torque. Physics 6A. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

Transcription:

Plan of the Lecture Review: control, feedback, etc Today s topic: state-space models of systems; linearization Goal: a general framework that encompasses all examples of interest Once we have mastered this framework, we can proceed to analysis and then to design Reading: FPE, Sections 11, 12, 21 24, 72, 921 Chapter 2 has lots of cool examples of system models!!

Notation Reminder We will be looking at dynamic systems whose evolution in time is described by differential equations with external inputs We will not write the time variable t explicitly, so we use etc x instead of x(t) ẋ instead of x (t) or dx dt ẍ instead of x (t) or d2 x dt 2

Example 1: Mass-Spring System x m u Newton s second law (translational motion): }{{} F = ma = spring force + friction + external force total force spring force = kx friction force = ρẋ (Hooke s law) mẍ = kx ρẋ + u Move x, ẋ, ẍ to the LHS, u to the RHS: (Stokes law linear drag, only an approximation!!) ẍ + ρ mẋ + k m x = u m 2nd-order linear ODE

Example 1: Mass-Spring System x m u ẍ + ρ mẋ + k m x = u m 2nd-order linear ODE Canonical form: convert to a system of 1st-order ODEs ẋ = v (definition of velocity) v = ρ m v k m x + 1 m u

Example 1: Mass-Spring System x m u State-space model: express in matrix form (ẋ ) ( 0 1 = v k m ρ m ) ( ) ( ) x 0 + 1 u v m Important: start reviewing your linear algebra now!! matrix-vector multiplication; eigenvalues and eigenvectors; etc

General n-dimensional State-Space Model state x = ẋ 1 ẋ n = x 1 x n R n input u = A n n matrix x 1 x n + B u 1 u m n m matrix R m u 1 u m ẋ = Ax + Bu

Partial Measurements state x = output y = x 1 x n y 1 y p R n input u = u 1 u m R m R p y = Cx C p n matrix ẋ = Ax + Bu y = Cx Example: if we only care about (or can only measure) x 1, then x 1 y = x 1 = ( 1 0 0 ) x 2 x n

State-Space Models: Bottom Line ẋ = Ax + Bu y = Cx State-space models are useful and convenient for writing down system models for different types of systems, in a unified manner When working with state-space models, what are states and what are inputs? match against ẋ = Ax + Bu

Example 2: RL Circuit V S + + V R I + V L V S + V R + V L = 0 V R = RI V L = LI V S + RI + L I = 0 Kirchhoff s voltage law Ohm s law Faraday s law I = R L I + 1 L V S (1st-order system) I state, V S input Q: How should we change the circuit in order to implement a 2nd-order system? A: Add a capacitor

Example 3: Pendulum ` mg sin mg T e external torque Newton s 2nd law (rotational motion): T }{{} total torque = J }{{} moment of inertia α }{{} angular acceleration = pendulum torque + external torque pendulum torque = mg sin θ }{{} }{{} l force lever arm moment of inertia J = ml 2 mgl sin θ + T e = ml 2 θ θ = g l sin θ + 1 ml 2T e (nonlinear equation)

Example 3: Pendulum θ = g l sin θ + 1 ml 2T e For small θ, use the approximation sin θ θ sin Θ Θ 3 2 1 3 2 1 1 2 3 1 2 3 ( θ1 θ 2 ) = ( 0 1 g l 0 (nonlinear equation) θ = g l θ + 1 ml 2 T e State-space form: θ 1 = θ, θ 2 = θ θ 2 = g l θ + 1 ml 2 T e = g l θ 1 + 1 ml 2 T e ) ( ) θ1 θ 2 + ( 0 1 ml 2 ) T e

Linearization Taylor series expansion: f(x) = f(x 0 ) + f (x 0 )(x x 0 ) + 1 2 f (x 0 )(x x 0 ) 2 + f(x 0 ) + f (x 0 )(x x 0 ) linear approximation around x = x 0 Control systems are generally nonlinear: ẋ = f(x, u) x = x 1 x n u = u 1 u m f = f 1 f n nonlinear state-space model Assume x = 0, u = 0 is an equilibrium point: f(0, 0) = 0 This means that, when the system is at rest and no control is applied, the system does not move

Linearization Linear approx around (x, u) = (0, 0) to all components of f: For each i = 1,, n, ẋ 1 = f 1 (x, u),, ẋ n = f n (x, u) f i (x, u) = f i (0, 0) }{{} =0 + f i x 1 (0, 0)x 1 + + f i x n (0, 0)x n + f i u 1 (0, 0)u 1 + + f i u m (0, 0)u m Linearized state-space model: ẋ = Ax + Bu, where A ij = f i x j x=0 u=0, B ik = f i u k x=0 u=0 Important: since we have ignored the higher-order terms, this linear system is only an approximation that holds only for small deviations from equilibrium

Example 3: Pendulum, Revisited Original nonlinear state-space model: θ 1 = f 1 (θ 1, θ 2, T e ) = θ 2 already linear θ 2 = f 2 (θ 1, θ 2, T e ) = g l sin θ 1 + 1 ml 2 T e Linear approx of f 2 around equilibrium (θ 1, θ 2, T e ) = (0, 0, 0): f 2 = g θ 1 l cos θ 1 f 2 = g θ 1 l 0 f 2 = 0 θ 2 f 2 = 0 θ 2 0 Linearized state-space model of the pendulum: θ 1 = θ 2 θ 2 = g l θ 1 + 1 ml 2T e f 2 = 1 T e ml 2 f 2 = 1 T e ml 2 0 valid for small deviations from equ

General Linearization Procedure Start from nonlinear state-space model ẋ = f(x, u) Find equilibrium point (x 0, u 0 ) such that f(x 0, u 0 ) = 0 Note: different systems may have different equilibria, not necessarily (0, 0), so we need to shift variables: x = x x 0 u = u u 0 f(x, u) = f(x + x 0, u + u 0 ) = f(x, u) Note that the transformation is invertible: x = x + x 0, u = u + u 0

General Linearization Procedure Pass to shifted variables x = x x 0, u = u u 0 ẋ = ẋ (x 0 does not depend on t) = f(x, u) = f(x, u) equivalent to original system The transformed system is in equilibrium at (0, 0): f(0, 0) = f(x 0, u 0 ) = 0 Now linearize: ẋ = Ax + Bu, where A ij = f i f i, B x j ik = x=x0 u k u=u 0 x=x0 u=u 0

General Linearization Procedure Why do we require that f(x 0, u 0 ) = 0 in equilibrium? This requires some thought Indeed, we may talk about a linear approximation of any smooth function f at any point x 0 : f(x) f(x 0 )+f (x 0 )(x x 0 ) f(x 0 ) does not have to be 0 The key is that we want to approximate a given nonlinear system ẋ = f(x, u) by a linear system ẋ = Ax + Bu (may have to shift coordinates: x x x 0, u u u 0 ) Any linear system must have an equilibrium point at (x, u) = (0, 0): f(x, u) = Ax + Bu f(0, 0) = A0 + B0 = 0