Laboratory handouts, ME 340

Similar documents
Laboratory handout 5 Mode shapes and resonance

Laboratory handouts, ME 340

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

a. Follow the Start-Up Procedure in the laboratory manual. Note the safety rules.

Rectilinear System. Introduction. Hardware

Vibrations: Second Order Systems with One Degree of Freedom, Free Response

Dynamics of structures

Modeling and Experimentation: Mass-Spring-Damper System Dynamics

Section 3.7: Mechanical and Electrical Vibrations

Inverted Pendulum System

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

The Coupled Pendulum Experiment

Chapter 7: Time Domain Analysis

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.

Driven Harmonic Oscillator

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

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

Control of Manufacturing Processes

HB Coupled Pendulums Lab Coupled Pendulums

Laboratory 11 Control Systems Laboratory ECE3557. State Feedback Controller for Position Control of a Flexible Joint

Lab 1: Dynamic Simulation Using Simulink and Matlab

Industrial Servo System

Vibrations and Waves MP205, Assignment 4 Solutions

Introduction to Vibration. Mike Brennan UNESP, Ilha Solteira São Paulo Brazil

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

2.004 Dynamics and Control II Spring 2008

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

Laboratory notes. Torsional Vibration Absorber

Oscillations. Simple Harmonic Motion of a Mass on a Spring The equation of motion for a mass m is attached to a spring of constant k is

Lab 1g: Horizontally Forced Pendulum & Chaotic Motion

Belt Tension Clamp. Drive Motor. Friction Brake. Load. Encoder 2. Drive. (4000 lines/rev incremental) Encoder 1. (4000 lines/rev incremental)

Experiment 5. Simple Harmonic Motion

Second Order Systems

Industrial Servo System

Control System (ECE411) Lectures 13 & 14

Introduction to Modern Control MT 2016

Time Response Analysis (Part II)

Discrete Systems. Step response and pole locations. Mark Cannon. Hilary Term Lecture

WEEKS 8-9 Dynamics of Machinery

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

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

AMME3500: System Dynamics & Control

Hands-on Lab. Damped Compound Pendulum System ID (Experimental and Simulation) L Bar length m d Pivot to CG distance m m Mass of pendulum kg

Math Assignment 5

Damped harmonic motion

Section 4.9; Section 5.6. June 30, Free Mechanical Vibrations/Couple Mass-Spring System

Lecture 7:Time Response Pole-Zero Maps Influence of Poles and Zeros Higher Order Systems and Pole Dominance Criterion

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

Course roadmap. Step response for 2nd-order system. Step response for 2nd-order system

first name (print) last name (print) brock id (ab17cd) (lab date)

A SHORT INTRODUCTION TO ADAMS

Vibrations Qualifying Exam Study Material

EE 380 EXAM II 3 November 2011 Last Name (Print): First Name (Print): ID number (Last 4 digits): Section: DO NOT TURN THIS PAGE UNTIL YOU ARE TOLD TO

ME scope Application Note 28

Chapter 7. Digital Control Systems

Control of Manufacturing Processes

Lab 11 Simple Harmonic Motion A study of the kind of motion that results from the force applied to an object by a spring

Pure and Practical Resonance in Forced Vibrations

Hooke s Law. Equipment. Introduction and Theory

Dynamics of Structures: Theory and Analysis

Feedback Control part 2

Lab 11 - Free, Damped, and Forced Oscillations

4.9 Free Mechanical Vibrations

Signal Processing First Lab 11: PeZ - The z, n, and ˆω Domains

Response of a Physical Mechanical System

Position Control Experiment MAE171a

Dynamic Behavior. Chapter 5

Systems Analysis and Control

Simple Harmonic Motion - MBL

PHYSICS 211 LAB #8: Periodic Motion

DSP First. Laboratory Exercise #10. The z, n, and ˆω Domains

FEEDBACK CONTROL SYSTEMS

Chapter 2 SDOF Vibration Control 2.1 Transfer Function

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

Lab 3: Model based Position Control of a Cart

CALIFORNIA INSTITUTE OF TECHNOLOGY Control and Dynamical Systems

