Lab 3 Swinging pendulum experiment

Similar documents
Lab 2: Introduction to Real Time Workshop

Sensors and Scatterplots Activity Excel Worksheet

3B SCIENTIFIC PHYSICS

Laboratory 1: Motion in One Dimension

Lab 5: Inverted Pendulum PID Control

SRV02-Series Rotary Experiment # 3. Ball & Beam. Student Handout

INCLINED PLANE RIG LABORATORY USER GUIDE VERSION 1.3

dspace and Real-Time Interface in Simulink

Free vibration of cantilever beam FREE VIBRATION OF CANTILEVER BEAM PROCEDURE

Experiment P55: Light Intensity vs. Position (Light Sensor, Motion Sensor)

18600 Angular Momentum

Step 1: Set up the variables AB Design. Use the top cells to label the variables that will be displayed on the X and Y axes of the graph

Graphing with Excel. Data Table

Excel Lab 2: Plots of Data Sets

Assignment 5 due Monday, May 7

Picture Style Editor Ver Instruction Manual

How to make a line graph

Notes on Experiment #1

Sensor Calibration Lab

Robotic Manipulation Lab 1: Getting Acquainted with the Denso Robot Arms Fall 2010

Magnetic Levitation System

PHYSICS 220 LAB #1: ONE-DIMENSIONAL MOTION

Introduction to Motion

ENSC 470/894 Lab 3 Version 6.0 (Nov. 19, 2015)

EECS 312: Digital Integrated Circuits Lab Project 1 Introduction to Schematic Capture and Analog Circuit Simulation

Quick Start Guide for the PULSE PROFILING APPLICATION

CHM 152 Lab 1: Plotting with Excel updated: May 2011

Root Locus Design. by Martin Hagan revised by Trevor Eckert 1 OBJECTIVE

A vibration is one back-and-forth motion.

How to Make a Run Chart in Excel

Physics 253 Fundamental Physics Mechanic, September 9, Lab #2 Plotting with Excel: The Air Slide

Horiba LabRAM ARAMIS Raman Spectrometer Revision /28/2016 Page 1 of 11. Horiba Jobin-Yvon LabRAM Aramis - Raman Spectrometer

Name: First-Order Response: RC Networks Objective: To gain experience with first-order response of RC circuits

3. Draw a side-view picture of the situation below, showing the ringstand, rubber band, and your hand when the rubber band is fully stretched.

Page 21 GRAPHING OBJECTIVES:

Getting started 1 System Requirements... 1 Software Installation... 2 Hardware Installation... 2 System Limitations and Tips on Scanning...

Linear Motion Servo Plants: IP01 or IP02. Linear Experiment #0: Integration with WinCon. IP01 and IP02. Student Handout

Introduction to NetLab ECT practical # 1

Try what you learned (and some new things too)

1 Lab + Hwk 4: Introduction to the e-puck Robot

WALLY ROTARY ENCODER. USER MANUAL v. 1.0

Integrators, differentiators, and simple filters

Projectile Motion. Equipment

EE 462G Laboratory #1 Measuring Capacitance

CS/NEUR125 Brains, Minds, and Machines. Due: Wednesday, February 8

User manual Automatic Material Alignment Beta 2

Excel Tool: Plots of Data Sets

Electric Circuits. Introduction. In this lab you will examine how voltage changes in series and parallel circuits. Item Picture Symbol.

ENSC 470/894 Lab 1 V2.0 (Sept )

Experiment P11: Newton's Second Law Constant Force (Force Sensor, Motion Sensor)

Lab 1: Steady State Error and Step Response MAE 433, Spring 2012

Science Binder and Science Notebook. Discussions

Open Loop Frequency Response

Picture Style Editor Ver Instruction Manual

Part 2: Earpiece. Insert Protrusion (Internal Sketch) Hole Patterns Getting Started with Pro/ENGINEER Wildfire. Round extrusion.

Lab 8: Introduction to the e-puck Robot

