USER MANUAL. Inverted Pendulum Experiment CAPTIVATE. MOTIVATE. GRADUATE.

Similar documents
USER MANUAL. IP02 Base Unit Experiment. Set Up and Configuration CAPTIVATE. MOTIVATE. GRADUATE.

SRV02-Series. Rotary Pendulum. User Manual

USB Contents. Definitions SPECIFICATIONS. RF Power Sensor Device

SRV02-Series. Ball & Beam. User Manual

Topology 1-wire 16 Bank 8 1, 1-wire Octal 16 1, 1-wire Quad 32 1, 1-wire Dual 64 1, 1-wire 128 1

This document lists specifications for the PXI-5691 RF amplifier.

This document lists specifications for the NI PXIe-1491 high-definition multimedia interface (HDMI) analyzer.

NI 9238 Datasheet DATASHEET. 4 AI, ±500 mv, 24 Bit, 50 ks/s/ch Simultaneous

Specifications describe the warranted, traceable product performance over ambient temperature ranges of 0 C to 55 C, unless otherwise noted.

NI 9239 DATASHEET. 4 AI, ±10 V, 24 Bit, 50 ks/s/ch Simultaneous

R Series for PXI Express Digital RIO with Kintex-7 325T FPGA. ni.com/manuals. may impair the protection the NI PXIe-7822R provides.

2.7 GHz RF Vector Signal Analyzer with Digital Downconversion. This document lists specifications for the NI PXI-5661 RF vector signal analyzer.

NI 9244 Datasheet DATASHEET. 3 AI/1 Neutral, 400 Vrms L-N/690 Vrms L-L, 24 Bit, 50 ks/s/ch Simultaneous

NI 9246 DATASHEET. 3-Channel, 20 Arms Continuous, 24-Bit, Analog Input Module

Note In this document, the NI 9202 with spring terminal and the NI 9202 with DSUB are referred to inclusively as the NI 9202.

NI 9260 DATASHEET. 2 AO, 3 Vrms, 24 Bit, 51.2 ks/s/ch Simultaneous

Session 1 Introduction to Data Acquisition and Real-Time Control

NI 9251 with mini XLR

NI 9230 DATASHEET. 3 AI, ±30 V, 24 Bit, 12.8 ks/s/ch Simultaneous

Lab 2: A/D, D/A, and Sampling Theorem

General Wiring and Installation Guidelines. Typical Mounting Installations Electrical Connections General Guidelines Common Questions & Answers

DIRECT DRIVE ROTARY TABLES SRT SERIES

User Guide UD51. Second encoder small option module for Unidrive. Part Number: Issue Number: 5.

MICROMASTER Encoder Module

Trusted 40 Channel Analogue Input FTA

User Guide. HDMI Fiber Optic Extender. DVI-7350a

EM1. Transmissive Optical Encoder Module Page 1 of 9. Description. Features

EM1. Transmissive Optical Encoder Module Page 1 of 8. Description. Features

Contents. Disclaimer of Product and Services

Intelligent Pendulum Hardness Tester BEVS 1306 User Manual

KHT 1000C HV-Probe Calibrator. Instruction Manual

User Guide. Single-Link DVI Active Cable Extender. DVI-7171c

Installation Manual VIP 1003

Index. Index. 1.0 Introduction...2 This Manual Operation Finger Lift Cable Lift Pneumatic Operation...

Long Range Ethernet Extender

EM1. Transmissive Optical Encoder Module Page 1 of 8. Description. Features

Trusted 40 Channel 120 Vac Digital Input FTA

Operation Manual for. SCU1 Signal Conditioning Unit

BNC-2120 INSTALLATION GUIDE. Connector Accessory for Multifunction DAQ Devices

OM2000N INSTALLATION MANUAL

Key Digital Exclusive KD-BBTX / KD-BBRX. Video/Audio HDMI /DVI Smart Baluns with RS-232/IR Connection over CAT5/5e/6. Operating Instructions

HP Presentation Scanner. Quick Reference Guide

DH551C/DH550C/DL550C Double Sided Display User Manual

User Manual. Model 979T and 979R Digital Audio Converters

