Hands-on Lab 3. System Identification with Experimentally Acquired Data

Similar documents
Week 14 The Simple Pendulum

Double Inverted Pendulum (DBIP)

Lab 3: Quanser Hardware and Proportional Control

Experiment A11 Chaotic Double Pendulum Procedure

Exp. #1-1 : Measurement of the Characteristics of the Centripetal Force by Using Springs and a Computer Interface

Inverted Pendulum System

QNET Experiment #05: HVAC System Identification. Heating, Ventilation, and Air Conditioning Trainer (HVACT) Student Manual

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

QNET Experiment #04: Inverted Pendulum Control. Rotary Pendulum (ROTPEN) Inverted Pendulum Trainer. Instructor Manual

DOUBLE ARM JUGGLING SYSTEM Progress Presentation ECSE-4962 Control Systems Design

Digital Design through Pi

QNET DC Motor Control

Lab 1a Wind Tunnel Testing Principles & Drag Coefficients of Golf balls

Physics 1020 Experiment 6. Equilibrium of a Rigid Body

Experiment 5. Simple Harmonic Motion

THE CONSERVATION OF ENERGY - PENDULUM -

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

Circular Motion and Centripetal Force

Mechatronic System Case Study: Rotary Inverted Pendulum Dynamic System Investigation

What is the velocity profile downstream of the sudden expansion? What is the relationship between the velocity profile and the flow rate?

Digital Design through Arduino

Department of Electrical and Computer Engineering. EE461: Digital Control - Lab Manual

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

You will return this handout to the instructor at the end of the lab period. Experimental verification of Ampere s Law.

ECE3510 Lab #5 PID Control

The Damped Pendulum. Physics 211 Lab 3 3/18/2016

Temperature Measurement and First-Order Dynamic Response *

Ruby crystals and the first laser A spectroscopy experiment

Assembly Programming through Arduino

Simple Harmonic Motion - MBL

THERMAL RADIATION. The electromagnetic radiation emitted by a hot tungsten filament will be studied.

Program Notes Use 2:1 voltage divider on Differential Input channel 1 to get full output range from C7

The Magnetic Pendulum

2.004 Dynamics and Control II Spring 2008

Development of Lunar Scintillometer for Probing the Ground Layer Turbulence. Ravinder K. Banyal. Indian Institute of Astrophysics Bangalore

13-Nov-2015 PHYS Rotational Inertia

ISSP User Guide CY3207ISSP. Revision C

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

State Feedback Controller for Position Control of a Flexible Link

1 SIMPLE PENDULUM 1 L (1.1)

Virtual Instrument for Crimped Connections Temperature and Specific Losses Monitoring During. Electrical Tests

DRS 61: Incremental encoders, number of lines and zero pulse width freely programmable DRS 60: Incremental Encoders with Zero-Pulse-Teach

Determination of the Equivalent Weight and the K a or K b for a Weak Acid or Base

Rotary Motion Servo Plant: SRV02. Rotary Experiment #01: Modeling. SRV02 Modeling using QuaRC. Student Manual

Ballistic Pendulum. Equipment. Introduction. Setup

The Coupled Pendulum Experiment

1 SIMPLE PENDULUM 1 L (1.1)

Dimensional drawing face mount flange radial. R = bending radius min. 40 mm. Dimensional drawing face mount flange axial

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

Design at the Register Transfer Level

xlogic SuperRelay is a compact and expandable CPU replacing mini PLCs, multiple timers, relays and counters.

Flexible Pendulum (FLEXPEN)

Cosmic Ray Detector Software

Exp. #2-4 : Measurement of Characteristics of Magnetic Fields by Using Single Coils and a Computer Interface

The University of Hong Kong Department of Physics. Physics Laboratory PHYS3350 Classical Mechanics Experiment No The Physical Pendulum Name:

AC : INTRODUCTION TO INSTRUMENTATION AND CON- TROL SYSTEMS USING A PENDULUM MOUNTED AIR ROCKET

Experiment 7 Simple Harmonic Motion Reading: Bauer&Westfall Chapter 13 as needed (e.g. definitions of oscillation variables)

Chaotic Motion (One or two weights)

Calibration Routine. Store in HDD. Switch "Program Control" Ref 1/ Ref 2 Manual Automatic

FEEDBACK CONTROL SYSTEMS

LabVIEW and PCI DAQ Card Based HTS Test and Control Platforms

Conservation of Angular Momentum

Sudden Expansion Exercise

Laboratory Exercise 4 SIMPLE PENDULUM

The Torsion Pendulum (One or two weights)

PHYSICS 122 Lab EXPERIMENT NO. 6 AC CIRCUITS

12-Nov-17 PHYS Inelastic Collision. To study the laws of conservation of linear momentum and energy in a completely inelastic collision.

Random Number Generator Digital Design - Demo

Introduction to Hartree-Fock calculations in Spartan

Chaotic Motion (One or two weights)

Rotational Motion. 1 Purpose. 2 Theory 2.1 Equation of Motion for a Rotating Rigid Body

SRV02-Series Rotary Experiment # 7. Rotary Inverted Pendulum. Student Handout

TOPCNC TC55V Instruction Manual

NE01 - Centripetal Force. Laboratory Manual Experiment NE01 - Centripetal Force Department of Physics The University of Hong Kong

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

Experiment 1 Solutions: Equipotential Lines and Electric Fields

UV-Vis optical fiber assisted spectroscopy in thin films and solutions

MECHATRONICS ENGINEERING TECHNOLOGY. Modeling a Servo Motor System

Electrical and Magnetic Properties of High Temperature Superconductors Using Varying forms of Data Acquisition

Atomic and nuclear physics

PHY222 Lab 8 - Magnetic Fields and Right Hand Rules Magnetic forces on wires, electron beams, coils; direction of magnetic field in a coil

Lab 5. Current Balance

Laboratory Exercise M-2 Power measurements

Department of Mechanical Engineering

TOPCNC TC55V Instruction Manual.

Page AC : INSTRUMENTATION FOR SHOCK AND IMPACT ANALYSIS

Energy. This provides a practical measure of the usefulness of a machine. The useful energy transfer in a generator can be represented by:

Lasentec Product Group

Brown University Physics 0030 Physics Department Lab 5

Old Dominion University Physics 112N/227N/232N Lab Manual, 13 th Edition

Lab #3: System Identification of the Torsional Disk System

17-Nov-2015 PHYS MAXWELL WHEEL. To test the conservation of energy in a system with gravitational, translational and rotational energies.

EE 4443/5329. LAB 3: Control of Industrial Systems. Simulation and Hardware Control (PID Design) The Torsion Disks. (ECP Systems-Model: 205)

Technical Description

Experiment # 5 5. Coupled Water Tanks

To: Mitch Cottrell, Instructor From: Brian Garber, Crawford Binns, Jeff Hollis (Group 3, Sec. J) Subject: Project Deliverable #3 Date: 4 May 2010

(Cat. No CFM) Product Data

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

Laboratory handouts, ME 340

Modern Physics Laboratory MP2 Blackbody Radiation

Transcription:

Hands-on Lab 3 System Identification with Experimentally Acquired Data Recall that the course objective is to control the angle, rise time and overshoot of a suspended motor-prop. Towards this, the two previous labs provided the software and hardware foundations for writing LabVIEW programs and both generating and acquiring voltage signals. This lab fulfills our next step to identify the system s underlying dynamics. The resulting data will be used in future labs to design a suitable control system. Three concepts will be covered: Reading optical encoders with a counter, writing acquired data to a file that can be displayed in Excel, and programming a derivative function. Concept 1: Timers and Counters (Optical Encoders) The USB-6211 features counters that can be used to read optical encoders interfaced to the NI- DAQ card. A counter will be configured to monitor the optical encoder mounted on the pendulum s shaft (see Figures A and B). The net result is the pendulum s angle can be displayed in real-time. Optical Encoder Pendulum Motor-prop Figure A: Pendulum Setup Figure B: US Digital Inc. Encoder (with pin out) Step 1: Launch LabVIEW to create the following (very simple) front panel (Figure 1). NB: the text box should fit 8 digits Figure 1: Front panel to display real-time optical encoder degrees