Helpful Alignment Tips for Machine Shops

OCULUS VR, LLC. Oculus User Guide Runtime Version Rev. 1

O5: Lenses and the refractor telescope

Practical Assignment 1: Arduino interface with Simulink

Faraday's Law. Objective: In today's experiment you will investigate electromagnetic induction and determine the factors that affect it.

Graphing Guidelines. Controlled variables refers to all the things that remain the same during the entire experiment.

Statistics 101: Section L Laboratory 10

Tangent Galvanometer Investigating the Relationship Between Current and Magnetic Field

Experiment 1A. Integrated Laboratory Experiment CHEMICAL INSTRUMENTATION PART A. ELECTRONIC INSTRUMENTATION

Picture Style Editor Ver Instruction Manual

2. Now you need to create permissions for all of your reviewers. You need to be in the Administration Tab to do so. Your screen should look like this:

Sensor Calibration Lab

PASS Sample Size Software. These options specify the characteristics of the lines, labels, and tick marks along the X and Y axes.

Lab 4 Projectile Motion

LENSES. a. To study the nature of image formed by spherical lenses. b. To study the defects of spherical lenses.

Introduction. Introduction

CHM 109 Excel Refresher Exercise adapted from Dr. C. Bender s exercise

HILINK REAL-TIME HARDWARE-IN-THE-LOOP CONTROL PLATFORM FOR MATLAB/SIMULINK

Module 1E: Parallel-Line Flat Pattern Development of Sheet- Metal Folded Model Wrapping the 3D Space of An Oblique Circular Cylinder

CAPTURING IMAGES ON THE HIGH-MAGNIFICATION MICROSCOPE

Lab 7: Introduction to Webots and Sensor Modeling

Chapter 2: PRESENTING DATA GRAPHICALLY

1. Hand Calculations (in a manner suitable for submission) For the circuit in Fig. 1 with f = 7.2 khz and a source vin () t 1.

Experiment 8: An AC Circuit

Relationship to theory: This activity involves the motion of bodies under constant velocity.

Lab 5: Brewster s Angle and Polarization. I. Brewster s angle

Table of Contents. Chapter 1: Software Installation...1. Chapter 2: Running the Software II. Daily Practical Operation...10

ECE 5671/6671 Lab 3. Impedance Measurement and Parameter Estimation of a DC Motor

Experiment Platforms. Microfluidic Chambers

Stitching MetroPro Application

EE 461 Experiment #1 Digital Control of DC Servomotor

Alibre Design Tutorial: Loft, Extrude, & Revolve Cut Loft-Tube-1

CNC Using the FlexiCam CNC and HMI Software. Guldbergsgade 29N, P0 E: T:

Auntie Spark s Guide to creating a Data Collection VI

Spreadsheets 3: Charts and Graphs

Background Theory and Simulation Practice

DataCAD 18 Softlock. Universal Installer. Installation. Evaluation

Lab 2: Quanser Hardware and Proportional Control

Forest Inventory System. User manual v.1.2

Appendix C: Graphing. How do I plot data and uncertainties? Another technique that makes data analysis easier is to record all your data in a table.

Graphing Techniques. Figure 1. c 2011 Advanced Instructional Systems, Inc. and the University of North Carolina 1

Magnetic Fields. Introduction. Ryerson University - PCS 130

Lab 2: Digital Modulations

A graph is an effective way to show a trend in data or relating two variables in an experiment.

Transcription:

Lab 3 Swinging pendulum experiment Agenda Time 10 min Item Review agenda Introduce the swinging pendulum experiment and apparatus 95 min Lab activity I ll try to give you a 5- minute warning before the end of the lab period to put all the chairs back where they belong, log out of the workstation computers, and pack up your laptops. Learning objectives: By the end of the lab period, students should be able to: Collect swing time data for various configurations of an experimental pendulum apparatus. Compare experimental data for the average swing time of a pendulum apparatus with results obtained through numerical simulation. ES 204 Mechanical Systems Lab 3 Page 1 of 7

