Massachusetts Institute of Technology Department of Mechanical Engineering Dynamics and Control II Design Project

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

Today s goals So far Today 2.004

Positioning Servo Design Example

Introduction to Controls

Lab 3: Model based Position Control of a Cart

Dr Ian R. Manchester

Position Control Experiment MAE171a

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

Controls Problems for Qualifying Exam - Spring 2014

Bangladesh University of Engineering and Technology. EEE 402: Control System I Laboratory

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

(b) A unity feedback system is characterized by the transfer function. Design a suitable compensator to meet the following specifications:

Outline. Classical Control. Lecture 5

APPLICATIONS FOR ROBOTICS

Homework 7 - Solutions

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

SRV02-Series Rotary Experiment # 1. Position Control. Student Handout

100 (s + 10) (s + 100) e 0.5s. s 100 (s + 10) (s + 100). G(s) =

Control of Manufacturing Processes

EE 422G - Signals and Systems Laboratory

UNIVERSITY OF BOLTON SCHOOL OF ENGINEERING BENG (HONS) IN BIOMEDICAL ENGINEERING SEMESTER 1 EXAMINATION 2017/2018 ADVANCED BIOMECHATRONIC SYSTEMS

Professor Fearing EE C128 / ME C134 Problem Set 7 Solution Fall 2010 Jansen Sheng and Wenjie Chen, UC Berkeley

Chapter 5 HW Solution

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

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

Goals for today 2.004

(a) Find the transfer function of the amplifier. Ans.: G(s) =

Video 5.1 Vijay Kumar and Ani Hsieh

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

Chapter 7 Interconnected Systems and Feedback: Well-Posedness, Stability, and Performance 7. Introduction Feedback control is a powerful approach to o

Lecture 14 - Using the MATLAB Control System Toolbox and Simulink Friday, February 8, 2013

MAE 143B - Homework 7

Review: transient and steady-state response; DC gain and the FVT Today s topic: system-modeling diagrams; prototype 2nd-order system

ECE 320 Linear Control Systems Winter Lab 1 Time Domain Analysis of a 1DOF Rectilinear System

Homework Assignment 3

Übersetzungshilfe / Translation aid (English) To be returned at the end of the exam!

AN INTRODUCTION TO THE CONTROL THEORY

Modeling and Experimentation: Mass-Spring-Damper System Dynamics

PID Control. Objectives

CHAPTER 7 STEADY-STATE RESPONSE ANALYSES

6.1 Sketch the z-domain root locus and find the critical gain for the following systems K., the closed-loop characteristic equation is K + z 0.

State Feedback Controller for Position Control of a Flexible Link

EEL2216 Control Theory CT1: PID Controller Design

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

YTÜ Mechanical Engineering Department

MAE143a: Signals & Systems (& Control) Final Exam (2011) solutions

Dr. Ian R. Manchester

Introduction to Feedback Control

MAS107 Control Theory Exam Solutions 2008

VALLIAMMAI ENGINEERING COLLEGE SRM Nagar, Kattankulathur

Dr Ian R. Manchester Dr Ian R. Manchester AMME 3500 : Root Locus

Laboratory handout 5 Mode shapes and resonance

Compensator Design to Improve Transient Performance Using Root Locus

Professional Portfolio Selection Techniques: From Markowitz to Innovative Engineering

Introduction to Control (034040) lecture no. 2

Alireza Mousavi Brunel University

Chapter 2 SDOF Vibration Control 2.1 Transfer Function

Basic Procedures for Common Problems

Analysis and Design of Control Systems in the Time Domain

ECE 3793 Matlab Project 3

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

Time Response Analysis (Part II)

ECE 3793 Matlab Project 3 Solution

Outline. Classical Control. Lecture 1

Root Locus. Motivation Sketching Root Locus Examples. School of Mechanical Engineering Purdue University. ME375 Root Locus - 1

Answers to multiple choice questions

Übersetzungshilfe / Translation aid (English) To be returned at the end of the exam!

ME 304 CONTROL SYSTEMS Spring 2016 MIDTERM EXAMINATION II

CHAPTER 1 Basic Concepts of Control System. CHAPTER 6 Hydraulic Control System

