CALIFORNIA INSTITUTE OF TECHNOLOGY Control and Dynamical Systems

Similar documents
CDS 110: Lecture 2-2 Modeling Using Differential Equations

EXAMPLE: MODELING THE PT326 PROCESS TRAINER

CDS 101: Lecture 2.1 System Modeling

6.003 Homework #6. Problems. Due at the beginning of recitation on October 19, 2011.

Manufacturing Equipment Control

ME 563 HOMEWORK # 7 SOLUTIONS Fall 2010

ET3-7: Modelling I(V) Introduction and Objectives. Electrical, Mechanical and Thermal Systems

CALIFORNIA INSTITUTE OF TECHNOLOGY Control and Dynamical Systems

AMME3500: System Dynamics & Control

6.003 Homework #6 Solutions

Index. Index. More information. in this web service Cambridge University Press

Oscillatory Motion SHM

MAE143A Signals & Systems, Final Exam - Wednesday March 16, 2005

International Journal of Multidisciplinary and Current Research

Modeling and Experimentation: Mass-Spring-Damper System Dynamics

Simple Harmonic Motion and Damping

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

In this lecture you will learn the following

MAE143 B - Linear Control - Spring 2018 Midterm, May 3rd

CHAPTER INTRODUCTION

Dr. Ian R. Manchester

2.004 Dynamics and Control II Spring 2008

MATH2351 Introduction to Ordinary Differential Equations, Fall Hints to Week 07 Worksheet: Mechanical Vibrations

PHYSICS. Chapter 15 Lecture FOR SCIENTISTS AND ENGINEERS A STRATEGIC APPROACH 4/E RANDALL D. KNIGHT Pearson Education, Inc.

Introduction to Process Control

CDS 101: Lecture 2.1 System Modeling. Lecture 1.1: Introduction Review from to last Feedback week and Control

CDS 101: Lecture 2.1 System Modeling

Impact. m k. Natural Period of Vibration τ. Static load Gray area Impact load t > 3 τ. Absorbing energy. Carrying loads

Simple Car Dynamics. Outline. Claude Lacoursière HPC2N/VRlab, Umeå Universitet, Sweden, May 18, 2005

Dynamic Performance Characteristics. Dynamic Performance Characteristics. Rapid Change in Input

PreClass Notes: Chapter 13, Sections

Chapter 14 Oscillations. Copyright 2009 Pearson Education, Inc.

Engineering Science OUTCOME 2 - TUTORIAL 3 FREE VIBRATIONS

16.07 Dynamics. Problem Set 3

Lab 11 - Free, Damped, and Forced Oscillations

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

MAE106 Laboratory Exercises Lab # 6 - Vibrating systems

Chapter 14 Preview Looking Ahead

Chapter 14 Oscillations

Dr Ian R. Manchester Dr Ian R. Manchester AMME 3500 : Review

Forced Oscillation and Resonance

Forced Oscillations in a Linear System Problems

Chapter 14 Oscillations. Copyright 2009 Pearson Education, Inc.

Chapter 5 Design. D. J. Inman 1/51 Mechanical Engineering at Virginia Tech

Phys 1401: General Physics I

Chapter 14 Oscillations

2.72 Elements of Mechanical Design

Chapter 14. Oscillations. Oscillations Introductory Terminology Simple Harmonic Motion:

Analysis and Design of an Electric Vehicle using Matlab and Simulink

CONTROL SYSTEMS ENGINEERING Sixth Edition International Student Version

Section 3.7: Mechanical and Electrical Vibrations

Experiment 81 - Design of a Feedback Control System

Analytical Mechanics - Extra Problems

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Mechanical Engineering 2.04A Systems and Controls Spring 2013

CHAPTER 3 QUARTER AIRCRAFT MODELING

WEEKS 8-9 Dynamics of Machinery

Final Review, Day 1. Announcements: Web page:

Finite Element Modules for Demonstrating Critical Concepts in Engineering Vibration Course

VIBRATION ANALYSIS OF E-GLASS FIBRE RESIN MONO LEAF SPRING USED IN LMV

Homework Assignment 4 Root Finding Algorithms The Maximum Velocity of a Car Due: Friday, February 19, 2010 at 12noon

Chapter 7 Hooke s Force law and Simple Harmonic Oscillations

2.010 Fall 2000 Solution of Homework Assignment 1

EE C128 / ME C134 Midterm Fall 2014

