EE+413+Project+2+Home+Page

=ABC= =test Run= =EE 413 Project 2 Wiki Page= Project wiki URL: http://ee413s09-02.wikispaces.com/ Chiweng Kam (ckam at calpoly.edu) and Dan Strengier (dstrengi at calpoly.edu)

This project is to design a visual instrument (using LabVIEW) that commands one of the lab bench instrument to generate a signal. Then, the vi commands another instrument to measure the same or another signal. The vi will then report the measured data with useful data analysis.

For Extra Credit: 1. Measure the minimum, maximum, and typical times required to perform both operations. 2. Expand the project in a creative engineering fashion and/or make your project foster sustainability.

[|EE 413 Course Link] - The course website for EE 413. [|EE 413 Project 2]  - This webpage contains the details and the requirements for the project. [|LabVIEW 8.6] - This website provides information in the software used in this project - LabVIEW 8.6 (by Texas Instruments) [|LabVIEW 8.6 Tutorial] - This website provides a tutorial on LabVIEW.

Project Specifications:
Option 1: Our team will devise a VI to supply a 1KHz, 4Vpp sinusodial signal from the Agilent 33120A Function Generator and measure the period of the signal using the Agilent 54622A Oscilloscope. Option 2: Our team will devise a VI to supply a 2V sawtooth signal from the Agilent 33120A Function Generator and measure the RMS value of the signal using the Fluke 8840A DMM. -Dan

Option 3: Our team will devise a VI to supply a 2Vpp Sinusoidal Waveform from the Agilent 33120A Function Generator and measure the DC voltage level using the Agilent 34401A DMM. (To measure Power Dissipation of a rectifier) Option 4: Our team will devise a VI to supply a 1V Square Wave with 0.5V DC offset and 50% Duty Cycle from the Agilent 33120A Function Generator and measure the Output Waveform using the Agilent 54622A Oscilloscope. (To measure the time it takes to charge an capacitor) -Chi

DB finds all four options fine.
 * Option 1** became our final project specification; it was then modified into the final project specification.


 * LabVIEW Project File (Click the following link to download the LabVIEW project library) :** [|Project 2 LabVIEW Library]

Description of the Project:
We chose to work with the Agilent signal generator and digital multimeter because they offer a wide range of functionality. We determined that our final project will potentially involve AC signals, so we decided that it would be beneficial to learn how to interface with the signal generator. The multimeter was chosen because it is relatively easy to extract AC data measurements from it compared to the more complex oscilloscope.

Our VI can be used to characterize frequency synthesizers and determine their performance. By applying the signal generator to the input of a frequency synthesizer circuit, the quality of the frequency divider/multiplier can be analyzed by measuring the frequency output of the synthesizer. The ratio of input frequency to the measured frequency is determined through the VI. The expected frequency division/multiplication ratio of the reference frequency can be compared to the experimental results displayed through the VI.

Our VI generates a sinusoidal signal through the Agilent signal generator, with the frequency and peak-peak voltage determined by the user. The Agilent digital multimeter reads the frequency or RMS voltage of the input signal, depending on the user’s choice. The results are displayed in a indicator box on the front panel and also saved to a text file with the location of the file deteremined by the user. The generated signal from the signal generator can be directly connected to the multimeter. The signal can also be used to power a circuit so that the circuit’s frequency performance or AC voltage output can be measured.

Our project contains numerous VIs used from Arthur C. Young's [|Sweep-N-Go], and credit is given inside the appropriate VI's block diagrams.





Figure 2 shows the wiring diagram for the main VI. First, the program opens the VISA sessions for both devices with the provided device addresses. Then, the sub VI InitFG (modified from the [|Young]'s original design) initializes the function generator with the user defined peak-to-peak amplitude and frequency. Next, the sub VI ReadAMM (modified again from [|Young]'s original design) reads and outputs either the RMS voltage or frequency. The case structure then takes the input and output frequency and calculates the ratio. Lastly, the program closes the VISA sessions.



Figure 3 shows the VI hierarchy of the project. The program uses the sub VI CalcMed for noise reduction and the sub VI Delay to ensure enough operation time between steps.