1 Steady State Error (30 pts)

Quanser NI-ELVIS Trainer (QNET) Series: QNET Experiment #02: DC Motor Position Control. DC Motor Control Trainer (DCMCT) Student Manual

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) =

Chapter 7. Digital Control Systems

Advanced Control Theory

Meeting Design Specs using Root Locus

Feedback. Joel Voldman* Massachusetts Institute of Technology *(with thanks to SDS)

FEEDBACK CONTROL SYSTEMS

AMME3500: System Dynamics & Control

ME 475/591 Control Systems Final Exam Fall '99

THE REACTION WHEEL PENDULUM

SAMPLE SOLUTION TO EXAM in MAS501 Control Systems 2 Autumn 2015

Mechanical Systems Part A: State-Space Systems Lecture AL12

INTRODUCTION TO DIGITAL CONTROL

LABORATORY INSTRUCTION MANUAL CONTROL SYSTEM I LAB EE 593

Subject: Optimal Control Assignment-1 (Related to Lecture notes 1-10)

EE C128 / ME C134 Fall 2014 HW 6.2 Solutions. HW 6.2 Solutions

Unit 8: Part 2: PD, PID, and Feedback Compensation

State Feedback MAE 433 Spring 2012 Lab 7

ECE382/ME482 Spring 2005 Homework 7 Solution April 17, K(s + 0.2) s 2 (s + 2)(s + 5) G(s) =

Lab 3: Quanser Hardware and Proportional Control

CHAPTER 6 STATE SPACE: FREQUENCY RESPONSE, TIME DOMAIN

University of Alberta ENGM 541: Modeling and Simulation of Engineering Systems Laboratory #7. M.G. Lipsett & M. Mashkournia 2011

EEE 480 LAB EXPERIMENTS. K. Tsakalis. November 25, 2002

Chemical Process Dynamics and Control. Aisha Osman Mohamed Ahmed Department of Chemical Engineering Faculty of Engineering, Red Sea University

SECTION 5: ROOT LOCUS ANALYSIS

Design of a Lead Compensator

Dynamic Response. Assoc. Prof. Enver Tatlicioglu. Department of Electrical & Electronics Engineering Izmir Institute of Technology.

Pitch Rate CAS Design Project

Chapter 6 - Solved Problems

Control Systems Design

Transcription:

Massachusetts Institute of Technology Department of Mechanical Engineering.4 Dynamics and Control II Design Project ACTIVE DAMPING OF TALL BUILDING VIBRATIONS: CONTINUED Franz Hover, 5 November 7 Review of Objectives Lab 7: Create a simplified model of the open-loop system, using the given notes and physical data on the plant. Write this model in state-space form, and use Matlab to create an impulse response plot from the controlled input to the measurement. Lab 8: Employing Matlab, design an active damping system built on the PID controller. We recommend to use the nominal plant parameters that are given in this document. Model the system in Simulink, and test out the controller in simulation. There is nothing to turn in for Lab 8. Lab 9: Test the controller on the real plant; prepare and turn in a report detailing the model, the controller design, and results. Does your design meet the objective of reducing tower motion due to wind disturbances? This report will be due in the week following Lab 9. Notes. State Equations Let x (t) be the absolute lateral position of the tower mass, and x (t) be the absolute position of the sliding mass; ẋ (t) = v (t) and ẋ (t) = v (t) are the absolute velocities. Then we can define the state vector as: q (t) x (t) q (t) v (t) q(t) = =, and q 3 (t) x (t) q 4 (t) v (t) d q(t) = A q(t)+ Ba(t)+ Gw(t) dt where a(t) is the control action (i.e., force from the voice coil), and w(t) is the distur bance input. A, B, and C are constant matrices. It is important to distinguish between

