You are on page 1of 13

ME306

Design lab - 2
Experiment-1: Oscilloscope (1), LabVIEW(1a)

Submitted by:

Himanshu Kumar Singh


(2017meb1212)

Lab Mates:
Harsh Tomer(2017meb1209)
Ajay Raman Meena

3rd year undergraduate student

Experiment Performed On: 13 January 2020


Report Submitted On: 27 January 2020
1. Introduction

We performed two experiments related to functioning of Oscilloscope and LAB VIEW and
observed various waveforms. The first part of the experiment is to generate some function in
an oscilloscope and analyse the various parameters. The same work is done in second part but
in a LABVIEW.

About Oscilloscope - The oscilloscope is basically a graph-displaying device – it draws a graph


of an electrical signal. In most applications, the graph shows how signals change over time.
Some features of oscilloscope –

 Storage of waveforms for future reference and comparison


 Display of several waveforms simultaneously
 Spectral analysis
 Portability
 Battery power option
 Usability with all popular operating platforms
 Zoom-in and zoom-out
 Multi-color displays

About LABVIEW software - LabVIEW is a visual programming language: it is a system-design


platform and development environment that was aimed at enabling all forms of system to be
developed. It uses a graphic interface that enables different elements to be joined together to
provide the required flow. LabVIEW provides a powerful platform for undertaking a wide
variety of different applications. It started as an environment for managing test programming,
but since its inception, the applications for which it can be used have considerably expanded. It
has two windows; one is for user interface and other is programming panel.

2. Experimental setup and procedure

For first experiment we require DSO (digital storage oscilloscope), function generator and filter.
FIGURE 1 FUNCTION GENERATOR

FIGURE 2 DSO
For experiment second, we need LABVIEW software. We work on front panel and block
diagram.

3. Procedure - Following are the procedure of first experiment.


 Generate various waveforms i.e. sin wave, square wave, triangular wave, sawtooth wave,
arbitrary wave, DC signal for various frequencies
 Analyse various parameters for the generated waveforms in tabular form mention below.
 Use filters on the waveform and analyse the data.

For second experiment, following are the procedure.

 Generate various virtual waveforms i.e. sin wave, square wave, triangular wave, sawtooth
wave, arbitrary wave, DC signal for various frequencies.
 Observe FFT of generated waveforms and conclude the same
 Use various filters on the waveform and observe the effect on FFT of signal we use.

4. Results and Discussion

Virtual Waveform (LABVIEW)

Setting for spectral measurement

FFT of Square, triangular, sawtooth


Filters as low pass are applied in different types of wave
Real waveform (function generator and oscilloscope) - In this part of experiment we
generated some real waveforms with the help of function generator and got graphs from DSO.
Power Supply – ramp waveform
FFT of sine waveform
FFT of Square Waveform
FFT of Ramp waveform
FFT of Arbitrary Waveform
In this experiment we observe that:
1. How we can use LabVIEW software to make our input signal using DSO and function
generator present in the software. We have plotted different waves and observe their
FFT for the different mentioned frequency.
2. The waves we obtained by plotting here are quite accurate to that of the one we
observed while plotting in actual DSO. Some difference can be seen due to inaccuracy of
DSO.
3. According to the Nyquist Theorem, we need to sample twice as fast as the highest
frequency we want to measure. For instance, if the signal we wish to measure 1MHz
sine wave, we have to sample at **AT LEAST** 2 Mega Samples per second (MS/s) to
ensure that the 1MHz frequency component of the signal is detected. However,
sampling at exactly 2 times the highest frequency is often unacceptable, especially in
applications where the shape (time-domain representation) of the signal is important.
When sampling a pure sine wave, we generally make sure that sample is at least 10
times the frequency to that of sine wave to make sure we can properly see the shape of
the signal.
4. In the LabView software we can connect real signal and modify them as required. Same
work can also be done DSO.

5. CONCLUSION AND RECOMMENDATION


The oscilloscope let us actually see the current going through our setup and allowed us to
manipulate it to acquire values and a different perceptive of this flowing energy. Through this
lab we slowly figured out how to properly use this machine and how each knob affects the
output of the live graph. In the second part of the experiment we observed the plotting again
on software LabVIEW on which we can easily build circuit and observe their FFT to measure the
input frequency and observe how much it differs from the actual one.
Recommendation is use proper DSO probes to amplify small waveform. Keep sample rate
atleast twice the frequency in the LabView software.

6. REFERENCES
Lab Manual

Wikipedia

You might also like