User Manual CVA3. HDMI Audio Decoder. All Rights Reserved. Version: CVA3_2016V1.0

ROTARY ENCODER SELECTION. A Step by Step Guide

Colour Explosion Proof Video Camera USER MANUAL VID-C

NOTE: The illustrations in this manual may not look the same as your product, but your unit will function in the same way.

Materials: Programming Objectives:

Trusted 40 Channel 120 Vac Digital Input FTA

PC-250. SMD Taped Parts Counter Operator s Manual. ISO 9001:2008 Certified. V-TEK, Incorporated 751 Summit Avenue Mankato, MN USA

2 WIRE - LOOP POWERED TRANSMITTER FOR PT100 AND NI100 PROBES

DKS 40: Incremental Encoder

FX-4AD-TC SPECIAL FUNCTION BLOCK USER'S GUIDE

Up to 85% higher Service Life due to efficient sealing method.

DLM471S-5.1 MULTICHANNEL AUDIO LEVEL MASTER OPERATION MANUAL IB B. (Mounted in RMS400 Rack Mount & Power Supply) (One of 4 Typical Cards)

Step-Lok Manual V1.0 (preliminary) Last edited Feb 23 / 2015

User Guide. HDMI Active Cable Extender. DVI-7370c

Dragonfly Quad. User Manual V1.4. Order code: EQLED101

Operating Instructions for Throttle Valves Using VRC Valve Positioner

PT-C-HDADE. User Manual. HDMI Audio De-Embedder 4K (60Hz 4:4:4) Model PT-C-HDADE. Designed in Germany

C200H-AD002/DA002 Analog I/O Units Operation Guide

NewScope-7A Operating Manual

DT9834 Series High-Performance Multifunction USB Data Acquisition Modules


Litile34 OPERATION MANUAL

LA1500R USER S GUIDE.

4 Wiring Brochure Wiring and installation of specific control

Operating Manual. Automated Gear. Apollo Design Technology, Inc Fourier Drive Fort Wayne, IN USA

Register your product and get support at SDV5122/27. EN User manual

Absolute Encoders Multiturn

SE22HR Small Encoder High Resolution 5V optical encoder up to 2048 CPR

NI PXI/PXIe-2543 Specifications

S MiX 2M2S UF. S MiX 2M2S F

KD-VP800 RGBHV-to-Component Digital Video Scaler & Video Adapter

SCREEN WINCH SYSTEM INSTALLATION MANUAL FOR SCREENS FROM 300 cm. UP TO 450 cm. of width

Sigma 1 - Axis Servo Motor and Cables - Troubleshooting Guide

Challenges. TETRIX Getting Started Guide STEM Challenge Building Guide. Step 1. Parts Needed. Tips

INSTALLATION MANUAL VIP 1903 / VIP 1903 T VIP 1963 / VIP 1963 T

(Cat. No IJ, -IK)

ZVOX AccuVoice TV Speaker Model AV203

ENGR 1000, Introduction to Engineering Design

Commissioning Guide. firepickdelta. Commissioning Guide. Written By: Neil Jansen firepickdelta.dozuki.com Page 1 of 22

XT-HDMI-SM-4K18G. Introduction. User Manual. Key Features XT-HDMI-SM-4K18G USER MANUAL

FXL8 Pro effects looper. user manual

Litile34 INSTALLATION MANUAL

ZVOX AccuVoice TV Speaker Model AV203

User's Guide AO4S-192 AIO

03-Durchfuehren_RZ_0708_EN.qxd:03-Durchfuehren GB.qxd :06 Uhr Seite 200 Feed-through

Table of Contents FCC COMPLIANCE STATEMENT... 4 WARNINGS AND PRECAUTIONS... 4 WARRANTY... 5 STANDARD WARRANTY... 5 TWO YEAR WARRANTY... 5 DISPOSAL...

Ordering Information. Absolute 60-mm-dia. Rotary Encoder E6F-A. High Accuracy and Durability for Automatic Equipment.

SAFETY WARNINGS AND GUIDELINES INTRODUCTION CUSTOMER SERVICE