Mechatronics Assignment # 1

Vibration Control Prof. Dr. S. P. Harsha Department of Mechanical & Industrial Engineering Indian Institute of Technology, Roorkee

Physics with Matlab and Mathematica Exercise #1 28 Aug 2012

4.2. Visualize: Assess: Note that the climber does not touch the sides of the crevasse so there are no forces from the crevasse walls.

Flat disk Hollow disk Solid sphere. Flat plate Hollow plate Solid block. n y n O O O

EQUIVALENT SINGLE-DEGREE-OF-FREEDOM SYSTEM AND FREE VIBRATION

e jωt = cos(ωt) + jsin(ωt),

Chapter 7 Control. Part Classical Control. Mobile Robotics - Prof Alonzo Kelly, CMU RI

ES205 Analysis and Design of Engineering Systems: Lab 1: An Introductory Tutorial: Getting Started with SIMULINK

Physics 106a/196a Problem Set 7 Due Dec 2, 2005

Fuzzy Logic Control for Half Car Suspension System Using Matlab

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

CDS 101/110a: Lecture 1.1 Introduction to Feedback & Control. CDS 101/110 Course Sequence

The basic principle to be used in mechanical systems to derive a mathematical model is Newton s law,

PHYSICS 221, FALL 2010 FINAL EXAM MONDAY, DECEMBER 13, 2010

Step Response of First-Order Systems

Physics 231 Lecture 18

CDS 101: Lecture 4.1 Linear Systems

Chapter 15. Oscillatory Motion

Physics 326 Lab 6 10/18/04 DAMPED SIMPLE HARMONIC MOTION

Simple Harmonic Motion

Lectures Chapter 10 (Cutnell & Johnson, Physics 7 th edition)

Rotary Motion Servo Plant: SRV02. Rotary Experiment #11: 1-DOF Torsion. 1-DOF Torsion Position Control using QuaRC. Student Manual

PH 120 Project # 2: Pendulum and chaos

Laboratory handout 5 Mode shapes and resonance

Methodology for modeling, parameter estimation, and validation of powertrain torsional vibration

CDS 101/110: Lecture 3.1 Linear Systems

PHYSICS 211 LAB #8: Periodic Motion

Process Control & Instrumentation (CH 3040)

Exercises Lecture 15

Phys 1401: General Physics I

EE 474 Lab Part 2: Open-Loop and Closed-Loop Control (Velocity Servo)

CALIFORNIA INSTITUTE OF TECHNOLOGY Control and Dynamical Systems

Name: Fall 2014 CLOSED BOOK

Pleeeeeeeeeeeeeease mark your UFID, exam number, and name correctly. 20 problems 3 problems from exam 2

Momentum and Impulse Challenge Problems Problem 1: Estimation

Simulink Modeling Tutorial

Transcription:

R. M. Murray Fall 2004 CALIFORNIA INSTITUTE OF TECHNOLOGY Control and Dynamical Systems CDS 101/110 Homework Set #2 Issued: 4 Oct 04 Due: 11 Oct 04 Note: In the upper left hand corner of the first page of your homework set, please put the class you are taking (CDS 101, CDS 110) and the number of hours that you spent on this homework set (including reading). All students should complete the following problems: 1. Consider the following block diagram of the flight control system of a fly: Using the paper Vision as a Compensatory Mechanism for Disturbance Rejection in Upwind Flight by Reiser et al. (available via the course web page), identify the state, input, outputs, and dynamics for each block in the diagram. You may give you answer in words, but be precise as possible. (Hint: not all of the blocks are dynamic ; some are static maps with inputs and outputs, but no state.) 2. (MATLAB/SIMULINK) In this problem you will build a model of a vehicle in SIMULINK and control the vehicle using feedback control. The vehicle will consist of a body (chassis + wheels) and a drive train (engine + transmission). Assume that the vehicle dynamics are of the form m v = bv + F engine + F hill where m = 1000 kg is the mass of the vehicle, b = 50 N sec/m is the viscous damping coefficient, and F engine and F hill represent the forces on the vehicle due to the engine and the terrain, respectively. We can implement this in SIMULINK as a two input, one output system, written in state space form as ẋ v = [ b/m ] x v + [ 1/m 1/m ] u v (1) y v = x v

