Professional Documents
Culture Documents
1. Quanser QUBE-Servo
1 2 3
2. Inertia disc module
3. Pendulum module
4. 15V 2.0 A power supply
4 5
5. NI myRIO MXP Interface Cable
6. Quanser Workstation Resources*
(include controllers; User Manual,
Quick Start Guide and courseware;
and other files)
6 Instructor workbook
student workbook
QubE-servo Experiment for LabVIEwQube-servo
users experiment for LabVIew users
Standardized for ABET * Evaluation Criteria Standardized for ABET * Evaluation Criteria
Developed by:
Jacob Apkarian, Ph.D., Quanser
Michel Lévis, M.A.SC., Quanser
Developed by:
Jacob Apkarian, Ph.D., Quanser
Michel Lévis, M.A.SC., Quanser
uSer MaNuaL
QuBe-Servo experiment
Set Up and Configuration
Course material
Course material
complies with:
complies with:
1. NI myRIO system
1 2 3
2. Power supply for NI myRIO
RCP Toolkit 3. Quanser Rapid Control Prototyping Software 2013 SP1
ni.com/labviewtools/rcp
for NI LabVIEW™. Visit www.ni.com/labviewtools/rcp
4. USB cable
5. Power cable for the QUBE-Servo power supply
(available through National Instruments based
on your country’s power/voltage requirements)
4 5
Note: These components must be purchased separately.
1. LABVIEW™ myRIO Module 6. Quanser Rapid Control Prototyping Toolkit® 2013 SP1
2. LABVIEW™ Real-Time Module Note: The Quanser Rapid Control Prototyping (RCP) Toolkit
3. LabVIEW™ Control Design and Simulation Module must be installed after LabVIEW. See the RCP Toolkit Installation
4. LabVIEW™ MathScript RT Module [only used in certain VIs] Guide for more information (www.quanser.com/products/
5. NI-DAQmx rcptk/documentation)
STEP 4 Set Up the Hardware
To set up your QUBE-Servo NI myRIO, please read the following instructions carefully. The steps below use the Quanser QUBE-Servo
NI myRIO Interface, which is designed to interface exclusively with the NI myRIO. If you are using the QUBE-Servo Direct I/O or USB
interfaces, please refer to their own Quick Start Guides or the QUBE-Servo User Manual for instructions on connecting your system.
C
Connect the inertia disc module to
the QUBE-Servo base by aligning
QUBE-Servo
the inertia disc magnets with the
ROTARY SERVO EXPERIMENT
WWW.QUANSER.COM
Made in Canada
D
QUBE-Servo
QUBE-Servo
Using the NI myRIO MXP cable,
ROTARY SERVO EXPERIMENT
WWW.QUANSER.COM
Made in Canada
ROTARY SERVO EXPERIMENT
WWW.QUANSER.COM
Made in Canada
connect the MXP A or MXP B
ports on the NI myRIO to the
myRIO Connector A/B socket
on the QUBE-Servo Power
E F G
QUBE-Servo
Connect the power Connect
QUBE-Servo
the power The green Power LED
QUBE-Servo
ROTARY SERVO EXPERIMENT
WWW.QUANSER.COM
Made in Canada
connector on the supply to a wall outlet
ROTARY SERVO EXPERIMENT
WWW.QUANSER.COM
Made in Canada
on the QUBE-Servo
ROTARY SERVO EXPERIMENT
WWW.QUANSER.COM
Made in Canada
QUBE-Servo to the using the appropriate should turn ON.
supplied 15V power power cable.
supply.
Power Power Power Power
STEP 5 Testing the QUBE-Servo
Follow the procedure below to test your QUBE-Servo experiment.
G Click on the OK button. H Go to the Front Panel (CTRL-E) of the VI, (pictured in Step 5D).
I J K
Click on the The scopes should look similar to
white arrow those shown here.
to run the VI. The measured servo angle (in red) Click on the
The inertia disc should be tracking the desired angle STOP button to
should begin (in blue) in the Servo Angle (deg) stop running
rotating back scope. The motor voltage is displayed the VI.
and forth. in the Motor Voltage (V) scope.
If not, consult the Troubleshooting
section at the end of this guide.
TROUBLESHOOTING Review the following recommendations before contacting Quanser’s technical support engineers.
You are getting A. Make sure you installed all the LabVIEW add-ons listed in Step 3.
‘VI Missing’ B. Verify that the correct LabVIEW version is installed for the Quanser Rapid Control
messages Prototyping Toolkit 2013 SP1. Refer to the RCP Toolkit Quick Installation Guide.
A. Make sure your Data Acquisition (DAQ) device has been properly connected to
You get an ’An (or installed on) your PC/laptop. Note that some DAQ devices need to be powered
operating system externally, e.g., NI myRIO.
specific kernel-
B. Ensure you selected the correct board type in the HIL Initialize block, as outlined
level driver for in Steps 5E, 5F, and 5G.
the specified
card could not be C. Refer to the User Manual or Quick Start Guide that is supplied with your Data
Acquisition (DAQ) device for more specific troubleshooting information and testing
found’ message.
procedures.
A. Ensure the green Power LED on the QUBE-Servo is lit. If not, make sure the power
supply is operational and properly connected.
The Motor is B. Verify that the data acquisition (DAQ) device used to connect to the QUBE-Servo
not responding. is functional. Refer to the User Manual or Quick Start Guide that is supplied with
your Data Acquisition (DAQ) device for more specific troubleshooting information
and testing procedures.
©2015 Quanser Inc. All rights reserved. LabVIEW™ are registered trademarks of National Instruments. V.1.3