AI-1664LAX-USB. Features. 100KSPS 16-bit Analog Input Unit for USB AI-1664LAX-USB 1. Ver.1.01

USER S MANUAL

Designing Intelligence into Commutation Encoders

HulaMixer Sample Mixer

The Haply Development Kit

Power Injector 1520 Series

Mini Micro Pulse Lidar System

Single cable multiswich programmer PC102W

Transcription:

USER MANUAL Inverted Pendulum Experiment Set Up and Configuration CAPTIVATE. MOTIVATE. GRADUATE.

c 2012 Quanser Inc., All rights reserved. Quanser Inc. 119 Spy Court Markham, Ontario L3R 5H6 Canada info@quanser.com Phone: 1-905-940-3575 Fax: 1-905-940-3576 Printed in Markham, Ontario. For more information on the solutions Quanser Inc. offers, please visit the web site at: http://www.quanser.com This document and the software described in it are provided subject to a license agreement. Neither the software nor this document may be used or copied except as specified under the terms of that license agreement. All rights are reserved and no part may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written permission of Quanser Inc. Waste Electrical and Electronic Equipment (WEEE) This symbol indicates that waste products must be disposed of separately from municipal household waste, according to Directive 2002/96/EC of the European Parliament and the Council on waste electrical and electronic equipment (WEEE). All products at the end of their life cycle must be sent to a WEEE collection and recycling center. Proper WEEE disposal reduces the environmental impact and the risk to human health due to potentially hazardous substances used in such equipment. Your cooperation in proper WEEE disposal will contribute to the effective usage of natural resources. For information about the available collection and recycling scheme in a particular country, go to ni.com/citizenship/weee. 电子信息产品污染控制管理办法 ( 中国 RoHS) 中国客户 National Instruments 符合中国电子信息产品中限制使用某些有害物质命令 (RoHS) 关于 National Instruments 中国 RoHS 合规性信息, 请登录 ni.com/environment/rohs_china (For information about China RoHS compliance, go to ni.com/environment/rohs_china) This product meets the essential requirements of applicable European Directives as follows: 2006/95/EC; Low-Voltage Directive (safety) 2004/108/EC; Electromagnetic Compatibility Directive (EMC) ROTPEN User Manual 2

CONTENTS 1 Presentation 4 2 Components 5 2.1 Component Nomenclature 5 2.2 Component Description 6 3 Specifications 7 4 System Setup 8 5 Wiring Procedure 10 5.1 Cable Nomenclature 10 5.2 Typical Connections 11 5.3 Typical Connections using the SRV02-ETS 12 6 Testing and Troubleshooting 13 6.1 SRV02 Motor and Sensors 13 6.2 Testing the ROTPEN 13 6.3 Troubleshooting 13 7 Technical Support 14 ROTPEN User Manual v 1.0

1 PRESENTATION The Quanser Rotary Pendulum, pictured in Figure 1.1, consists of a flat arm, or hub, with a pivot at one end and a metal shaft on the other end. The pivot-end can be mounted on top of the SRV02 load gear shaft and fastened with screws. The actual pendulum link is fastened onto the metal shaft and the shaft is instrumented with a sensor to measure its angle. The result is a horizontally rotating arm with a pendulum at the end. Figure 1.1: SRV02 ROTPEN system. As shown in Figure 1.1, the ROTPEN is instrumented with an encoder(1024 line) to obtain a digital measurement of the pendulum and is free to rotate 360 degrees. Caution: This equipment is designed to be used for educational and research purposes and is not intended for use by the general public. The user is responsible to ensure that the equipment will be used by technically qualified personnel only. ROTPEN User Manual 4

2 COMPONENTS The ROTPEN components are identified in Section 2.1. Some of the those components are then described in Section 2.2. 2.1 Component Nomenclature The components of the Rotary Pendulum module are listed in Table 2.1 below and labeled in Figure 2.1 ID # Component ID # Component 1 SRV02 6 Pendulum T-Fitting 2 Thumbscrews 7 Pendulum Link 3 Rotary Arm 8 Pendulum Encoder Connector 4 Shaft Housing 9 Pendulum Encoder 5 Shaft Table 2.1: Listing of ROTPENComponents Figure 2.1: ROTPEN Components ROTPEN User Manual v 1.0