w(t) a(t) x (t) k m k b x (t) m b ground Figure : Schematic of the tower physical model. The input a is a force that acts to separate the masses when positive; the disturbance w acts to move x positive. The measurement is relative velocity y = ẋ ẋ. the two input gain matrices B and G because the two inputs a(t) and w(t) enter the system differently: the actuator force works to separate the two masses, whereas the external input pushes on the building (m ) from outside. With masses, springs, and dampers labeled as in the figure, we get for the state equations d q(t) dt = k +k m b +b k b m m m m q(t)+ a(t)+ m w(t) k b k b m m m m m The observation with the second voice coil is the relative velocity of the two masses: y(t) =[ ] q(t) Note that the sign of the entries here is chosen so that positive control action (separating the masses) will lead to a positive measurement (m moving in the direction it is pushed). This is a very good practice to use in designing feedback systems.. Model Parameters (a) Each of the two voice coils has the constant k = 7. N/A = 7. V/(m/s). Don t forget these numbers (or the gain of the current amplifier) when you implement your design in hardware!

Impulse Response of Building via Accelerometer, Trial.5..5 Volts.5..5 5 5 5 3 seconds Figure : Accelerometer measurement of building response to non-zero initial conditions, with an exponential envelope fitted. The sliding mass is not installed for this test, file tower base.m. (b) The masses are m = 5. kg m =.87+.75n kg, where n is the number of additional steel collets placed on the shaft. (c) Our analysis of the file tower_base_.m gave the following values for the single mass m : τ = 3.3 seconds ω d = 9.9 rad/sec ζ =.38 ω n = 9.9 rad/s k = N/m b =.77 N/(m/s) The first two values come directly from inspecting the data. Then: i. The time constant of the decay envelope tells us the real part of the poles: σ = /τ. ii. The undamped natural frequency is ω n = ω d + σ. iii. The damping ratio is zeta = σ/ω n. iv. k = mω. n v. b =ζ k m. 3

A B C D.5.5.5.5.5.5.5.5.5 normalized voice coil Volts A.5 B C D.5.5.5.5.5.5.5.5.5 A 4.5 B 4.5 C 4.5 D 4.5.5 seconds.5.5.5 Figure 3: Typical responses of the sliding mass when the building is fixed. The spring configuration and number of additional collets is indicated. Amplitude shown is normalized and therefore dimensionless. (d) Our analysis of the file actuator_a_.m gave, for the mass m moving while m is fixed: overshoot os =.4 ω d = 8. rad/sec ζ =.5 ω n = 9.6 rad/s k = 8 N/m b = 8.8 N/(m/s) These values are for the case with no additional collets, i.e., n = in the above mass formula, and with the spring in configuration A. The overshoot and damped natural frequency are measured directly from the 4

.4..8 y (m/s).6.4...4.5.5.5 seconds 3 Figure 4: Open-loop impulse response with the nominal plant parameters: measurement y(t) is driven by an impulse in the actuator a(t). Note these are taken in units of m/s and N, respectively. observed data. Then: i. We found iteratively a damping ratio to satisfy the equation ( ) os = exp ζπ/ ζ. ii. The undamped natural frequency is ω n = ω d / ζ. iii. k = m ω. n iv. b =ζ k m. (e) For your reference, we have also provided the sliding mass data for a number of other conditions; the letter in the file name indicates the spring length (A,B,C, or D - from longest to shortest), and the number indicates how many steel collets were attached to the shaft (,, or 4). The A_ condition will give you good results with your active controller. FOR EXTRA CREDIT, explore the possibilities of different spring and mass combinations, and discuss how they affect the ability of 5

the sliding mass to act as a passive damper. Note that a complete analysis of these data shows that for spring positions C and D, there is a marked change in b, suggesting that a nonlinear effect is coming into play, perhaps due to side loading of the air bearings because the spring is so short. 3. A Limitation on Matlab Systems Matlab does not allow the explicit definition of systems having more zeros than poles. A PID controller has two zeros, and one pole (at the origin), so you need to take an extra step to build and manipulate a distinct PID object. Augment the regular PID with a fast pole as follows: syspid = tf([kd kp ki], [tr ]) ; where tr is set to be a small time constant compared to the other time scales in the system, e.g.,. or less in our case. In the root locus plot, this will add a fast pole which only affects the other loci when the gain is very high. 4. The Effect of Disturbance on the Building Motion In Lab 7, you focused on the system that maps control input (separation force generated by one of the voice coils) to plant output (relative velocity reported by the second voice coil). In practical terms, however, it is the effect of the disturbance w(t) on the building motion, say z(t) = x (t), that is most important in your design. Luckily, putting the closed-loop poles in the right place makes the system behave well from both points of view. For the tower labs, you can explore this property directly using Simulink. The following discussion shows in more detail, and without resorting to Simulink, how to assess the closed-loop response for input w(t) and output z(t), given a controller design that is based only on the transfer function from a(t) to y(t). You do not have perform these analyses to receive full credit on the project - but you do have to demonstrate a reduction in building motion caused by a wind disturbance, when your active controller is running. First, to calculate how the open-loop system behaves with a disturbance input w(t) and output z(t), use the state-space description d q(t) = A q(t)+ Gw(t) dt z(t) = C q(t) where C = [ ], for example, to pull out x (t), the position of mass m. If you make a new system in Matlab using 6

