me104_lab4

Me104_lab4 - ME 104 Sensors and Actuators Fall 2002 Laboratory#4 Open Loop Analog Control of a DC Motor Department of Mechanical and Environmental

Info iconThis preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon
ME 104 Sensors and Actuators Fall 2002 Laboratory #4 Open Loop Analog Control of a DC Motor Department of Mechanical and Environmental Engineering, University of California, Santa Barbara
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
October 21, 2002 Revision By Aruna Ranaweera 2
Background image of page 2
Introduction In this laboratory, you will write a LabVIEW program that will enable you to drive a DC Motor using an analog voltage signal. You will also learn how to measure and view both angular velocity and angular position feedback signals from the motor. The DC Motor is part of the MS15 DC Motor Control Module (Figure 1). The angular velocity of the motor can be controlled using either an analog voltage signal or a pulse width modulated (P. W. M.) digital signal. In this laboratory, we will use only analog signals. You will learn how to control the motor using a digital signal in Laboratory #7. Figure 1: MS15 DC Motor Control Module Background Reading Please read the following material prior to this lab: 1. DC Motor Control Module User Manual , Pages 3-7 and 14-16 , LJ Technical Systems Inc. 3
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Experiment #1: Build a Virtual Instrument for Analog Output In this experiment, you will build a LabVIEW VI that will enable you to output an analog voltage signal from your DAQ (data acquisition) board. Analog Output Channel 0 (DAC0OUT) on the DAQ board 1 has already been configured to output voltage signals in the range –5 V to +5 V. 1. Launch LabVIEW. 2. Create a new VI by selecting New VI in the LabVIEW dialog box. 3. From the Controls palette, click on the Options navigation button. From the Function Browser Options pop-up window, select the Basic palette set. Click on the OK button. 4. Go to the block diagram. Select AO Update Channel.vi from the Functions>>Data Acquisition>>Analog Output subpalette. 5. Place the AO Update Channel VI on the block diagram. 6. Select the Wiring tool from the Tools palette. If the Tools palette is not visible, select Windows>>Show Tools Palette . Move your pointer over the channel (0) terminal of the AO Update Channel VI. A tip strip that labels the terminal appears. 7. From the pop-up (right-click) menu on the highlighted channel (0) terminal, choose Create Constant . 8. Type DAC0OUT in the Create Constant control 2 . This is the given name of Analog Output Channel 0. 9. Go to the front panel. Select Knob from the Controls>>Numeric subpalette. 1 The PCI-6024E DAQ board has two 12-bit analog output channels, each with a maximum output rate of 10 kS/s. 2 DAC0OUT corresponds to DAC-zero-OUT. 4 Oscilloscope DAQ board PC D/A Converter Figure 2: Analog voltage output from DAQ board
Background image of page 4
10. Move your pointer into the front panel and click to place the knob on the front panel. 11. To change the label of the knob, select the Labeling (Edit Text) tool from the Tools palette. Highlight the knob label and change the label to Motor Drive Input Knob . 12. To change the range of the knob from [0.0, +10.0] to [-5.0, +5.0], double-click
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 6
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 12/29/2011 for the course ME 104 taught by Professor Staff during the Fall '08 term at UCSB.

Page1 / 17

Me104_lab4 - ME 104 Sensors and Actuators Fall 2002 Laboratory#4 Open Loop Analog Control of a DC Motor Department of Mechanical and Environmental

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online