2.2 Component Description 2.2.1 Encoder The encoder used to measure the pendulum angle on the ROTPEN module is a US Digital S1 single-ended optical shaft encoder. It offers a high resolution of 4096 counts per revolution in quadrature mode (1024 lines per revolution). The internal wiring of the encoder and the 5-pin DIN connector on the ROTFLEX module is illustrated in Figure 2.2. Caution: The Encoder sends a digital signal and should be directly connected to a Quanser terminal board using a standard 5-pin DIN cable. DO NOT connect the encoder signal to the amplifier. Figure 2.2: Encoder Wiring ROTPEN User Manual 6

3 SPECIFICATIONS Table 3.1, below, lists and characterizes the main parameters associated with the SRV02 Rotary Pendulum module. See Figure 3.1 for an illustration of the device dimensions as well as the servo and pendulum angle definitions. Some of the parameters listed in Table 3.1 are used in the mathematical model. Symbol Description Value Unit m p Mass of pendulum 0.127 kg L p Total length of pendulum 0.337 m l p Distance from pivot to center of 0.156 m mass J p,cm Pendulum moment of intertia about 0.0012 kg.m 2 center of mass B p Pendulum viscous damping coefficient 0.0024 N.m.s/rad as seen at the pivot axis m arm Mass of rotary arm with two thumb 0.257 kg screws r Rotary arm length from pivot to tip 0.216 m l arm Rotary arm length from pivot to center 0.0619 m of mass J arm,cm Rotary arm moment of inertia about 9.98 10 4 kg.m 2 its center of mass m b Rotary arm viscous damping coefficient 0.0024 N.m.s/rad as seen at the pivot axis J arm Rotary arm moment of inertia about 0.0020 kg.m 2 pivot K enc Pendulum encoder resolution 4096 counts/rev Table 3.1: Rotary Pendulum system specifications. Figure 3.1: Schematic of Rotary Pendulum ROTPEN User Manual v 1.0

4 SYSTEM SETUP Caution: If the equipment is used in a manner not specified by the manufacturer, the protection provided by the equipment may be impaired. Caution: Exposed moving parts. Follow this procedure to setup the Quanser Rotary Pendulum (ROTPEN) module for experimental use: 1. Before beginning, ensure the Quanser Rotary Servo (SRV02) is setup in the high-gear configuration as detailed in SRV02 User Manual [2]. 2. As shown in Figure 4.1, insert the pendulum rod into the T-Fitting using the set-screw. Do not excessively tighten the set screw! Figure 4.1: Insert pendulum into T-Fitting using set-screw 3. Make sure T-Fitting is at the end of the metal shaft on the rotary arm and properly fastenned using the set screw, as shown in Figure 4.1. The ROTPEN module may have been shipped with the T-Fitting positioned close to the encoder. 4. Mount the ROTPEN module on the load output shaft of the SRV02 as shown in Figure 4.2 using the two thumb screws. Figure 4.2: Mount ROTPEN module on servo using thumb screws 5. Place the servo on a table with the pendulum hanging downwad. The pendulum should be free to rotate 360 degrees. It is also recommended that the SRV02 be clamped down onto an edge of a table as shown in Figure 4.3. ROTPEN User Manual 8

Figure 4.3: Clamp down SRV02 onto table edge ROTPEN User Manual v 1.0

