Lab 1 Introduction To The Use of The Digilent'S Analog Discovery
Lab 1 Introduction To The Use of The Digilent'S Analog Discovery
1.A. OBJECTIVES
1.B. THEORY
Viewing and analyzing the waveforms of time-varying electrical signals in a circuit is done
using the oscilloscope. Dependence on power supply from the power network and its large
dimensions, combined with the fact that it can be part of complex measurement systems, makes the
oscilloscope not so easy to carry in case of field
interventions.
1
When the device is connected to a computer, all the signals can be saved in a database which is
further available in the WaveForms2015 application.
The workspace refers to the current state of any
instrument. The workspace can be saved and loaded
when reopened (the *dwfwork files).
The WaveForm’s Welcome tab has buttons for
each virtual instrument, as presented in Figure 3:
Scope (two-channel oscilloscope)
Wavegen (waveform generator)
Supplies (voltage supplies)
Voltmeter Logger (data recorder)
Logic (logic analyzer)
Patterns (digital signal generator)
Static I/O (static digital input/output)
Network (network analyzer)
Figure 2. The pins of the device
Spectrum (spectrum analyzer)
Analyzer (logic data analyzer)
Protocol (communication protocol)
Script (script instruments).
2
Figure 4. The Scope interface
3
Figure 6. The Supplies interface
The instruments of the Analog Discovery equipment presented here are necessary for carrying out
this laboratory work. As required by technical requirements, the other tools will be described in other
laboratory work.
1.C. PROBLEMS
1.C.1. Consider the circuit shown in Figure 8. The supply voltage is 9 V and the LED has the voltage
drop of 1.8 V. Find the resistor value if the current through the LED is 20 mA.
1.C.2. If the resistor value is 100 Ώ, find the power supply for the same circuit, the LED has the
voltage drop of 1.6 V and a forward current of 34 mA.
For a better understanding of how Analog Discovery works, we we’ll use a simple circuit,
composed by a resistor and a led, connected in series, as presented in Figure 8.
4
Figure 8. The schematic of the circuit
Start the WaveForms application from the icon . The window from Figure 3 will
appear on the display.
Start the interface of the voltage generator (Voltage). The display will show the window
from Figure 6.
Using the jumpers, connect pin V+ to node 1 from Figure 8, and a ground pin to node 3.
On the voltage generator set Positive Supply (+5V) to ready state (RDY), then set the
state Master Enable is ON. Positive Supply (+5V) will switch to ON. Now, pin V+
provides a voltage of +5V and the circuit is powered (the led is on). If Negative Supply (-
5V) is set ON, the pin V- provides a voltage of -5V.
5
Using the Custom mode, you can “build” the signal over one period. Press Custom, then
New from the menu. In the new window (WaveGen-Custom) you can set the parameters
of the signal.
In Function menu generate the signal with the following characteristics:
0% - 10% DC 0% 0% 00
10% - 30% Triangle 50% 80% 0% 00
30% - 40% DC 0% 0% 00
40% - 60% Square 50% 40% 0% 00
60% - 70% DC 0% 0% 00
70% - 100% Sine 50% 90% 0% 00
Save the signal in C:\TEMP by pressing Export, then select type Data for the file.
Several signals can be generated in the same way, then loaded using Import button on
the Wavegen window.
On channel 1: generate a triangular signal having the frequency of 1 Hz, amplitude of 5
V, the offset 0 V, symmetry of 50 % and initial phase of 00. The generated signal will be
found between W1 and a ground pin.
Excite the circuit from Figure 8 with the previously generated signal, by connecting W1
to node 1 abd a ground pin to node 3. Press RUN. Notice how the circuit works. Change
the signal frequency and notice again. Change the amplitude of the signal with a value
from the range 0 ÷ 5 V and explain the functioning of the circuit.