w(s) (si-a) - G _ y(s) K(s) a(s) (si-a) - B + C + q(s) C z(s) w(s) + q(s) z(s) Q (s) _ C y(s) Q (s) K(s) C Figure 5: Equivalent block diagrams for assessing the closed-loop transfer function from disturbance w(s) to auxiliary output z(s). The compensator is K(s); in the lower version, Q (s) =(si A) B and Q(s) =(si A) G. sysolbuilding = ss(a,g,c,);, then its input is taken as w(t), and the output will be z(t). To calculate how the closed-loop system behaves with an impulse disturbance, we have to develop a new block diagram, as shown in the figure. We take advantage of the system linearity to write (in the Laplace domain) q(s) = (si A) Ba(s)+(sI A) Gw(s) z(s) w(s) = (si A) BK(s)y(s)+(sI A) Gw(s) = (si A) BK(s)C q(s)+(si A) Gw(s) ( ) = I +(si A) BK(s)C (si A) Gw(s) ( use the fact that for square matrices (XY ) = Y X ) ( = (si A)(I +(si A) BK(s)C) ) Gw(s) = (si A + BK(s)C) Gw(s) so that = C (si A + BK(s)C) G. This has the familiar structure of an output matrix multiplied by an inverse matrix involving s, multiplied by an input gain matrix. How do you get Matlab to do it? Recognizing that (si A) G simply premultiplies w(s) coming into the feedback loop, and that C post-multiplies to give the output, you can use the regular feedback construction, which has unity (or the identity matrix) in the forward path and H(s) = (si A) BK(s)C in the backward path. In Matlab, this looks like 7

sysk = tf([kd kp ki], [tr ]) ; % the controller (a PID as written) sysq = ss(a, B, eye(4,4), zeros(4,)) ; % makes Q =(si A) B sysq = ss(a, G, eye(4,4), zeros(4,)) ; % makes Q =(si A) G sysclwtoz = C * feedback(eye(4,4),sysq*sysk*c) * sysq ; % the closedloop system taking input w to output z impulse(sysclwtoz) ; % plots the impulse response from input w to output z 5. Some Matlab Hints % comment the rest of the line help ss ; % show help on the function called ss Q = [ 3 ; 4 5 6 ; 7 8 9] ; % makes a 3x3 matrix Q sysss = ss(a,b,c,d) ; % makes the state-space system defined by the four matrices systf = tf([ ],[ ]) ; % makes the system /(s+) impulse(sys) ; % plots the impulse response of the system (both SS and TF forms will work) [A,B,C,D] = ssdata(systf) ; % gives one state-space realization of the transfer function representation [num,den] = tfdata(sysss); % gives the (unique) numerator and denominator of the state-space system [z,p,k] = zpkdata(sys) ; % reports zeros, poles, and gain of the system sys = sys * sys ; % carries out frequency-domain multiplication of systems: sys operating on the output of sys (not the other way around!) syscl = feedback(sys*sys,) ; % creates the closed-loop system with sys and sys in the forward path and one in the feedback path rltool(sys) ; % starts up the root locus design tool rlocus(sys,kpvec) ; % plots the root locus for the proportional gains in the vector kpvec 6. A Final Word About Your Report Your task is to document the process and rationale for your controller design. Your report should be concise and professional. We expect to see good grammar and spelling, organization into sections, and clear, annotated figures that support the text. We can t give you the good grade you deserve if we can t figure out what you did! 8