Background In this lab, you will collect data for a swinging pendulum apparatus with a moveable weight to experimentally determine the relationship between the placement of the weight along the pendulum and the time it takes for the pendulum to swing from the horizontal position to vertically downward. This lab completes your study of the pendulum system you simulated using MATLAB and Simulink for Lab 2 and analyzed in Problem 4.9 from Homework 5 using conservation of energy. You will compare your experimental results to the results of your numerical simulation and your theoretical results from Problem 4.9. If the experiment was carefully done, your numerical simulation was well constructed and executed, and you correctly applied conservation of energy in Problem 4.9, you should find that all three methods of analysis yield similar results. The experimental apparatus The ME and ECE Departments share the Dynamic Systems and Controls Lab in room C- 116. The lab equipment is precisely instrumented and includes real- time interface through desktop PCs running Simulink with Real Time Workshop. For this experiment, you will be using the ECP Rectilinear system (which has three moveable carts) with the inverted pendulum accessory. A schematic of the experimental apparatus is depicted in Figure 1. The pendulum accessory itself consists of three components: a rod that is pivoted about a point near its top end; an attached circular weight of diameter d! = 5 cm whose position along the rod is adjustable; and an attached sensor with diameter d! = 2.5 cm. The pivot axis passes though the center of the sensor, and the sensor s mass is negligible compared to the rod and weight. The location of the mass center for the circular weight relative to the pivot point is denoted by L!,!". The values for the various system parameters (rod mass and length, mass of the circular weight, etc.) are the same are those you used for your numerical simulation in Lab 2. The pendulum accessory is mounted to Cart 3 (which is held fixed) of the ECP Rectilinear system, and an extension bar is attached to Cart 1. The extension bar is used to hold the pendulum just barely above the horizontal position. The software is configured to automatically release the pendulum at approximately 4 seconds into the simulation. It will then record the times at which the pendulum reaches the horizontal and vertical positions. Since the release point is slightly above horizontal, the angular speed when crossing the horizontal position is very small, and so it will be considered negligible. ES 204 Mechanical Systems Lab 3 Page 2 of 7

Figure 1. Schematic of the experimental pendulum apparatus. During the lab, you will test the seven pendulum configurations shown in Figure 2, where the distance L!,!" from the pivot to the mass center of the moveable weight for each of the test configurations is given by the formula L!,!" = d! 2 + n 1 2 d!, n = 1, 2,, 7. (1) It may help to mark lightly in pencil the location of the bottom edge of the moveable weight for case n in order to precisely position it for case n + 1. Figure 2. Experimental configurations of the pendulum. ES 204 Mechanical Systems Lab 3 Page 3 of 7

Lab activity Getting started 1. If not already turned on, turn on the computer at your workstation and log in with the following information: Username: Password: student student Also turn on the control box sitting above your workstation by pressing the black ON button. 2. Load the correct personality file for the experimental apparatus by doing the following: a. Start the ECP32 program found under Start > Programs > ECP > ECP32. There may be a shortcut to ECP32 on the desktop. b. Download the controller personality file by selecting Utility > Download Controller Personality File. c. Navigate to c:\program Files\ECP Systems\cn\m210_rtwt3.pmc and click Open. d. Close the ECP32 software after the personality file has finished loading. 3. Launch MATLAB and change the working directory to the es204 folder on the desktop. 4. Open the Simulink models final_four.mdl and ECPDSPResetmdl.mdl. You should have two.mdl windows on your screen if you have three, close the small one with the green box showing. In both models, ensure the External/Normal window shows External. Rebuild both models by clicking the incremental build button shown in Figure 3 in both files. A bunch of stuff will be written to the MATLAB command window, ending with something like ### Successful completion of Real- Time Workshop build procedure for model: ECPDSPResetmdl for the ECPDSPResetmdl.mdl model. 5. You are now ready to run the experimental trials. One group member should be the data recorder. You will record your data in the Excel spreadsheet posted on the course website. For convenience, the spreadsheet is set up to automatically perform calculations for you. ES 204 Mechanical Systems Lab 3 Page 4 of 7

