Hands-on Lab. Open-Loop Response: System Identification

Similar documents
Hands-on Lab 2: LabVIEW NI-DAQ Basics 2

Figure 1: Control & Simulation Loop

Lab Exercise 2: Data Acquisition with NI LabVIEW

2 Lab 2: LabVIEW and Control System Building Blocks

Hands-on Lab: LabVIEW Angle Sensor

Determination of Drag Coefficient

Rotary Motion Servo Plant: SRV02. Rotary Experiment #00: QuaRC Integration. Using SRV02 with QuaRC. Student Manual

Hands-on Lab. LabVIEW Simulation Tool Kit

Lab Exercise 07 DC motor PI velocity control

Hands-on Lab. Lego Programming BricxCC Timers

Step-by-Step Data Acquisition Part II Exercise 2: Generating an Analog Output Waveform

Homework Assignment 9 LabVIEW tutorial

Open Loop Step Response

Introduction to Labview and Temperature Measurement

Using LabVIEW. with. BiPOM Boards. Quick Start Guide. Document Revision: Date: 18 September, 2009

Control Systems Laboratory Manual Hardware and Software Overview. 2 Hardware Equipment. 2.1 Analog Plant Simulator (EE357 Only)

ME 365 EXPERIMENT 3 INTRODUCTION TO LABVIEW

ROGA Control v1.0. User Manual Release 2

QUANSER Flight Control Systems Design. 2DOF Helicopter 3DOF Helicopter 3DOF Hover 3DOF Gyroscope. Quanser Education Solutions Powered by