5 WIRING PROCEDURE The following is a listing of the hardware components used in this experiment: Power Amplifier: Quanser VoltPAQ or equivalent. Data Acquisition Board: Quanser QPID, QPIDe, Q2-USB, Q8-USB, or equivalent. Rotary Servo Plant: Quanser SRV02, SRV02-T, SRV02-E, SRV02-EHR, or SRV02-ET. Rotary Pendulum Module: Quanser ROTPEN module See the references listed at the end of this document for more information on these components. The cables supplied with the ROTPEN package are described in 5.1 and the procedure to connect the above components is given in 5.2. Caution: When using a Quanser VoltPAQ power amplifier, make sure you set the Gain to 1! 5.1 Cable Nomenclature Table 5.1, below, provides a description of the standard cables used in the wiring of the Rotary Pendulum system. Cable Designation Description 2xRCA to 2xRCA This cable connects an analog output channel of the data acquisition terminal board to the power module for proper power amplification. (a) RCA Cable 4-pin-DIN to 6-pin-DIN This cable connects the output of the power module, after amplification, to the desired DC motor on the servo. (b) Motor Cable 5-pin-stereo-DIN to 5-pinstereo-DIN This cable carries the encoder signals between an encoder connector and the data acquisition board (to the encoder counter). Namely, these signals are: +5 VDC power supply, ground, channel A, and channel B. (c) Encoder Cable Table 5.1: Cable Nomenclature ROTPEN User Manual 10

5.2 Typical Connections This section describes the typical connections used to connect the SRV02 and ROTPEN-E system to a data acquisition device and power amplifier. The connections are given in 5.2 and illustrated in Figure 5.1. The wiring procedure details are given below. Cable # From To Signal 1 Terminal Board: Amplifier ''From D/A'' conector Control signal to the amplifier. Analog Output #0 2 Amplifier ''Motor'' SRV02 ''Motor'' Connector Power leads to the SRV02 DC connector motor. 3 Terminal Board: SRV02 ''Encoder'' connector Encoder load shaft angle measurement. Encoder Input #0 4 Terminal Board: ROTPEN Encoder connector Encoder pendulum angle measurement. Encoder Input #1 Table 5.2: Quanser ROTPEN system connections Figure 5.1: Quanser ROTPEN connection diagram Follow these steps to connect the Rotary Pendulum system: 1. It is assumed that the Quanser DAQ board is already installed as discussed in [3]. If another data-acquisition ROTPEN User Manual v 1.0

device is being used, e.g. NI M-Series board, then go to its corresponding documentation and ensure it is properly installed. 2. Make sure everything is powered off before making any of these connections. This includes turning off your PC and the amplifier. 3. Connect one of the connectors on the 2x RCA to 2x RCA cable from the Analog Output Channel #0 on the terminal board to the Amplifier Command Connector on the Quanser amplifier. See cable #1 shown in Figure 5.1. This carries the attenuated motor voltage control signal, Vm /Ka, where Ka is the amplifier gain. 4. Connect the 4-pin-stereo-DIN to 6-pin-stereo-DIN from To Load on the amplifier to the Motor connector on the SRV02. See connection #2 shown in Figure 5.1. The cable transmits the amplified voltage that is applied to the SRV02 motor and is denoted Vm. 5. Connect the 5-pin-stereo-DIN to 5-pin-stereo-DIN cable from the Encoder connector on the SRV02 panel to Encoder Input #0 on the terminal board, as depicted by connection #3 in Figure 5.1. This carries the load shaft angle measurement and is denoted by the variable θ1. Caution: Any encoder should be directly connected to the Quanser terminal board (or equivalent) using a standard 5-pin DIN cable. DO NOT connect the encoder cable to the amplifier! 6. Connect the Encoder connector on the ROTPEN directly to Encoder Input Channel #1 on the terminal board, as depicted by connection #4 in Figure 5.1. It carries the measured pendulum angle from thr ROTPEN encoder and is denoted by variabe α. 5.3 Typical Connections using the SRV02-ETS The SRV02-ETS is an SRV02-ET system mounted with a slip ring to allow a load to move 360 degrees without any cable obstructions. See [2] for more information about the SRV02-ETS device. When using the SRV02-ETS system with a ROTPEN and an amplifier, the pendulum encoder connection is passed through the slip ring and is therefore different than the wiring described for the SRV02-ET explained earlier. The connections on the SRV02-ETS system are shown in Figure 5.2 and summarized in the steps below: 1. Connect the Left connector on the SRV02 to the Encoder Input #1 connector on the terminal board using the 5-pin-stereo-DIN to 5-pin-stereo-DIN cable. It carries the measured pendulum angle from the ROTPEN encoder to the PC and is denoted by the variable α. 2. Connect the Encoder connector on the ROTPEN module to the Left connector on the slip ring using the short 5-pin-stereo-DIN to 5-pin-stereoDIN cable. It carries the pendulum angle measured by the ROTPEN encoder to the SRV02 Left connector. The rest of the connections remain the same as described in 5.2 according to the amplifier type and DAQ that you are using. Figure 5.2: SRV02-ETS and ROTPEN ROTPEN User Manual 12