where x v = v is the vehicle state, u v = [ ] T F engine F hill is the vehicle input (two dimensional), and y v = v is the vehicle output (velocity). You should make this into a single SIMULINK block using the State Space block (under Simulink Continuous State Space in the Simulink Library Browser). You may also want to use the Mux block (under Signals & Systems). We will model the engine dynamics as a first order lag. Let τ represent the engine torque and assume the engine has the following dynamics: τ = aτ + u e y e = Kτ (2) where a = 0.2 is the lag coefficient, K = 5 is the conversion factor between engine torque and force applied to the vehicle (representing the transmission) and u e is the accelerator input (which we will assume has the proper units). You should also create a SIMULINK block for this subsystem. Finally, we include the effects of a hill. The hill simply exerts a force on the car that is based on the angle of the hill: F hill = mg sin(θ) (3) where g = 9.8 kg m/sec 2 and θ = π/18 is the angle of the hill (10 degrees). (a) Plot the output of the open loop vehicle model (1) for a step input of F engine = 500 Newtons (assume F hill = 0). What is the rise time (0 to 95% of the final value)? (b) Plot the output of the open loop engine model (2) for a step input of u e = 100 Nm. What is the rise time? (c) In the homework from last week, you built a simple cruise controller. Replace the vehicle/engine model in that system with your vehicle and engine models and plot the response for the default gains (K i = 50, K p = 1000). Make sure to set your simulation time to be sufficiently long. (d) Now include the effect of a hill on your system. You should model the system so that the car is initially on a flat surface and then encounters the hill at T = 100 seconds. Plot the response of the system and compute the rise time. Note: if you are having trouble figuring out how to create these blocks in SIMULINK, take a look at hw1cruise.mdl from last week s homework and see if you can modify it appropriately. It has all of the subsystems you will need (except for the Mux block). You may also find the following web-based tutorial helpful: http://www.engin.umich.edu/group/ctm/examples/cruise/cc.html (ignore the sections on transfer functions; we will get to these later in the class). Only CDS 110a students need to complete the following additional problems: 3. Consider the following discrete time system z[k + 1] = Az[k] + Bu[k] y[k + 1] = Cz[k + 1] 2

where z = [ z1 z 2 ] [ ] a11 a A = 12 0 a 22 B = [ ] 0 1 C = [ 1 0 ] In this problem, we will explore some of the properties of this discrete time system as a function of the parameters, the initial conditions, and the inputs. (a) Assume that the off diagonal element a 12 = 0 and that there is no input, u = 0. Write a closed form expression for the output of the system from a nonzero initial condition z[0] = (z 1 [0], z 2 [0]) and give conditions on a 11 and a 22 under which the output gets smaller as k gets larger. (b) Now assume that a 12 0 and write a closed form expression for the response of the system from a nonzero initial conditions. Given a condition on the elements of A under which the output gets smaller as k gets larger. (c) Write a MATLAB program to plot the output of the system in response to a unit step input, u[k] = 1, k 0. Plot the response of your system with z[0] = 0 and A given by [ ] 0.5 1 A = 0 0.25 4. In this problem we will look at how to play with fire without getting burned. The system we want to consider is a finger being moved back and forth across a flame, as shown below: x f = 0 x f = 1 finger (axial view) flame The description of the system is as follows: The temperature of a finger is regulated by an internal feedback mechanism. To first order, we will say that heat is convected away by blood flow, at a rate F b = α b (T f T b ) where T f is the temperature of the fingertip, T b is the temperature of the blood, and α b is the convection coefficient (the F signifies the heat flux). A flame gives off heat into the ambient air, and we assume a steady-state temperature field around the flame. The ambient air far from the flame is at 25 degrees Celsius. The flame is fixed at x F = 1, and fingertip begins at a position x f = 0, where the ambient air is precisely at the same temperature as the blood. 3

Suppose that the temperature of the air varies exponentially with distance from the flame, so ( ) Tb 25 (x 1) 2 T a (x) = 25 + (T F 25) T F 25 where T F is the flame temperature. Heat convects into the finger from the ambient air at a rate F a = α a (T a T f ). The dynamics of the fingertip temperature is given by where c f is the fingertip thermal capacity. c f T f = F b + F a The fingertip is rapidly passed into and out of the flame, according to x f (t) = sin(ωt). Using the MATLAB ode45 function (or something similar), build a model for the system and solve the following: (a) Assume that the finger moves sinusoidally in and out of the flame at frequency ω = 1 rad/sec. Plot the temperature of the finger as a function of time and identify the transient and steady state response. (b) Plot the steady state amplitude of the finger temperature as a function of the ω for ω ranging from 1 to 100 rad/sec. You should get something similar to the frequency response plot shown in lecture on Monday. You should compute at least 5 points in your graph. (c) Double the gain of the temperature control system by increasing α b by a factor of 2. Replot the frequency response from part 4b and describe in words how it differs from the original gain (i.e., where is the response bigger, smaller or unchanged and what is the reason). You should use the following parameter values in your simulations: T b = 37, T F = 1400 degrees Celsius. αa c f α b c f = 1 s 1 = 20, 40 s 1 4