Small rectangles (and sometimes squares like this

ENGR 1000, Introduction to Engineering Design

Overview. Experiment Specifications. This tutorial will enable you to

- Electronic Limit Switches - Very Accurate - Easy to use - Robust - Dependable - High Resolution - Non Contact Measurement - Wide Temp.

Hardware: Acquiring Data and Communicating with Instruments

Section 1 Establishing an Instrument Connection

Introduction to Electronics Workbench

1. Learn about LabView software and its different components

Lab Exercise 4: Analog & Digital I/O Signals

Working Model Tutorial for Slider Crank

Tutorial: Getting Started with the LabVIEW Simulation Module

Lab 4 - Data Acquisition

Closed Loop Step Response

Engineering Project-I. Module 1: Familiarization of LabVIEW and the Vernier Toolkit

Exercise 0 - Open and Run a Virtual Instrument (Slide 12)

Datalogging in LabVIEW

EE 210 Lab Assignment #2: Intro to PSPICE

Spreadsheet and Graphing Exercise Biology 210 Introduction to Research

Introduction to Minitab 1

DT MS/s High-Speed, Isolated Simultaneous USB Data Acquisition Module. Overview. Key Features. Bandwidth of the DT9862

Published in A R DIGITECH

AME 20213: Fundamentals of Measurements and Data Analysis. LEX-3: Wind Tunnel Pressure Measurement Uncertainty 9 October 2006

Strain and Force Measurement

Data Acquisition HANS-PETTER HALVORSEN,

PowerForce System. User manual - wireless edition. PowerForce User Manual

The data acquisition components, and their relationship to each other, are shown below.

Lesson 13: Other Tools in OrCAD Capture

Tutorial 3: Using the Waveform Viewer Introduces the basics of using the waveform viewer. Read Tutorial SIMPLIS Tutorials SIMPLIS provide a range of t

Development of a MATLAB Data Acquisition and Control Toolbox for PIC Microcontrollers

Introduction to MATLABs Data Acquisition Toolbox, the USB DAQ, and accelerometers

CyAn ADP Guide. Starting Up

4.1 Radian and Degree Measure: Day 1. Trignometry is the measurement of triangles.

motcom loganalyser User Manual

SW860 FlukeView Software

HB5M. Hollow Bore Optical Encoder Page 1 of 6. Description. Related Products & Accessories. Features

Fluke 1750 Power Analyze

Dept. of Electrical, Computer and Biomedical Engineering. Data Acquisition Systems and the NI LabVIEW environment

Experiment 1: Introduction to Labview 2010 (tbc 1/7/2007, 1/13/2009,1/9/2012, 1/10/2012)

IGSS 13 Configuration Workshop - Exercises

Getting Started with LabVIEW Virtual Instruments

7. Completing a Design: Loop Shaping

PPALoG. Data Logging Software. Software User Manual

D A X A D D - I N AMPLICON DATA ACQUISITION EXCEL ADD-IN

Exercise 4a: Creating and Editing XY Plots

ECE-320 Lab 3: Utilizing a dspic30f6015 to model a DC motor and a wheel

IRF90 - Rotating Focuser

Introduction to Solid Modeling Using SolidWorks 2008 COSMOSMotion Tutorial Page 1

Practical Training with the EPOS Studio

MAQ 20 Industrial Data Acquisition and Control System ReDAQ Shape for MAQ 20 User Manual

ic-mh16 Evaluation Software Software Description

Table of Contents. Part I USB Communication. Part II User Interface. Part III User Settings (Tab Control) DFS-1000 Dataview. 2 File Menu.

SHOCKANALYZER V1.7 USER S MANUAL. Copyright 2012

INTRODUCTION TO LABVIEW

OpenStax-CNX module: m Thermometer VI * National Instruments

Model JI-820 Incremental Encoder Emulator. User Manual

Single Linear Flexible Joint (SLFJ)

The Chart Title can be formatted to change color, pattern, typeface, size and alignment using the Format Chart Title dialog box.

CLAD Sample Exam 03. C. A control that output a cluster of the controls / indicators on the tabs.

HB5M. Hollow Bore Optical Encoder Page 1 of 5. Description. Mechanical Drawing. Features

Learn LabVIEW 2010 / 2011 Fast

NI mydaq HANS-PETTER HALVORSEN, Telemark University College Department of Electrical Engineering, Information Technology and Cybernetics

Student Quick Reference Guide

Hands-On Introduction to. LabVIEW. for Scientists and Engineers. Second Edition. John Essick. Reed College OXFORD UNIVERSITY PRESS

Virtual Instrumentation With LabVIEW

Center for Faculty Development and Support Making Documents Accessible

TraceFinder Analysis Quick Reference Guide

Linear Control Systems LABORATORY

USER GUIDE. Tolomatic Motion Interface (TMI) Actuator Control Solutions for: ACS Stepper Drive/Controller Tolomatic Electric Linear Actuators

e-bridge Color Profile Tool Quick Start Guide

Dash HF Family High Speed Data Acquisition Recorder

Introduction to CS graphs and plots in Excel Jacek Wiślicki, Laurent Babout,

A. Front Panel Design Lesson 4 Implementing a VI

USB 1608G Series USB Multifunction Devices

USB 1608G Series USB Multifunction Devices

Multidisciplinary Senior Design

Certified LabVIEW Associate Developer Exam. Test Booklet

EPS 06 in rear housing type A1

ECE-205 Lab 1. Introduction to Simulink and Matlab

Powerforce. User manual - wireless edition. Powerforce User Manual. artfit/smartfitpowerforce/

Navigating and Using the Data Explorer

Damage Boundary Software

Transcription:

Hands-on Lab Open-Loop Response: System Identification v r Motorized tethered cart A step or impulse response provides useful information that characterizes the system. With such data, one can then begin to analytically design a controller. This lab explores system identification by working with a motorized tethered cart. One will apply a step response to identify the rise time, damping ratio and system Type. Concept 1: Experimental Open-Loop Step Response The motorized tethered cart operates on ±10 Volts. The motor driver board uses a 3 Amp power supply and interfaces to the USB-6211. This board consists of H-bridges and a power op-amp. The net effect is that one can actuate the cart s rotational direction (i.e. clock or counterclockwise) and rotational speed (current is proportional to voltage). An encoder (US Digital E4P, also used in a previous lab) monitors the cart s rotational angle. A LabVIEW program will be created to capture cart velocity. Plotting this velocity will reveal the cart s transient and steady-state behavior. Step 1: Create the Front Panel and Block Diagram Figure 1-1A: Step Response Front Panel Figure 1-1B: Block Diagram The front panel (Figure 1-1A) consists of 2 numeric indicators and a toggle switch. The indicators display the cart s rotational position (in degrees) and velocity (in RPM). The block diagram (Figure 1-1B) consists of 3 DAQ Assist Controls. The first one monitors the encoder. A shift register and 20 millisecond timer are used to calculate cart velocity. Constants are applied for measuring this velocity in RPM or rad/sec. The second one captures the cart velocity in rad/sec. The third one works with the toggle switch to apply 2.5 Volts to the cart. This on-off toggle moves or stops the cart. Save the file as: cartopenloopvelocity1_0.vi 1

Encoder DAQ setting: Counter: ctr1 pulses/rev: 300; initial angle: 0; units: degrees Decoding type: X4 Acquisition mode: 1 Sample (On Demand) Voltage DAQ setting: Channel is ao0 Min and max voltages are -10 and 10 volts respectively Generation mode: 1 sample (On Demand) Measurement DAQ setting: File Format: Text (LVM) Segment Headers: No Headers X Value Columns: Empty time column Delimiter: Tab Action: Save to one file (suggested filename: cartopenlookresponse.lvm) If a file already exists: Overwrite file Step 2: Apply step response and plot data Caution: The tether will bind if the cart rotates more than 3 revolutions (i.e. there is no slip ring). Binding is bad because it slows the cart down (so cart characteristics will be inaccurate) and fatigues the cable. As such, when executing cartopenloopvelocity1_0.vi, do not let the cart rotate more than 3 times. Run your program and toggle the switch to run the cart. After about 2 rotations, toggle off and terminate the program. Use Excel to read the data file (e.g. cartopenlookresponse.lvm). Populate the first column with runtime. Data is collected every 0.02 seconds. Remove outliers if needed. Create a plot that looks like Figure 1-2 Figure 1-2: Cart s Open-Loop Step Response 2

Exercise 1: Identify the following from your open-loop step response plot 1.1. Steady-state velocity, Y ss 1.2. Time constant, τ,i.e. time to reach 63.2% of steady state 1.3. Steady-state gain (i.e. Y ss Steady State Velocity [rad/s] k = = = ) A Step Input Voltage [Volts] 1.4. Open-loop transfer function Concept 2: Modeling and Simulation Figure 2: Simulation of cart open-loop step response. NB: looks similar to Figure 1-2 LabVIEW Control Design and Simulation toolkit can be used to simulate response. The answers in Exercise 1 serve for system identification; the transfer function is a representation of the plant s input-output characteristics. Step 1: Create the simulation loop Drop a simulation loop in the block diagram as follows. In the block diagram, right click and select Control Design & Simulation Simulation Simulation Loop (see Figure 2-1A). Highlight the loop and right click Configure Simulation Parameters. In the resulting pop-up box, choose the following settings: Final time: 3.5 seconds ODE Solver: Runge-Kutta 3 Step Size (s): 0.1 3

Figure 2-1A: Simulation Loop in Block Diagram Figure 2-1B: Transfer function element Next, drop a transfer function element into the simulation loop as follows: Right click for Control Design & Simulation Simulation Linear Systems Transfer function (see Figure 2-1B). Insert this element into the simulation loop. Double click the transfer function element. The resulting pop-up setting box (see Figure 2-1C) enables one to configure the transfer function s numerator and denominator. Configure the parameters with the transfer function found from Exercise 1-4. This will result in Figure 2-1D. Figure 2-1C: Configuring the transfer function Figure 2-1D: Finished transfer function in loop 4

Step 2: Insert Simulation Time Waveform In the block diagram, right click: Control Design & Simulation Simulation Graph Utilities SimTime Waveform. Wire the Waveform and Transfer Function element as shown in Figure 2-2A. This will result in having a graph element in the Front Panel as shown in Figure 2-2B. Figure 2-2A: SimTime Waveform element Figure 2-2B: SimTime Resulting Front Panel Step 3: Configure Waveform Display Properties Refer to Figure 2-3A. From the Front Panel, right click and select Properties. The resulting pop-up box enables one to set parameters. Click the Scales tab. Under Name: type Time [sec]. Under Maximum: type 4. Click the Scale Style and Colors icon and choose the desired tick interval. Lastly, one can click the Grid Style and Colors icon for make the waveform more readable. Refer to Figure 2-3B. Set the Y-axis. Under the Scales tab, use the pull-down menu to select the Amplitude (Y-Axis). Under Name: type Cart Velocity [rad/sec]. Under Maximum, type 3. Like before, one can set the Scale Style and Colors and Grid Style and Colors options to improve readability. The resulting front panel should look like Figure 2-3C. Figure 2-3A: X-axis setting Figure 2-3B: Y-axis setting 5

Figure 2-3C: Resulting Waveform Step 4: Add Step Response value Add a numeric control to the Front Panel and caption as Step Input [Volts]. This control will be used to set the step input voltage. Set the default to 2.5 as follows: right click on the numeric control Data Range. Under Default Value: type 2.5. Click OK. To display the default value, right click the numeric control Data Operations Reinitialize to Default Value. This should result in Figure 2-4A. In the Block Diagram, complete wiring between the numeric control and the transfer function (see Figure 2-4B). Save as: cartopenloopstepresponsesimulation.vi Figure 2-4A: Finished Front Panel Figure 2-4B: Finished Block Diagram 6

Click the Run Continuously button to see the resulting open-loop step response (see Figure 2-4C). Adjust the Step Input level and note the change in the graph. For a 2.5 Volt input, note the similarity to data acquired experimentally (e.g. Figure 1-2). Figure 2-4C: Simulated open-loop step response Exercise 2: 2-1: Add weight to the cart and repeat Concept 1. Identify the corresponding time constant. How does this value compare to the one found in Exercise 1-2? Explain the difference. 2-2: Repeat Concept 1 with a -3.0 Volt step input (i.e. negative voltage). Capture the angular data and identify the system s transfer function. Repeat Concept 2 with this transfer function and compare the simulated step response with the experimentally captured one. 7