ME 144L Prof. R.G. Longoria Dynamic Systems and Controls Laboratory. Department of Mechanical Engineering The University of Texas at Austin

Similar documents
Digital Control Lab Exp#8: PID CONTROLLER

Lab 2A: Introduction to Sensing and Data Acquisition

DC motor control using arduino

Penn State Erie, The Behrend College School of Engineering

Real-time Math Function of DL850 ScopeCorder

Massachusetts Institute of Technology. Lab 2: Characterization of Lab System Components

ELECTRICAL ENGINEERING TECHNOLOGY PROGRAM EET 433 CONTROL SYSTEMS ANALYSIS AND DESIGN LABORATORY EXPERIENCES

EE443L Lab 8: Ball & Beam Control Experiment

Lab Exercise 9: Stepper and Servo Motors

Magnetic Levitation System

+ + G c (s G p (s. a) What is overall transfer closed-loop transfer function θ(s)

AC : A LOW-COST LABORATORY EXPERIMENT TO GEN- ERATE THE I-V CHARACTERISTIC CURVES OF A SOLAR CELL

Part 1. Using LabVIEW to Measure Current

LabVIEW and MatLab. E80 Teaching Team. February 5, 2008

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

The Temperature Controlled Window Matt Aldeman and Chase Brill ME 224 June 2003

Report on Dynamic Temperature control of a Peltier device using bidirectional current source

LabVIEW 8" Student Edition

GENERATION OF SIGNALS USING LABVIEW FOR MAGNETIC COILS WITH POWER AMPLIFIERS

Active Vibration Isolation of an Unbalanced Machine Tool Spindle

4 Experiment 4: DC Motor Voltage to Speed Transfer Function Estimation by Step Response and Frequency Response (Part 2)

Lab 12 Laboratory 12 Data Acquisition Required Special Equipment: 12.1 Objectives 12.2 Introduction 12.3 A/D basics

Electromagnetic Induction - A

PHY 132 Summer 2000 LAB 4: Electric Power DC Circuits 1

Digital Control of MS-150 Modular Position Servo System

EE 4314 Lab 3 Handout Speed Control of the DC Motor System Using a PID Controller Fall Lab Information

Torque on a Current Loop: Motors. and Meters

To configure op-amp in inverting and non-inverting amplifier mode and measure their gain.

Resonant Frequency of the LRC Circuit (Power Output, Voltage Sensor)

Easy Transfer Function Measurements with LabVIEW 6i (Lab Skill Exercise X-1)

EET 438a Automatic Control Systems Technology Laboratory 1 Analog Sensor Signal Conditioning

Course of Instrumentation. and Measurement. National School of Engineers of Tunis ENIT. Karim Bourouni. Dipl.Dr-Ing.

CSE 3215 Embedded Systems Laboratory Lab 5 Digital Control System

Figure 1: Unity Feedback System. The transfer function of the PID controller looks like the following:

Introduction: Components used:

Auntie Spark s Guide to creating a Data Collection VI

GE 320: Introduction to Control Systems

PHY 351/651 LABORATORY 5 The Diode Basic Properties and Circuits

HIL Simulation Lab Work

Revision: June 10, E Main Suite D Pullman, WA (509) Voice and Fax

Experiment 13: LR Circuit

SRI VENKATESWARA COLLEGE OF ENGINEERING AND TECHNOLOGY

Considerations for Analog Input and Output

LABORATORY 5 v3 OPERATIONAL AMPLIFIER

ME 461 Laboratory #5 Characterization and Control of PMDC Motors

Automated Industrial Wind Tunnel Network Control with LabVIEW. Matt Draear

Uncle Sparky s Guide to Voltage, Current, and Resistance Measurements. Spring 2014

Servo Tuning Tutorial

Hashemite University Mechatronics Engineering Department Mechatronics Systems Laboratory Manual

International Journal of Engineering and Techniques - Volume 5 Issue 2, Mar-Apr 2019

Teacher s Guide - Activity P51: LR Circuit (Power Output, Voltage Sensor)

Experiment P45: LRC Circuit (Power Amplifier, Voltage Sensor)

Data Conversion and Lab (17.368) Fall Lecture Outline

UNIT III Data Acquisition & Microcontroller System. Mr. Manoj Rajale

Ch 5 Hardware Components for Automation

Data acquisition and instrumentation. Data acquisition

Experiment P41: Induction Magnet through a Coil (Photogate, Voltage Sensor)

DIGITAL SYSTEM FOR TRACKING AND DISPLAYING TRAJECTORY AND PARAMETERS OF AN OBJECT TRACKED BY AIR DEFENSE SYSTEM 1RL-35M RADAR

EE 300W Lab 2: Optical Theremin Critical Design Review

Activity P51: LR Circuit (Power Output, Voltage Sensor)

Introduction to the Op-Amp

D102. Damped Mechanical Oscillator

Generator Operation with Speed and Voltage Regulation

Trigonometric Identities. Copyright 2017, 2013, 2009 Pearson Education, Inc.

Using Signal Express to Automate Analog Electronics Experiments

Lab 2: Quanser Hardware and Proportional Control

Fall 2009 ElEn 256 Analog and Digital Signal Processing

Analog I/O. ECE 153B Sensor & Peripheral Interface Design Winter 2016

SKEE 3732 BASIC CONTROL LABORATORY (Experiment 2) ANGULAR POSITION CONTROL

Lecture#1 Handout. Plant has one or more inputs and one or more outputs, which can be represented by a block, as shown below.

ECE 382 Feedback Systems Analysis and Design

P15661 Reciprocating Friction Tester Base Subsystem

LAB 8: Activity P52: LRC Circuit

SmartSenseCom Introduces Next Generation Seismic Sensor Systems

University of Florida Department of Electrical and Computer Engineering Intelligent Machine Design Laboratory EEL 4665 Spring 2013 LOSAT

Lab 2: Introduction to NI ELVIS, Multisim, and LabVIEW

ENEE307 Lab 7 MOS Transistors 2: Small Signal Amplifiers and Digital Circuits

Teaching Mechanical Students to Build and Analyze Motor Controllers

Laboratory Assignment 5 Digital Velocity and Position control of a D.C. motor

Real-time Data Collections and Processing in Open-loop and Closed-loop Systems

Instruction manual for T3DS software. Tool for THz Time-Domain Spectroscopy. Release 4.0

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.

SRV02-Series. Rotary Servo Plant. User Manual

Perry DEHC Test Platform

5 Lab 5: Position Control Systems - Week 2

Understanding the Arduino to LabVIEW Interface

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

COMPARISON OF TUNING METHODS OF PID CONTROLLER USING VARIOUS TUNING TECHNIQUES WITH GENETIC ALGORITHM

MEC751 Measurement Lab 2 Instrumented Cantilever Beam

Modelling and Control of Hybrid Stepper Motor

Question Paper Code : B.E./B.Tech. DEGREE EXAMINATION, NOVEMBER/DECEMBER Third Semester. Electrical and Electronics Engineering

An Activity in Computed Tomography

IAA100/IAA200 Analog Amplifiers Voltage/Current

Motor Modeling and Position Control Lab 3 MAE 334

Practical 2P12 Semiconductor Devices

Test Bench Timing V3.1

An Incremental Measurements and Data Acquisition Project

Basic Measurement and M-G Set OBJECTIVE

DC SERVO MOTOR CONTROL SYSTEM

Fundamentals of Electric Circuits Chapter 2. Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

Transcription:

Summary The first week of this lab takes the steps toward building and demonstrating open loop control of an analog meter needle position. A first step is learning about and using LabVIEW vision tools for acquiring and processing images. A vision-based position sensing system is developed and used to measure the needle position. A second week s lab focus is to study the closedloop control of the analog meter needle position using the vision-based measurement for feedback.

Building a Model of the Meter In pre-lab/hw you will study a model of the meter movement This model represents a plant in a feedback control system as shown below. In a standard feedback control diagram, the controller output for this case is the EM torque applied on the moving coil. Disturbances are unknown torque loads on the needle and/or coil. Reference Signal + Error Signal Controller Disturbance + + Plant System to be controlled Output Feedback Signal LabVIEW based control Sensor In an open-loop case, the controller does not use the error signal to direct its action on the plant. Instead, knowledge about the response is used to specify the voltage as shown earlier.

As long as there are no physical changes, the needle position will respond in the manner intended by the design calculations. This is an open-loop control system design. Vin Analog Meter θ We now think of this as a system that we are trying to control precisely, and consider that there could be changes or disturbances that were not accounted for in the design. One advantage of using a closed-loop control system is to take advantage of the benefits of feedback.

First, however, we ll study the input-output relation for this system, and set up a measurement system that provides a measure of θ The meter as a system under study: Vin Analog Meter θ We want to verify the meter model that relates position to the input voltage a transfer function. For our study, all measurement and control is conducted using: (a) LabVIEW-based vision to measure position, θ, and (b) DAQ analog output* (AO) to provide the excitation voltage. *It is an advantage of this small lab system that the DAQ output is sufficient to drive our actuator no amplifier is needed.

Finding the angle using measured object positions ( ) x0, y 0 c ( x, y ) v v Use the IMAQ Count Objects 2 VI to find the vertex and the position at zero. a θ b This allows you to measure r (in pixels) from, ( x, y ) v v r = ( x x ) + ( y y ) 2 2 2 v 0 v 0 Then each new measured object position (x,y) can be used to determine the 2 2 2 angle, θ, by using the law of cosines, since a = b = r, and, Specifically, c = ( x x ) + ( y y ) 2 2 2 0 0 2 2 2 c 2r 2r cosθ =, so, c = a + b 2abcos θ, 2 1 c 2 θ = cos 1. 2r

θ IMAQ Count Objects 2 The vertex (x,y) value can be measured by placing the cursor at the pivot in the captured image, and reading the pixel values. The zero values should be read as the measured position for a zero input voltage.

A LabVIEW VI to measure the relationship between input voltage and needle position bob This VI uses vision to measure the meter position and controls a D/A to apply a specified DC voltage. This control is used to specify the analog out voltage so you can control the needle position. The needle length is also estimated in pixel units.

Example: Building a linear static model no dynamics A linear regression is shown, giving a model, θ = K V K m θ / v in / = 15.9 deg/v x v V = K θ in, OL x/ v d For this example, V in,ol is the input voltage you d need to dial in to position the needle at a desired angular position, θ d. We could define the open-loop gain for this case as, K 1 v/ θ = Kθ / v = 0.063 V/deg

A simple open loop control system for positioning the needle bob at a given angular location can then be formulated as follows: 1. Specify a desired angular position, θ d. 2. Use the static model to compute the open loop control voltage, V = K θ θ in, OL v/ d 3. Send this voltage command to an analog output VI in LabVIEW 4. Measure the actual position of the needle bob center using USB vision measurement. The following data was obtained for a few simple trials: These quick tests show that you can get reasonable results, but it s hard to judge whether you could position any better.

Open loop control positioning specify a path A formula node can be used to create a desired trajectory. Below is a graph of the desired trajectory and the measured open loop response. Absolute error is especially large during dynamic response. qd is the desired angle T is a period parameter t is the time value Note, this uses an open loop control model to specify the voltage command to be generated by the AO device.