Lab%204%20ME104%202008

Lab%204%20ME104%202008 - ME 104 Sensors and Actuators...

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

View Full Document Right Arrow Icon
ME 104 Sensors and Actuators Laboratory 4 Open Loop Analog Control of a DC Motor Department of Mechanical Engineering University of California, Santa Barbara (Rev. 2007)
Background image of page 1

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

View Full Document Right Arrow Icon
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. 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. Pre-Lab Please build the following VIs prior to this lab: 1. yourname_MotorDrive.vi Build a VI to generate a DC voltage to drive a motor as shown in Figure 2 ± Save this VI as yourname_MotorDrive.vi . 2
Background image of page 2
Figure 2. Front panel and block diagram for yourname_MotorDrive.vi. 2. yourname_MotorDrive_AcquireVoltage.vi Modify (add) to your VI to acquire voltage signals from ai0 (Analog Input Channel 0) and ai1 (Analog Input Channel 1) and display it on a chart, as shown in Figure 3. ± Save this VI as yourname_MotorDrive_AcquireVoltage.vi Figure 3. Front panel and block diagram for yourname_MotorDrive_AcquireVoltage.vi . 3
Background image of page 3

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

View Full Document Right Arrow Icon
Experiment #1: Build a Virtual Instrument for Analog Output In this experiment, you will use a la bVIEW 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 * has already been configured to output voltage signals in the range –5 V to +5 V. You will verify the output voltage signal on the oscilloscope as shown in Figure 4. Oscilloscope DAQ board PC D/A Converter Figure 4. Analog voltage output from DAQ board to oscilloscope. 1. Open yourname_MotorDrive.vi 2. To view the analog voltage signal from the DAQ board, connect your oscilloscope to the CB-68LP connector block according to Table 1. Table 1. Pin assignments for viewing voltage from Analog Output Channel 0 on oscilloscope. Oscilloscope probe Connect to: Analog voltage (Red probe) Pin 22 (AO 0) Analog ground (Black probe) Pin 55 (AO GND) You are now ready to run your VI. Verify that the voltage viewed on your oscilloscope corresponds to the voltage specified by your Motor Drive Input Control. 3. FOR LAB REPORT , Save screenshot of front panel and block diagram 4. To stop running the VI, set your Motor Drive Input Control to the 0V position and then click the STOP button. Experiment #2: Drive the DC Motor Using an Analog Signal
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

Page1 / 12

Lab%204%20ME104%202008 - ME 104 Sensors and Actuators...

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

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