Simple Harmonic Motion

Solutions for homework 5

LAB 11: FREE, DAMPED, AND FORCED OSCILLATIONS

M61 1 M61.1 PC COMPUTER ASSISTED DETERMINATION OF ANGULAR ACCELERATION USING TORQUE AND MOMENT OF INERTIA

State Feedback Controller for Position Control of a Flexible Link

Lab 5a: Pole Placement for the Inverted Pendulum

Lab 5: Harmonic Oscillations and Damping

Oscillatory Motion SHM

Homework 7 - Solutions

first name (print) last name (print) brock id (ab17cd) (lab date)

Implementation Issues for the Virtual Spring

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Department of Physics 8.02 Spring 2003 Experiment 17: RLC Circuit (modified 4/15/2003) OBJECTIVES

EXPERIMENTALLY DETERMINING THE TRANSFER FUNCTION OF A SPRING- MASS SYSTEM

DC-motor modelling and parameter identification

Digital Control: Part 2. ENGI 7825: Control Systems II Andrew Vardy

Mathematical Physics

Final Exam April 30, 2013

Lab 1 Uniform Motion - Graphing and Analyzing Motion

Introduction to Vibration. Professor Mike Brennan

Control Systems, Lecture04

Rotational Motion. Figure 1: Torsional harmonic oscillator. The locations of the rotor and fiber are indicated.

RLC Circuits. 1 Introduction. 1.1 Undriven Systems. 1.2 Driven Systems

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

Oscillatory Motion. Solutions of Selected Problems

Transcription:

Laboratory handouts, ME 340 This document contains summary theory, solved exercises, prelab assignments, lab instructions, and report assignments for Lab 4. 2014-2016 Harry Dankowicz, unless otherwise noted All rights reserved.

laboratory handouts, me 340 64 Laboratory handout 4 Second-order systems In this handout, material and assignments marked as optional can be skipped when preparing for the lab, but may provide a useful resource at other times during the course. An exponentially decaying harmonic signal is of the form x(t) = Ae γt cos(ωt θ) (1) in terms of an initial amplitude A > 0, a decay rate γ > 0, an angular frequency ω > 0, and a phase shift θ. Figure 1: An exponentially decaying harmonic signal. t The signal crosses 0 for some t = t, provided that ωt = θ + π 2 + nπ, (2) for some integer n. Since ( dx dt (t) = A ω 2 + γ 2 e γt cos ωt θ arctan ω ), (3) γ the signal has a sequence of local maxima and minima for t = t, where for some integer n. ωt = θ + arctan ω γ + π + nπ, (4) 2 The elapsed time between consecutive maxima (minima) of x(t) equals 2π/ω. The ratio between the values of x(t) at consecutive

laboratory handouts, me 340 65 maxima (minima) equals the logarithmic decrement e 2πγ/ω. The absolute value of the ratio between the values of x(t) at consecutive extrema equals e πγ/ω. If measurements on a physical system result in a signal x(t) that is dominated by the solution to a differential equation of the form d 2 x dt 2 (t) + 2ζω dx n dt (t) + ω2 nx(t) = f (t) (5) for some ω n, ζ > 0 and some given function f (t), then the system is said to be linear, second-order, time-invariant, and stable. The constants ω n and ζ are the natural frequency and damping ratio, respectively. The unit impulse response of the system is given by the convolution h(t) = ( ) t e γ1# e γ 2# (t) := e γ1τ e γ2(t τ) dτ (6) 0 where u = γ 1 and u = γ 2 are the roots of the characteristic polynomial u 2 + 2ζω n u + ω 2 n = 0, (7) i.e., γ 1,2 = ζω n ± ω n ζ 2 1 = ζω n ± jω n 1 ζ 2. (8) The roots lie in the complex plane and are either purely real or complex with imaginary parts of opposite sign. In particular, for 0 < ζ < 1, the system is underdamped and h(t) = eγ 1t e γ 2t γ 1 γ 2 = e ζωnt ω d sin ω d t, (9) where ω d = ω n 1 ζ 2 is the damped natural frequency. In this case, the unit impulse response is an exponentially decaying harmonic signal with initial amplitude 1/ω d, decay rate ζω n and angular frequency ω d.

