CALIFORNIA INSTITUTE OF TECHNOLOGY Control and Dynamical Systems

Similar documents
CDS 101/110a: Lecture 2.1 Dynamic Behavior

CALIFORNIA INSTITUTE OF TECHNOLOGY Control and Dynamical Systems

CDS 101/110a: Lecture 2.1 Dynamic Behavior

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

CDS 101: Lecture 4.1 Linear Systems

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

CDS 101: Lecture 5-1 Reachability and State Space Feedback

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

EC Control Engineering Quiz II IIT Madras

Linear control of inverted pendulum

EEE582 Homework Problems

Lab 6a: Pole Placement for the Inverted Pendulum

CDS 101/110: Lecture 3.1 Linear Systems

Represent this system in terms of a block diagram consisting only of. g From Newton s law: 2 : θ sin θ 9 θ ` T

CDS 101/110: Lecture 3.1 Linear Systems

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

7.1 Linear Systems Stability Consider the Continuous-Time (CT) Linear Time-Invariant (LTI) system

4F3 - Predictive Control

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

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

Control Systems Design

sc Control Systems Design Q.1, Sem.1, Ac. Yr. 2010/11

LMI Methods in Optimal and Robust Control

1 (30 pts) Dominant Pole

APPPHYS 217 Tuesday 6 April 2010

1. Find the solution of the following uncontrolled linear system. 2 α 1 1

State Feedback MAE 433 Spring 2012 Lab 7

Numerics and Control of PDEs Lecture 1. IFCAM IISc Bangalore

MCE/EEC 647/747: Robot Dynamics and Control. Lecture 8: Basic Lyapunov Stability Theory

Input-to-state stability and interconnected Systems

6.245: MULTIVARIABLE CONTROL SYSTEMS by A. Megretski. Solutions to Problem Set 1 1. Massachusetts Institute of Technology

ESC794: Special Topics: Model Predictive Control

Designing Information Devices and Systems II Spring 2017 Murat Arcak and Michel Maharbiz Homework 9

Control engineering sample exam paper - Model answers

Introduction to Modern Control MT 2016

= 0 otherwise. Eu(n) = 0 and Eu(n)u(m) = δ n m

x(n + 1) = Ax(n) and y(n) = Cx(n) + 2v(n) and C = x(0) = ξ 1 ξ 2 Ex(0)x(0) = I

Lab 5a: Pole Placement for the Inverted Pendulum

CONTROL SYSTEMS LABORATORY ECE311 LAB 1: The Magnetic Ball Suspension System: Modelling and Simulation Using Matlab

EECS C128/ ME C134 Final Wed. Dec. 15, am. Closed book. Two pages of formula sheets. No calculators.

3 Stability and Lyapunov Functions

Lab 4 Numerical simulation of a crane

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

Module 03 Linear Systems Theory: Necessary Background

State Regulator. Advanced Control. design of controllers using pole placement and LQ design rules

System Control Engineering

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Electrical Engineering and Computer Science : Dynamic Systems Spring 2011

The Control of an Inverted Pendulum

Control System Design

Fuzzy modeling and control of rotary inverted pendulum system using LQR technique

Stability lectures. Stability of Linear Systems. Stability of Linear Systems. Stability of Continuous Systems. EECE 571M/491M, Spring 2008 Lecture 5

Quadratic Stability of Dynamical Systems. Raktim Bhattacharya Aerospace Engineering, Texas A&M University

MS-E2133 Systems Analysis Laboratory II Assignment 2 Control of thermal power plant

Temperature measurement

Prüfung Regelungstechnik I (Control Systems I) Übersetzungshilfe / Translation aid (English) To be returned at the end of the exam!

State space control for the Two degrees of freedom Helicopter

ECE-320: Linear Control Systems Homework 8. 1) For one of the rectilinear systems in lab, I found the following state variable representations:

The Control of an Inverted Pendulum

Laboratory handout 5 Mode shapes and resonance

Module 07 Controllability and Controller Design of Dynamical LTI Systems

Lyapunov Stability Analysis: Open Loop

Systems Analysis and Control

CDS 101 Precourse Phase Plane Analysis and Stability

Continuous Dynamics Solving LTI state-space equations גרא וייס המחלקה למדעי המחשב אוניברסיטת בן-גוריון

SYSTEMTEORI - ÖVNING 5: FEEDBACK, POLE ASSIGNMENT AND OBSERVER

Problem Set 3: Solution Due on Mon. 7 th Oct. in class. Fall 2013

Time- and Energy-Based Stability

Nonlinear Control Lecture 1: Introduction

Chap 8. State Feedback and State Estimators

ECEn 483 / ME 431 Case Studies. Randal W. Beard Brigham Young University

QUALIFYING EXAM IN SYSTEMS ENGINEERING

Math 1302, Week 8: Oscillations

Automatic Control II Computer exercise 3. LQG Design

Chapter 2 SDOF Vibration Control 2.1 Transfer Function

Systems of Ordinary Differential Equations

Automatic Control 2. Model reduction. Prof. Alberto Bemporad. University of Trento. Academic year

EE C128 / ME C134 Midterm Fall 2014

Nonlinear Control. Nonlinear Control Lecture # 24 State Feedback Stabilization

1 x(k +1)=(Φ LH) x(k) = T 1 x 2 (k) x1 (0) 1 T x 2(0) T x 1 (0) x 2 (0) x(1) = x(2) = x(3) =

Stability of Parameter Adaptation Algorithms. Big picture

Inverted Pendulum. Objectives

Introduction to Nonlinear Control Lecture # 3 Time-Varying and Perturbed Systems

EE363 homework 8 solutions

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

EE C128 / ME C134 Final Exam Fall 2014

El péndulo invertido: un banco de pruebas para el control no lineal. XXV Jornadas de Automática

Linearization problem. The simplest example

UNIVERSITY OF BOLTON SCHOOL OF ENGINEERING MSC SYSTEMS ENGINEERING AND ENGINEERING MANAGEMENT SEMESTER 2 EXAMINATION 2016/2017

ECEEN 5448 Fall 2011 Homework #4 Solutions

Introduction to Modern Control MT 2016

Question: Total. Points:

Appendix A: Exercise Problems on Classical Feedback Control Theory (Chaps. 1 and 2)

Module 08 Observability and State Estimator Design of Dynamical LTI Systems

ACM/CMS 107 Linear Analysis & Applications Fall 2016 Assignment 4: Linear ODEs and Control Theory Due: 5th December 2016

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Mechanical Engineering Dynamics and Control II Fall 2007

LMI Methods in Optimal and Robust Control

1. Type your solutions. This homework is mainly a programming assignment.

CDS Solutions to Final Exam

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

Lab 3: Quanser Hardware and Proportional Control

Transcription:

CDS 101 1. For each of the following linear systems, determine whether the origin is asymptotically stable and, if so, plot the step response and frequency response for the system. If there are multiple inputs or outputs, plot the response for each pair of inputs and outputs. (a) Coupled mass spring system. Consider the coupled mass spring system from Example 5.5 with m 250, k 50 and c 10. The input u(t) is the force applied to the right-most spring. (b) Bridged Tee Circuit. Consider the following electrical circuit, with input v i and output y v o. C 2 1 2 3 v i ~ R 1 R 2 C 1 v o The dynamics are given by d v ( ) c1 1 1 dt y 0 1 v c1 + v i, C 1 R 2 v ( ) 1 1 c1 + v i, 1 where v c1 and are the voltages across the two capacitors. Assume that R 1 100 Ω, R 2 100 Ω and C 1 C 2 1 10 6 F. 2. Consider the balance system described in Example 2.1 of the text, using the following parameters: M 10 kg, m 80 kg, J 100 kg m 2, c 0.1 N/m/sec, l 1 m, γ 0.01 Nms, g 9.8 m/s 2. This system has been modeled in SIMULINK in the file balance_simple.mdl, available from the course web page. (Note: in the SIMULINK model, the output has been set to include all of the states (y x). You will need this for part (c) below.)

(a) Use the MATLAB linmod command to numerically compute the linearization of the original nonlinear system at the equilibrium point (x, θ,ẋ, θ) (0, 0, 0, 0). Compare the eigenvalues of the analytical linearization (from the text) to those of the one you obtained with linmod and verify they agree. (Make sure to look at the errata sheet for the text; there are some small glitches in the equations listed in both Example 2.1 and Example 6.7.) (b) We can design a stabilizing control law for this system using state feedback, which is a control law of the form u Kx (we will learn about this more next week). The closed loop system under state feedback has the form dz dt (A BK)z. Show that the following state feedback stabilizes the linearization of the inverted pendulum on a cart: K [ 15.3 1730 50 443]. (c) Now build a simulation for the closed loop, nonlinear system in SIMULINK. Use the file balance_simple.mdl for the nonlinear equations of motion in it (you should look in the file and try to understand how it works). Simulate several different initial conditions and show that the controller locally asymptotically stabilizes the system to x e from these initial conditions. Include plots of a representative simulation for an initial condition that is in the region of attraction of the controller and one that is outside the region of attraction. 2

CDS 110a 1. For each of the following linear systems, determine whether the origin is asymptotically stable and, if so, plot the step response and frequency response for the system. If there are multiple inputs or outputs, plot the response for each pair of inputs and outputs. (a) Coupled mass spring system. Consider the coupled mass spring system from Example 5.5 with m 250, k 50 and c 10. The input u(t) is the force applied to the right-most spring. (b) Bridged Tee Circuit. Consider the following electrical circuit, with input v i and output y v o. C 2 1 2 3 v i ~ R 1 R 2 C 1 v o The dynamics are given by d v ( ) c1 1 1 dt y 0 1 v c1 + v i, C 1 R 2 v ( ) 1 1 c1 + v i, 1 where v c1 and are the voltages across the two capacitors. Assume that R 1 100 Ω, R 2 100 Ω and C 1 C 2 1 10 6 F. 2. Consider the balance system described in Example 2.1 of the text, using the following parameters: M 10 kg, m 80 kg, J 100 kg m 2, c 0.1 N/m/sec, l 1 m, γ 0.01 Nms, g 9.8 m/s 2. This system has been modeled in SIMULINK in the file balance_simple.mdl, available from the course web page. (Note: in the SIMULINK model, the output has been set to include all of the states (y x). You will need this for part (c) below.)

(a) Use the MATLAB linmod command to numerically compute the linearization of the original nonlinear system at the equilibrium point (x, θ,ẋ, θ) (0, 0, 0, 0). Compare the eigenvalues of the analytical linearization (from the text) to those of the one you obtained with linmod and verify they agree. (Make sure to look at the errata sheet for the text; there are some small glitches in the equations listed in both Example 2.1 and Example 6.7.) (b) We can design a stabilizing control law for this system using state feedback, which is a control law of the form u Kx (we will learn about this more next week). The closed loop system under state feedback has the form dz dt (A BK)z. Show that the following state feedback stabilizes the linearization of the inverted pendulum on a cart: K [ 15.3 1730 50 443]. (c) Now build a simulation for the closed loop, nonlinear system in SIMULINK. Use the file balance_simple.mdl for the nonlinear equations of motion in it (you should look in the file and try to understand how it works). Simulate several different initial conditions and show that the controller locally asymptotically stabilizes the system to x e from these initial conditions. Include plots of a representative simulation for an initial condition that is in the region of attraction of the controller and one that is outside the region of attraction. 3. Åström and Murray, Exercise 5.7 4. Åström and Murray, Exercise 5.8, parts (a) through (c). For part (a), note that the equation can also be written as. k 1 x[k] CA k x 0 + CA i Bu[k i] + Du[k] i0 For part (b), you can assume that the matrix A has a full basis of eigenvectors. For part (c), use input u[k] sin ωk. 4

CDS 210 1. Åström and Murray, Exercise 5.5 2. Åström and Murray, Exercise 5.6 3. Åström and Murray, Exercise 5.8, parts (a) through (c). For part (a), note that the equation can also be written as. k 1 x[k] CA k x 0 + CA i Bu[k i] + Du[k] i0 For part (b), you can assume that the matrix A has a full basis of eigenvectors. For part (c), use input u[k] sin ωk. 4. Using LMI to prove stability. (a) Download YALMIP from the web (see instructions on the class wiki.) Consider the following system ẋ 1 ẋ 2. ẋ n ẋ n+1 c 1 r 2 0 σ k 1 c 2 0 0. r n. 0 0 c n r n+1 0 0 bk n d n+1 aσ where c i r i + k i, b 2, a 1, d n+1 1 + r n+1. x 1 x 2. x n x n+1 (b) Let σ 0.2 and n 50. Generate random values for the parameters r i, k i > 0. Using the Lyapunov inequality AP + PA T < Id prove that the system is stable. Check that P is positive definite. What if we take σ 1. (c) Let r i 0.2, k i 0.8, i and n 10. Using the Lyapunov inequality find the smallest negative σ for which the system is still stable (Try different values of σ, search for P, and check that the problem is feasable.)