Step 2: Start the following block diagram with a while loop. Figure 2: Block diagram for displaying encoder angle. Step 3: Complete the block diagram by adding the DAQ Assistant control. Right Click Measurement I/O NIDAQmx - DAQ Assist will bring up the screen (Figure 3A). Choose Acquire Signals and then select Counter Input Position - Angular. Figure 3A: Choose Position - Angular

Choose ctr0 (counter 0) as shown in Figure 3B. This will invoke the screen shown in Figure 3C. Set the Angular Encoder - Pulses/Rev to 360 and Decoding Type to X4. Figure 3B: Select Counter 0 (ctr0) Figure 3C: Pulses / Rev is 360 Step 4: Wire up the optical encoder to the NI-DAQ screw terminals as follows Encoder Wire Color Screw Terminal DGND BLACK Pin 11 IND NOT CONNECTED CH. B BROWN Pin 1 5 V RED Pin 10 CH. A WHITE Pin 0 With the pendulum motionless, execute the VI and the numeric indicator should read 0. Slowly rotate the pendulum counter clockwise and degrees should increment (i.e. positive angle). Rotate clockwise and degrees should decrement. The angle becomes negative if rotated past 0. NB: This is a 360-counts/revolution encoder. As such, each count represents 1 degree. Exercise 1: In LabVIEW create programs for the following: 2-4. Increase or decrease the counter when rotating clockwise or counter clockwise respectively 2-5. Let the pendulum s vertical position (i.e. resting angle or 6 o clock position) represent 90- degrees. Increase and decrease the counter when rotating the pendulum clockwise and counter clockwise respectively. In other words, the indicator should read 0 at the 3 o clock position and 180 at the 9 o clock position.

Concept 2: Write angle data to file and identify parameters Recall that a virtual data recorder was created in Lab 2 Concept 3. The VI recorded and wrote data acquired from analog channel 0. Step 1: Create a VI to record the pendulum s angle data (0, +90 and 90 degrees at the 6, 3 and 9 o clock positions respectively). Block diagrams given below. The DAQ Assistant should be the same as Concept 1. Figure 4A: Block diagram for recording angle data Figure 4B: Write to File Settings Step 2: From the pendulum s rest position (6 o clock) execute the VI. Rotate the pendulum counter clockwise to approximately +60-degrees and then release. Let the VI run for about 10 seconds and then terminate the VI. Plot the data in Excel, which should look like Figure 5. Figure 5: Excel plot of the acquired comma-delimited data

Exercise 2: 2-1. Save your recorded data (you will need this for your lab report) 2-2. From your data, calculate ξ andω n. 2-3. Using your calculated ξ and ω n, solve for c and J. (Save the work and results) Concept 3: Measure angular velocity by programming in a derivative function In this concept we calculate the numerical derivative of the angle position to obtain the angular velocity. Step 1: Create a VI to calculate and record the angular velocity of the pendulum. Block diagrams are given below. Your DAQ Assistant and Write to Measurement Files should be set up similarly to Concept 1 and 2. Figure 6A: Front Panel Figure 6B: Back Panel Step 2: Run your program. Raise the pendulum to 60 degrees and release. Let the pendulum oscillate 5 to 10 times. Plot the recorded angle and velocity data. You should get a plot similar (not exact) to Figure 7. Figure 7: Excel plot of the acquired angle (blue) and velocity data (red)