Figure 3. Locations of the incremental build, connect to target, and play buttons in the ECPDSPResetmdl.mdl window. These buttons are in the same place in the final_four.mdl window. Collecting data For each experimental configuration, you will record the times when the pendulum crosses the horizontal and vertical positions for three swings, calculate the corresponding swing times by taking the difference, and then average the results, as there may be some experimental scatter. For each swing, you need to do the following: 1. With the pendulum at rest in the vertical position and Cart 1 at approximately zero, run the file ECPDSPResetmdl.mdl. To do this, click the connect to target button, wait for the play button to turn black, click the play button, and then wait about two seconds (see Figure 3). You have just reset the system encoders. This is an important step in getting a precise measurement of when the pendulum crosses the horizontal and vertical positions. 2. Now, swing the pendulum clockwise up to the horizontal position, and move Cart 1 so that the extension bar supports the pendulum and is within 2 cm of the end of the pendulum. 3. Next, run the final_four.mdl file: push the connect to target button and press the play button once it turns black. After the play button is pushed, the system should do nothing for 4 seconds, and then Cart 1 will move to the left to release the pendulum. The times at which the pendulum crossed the horizontal and vertical positions will be displayed in the t1 and t2 blocks, respectively (see Figure 4). Record these numbers in the appropriate locations in your Excel data sheet. If you get a too fast for this hardware error message after a run, just ignore it, push close, and carry on the system will usually continue to work properly. ES 204 Mechanical Systems Lab 3 Page 5 of 7

4. Repeat Steps 2 and 3 three times for each configuration. Now you are ready to move the weight to the next configuration and repeat Steps 1 through 4. Important Note: If Cart 1 rams into a limit switch or in any way appears unstable, reset the system according to Steps 2 through 4 in the Getting started section. Also, sometimes the crossing times don t show up properly in the t1 and t2 blocks in the final_four.mdl window. Restarting MATLAB is usually all that is needed to solve this problem, but if it persists, reset the system. Figure 4. Locations of the displayed horizontal and vertical crossing times in the final_four.mdl window. Data analysis Once you have collected your data, do the following: Import your data into MATLAB and create a plot that shows how the pendulum s average swing time, Δt, varies with the circular weight s location in centimeters along the rod, L!,!" (that is, you should have swing time on the vertical axis and weight location in centimeters on the horizontal axis). ES 204 Mechanical Systems Lab 3 Page 6 of 7

Use markers for the data points, and don t connect them with a line. Also, be sure to label your axes and include units. Include your initials and the date in the title of your figure, and remove the gray border around the figure. Using your plot, estimate the experimental optimal location along the bar, L!"#, to place the circular weight that yields the fastest average swing time. (The experimental optimal location may not be the same as the locations determined analytically in Problem 4.9 and by numerical simulation in Lab 2.) Test this estimated optimal configuration. Run three trials to calculate an average swing time, and record these trials on your data sheet. Update your plot to include the estimated experimental optimal location and the corresponding average swing time. Lastly, include your numerical simulation results from Lab 2 on your plot for comparison. Use different markers for the experimental data and simulation results. Be sure to include a legend to clearly identify what each set of markers represents. When finished, your plot should look similar to the one shown in Figure 5. 0.36 0.34 Experimental Numerical simulation 0.32 Swing time (s) 0.3 0.28 0.26 0.24 0.22 0 5 10 15 20 25 30 35 Moveable weight offset (cm) Figure 5. Comparison of experimental and numerical simulation results for the time it takes the pendulum to reach the bottom of its swing when released from rest in the horizontal position with the circular weight placed at several locations along the rod. Deliverables: For this lab activity, you need to turn in the provided worksheet with a completed section of numerical results (Table W1), answers to all questions, and all requested plots and documentation attached. ES 204 Mechanical Systems Lab 3 Page 7 of 7