Virtual Lab 7 - Martian Rescue
Virtual Lab 7 - Martian Rescue
Purpose:
• Control the operation of a reversible motor drive for a camera
• Capture video remotely
• Add program documentation and create reports
Equipment:
• HP 34401A Multimeter
• HP 54601A Oscilloscope with HP 54657A Measurement/Storage Module
• HP 8116A Pulse/Function Generator or HP 33120A Function/Arb Generator
• HP 6236B Triple-output Power Supply
• Connectix Video Camera
• Intel 100MHz Pentium computer, 32MB Ram with HPIB Card
• HP VEE for Windows software, Version 3.2
• Timbuktu (remote access) software
• QuickPICT software
• Text: Robert Helsel, “Graphical Programming: A Tutorial for HP VEE”, Prentice Hall, 1995
• HP VEE executable file
Introduction:
During the Viking 1 and 2 missions to Mars, the orbiters took extensive photographs of the
surface of the planet. Subsequent careful analysis of these photographs revealed several
clusters of objects that looked sufficiently different from the other Martian features that
some suspected that they may not be of natural origin. However, the orbiting photographs
were not of high enough resolution to clearly determine the nature of the objects. To
follow up on this possibility, the Viking 3 spacecraft has recently made a successful
landing near one of these clusters. The lander is equipped with a video camera to take
close-up pictures of the objects. However, shortly after landing, a failure was detected in
the driver circuitry that controls the left-to-right motion of the camera. It is crucial for the
mission to find some “fix” using available instrumentation to restore the motion of the
camera. After making the camera operational again, you must scan the video images from
the lander and determine if there is any evidence of life.
The camera motor drive requires a +4 V signal to pan right, and a -3 V signal to pan left.
The voltage should be set to 0 to stop and remain in a given position. Although the circuit
that generates these voltages has failed, a D/A module associated with another experiment
is able to generate the required voltages and is available for use with the motor at times
when the other experiment is not in progress. In addition, a system voltmeter was included
on the spacecraft to assist in monitoring various critical voltage points. This voltmeter can
be used to monitor the voltage applied to the motor drive. The circuit diagram of the
motor drive and the connections to the substitute instrumentation are shown below.
+ +5V
Voltmeter
(multimeter)
2N3904
33Ω
+
D/A Mot
(Function
generator)
2N3906
-5V
Procedure:
You must turn in a written report that has the following sections:
1. Cover page
This page must have the lab number and title, your name(s), course number and title,
semester and year, department (Electrical and Computer Engineering), and university
(Carnegie Mellon University!!).
Give some background on the problem. You may draw from the material in this lab
handout, but you are also free to embellish as you are inspired. Conclude with summariz-
ing what is in each section of your report. Point out the software that you are using to
solve the problem (HP VEE and Timbuktu).
3. Program Description
Organize your program so that the functional blocks can all be seen at once on the HP VEE
screen (use UserObjects as necessary to simplify the highest level view). Capture the
HP VEE screen and use this as a figure in your report. Add a description with words
(a few paragraphs) explaining how the program works and referring to the major objects
in the figure. Refer to the program documentation generated by veedoc and include this
documentation as an Appendix (see below).
4. Experimental Observations
Describe your remote observations. Include the date and time of the observations, and the
remote machine or location from which you accessed the experiment. Capture the screen
showing your program panel and the video image that you think sheds the most light on
the question of the evidence for intelligent life on Mars, and include this as a figure.
Comment on the significance of your observation.
5. Summary and Conclusions
Briefly summarize the original problem, the solution addressing the problem (design of a
virtual motor controller), and the conclusions from the observations.
6. Appendix
Include a listing of the documentation generated with the veedoc command as an appen-
dix. This documentation must include at least one sentence for every object.
Part 5: Grading
As indicated in the Course Syllabus, this lab is worth 3 points. The points will be distributed as
follows:
Total 3 pts
Lab Logistics:
The video camera and driver will be set up on machine B during lab periods on Nov. 1 and
Nov. 8. You should debug your program locally. When you are ready for a test, you may
transfer your program to machine B and try it out with the camera. The camera will be set
up for observations (also on machine B) between 5:00 pm Friday and Noon the following
Monday on the following weekends: Nov. 2-3, Nov. 9-10. Reports will be due Friday, Nov. 15.