laboratory handouts, me 340 66 Figure 2: The unit impulse response of an underdamped second-order system. t For ζ > 1, the system is overdamped and h(t) = eγ1t e γ 2t ) = e ζωnt (ω γ 1 γ 2 ω n ζ 2 1 sinh n ζ 2 1 t. (10) In this case, the unit impulse response is a sum of exponentially decaying terms, and does not oscillate about 0. Figure 3: The unit impulse response of an overdamped second-order system. t Finally, for ζ = 1, the system is critically damped and h(t) = te ω nt. (11) In all three cases, h(0) = 0 and dh/dt(0) = 1. For arbitrary f (t), the corresponding solution to (5) is given by x(t) = where ( 2ζω n x(0) + dx ) dt (0) h(t) + x(0) dh ( ) dt (t) + f (#) h(#) (t), (12) ( ) t f (#) h(#) (t) := f (τ)h(t τ) dτ. (13) 0

laboratory handouts, me 340 67 If f (t) = 0 for t 0, the solution ( x(t) = 2ζω n x(0) + dx ) dt (0) h(t) + x(0) dh (t) (14) dt is a free response of the system. In particular, for 0 < ζ < 1 and dx/dt(0) = 0, x(t) = x(0) e ζω nt 1 ζ 2 cos ( ω d t π 2 + arccos ζ ). (15) If f (t) = c for t 0 and x(0) = dx/dt(0) = 0, the solution t x(t) = c h(τ) dτ (16) 0 is a step response of the system. In particular, for 0 < ζ < 1, x(t) = c ω 2 n ( 1 e ζω nt 1 ζ 2 cos (ω d t π 2 + arccos ζ ) ). (17) For t 1, this is approximately equal to the steady-state response x ss (t) = c/ω 2 n. The difference x ss x(t) is an exponentially decaying harmonic signal that equals the free response with x(0) = c/ω 2 n and dx/dt(0) = 0. Figure 4: A step response for an underdamped system, including the rise time t r, the peak time t p, and the settling time t s. t r t p t s t If the natural frequency ω n and damping ratio ζ of a linear, second-order, time-invariant, stable system are unknown, they may

laboratory handouts, me 340 68 be estimated from measurements. Such an approach is an example of system or plant identification. If it is possible to engineer the system so that f (t) = 0 for t 0, then ω n and ζ may be estimated from the free response with dx/dt(0) = 0. The system is underdamped if this is oscillatory as in (15), and overdamped otherwise 3. In the underdamped case, the damping ratio ζ may be estimated from the absolute value of the ratio of two consecutive extrema, since this equals e πζ/ 1 ζ 2, or from the logarithmic decrement, since this equals e 2πζ/ 1 ζ 2. The natural frequency may be estimated from the time elapsed between consecutive zero crossings or between consecutive extrema, since these both equal π/ω d. If it is possible to engineer the system so that f (t) equals the constant c for t 0 and x(0) = dx/dt(0) = 0, then the natural frequency ω n may be estimated from the steady-state value x ss := lim t x(t) = c/ωn. 2 The damping ratio ζ may then be estimated from the logarithmic decrement for the difference x(t) x ss, since this equals e 2πζ/ 1 ζ 2, or from the elapsed time between consecutive maxima, since this equals 2π/ω d. If only a single maximum is clearly visible in an experimental measurement, the damping ratio may be estimated from 3 It is, in practice, impossible to achieve a critically damped system, but for ζ 1, it may be difficult to distinguish between an underdamped and a overdamped system in the presence of measurement noise. 1. the rise time t r corresponding to the time that x(t) first crosses x ss, since this equals π arccos ζ ω d ; (18) 2. the peak time t p corresponding to the time that x(t) first peaks, since this equals π/ω d ; 3. the maximum relative overshoot corresponding to the ratio x(t) x ss x ss (19) at the peak time, since this equals e πζ/ 1 ζ 2 ; or 4. the settling time t s corresponding to the time after which x(t) remains within 2% of x ss, since this is approximately 4/ζω n.

laboratory handouts, me 340 69 A graphical representation of this quantities is shown in Fig. 4. Optional: If it is possible to engineer the system so that f (t) = cos ωt for some angular frequency ω, then ω n and ζ may be estimated from the amplitude or phase shift of the steady-state behavior x ss (t) = 1 cos(ωt θ), (20) (ω 2 ωn) 2 2 + 4ζ 2 ωnω 2 2 where cos θ = ω 2 ω 2 n (ω 2 ω 2 n) 2 + 4ζ 2 ω 2 ω 2 n (21) and sin θ = 2ζωω n. (22) (ω 2 ωn) 2 2 + 4ζ 2 ω 2 ωn 2 Exercises 1. Express the signal x(t) = e t cos 2t as an exponentially decaying harmonic signal. 2. Find all local extrema of the exponentially decaying harmonic signal x(t) = e 2t cos(t π/4) and determine the elapsed time between consecutive maxima. 3. Determine the logarithmic decrement for the exponentially decaying harmonic signal x(t) = 3e t/2 cos(3t 2) and relate this to the ratio between successive extrema. 4. Measurements on a mechanical system result in a signal that is dominated by the solution to the differential equation 20 d2 x (t) + 10dx (t) + 18x(t) = 2. dt2 dt Determine whether the system is overdamped or underdamped. 5. For what value of c is the mass-spring-damper system, governed

laboratory handouts, me 340 70 by the differential equation critically damped? m d2 x dx (t) + c (t) + kx(t) = f (t), dt2 dt 6. Show that the unit impulse response h(t) = ( ) e ωn# e ω n# (t) satisfies the initial-value problem d 2 x dt 2 (t) + 2ω dx n dt (t) + ω2 nx(t) = 0, x(0) = 0, dx (0) = 1. dt 7. Find the unit step response of a linear, second-order, time-invariant system with natural frequency 2 and damping ratio 1/2. 8. Suppose that f (t) = 1/ for 0 t. What is the value of the response and its derivative at t =? What are the limits of these value as 0? 9. Compute the rise time, peak time, and settling time for the unit step response of the linear, second-order, time-invariant system with natural frequency ω n = 4 and damping ratio ζ = 0.8. 10. Suppose that the maximum relative overshoot of the step response of a linear, second-order, time-invariant system equals approximately 0.2. Estimate the damping ratio. 11. Describe the dependence of the rise time on the damping ratio ζ on the interval [0, 1] and determine its minimum value. 12. Optional: Suppose that the amplitude of the steady-state response x ss (t) of a linear, second-order system with natural frequency 2 for f (t) = cos ωt peaks at approximately ω = 1.8. Estimate the corresponding damping ratio. 13. Optional: Suppose that the steady-state response x ss (t) of a linear, second-order, time-invariant system for f (t) = cos ωt is a

laboratory handouts, me 340 71 decreasing function of ω for ω > 0. Can this observation be used to determine whether the system is underdamped or overdamped? Solutions 1. From the general form of an exponentially decaying harmonic signal, γ = 1, ω = 2, A cos θ = 1, and A sin θ = 0. This implies that A = 1 and θ = π, i.e., x(t) = e t cos(2t π). 2. Here, and ( dx dt (t) = 5e 2t cos t π 4 arctan 1 ) 2 d 2 ( x dt 2 (t) = 5e 2t cos t π 4 2 arctan 1 ). 2 Minima are therefore found at t = 3π 4 + arctan 1 2 + 2nπ and maxima are found at t = π 4 + arctan 1 2 + 2nπ. The elapsed time between consecutive maxima equals 2π. 3. Here, the logarithmic decrement equals e π/3. Extrema occur at t n = 2 3 + π 6 + 1 3 arctan 6 + nπ 3 and are separated in time by π/3. It follows that x(t n+1 ) x(t n ) = 3e t n/2 e π/6 cos(3t n + π 2) 3e t n/2 cos(3t n 2) = e π/6 i.e., the negative square root of the logarithmic decrement. 4. Here, d 2 x dt 2 (t) + 1 dx 2 dt (t) + 9 10 x(t) = 1 10,

laboratory handouts, me 340 72 and it follows that ω 2 n = 9/10 and 2ζω n = 1/2 ζ = 3/4 10 < 1, i.e., the system is underdamped. 5. Here, 2ζω n = c m, ω2 n = k m ζ = c 2 mk The system is critically damped when c = 2 mk. 6. Here, h(t) = t from which it follows that 0 t e ωnτ e ωn(t τ) dτ = e ω nt 0 dτ = te ω nt dh dt (t) = e ω nt (1 ω n t), d2 h dt 2 (t) = ω ne ω nt (ω n t 2) and the claim follows by substitution. 7. Here, h(t) = 1 3 e t sin 3t. If f (t) = 1 for t 0, the unit step response equals the convolution ( ) f (#) h(#) (t) = 1 ( 1 2 ( )) 3t e t 1 cos arctan 3. 4 3 8. For 0 t, x(t) is the step response, i.e., For 1, x( ) = 1 0 h(τ) dτ, dx dt ( ) = 1 h( ) x( ) h(0) = 0, dx dt ( ) h (0) = 1. 9. Here, ω d = 12/5. It follows that the rise time equals approximately 1.04, that the peak time equals approximately 1.31, and that the settling time equals 1.25. 10. Here, e πζ/ 1 ζ 2 ln µ µ ζ π 2 + ln 2 µ

laboratory handouts, me 340 73 For µ = 0.2, ζ 0.46. 11. The function ζ π arccos ζ ω n 1 ζ 2 equals π/2ω n at ζ = 0 and grows monotonically and without bound as ζ increases to 1. The minimum rise time is π/2ω n. 12. Optional: The amplitude of the steady-state response 1 (ω 2 ω 2 n) 2 + 4ζ 2 ω 2 nω 2 is maximal with respect to variations in ω, when its derivative with respect to ω equals 0. This occurs at ω = ω n 1 2ζ 2 It follows that ζ 0.31. 13. Optional: Since the peak in the steady-state amplitude occurs at ω = ω n 1 2ζ 2, its absence implies that ζ > 1/ 2. This does not suffice to determine whether ζ < 1 or ζ > 1.

laboratory handouts, me 340 74 Prelab Assignments Complete these assignments before the lab. Show all work for credit. 1. Express the signal x(t) = 3e t sin 2t as an exponentially decaying harmonic signal. 2. Find all local extrema of the exponentially decaying harmonic signal x(t) = 3e t/2 cos(3t 1) and determine the elapsed time between consecutive minima. 3. Determine the logarithmic decrement for the exponentially decaying harmonic signal x(t) = e 3t cos(t + π/2) and relate this to the ratio between successive minima. 4. Measurements on a mechanical system result in a signal that is dominated by the solution to the differential equation 2 d2 x (t) + 24dx (t) + 18x(t) = 2. dt2 dt Determine whether the system is overdamped or underdamped. 5. For what value of k is the mass-spring-damper system, governed by the differential equation critically damped? 6. Optional: Use the fact that m d2 x dx (t) + c (t) + kx(t) = f (t), dt2 dt ( ( ) g(#) h(#)) (t) = g(t)h(0) + g(#) h (#) (t) to show that the function h(t) = satisfies the initial-value problem ( ) t e γ1# e γ 2# (t) := e γ1τ e γ2(t τ) dτ 0 d 2 x dt 2 (t) + 2ζω dx n dt (t) + ω2 nx(t) = 0, x(0) = 0, dx (0) = 1. dt

laboratory handouts, me 340 75 provided that γ 1,2 = ζω n ± ω n ζ 2 1. 7. Graph the unit impulse response of a linear, second-order, timeinvariant system with natural frequency ω n = 1/2 and damping ratio ζ = 2. 8. Graph the unit step response of a linear, second-order, timeinvariant system with natural frequency ω n = 1/2 and damping ratio ζ = 1/ 2. 9. Compute the rise time, peak time, and settling time for the unit step response of the linear, second-order, time-invariant system with natural frequency ω n = 2.8 and damping ratio ζ = 0.4. 10. Suppose that the maximum relative overshoot of the step response of a linear, second-order, time-invariant system equals approximately 0.6. Estimate the damping ratio. 11. Describe the dependence of the maximum relative overshoot on the damping ratio ζ on the interval [0, 1] and determine its maximum value. Give an intuitive explanation for your observations.

laboratory handouts, me 340 76 Lab instructions 4 Consider the motion of the mechanical suspension shown below, able to translate along the direction described by the vector î. 4 These notes are an edited version of handouts authored by Andrew Alleyne. f (t)î x(t) m m kg î k N/m c Ns/m The displacement of the mass is governed by the differential equation m d2 x dx (t) + c (t) + kx(t) = f (t). (23) dt2 dt This corresponds to a linear, second-order, time-invariant, stable system with natural frequency ω n = k/m (in units of rad/s) and damping ratio ζ = c/2 km. Estimates of the natural frequency and damping ratio based on experimental measurements may be used to estimate the ratios k/m and c/m and, if the mass is known, the stiffness k and damping coefficient c. In this lab, experiments will be conducted on an Educational Control Products (ECP) Model 210 Rectilinear Dynamic System. This electromechanical apparatus is a three-degree of freedom springmass-damper system. It consists of configurable masses on lowfriction bearings, springs, dampers and an input drive. Encoders connected to each of the carts determine their locations. The input drive command is generated by a digital to analog (DAC) signal produced by a data acquisition board installed in the benches PC. The matlab toolbox Real-Time Windows Target will be used to both drive the system when needed and collect response data. Encoders attached to each cart are used to measure their displacements. These encoders have a resolution of 16,000 counts per rev-

laboratory handouts, me 340 77 olution. The small pulley that attaches the cart to the encoder has a radius of 1.163 cm, so each cm of displacement is equivalent to 1/(2π 1.163) revolutions and, consequently, 16, 000/(2π 1.163) encoder counts. To make best use of lab time, look ahead at the Report Assignment and create a table for recording experimental data. Make sure to note your observations for each plot as they are generated. Free response In the first experiment, you will use the free response of a linear mass-spring-damper model to explore the dependence of the natural frequency and damping ratios on the values of the mass, stiffness, and damping coefficient. Follow the detailed instructions below to collect and analyze the free response under each of three experimental conditions: Condition 1: Small inertia, stiff spring, light damping. On the ECP rectilinear plant at your bench, make sure the second carriage initially has no weights on it. Open the damping adjustment knob 3/4 turn from the fully closed position. Condition 2: Big inertia, stiff spring, light damping. Add four thick (500 g) brass weights to experimental condition 1. Condition 3: Big inertia, stiff spring, strong damping. Open the damping adjustment knob 1/8 turn from the fully closed position. What qualitative changes do you observe in the response when you change the inertia and/or damping of the system? Experimental procedure 1. Turn on the equipment: (a) Start matlab using the icon found on your desktop. (b) Turn on the ECP control box on the top shelf. (c) Inside matlab, open the read-only file onedofinitial.mdl located in the directory N:\labs\me340\Mass_Spring_oneDOF.

laboratory handouts, me 340 78 (d) Save the file with the name lab4free<yournetid>.mdl in the directory C:\matlab\me340. (e) Change matlab s current directory to the location where your model file was saved by typing cd c:\matlab\me340 at the matlab command prompt. (f) Click the simulink model file to give it focus. Confirm that 0 V is being sent to the DAC output and that data is collected from optical encoder channel 1. Confirm that the gain block is converting encoder counts to distance in cm and that data is sampled by Real-Time Windows Target every 5 ms. (g) Enter <ctrl+b> on your keyboard to build the model. While your auto-generated code is building return to matlab s command prompt. The build is complete when the message Successful completion of build procedure for model is displayed. 2. Acquire data: (a) Simply press the green Run button to start data collection. Note, it can take a number of seconds to start the acquisition so don t click the run button multiple times if the data collection does not start right away. (b) With your fingers, move cart #2 approximately 1 cm to the right, compressing the spring. Wait for Real-Time Windows Target to refresh the plot window and then release. (c) Before the plot window is again refreshed (after 5 seconds), click the Stop button to stop data collection. 3. Analyze data: (a) In matlab plot your displacement data: >> data = onedofinitial_data; >> plot(data(:,1), data(:,2)); (b) Zoom in on your plot to locate exact data points for estimating ω n and ζ (for example, successive zeros or extrema), and record

laboratory handouts, me 340 79 the corresponding values of t and x on a print out of the plot for future reference. Step response In the second experiment, you will use the step response of a linear mass-spring-damper model to estimate system parameters. Experimental procedure 1. Turn on the equipment: (a) Close the simulink model that you used in the previous experiment. (b) Open the read-only file onedofstep.mdl located in the directory N:\labs\me340\Mass_Spring_oneDOF. (c) Save the file with the name lab4step<yournetid>.mdl in the directory C:\matlab\me340 (d) Change matlab s current directory to the location where you model file was saved by typing cd c:\matlab\me340 at the matlab command prompt. (e) Click the simulink model to give it focus. Confirm that the Pulse Generator amplitude is set to 5. Confirm that the model includes a feedback loop that adds damping to the system with damping coefficient 5.2 in units of Ns/m. (f) Enter <ctrl+b> on our keyboard to build the model. While your auto-generated code is building, return to matlab s command prompt. The build is complete when the message Successful completion of Real-Time Workshop... is displayed. 2. Acquire data: (a) Click the Run button to start data collection. (b) After several pulses click the Stop button to stop data collection. 3. Analyze data:

laboratory handouts, me 340 80 (a) In matlab, plot your displacement data and the input: >> data = onedofstep_data; >> plot(data(:,1), data(:,2), r,... data(:,1), data(:,3), b ); (b) Zoom in on your plot to locate data points for estimating ω n and ζ (see Fig. 4) and record the corresponding values of t and x on a print out of the plot for future reference. Include data points for determining the maximum relative overshoot, the settling time, the peak time, and the rise time. Impulse response In the third experiment, you will use the impulse response of a linear mass-spring-damper model to estimate system parameters. In particular, use the value for the stiffness k found in the previous experiment to estimate m and c. Experimental procedure 1. Initialize experiment: (a) Continue to use the simulink model from the previous experiment. (b) Change the input from a step input to an approximate impulse by opening the Pulse Generator component and setting the amplitude to 20, the period to 10, and the pulse width to 0.5%. This produces a short pulse of 20 N for 50 ms. 2. Acquire data: (a) Click the Run button to start data collection. (b) After several impulses click the Stop button to stop data collection. 3. Analyze data: (a) In matlab, plot your displacement data and the input:

laboratory handouts, me 340 81 >> data = onedofstep_data; >> plot(data(:,1), data(:,2), r,... data(:,1), data(:,3), b ); (b) Zoom in on your plot to locate data points for estimating ω n and ζ and record the corresponding values of t and x on a print out of the plot for future reference.

laboratory handouts, me 340 82 Report Assignments Complete these assignments during the lab. Show all work for credit. 1. In the case of the free response, label each plot with the corresponding case and order the plots accordingly. 2. Copy the table below into your report and enter the appropriate data. Show your work used to estimate ω n and ζ on the plot for the corresponding case, in the case that the system is underdamped. If the system is overdamped, identify this on the plot and in the table. Experiment Data Reduction Table Approx. System Theoretical Experimental Parameters Values Values c m k ζ ω n ζ ω n Case # Ns/m kg N/m rad/s rad/s 1 8 0.55 780 2 8 2.55 780 3 75 2.55 780 3. In the case of the step response, label each plot accordingly. 4. Determine the maximum relative overshoot, the rise time, the settling time, and the peak time. Use these measurements to estimate ω n and ζ. Identify the equations used in your calculation on the corresponding plot, and make sure to check the units. 5. Estimate the stiffness k from the steady-state displacement given the pulse amplitude 5 N. Proceed to estimate m and c from the step response. Show your work on the corresponding plot. 6. In the case of the impulse response, label the plot accordingly. 7. Use the value of k obtained from the steady-state response to a step input, and estimate m and c from the impulse response. Show your work on the corresponding plot.