Supplemental problems: If you like, you may do any one problems of the following problems in place of Problem 4. These problems make use of domain-specific knowledge and so you should only do them if you are comfortable with that problem area. In addition, these problems are experimental in nature and you should ask questions quickly if you get stuck (it might not be your fault!). 5. Consider a chemical reactor in which species A undergoes a first-order, exothermic conversion to species B. To remove the heat of reaction, a jacket surrounds the reactor where a coolant is maintained at 100 o F. Suppose that such a reactor is performing at steady-state conditions provided in the table below: Inevitably, under normal process conditions, the reactor will experience disturbances in the inlet temperature (T i (t)) and concentration of species A (c Ai (t)) in the input stream. Thus, we would like to know what impact these fluctuations in inlet conditions might have on the concentration of species A (c A (t)) and the temperature (T (t)) of the effluent stream. Suggestions: Assume that the reactor contents are well-mixed and that the heat capacity (C p ) and density (ρ) of reactants and products are equal. (a) Develop a set of equations that could be used to predict temporal changes in effluent temperature and species A concentration (T (t) and c A (t), respectively). (b) Since we are interested in deviations in process variables, it is useful to reformulate the above equations in terms of deviation variables. A deviation variable (Y ) for a process variable (Y ) is defined as Y Y Y where Y is the steady-state value. Reformulate equations in terms of such deviation variables, and solve for c A (t) and T (t). (c) Plot c A (t) and T (t) versus time for the following cases: (a) T i (t) = 5o R and (b) T i (t) = 10o R. Explain the observed behavior of the reactor. Does it always return to the same steady-state value? Is the dynamic response smooth or oscillatory? 5

6. In this problem we will explore a simple example of a suspension system for a vehicle. In general, mechanical systems respond differently to different inputs. One categorization of inputs is in terms of frequency content. We will analytically study a simple mechanical system to understand its response to the three kinds of inputs shown in the figure below: 0.5 ω = 1 0 0.5 3 2 1 0 1 2 3 0.5 ω = 10 0 0.5 3 2 1 0 1 2 3 0.5 Impulse 0 0.5 3 2 1 0 1 2 3 Time One aspect of a car s dynamics is the interaction of the car chassis with the suspension. As a crude model, we will treat the chassis as a lumped mass m b, and the suspension as a linear stiffness with constant k s. We will also assume that the suspension includes a viscous damper (shock-absorber) with damping coefficient b s. Newtonian mechanics gives the following differential equation for the body dynamics: m b q + b s q + k s q = f(t). Here, f(t) is the input force from the ground. The three inputs shown represent relatively smooth road, very bumpy road, and a single isolated bump. (a) Setting f(t) = sin(ωt), analytically solve the differential equation for the steady-state solution, in terms of the system parameters m b, b s, k s, and the driving frequency ω. Assume b 2 s < 4m b k s so that the system is underdamped (typical of this kind of mechanical system). (b) Sketch the amplitude of the steady-state response as function of the driving frequency ω. Identify the maximum of this plot in terms of the model parameters. (c) The parameters that enter a model influence its behavior. Consider the limiting cases ω ks m b and ω ks m b. What does your amplitude plot tell you about the response to these two different frequencies? What about inputs near this frequency? (d) The third input shown is called an impulse, and is usually modeled as discontinuously altering the velocity of the system. This happens, for example, when driving over a sharp step in elevation. Setting f(t) = 0, solve the differential equation with initial conditions q(0) = 0, q(0) = 1, as a function of the system parameters. Again assume the system is underdamped. (e) Do you see any relationship between the oscillation frequency of this solution and the amplitude plot for the steady-state solution? (f) What do your answers above tell you about the role of the car s mass in reducing the effect of impulsive disturbances? 6