Beruflich Dokumente
Kultur Dokumente
1 Simulation using pSpice for zener diode used as voltage regulator. 3-7
6 To perform Fourier Series Analysis and Find Fourier coefficients from a 22-23
complex signal in MATLAB.
7 Generation of White Noise and To perform noise cancellation for signal 24-27
buried in white noise in MATLAB.
8 Design and analyse a differentiator circuit whose minimum frequency is 28-32
100Hz.
9 Design and analyse a integrator circuit whose maximum frequency is 33-36
100KHz.
10 To analyse the functionality of triangular wave generator using IC 741. 37-38
Learning objective: The main objective of this experiment is to design an application of Operational amplifier
as a summer by using a PSPICE simulator. A simulator is a software tool used to verify the behaviour and
functionality of a circuit without actually implementing it on hardware. This experiment is designed to verify
the output (Vo) of a non-inverting summer with three inputs Vin1, Vin2 and Vin3.
b. A sub-window as shown in figure-III will appear. Now uncheck the currents, Alias names and
sub-circuit nodes from the right panel of window.
c. Now from the left panel, Click on V(Vin1), V(Vin2), V(Vin3) and V(Vo). And Click ok.
d. The resultant window will appear as shown in figure-IV.
(Figure I)
5
Figure-II
6
Figure-III
Figure-IV
Result Analysis:
The amplitude (VAMPL) of Vin1 was set as 2V,
The amplitude of Vin2 was set as -3V,
The amplitude of Vin3 was set as 4V and
The value of RF= 2K, R1 = 1K.
So according to the given formula for amplitude of Vo (Refer equation-I),
Vout should be = [(1+ (2/1)) (2-3+4)]/3 = [(3) (3)]/3 = 3V
Now verify this theoretical result with the output waveform of simulator. It is shown with yellow colour in
Figure-IV. All other input waveforms are also there with different colours to easily distinguish between them.
(Various other inputs can be verified in similar way by just changing the VAMPL of Vin sources)
7
Caution:
1) There should not be any loose connection.
2) Proper power supply is to be given.
3) There should not be any short circuited.
Viva question:
1. What is the full form of pspice?
2. What is Simulation?
3. Why we use simulation?
4. How a summer perform addition?
5. How can you change component attributes using pspice?
6. What is the difference between VSIN, VSRC and VAC in pspice?
7. What is the use of PROBE, CHECKPOINT and GLOBAL?
8. How can you perform transient analysis using pspice?
9. How can you change axis variables in pspice?
8
2. Remove resistor RL from the network. RL is selected as the resistor where it is proposed
to determine the current value.
3. Turn on the supply. Read the current shown by the ammeter between terminals A and D.
This is Norton’s current, IN. Record its value in Table
4. Switch off the power supply. Replace the supply with a short circuit.
5. Measure the resistance between terminals A and D. This is Norton’s resistance, record
the value in Table
6. Place back the resistance RL in circuit with an ammeter is connected between terminals
A and B or C and D.
7. Place back the power supply in the circuit and remove the short circuit connection.
8. Read and record the current value flowing in the resistor RL.
9. Draw Norton’s equivalent circuit inclusive of resistor RL.
Pspice Analysis
10
Using the measured values of the supply voltage and the resistors; draw two Pspice schematics.Simulate them
to find the theoretical values of Thevenin’s resistance, thevenin’s voltage and current through RL.
Schematic 1 is to find the value of Thevenin’s resistance and Thevenin’s voltage. Theoretically, a large value
of RL say 1E8 is equivalent to open path AD. Get the part VIEWPOINT and enable display results on
schematic under Analysis tab, Recall that V12 = V1 – V2 to find Vth. In the Analysis - > Setup, select transfer
function and assign V(RL) and V1 respectively for output variable and input source. Save and simulate your
11
circuit. Study the scripts by examining the output and find your input and output resistance (Rth). Submit the
output file as given below.
Schematic 2 is to find the value of current through RL; Disable the previous settings. Get PROBE under get
new part to find the branch current. Save and simulate your circuit. Display the results on the schematic. Using
the measured values of the supply voltage and the resistors, draw a Pspice schematic and simulate it to find the
theoretical values of short circuit Norton’s current. Norton’s resistance is equal to Thevenin’s resistance, and
the same goes for current
through RL.
Table: 1
Table: 2
Table: 3
12
Table: 4
Result:
Caution:
1) There should not be any loose connection.
2) Proper power supply is to be given.
3) There should not be any short circuited.
13
Experiment 3: Simulation using p-Spice for zener diode used as voltage regulator.
1. Construct the above schematic and label the output node as V out.
2. Select the setup from the analysis menu; click the DC Sweep dialog button. The DC sweep dialog box
appears. For the Sweep variable type select the voltage source, and set its name to V1.
3. Using the sweep type linear, set the starting value to 0, end value to 20 and increment to 0.05.
4. When simulation is complete probe graphic window appears. From the Plot pull-down menu select X
Axis Settings, click the Axis Variable button to open the variable list, and select V(Vout) to be the
horizontal axis.
5. Click OK button and the Zener diode i-v characteristic is displayed as shown.
Result:
The VI characteristics of the Zener diode volatage regeulator haas been verified using pspice simulator as
shown above.
Caution:
1) There should not be any loose connection.
2) Proper power supply is to be given.
3) There should not be any short circuited.
15
Viva question:
Experiment No.4
Title- To perform convolution between two continuous time signals using MATLAB.
Software Used:- MATLAB
Learning Objective: - Through this students will learn about that how a convolution
is performed and what is the result of the convolution.
Procedure:-
Matlab code :
t=[0:8]/8;
a= sin(2*pi*t);
b= cos(2*pi*t);
C = conv2(a,b);
Subplot(3,1,1), plot(a), title('input a');
Subplot(3,1,2), plot(b), title('input b');
Subplot(3,1,3), plot(C), title('convolution');
This conv2 function finds the convolution of the input signals A and B.
Result: The following figure shows results.
input a
1
-1
1 2 3 4 5 6 7 8 9
input b
1
-1
1 2 3 4 5 6 7 8 9
convolution
5
-5
0 2 4 6 8 10 12 14 16 18
17
Caution:
1) There should not be any loose connection.
2) Proper power supply is to be given.
3) There should not be any short circuited.
18
Experiment No.5
Title:- To perform correlation and autocorrelation using programming in matlab.
Software: MATLAB
Learning Objective: - Through this experiment the correlation of the two signal and
autocorrelation phenomena will be understood.
Procedure:
The autocorrelation function of a random signal describes the general dependence
of the values of the samples at one time on the values of the samples at another time.
Consider a random process x(t) (i.e. continuous-time), its autocorrelation function is
written as:
Where T is the period of observation. Rxx(t) is always real-valued and an even
function with a maximum value at 0 .
Matlab Code:
N=1024;% Number of samples
f1=1;% Frequency of the sinewave
FS=200;% Sampling Frequency
n=0:N-1;% Sample index numbers
x=sin(2*pi*f1*n/FS);% Generate the signal, x(n)
t=[1:N]*(1/FS);% Prepare a time axis
subplot(2,1,1);% Prepare the figure
plot(t,x);% Plot x(n)
title('Sinwave of frequency 1000Hz [FS=8000Hz]');
xlabel('Time, [s]');
ylabel('Amplitude');
grid;
Rxx=xcorr(x);% Estimate its autocorrelation
subplot(2,1,2);% Prepare the figure
plot(Rxx);% Plot the autocorrelation
grid;
title('Autocorrelation function of the sinewave');
xlable('lags');
ylabel('Autocorrelation');
Caution:
1) There should not be any loose connection.
2) Proper power supply is to be given.
3) There should not be any short circuited.
22
Experiment No.6
Title- To perform fourier series analysis and find fourier coefficients from a
complex signal in MATLAB.
Software Used:- Matlab
Learning Objective: - Through this experiment students will learn about the fourier
series analysis and will find the fourier coefficients.
Procedure
Code:
N = 2000;
x = [0:100]/100;
f = ones(1,101)*1/2;
for i = 1:2:N
a = 2/pi/i;
f = f+ a*sin(2*pi*i*x);
end
plot(x,f)
we can plot the Fourier series representation using MATLAB and see how
the series does at reproducing the original signal. If we plot the first 20 terms in the sum, we see the general
shape of the original function but we see also fringing. As
we plot more terms, we see the original function is represented quite accurately. In
general Fourier series can reconstruct a signal with a small number of modes if the
original signal is smooth. Discontinuities require many high frequency components
23
Matlab code for finding fourier coefficients in fast manner than the previous one
>> t=[0:7]/8;
>> f=sin(2*pi*t);
>> plot(f)
>>fft(f)
Columns 1 through 6
Columns 7 through 8
Caution:
1) There should not be any loose connection.
2) Proper power supply is to be given.
3) There should not be any short circuited.
24
Experment No. 7
Title- Generation of white noise and to perform noise cancellation for signal buried
in white noise in MATLAB.
Software Used:- Matlab
Theory : White Gaussian noise (WGN) has a continuous and uniform frequency
spectrum over a specified frequency band and has equal power per Hertz of this
band. It consists of all frequencies at equal intensity and has a normal (Gaussian)
probability density function. For example, a hiss or the sound of many people
talking can be modeled as WGN. Because white Gaussian noise is random, we can
generate it in MATLAB using the random number generator function, random.
Procedure:
This program show the effect of Gaussian filter. The output are four subfigures
shown in the same figure:
Subfigure 1: The initial noise free "lena"
Subfigure 2: The noisy "lena"
Subfigure 3: Filtered the initial "lena"
Subfigure 4: Filtered the noisy "lena"
The matlab codes:
%%%%%%%%%%%%% The main.m file
%%%%%%%%%%%%%%%
clear;
% Parameters of the Gaussian filter:
n1=10;sigma1=3;n2=10;sigma2=3;theta1=0;
% The amplitude of the noise:
noise=0.1;
[w,map]=gifread('lena.gif');
x=ind2gray(w,map);
filter1=d2gauss(n1,sigma1,n2,sigma2,theta);
x_rand=noise*randn(size(x));
y=x+x_rand;
f1=conv2(x,filter1,'same');
rf1=conv2(y,filter1,'same');
figure(1);
subplot(2,2,1);imagesc(x);
subplot(2,2,3);imagesc(f1);
subplot(2,2,4);imagesc(rf1);
26
colormap(gray);
%%%%%%%%%%%%%% End of the main.m file
%%%%%%%%%%%%%%%
EXPERIMENT:8
Title: Design and analyse a differentiator circuit whose minimum frequency is 100Hz.
2 1k ohm,2k ohm 02 5%
Resistor
3 0.1µF 01
Capacitor
4 01
Bread Board
5 01
Power Supply
6 AS PER
Connecting REQUIREMENT
wires
LEARNING OBJECTIVES:
CIRCUIT DIAGRAM:
Rin= 1KΩ, RF= 2KΩ
Procedure
1. Using power supply voltages of ±15 VDC for the op-amp, construct an inverting amplifier circuit with a gain
of -3.9 using an input resistor of 1 K Ohms. Install the 0.1 μF capacitor in parallel with the feedback resistor as
29
seen in Fig. 1. Calculate the cutoff frequency (fc) for the circuit using the measured values of the components. It
should be around 400 Hz. Add two extra 0.1 μF capacitors to the circuit. One should be connected between the
+ DC supply(pin 4) and ground the other should be connected between the - DC supply(pin 11) and ground.
These capacitors are to help prevent oscillation in the amplifier circuit due to interaction between the circuit and
the power supply. They should be placed as close to the Op-Amp itself as physically possible. Make sure that
the circuit is correctly connected before turning on the power supply voltages. Failure to do so may cause the
op-amp to saturate and in some cases cause permanent damage to the op-amp.
30
31
2. Set the signal input, vin, to zero. That is replace the signal source, vin, with a short circuit to ground.
Carefully measure the DC output voltage. Make sure you record the proper sign, It should be between +50 mV
and -50 mV, usually very small. This output with no input is called the output offset voltage. It is an error in the
output of the circuit. It can be treated as an equivalent input offset voltage applied to the non-inverting input of
the op-amp. The equivalent input offset is calculated by dividing the measured output offset by the gain of the
amplifier from the non-inverting input, Av = (1 + Rf /Rin). This offset has no effect on the ac operation of the
circuit, but can cause errors in dc measurements of small voltages.
3. Use a signal input voltage, vin, of 0.1 VDC and connect it to the amplifier signal input as Vin. Using a digital
Multi-meter, measure and record both Vin and Vout as accurately as possible. Calculate the DC voltage gain
both with and without correcting the output voltage by subtracting the output offset voltage measured in step 2
from the measured output voltage. Be sure to use the correct sign on the offset voltage. Repeat this
measurement and calculation with Vin = 1.0 VDC.
4. With an oscilloscope connected to both the signal input and the output, apply an A.C. signal such that the
output voltage has amplitude between 5V and 10V. Then measure Vin, Vout, T, and t(for phase measurement)
at your calculated cutoff frequency and at each of the following frequencies: 20Hz, 50Hz, 100Hz, 200Hz,
500Hz, 1kHz, 2kHz, 5kHz and 10kHz, 20kHz, 50kHz. Print a copy of the waveforms at 20 Hz and 10 kHz, and
at your calculated cutoff frequency. As the gain starts to drop increase the input voltage trying to keep the
output voltage amplitude between 5V and 10V until you reach the maximum output of the signal generator.
Also take these measurements at your calculated cutoff frequency. If the output waveform starts to look like a
triangular wave instead of a sine wave your amplifier has reached the slew rate limit and you will have to
reduce the input voltage until this effect is eliminated to get accurate gain measurements
5. Calculate the AC voltage gain and phase shift of the circuit at each frequency.
6. Set your signal generator to square wave output at 100 Hz with amplitude of 1 V. With this input observe and
record the output waveform. Repeat at a frequency of 500 Hz.
CALCULATIONS / GRAPHS:
Gain(dB) = 20 log (Vo/Vi)
OBSERVATION TABLE:
S.NO. FREQ(HZ)2%
Freq.(Hz) Vo(V) Vo(V) Vi(V) Gain(dB)min Gain(dB)max
-2% +2% -2%
32
Caution:
1) There should not be any loose connection.
2) Proper power supply is to be given.
3) There should not be any short circuited.
33
EXPERIMENT:9
Title: Design and analyse a integrator circuit whose maximum frequency is 100KHz.
APPARATUS REQUIRED:
2. RESISTOR 1K OHM,2K 02 5%
OHM
3. CAPACITOR 0.1µF 02
4. BREAD 01
BOARD
5. POWER 01
SUPPLY
6. CONNECTING ACCORDING
WIRES REQUIREMENT
LEARNING OBJECTIVES:
CIRCUIT DIAGRAM:
Rin= 1KΩ, RF= 2KΩ
34
Procedure
1. Using power supply voltages of ±15 VDC for the op-amp, construct an inverting amplifier circuit with a gain
of -3.9 using an input resistor of 1 K Ohms. Install the 0.1 μF capacitor in parallel with the feedback resistor as
seen in Fig. 1. Calculate the cutoff frequency (fc) for the circuit using the measured values of the components. It
should be around 400 Hz. Add two extra 0.1 μF capacitors to the circuit. One should be connected between the
+ DC supply(pin 4) and ground the other should be connected between the - DC supply(pin 11) and ground.
These capacitors are to help prevent oscillation in the amplifier circuit due to interaction between the circuit and
the power supply. They should be placed as close to the Op-Amp itself as physically possible. Make sure that
the circuit is correctly
35
connected before turning on the power supply voltages. Failure to do so may cause the op-amp to saturate and
in some cases cause permanent damage to the op-amp.
2. Set the signal input, vin, to zero. That is replace the signal source, vin, with a short circuit to ground.
Carefully measure the DC output voltage. Make sure you record the proper sign, It should be between +50 mV
and -50 mV, usually very small. This output with no input is called the output offset voltage. It is an error in the
output of the circuit. It can be treated as an equivalent input offset voltage applied to the non-inverting input of
the op-amp. The equivalent input offset is calculated by dividing the measured output offset by the gain of the
amplifier from the non-inverting input, Av = (1 + Rf /Rin). This offset has no effect on the ac operation of the
circuit, but can cause errors in dc measurements of small voltages.
3. Use a signal input voltage, vin, of 0.1 VDC and connect it to the amplifier signal input as Vin. Using a digital
Multi-meter, measure and record both Vin and Vout as accurately as possible. Calculate the DC voltage gain
both with and without correcting the output voltage by subtracting the output offset voltage measured in step 2
from the measured output voltage. Be sure to use the correct sign on the offset voltage. Repeat this
measurement and calculation with Vin = 1.0 VDC.
4. With an oscilloscope connected to both the signal input and the output, apply an A.C. signal such that the
output voltage has amplitude between 5V and 10V. Then measure Vin, Vout, T, and t(for phase measurement)
at your calculated cutoff frequency and at each of the following frequencies: 20Hz, 50Hz, 100Hz, 200Hz,
500Hz, 1kHz, 2kHz, 5kHz and 10kHz, 20kHz, 50kHz. Print a copy of the waveforms at 20 Hz and 10 kHz, and
at your calculated cutoff frequency. As the gain starts to drop increase the input voltage trying to keep the
output voltage amplitude between 5V and 10V until you reach the maximum output of the signal generator.
Also take these measurements at your calculated cutoff frequency. If the output waveform starts to look like a
triangular wave instead of a sine wave your amplifier has reached the slew rate limit and you will have to
reduce the input voltage until this effect is eliminated to get accurate gain measurements
5. Calculate the AC voltage gain and phase shift of the circuit at each frequency.
6. Set your signal generator to square wave output at 100 Hz with amplitude of 1 V. With this input observe and
record the output waveform. Repeat at a frequency of 500 Hz.
CALCULATIONS / GRAPHS:
Gain(dB) = 20 log (Vo/Vi)
OBSERVATION TABLE:
S.NO.
36
EXPERIMENT-10
Title- To analyse the functionality of triangular wave generator using IC 741
Equipments Used :
2. 1K OHM,2K OHM 03 5%
Resistor
3. Capacitor 0.1µF 01
4. 01
Bread Board
5. 01
Power Supply
LEARNING OBJECTIVES:
Circuit Diagram:
38
Procedure: 1) connect the pin 2 of the operational amplifier IC 741 (i) with a resistance r1 and pin 6 of the
operational amplifier IC 2nd .
2) Connect a capacitor C1 between pin 2 and pin 6 of the op-amp IC 1st.
3) Connect the pin 6 of op-amp 1st to the oin 2 of op-amp 2nd through a resistance R2.
4) Connect a resistance R3 between pin 2 of op-amp 1st and pin 6 of op-amp 2nd.
5) Connect the pin 3 of op-amp IC 1st to ground.
6) Connect the pin 3 of op-amp IC 2nd to ground.
7) The output pin 6 of op-amp 1st will generate the triangular wave.
Observation:
5. Use correct IC .
Caution:
1) There should not be any loose connection.
2) Proper power supply is to be given.
3) There should not be any short circuited.
39
Experiment 11
TOPIC: To determine the frequency response of two-stage RC coupled amplifier using complementary
symmetry push pull amplifier.
APPARATUS REQUIRED:
Transistors, Diodes (1N4007), Resistors, Capacitor, Bread board, Power supply module, CRO and connecting
wires.
PROCEDURE:
Circuit Diagram
Caution:
1) There should not be any loose connection.
2) Proper power supply is to be given.
3) There should not be any short circuited.
40
Experiment 12
APPARATUS REQUIRED:
Transistors, Resistors, Capacitor, Bread board, Power supply module, CRO and connecting wires.
PROCEDURE:
Circuit Diagram
41
Caution:
1) There should not be any loose connection.
2) Proper power supply is to be given.
3) There should not be any short circuited.
42
Experiment 13
TOPIC: To implement phase shift oscillator and to plot the frequency response of the phase shift oscillator.
APPARATUS REQUIRED:
Transistors, Resistors, Capacitor, Bread board, Power supply module, CRO and connecting wires.
PROCEDURE:
Circuit Diagram
43
Caution:
1) There should not be any loose connection.
2) Proper power supply is to be given.
3) There should not be any short circuited.
44
Experiment No. 14
Apparatus Required:
Procedure: -
1) Draw the circuit as below mentioned.
1) Apply the input voltage at particular freq.
2) Change the value of L1.
3) Change the value of L2.
4) Then observe the output .
5) Find the gain.
Circuit diagram
45
Observation Table:
Caution:
1) There should not be any loose connection.
2) Proper power supply is to be given.
3) There should not be any short circuited.
47
Experiment number-15
Apparatus Required:
Procedure: -
1) Draw the circuit as below mentioned.
2) Apply the input voltage at particular freq.
3) Change the value of C
4) Change the value of L.
5) Then observe the output .
6) Find the gain.
Circuit Diagram:-
48
Observation Table:
Caution:
1) There should not be any loose connection.
2) Proper power supply is to be given.
3) There should not be any short circuited.
49
Experiment 16
Title: To analyze the frequency response of tuned amplifier
Equipments required:
Quantity
1) Bread board 1
2) Power supply 1
Material required:
Quantity
1) MOSFET 1
2) Resistor(1KΩ) 1
3) Resistor(2KΩ) 1
4) Capacitor(0.1µF) 2
5) Inductor 1
6) Connecting wires
Learning Objectives:
To study frequency response of tuned amplifier by designing the circuit on bread board and also
simulating on PSpice
Circuit diagram:
Procedure:
1) Draw the circuit as given in diagram.
1) Apply the input voltage (Vi) at particular freq.
2) Observe the output (Vo).
3) Find the gain.
Observation table:
Results:
The expected frequency response will be
Cautions:
1) Mounting of components on bread board should be proper.
2) Check power supply voltage value before applying to the circuit.
51
Experiment 17
Title: To analyze the characteristics of instrumentation amplifier
Equipments required:
Quantity
1) Bread board 1
2) Power supply 1
Material required:
Quantity
1) Op-Amp(IC741) 3
2) Resistor(1KΩ) 8
3) Resistor(2KΩ) 8
4) Connecting wires
Learning Objectives:
To learn characteristics of instrumentation amplifier by designing the circuit on bread board and also
simulating on PSpice
Circuit diagram:
52
Procedure:
1) Draw the circuit as shown in diagram.
2) Apply the input voltage at particular freq.
3) Observe the output.
4) Find the gain.
Results:
Cautions:
1) Apply positive and negative supply to IC 741 properly.
2) Make proper connections on the breadboard.
53
Experiment 18
Title: Design analog computer using different modes of operation of IC 741.
Equipments required:
Quantity
1) Bread board 1
2) Power supply 1
Material required:
Quantity
3) Op-Amp(741) 1
4) Resistor(1KΩ) 4
5) Resistor(2KΩ) 4
6) Capacitor(0.1µF) 2
7) Connecting wires
Learning Objectives:
To learn the use of Opamp IC as different functional circuitry such as integrator, differentiator,etc.
Circuit diagram:
1) Inverting and non-inverting amplifier circuit-
2) Integrator circuit-
3) Differentiator circuit-
Procedure:
1) Connect the circuit as shown in diagrams.
2) Apply +12V to pin 7 and –12V to pin 4. Connect common terminal of power supply to ground on the
breadboard.
3) Apply a dc voltage of 0.1V to the pin-2 of IC. Measure the output.
55
Results:
Vo Vi Gain(dB)
Cautions:
1) Apply positive and negative supply to IC 741 properly.
2) Make proper connections on the breadboard.