6 TESTING AND TROUBLESHOOTING This section describes some functional tests to determine if your Rotary Pendulum system is operating normally. It is assumed that the SRV02 is connected as described in the 5.2. To carry out these tests, it is preferable if the user can use a software such as QUARC or LabVIEW to read sensor measurements and feed voltages to the motor. You can refer to [1] to learn how to interface the SRV02 with QUARC. Alternatively, these tests can be performed with a signal generator and an oscilloscope. 6.1 SRV02 Motor and Sensors Please refer to [2] for information on testing and troubleshooting the SRV02 separately. 6.2 Testing the ROTPEN Follow this procedure to test the ROTPEN encoder: 1. Measure Encoder Input Channel #1 using, for instance, the QUARC software. 2. Rotate the pendulum link and verify that your are obtaining a reading. 3. If it is measuring, make sure it is reading the correct angle. For example, rotate the link 180 degrees and ensure you are reading 180 degrees, which is about 4096 counts in quadrature mode, in the software. Note: Some data acquisition systems do not measure in quadrature and, in this case, one-quarter of the expected counts are received, i.e. 1024 counts. In addition, some data acquisition systems measure in quadrature but increment the count by 0.25 (as opposed to having an integer number of counts). Make sure the details of the data-acquisition system being used is known. The counters on the Quanser DAQ boards measure in quadrature and therefore a total of four times the number of encoder lines per rotation, e.g. a 1024-line encoder results in 4096 integer counts for every full rotation. 6.3 Troubleshooting Follow the steps below if the encoder on the ROTFLEX model is not measuring properly: If the encoder is not measuring properly, go through this procedure: Check that the data-acquisition board is functional, e.g. ensure it is properly connected, that the fuse is not burnt. Check that both the A and B channels from the encoder are properly generated and fed to the data-acquisition device. Using an oscilloscope, there should be two square waves, signals A and B, with a phase shift of 90 degrees. If this is not observed then the encoder may be damaged and need to be replaced. Please see Section 7 for information on contacting Quanser for technical support. See [2] for information on troubleshooting an encoder. ROTPEN User Manual v 1.0

7 TECHNICAL SUPPORT To obtain support from Quanser, go to http://www.quanser.com/ and click on the Tech Support link. Fill in the form with all the requested software and hardware information as well as a description of the problem encountered. Also, make sure your e-mail address and telephone number are included. Submit the form and a technical support representative will contact you. Note: Depending on the situation a support contract may be required to obtain technical support. ROTPEN User Manual 14

REFERENCES [1] Quanser Inc. SRV02 QUARC Integration, 2008. [2] Quanser Inc. SRV02 User Manual, 2009. [3] Quanser Inc. Q2-USB Data-Acquisition System User's Guide, 2010. ROTPEN User Manual v 1.0

Over ten rotary experiments for teaching fundamental and advanced controls concepts Rotary Servo Base Unit Inverted Pendulum Flexible Link Flexible Joint Ball and Beam Double Inverted Pendulum Gyro/Stable Platform 2 DOF Robot 2 DOF Inverted Pendulum 2 DOF Gantry Multi-DOF Torsion 2 DOF Ball Balancer Quanser s rotary collection allows you to create experiments of varying complexity from basic to advanced. Your lab starts with the Rotary Servo Base Unit and is designed to help engineering educators reach a new level of efficiency and effectiveness in teaching controls in virtually every engineering discipline including electrical, computer, mechanical, aerospace, civil, robotics and mechatronics. For more information please contact info@quanser.com. 2012 Quanser Inc. All rights reserved. INFO@QUANSER.COM +1-905-940-3575 QUANSER.COM Solutions for teaching and research. Made in Canada.