Beruflich Dokumente
Kultur Dokumente
STUDENT NAME:
ROLL NO:
ACADEMIC YEAR:
Exp. No.:
Date:
AMPLITUDE MODULATION AND DEMODULATION
10k
- 3
22k - 1
100k - 1
2. Capacitor
3.
4.
5.
6.
7.
8.
0.01 f
- 1
0.001 f
- 1
0.1 f
- 1
Theory:
Modulation is defined as process in which changing the characteristics
usually amplitude, frequency and phase of high frequency wave (Carrier wave) by
using instantaneous values of the low frequency signal (modulating signal).
Need for modulation:
3.1.1
3.1.2
3.1.3
Fig: AM Modulator
2. Demodulation:
Fig: AM Demodulator
Tabular Forms:
1.
Modulation:
Vc(V)
Vm(V)
Vmax(V)
Vmin(V)
m=(Vmax-Vmin) /
(Vmax+Vmin)
%m=m*100
2. Demodulation:
Amplitude
Time Period
Frequency
Model Waveforms:
Modulating
Signal
Carrier
Signal
AM modulating
Signal(M<1)
AM modulating
Signal(M=1)
AM modulating
Signal(M>1)
De-modulated
Signal
Procedure:
1. Switch on the power supply through mains cards.
2. Observe the modulating signal on CRO and set the modulating voltage to 2v
and frequency to 1.56 kHz.
3. Observe the carrier signal on CRO and set the carrier voltage to 2.6V and
frequency to 1.66 kHz.
4. Connect the carrier and modulating signals to modulator and also connects
the output of modulator to CRO and note down the wave forms.
5. Find out the maximum and minimum voltages from CRO and from these
values calculate modulation index by using the above formula.
6. Repeating the above procedure for different modulation index and draw the
wave forms.
7. Connect the amplitude modulated signal to the demodulator.
8. Connect the CRO across the output terminals of the demodulator.
9. Observe the wave forms the modulating signal for different modulation
index.
Precautions:
1.
2.
3.
4.
5.
VIVA Questions:
Exp. No:
Date:
FREQUENCY MODULATION AND DEMODULATION
6. Resistors
7.
-1
-1
-1
10k
-4
100k
-1
1.5k
-1
IC 565
-1
8. Connecting Wires.
Theory:
FM Modulation is a non-linear modulation technique. In FM the frequency
of carrier is varied in accordance with amplitude of modulating signal (AF signal).
But amplitude is maintained constant. Since the variation in phase angular term it
is comes under angle modulation scheme, the most important feature of FM
modulation is that it can be provide better discrimination against noise and
interference than AM. The disadvantage of FM is it requires more transmission
bandwidth than AM and we transmit the FM signals to longer distances.
The quantity Kf represents frequency sensitivity of modulator. Hence Kf
------------------------------------------Modulating frequency
If Modulation index is less than one then the modulated wave is called
Narrow Band FM signal. If Modulation index is greater than one then the
modulated wave is called Wide Band FM signal.
Circuit Diagram:
1. Modulation:
2. Demodulation:
Model Waveforms:
Modulating Signal
t
Carrier Signal
t
FM Modulating
Signal
Demodulated Signal
Fig: FM waveforms
Procedure:
1. Connect the circuit as per the circuit diagram.
2. By switching OFF modulating signal note down the carrier frequency at P in-1
to Pin-2 of IC 8038.
3. Apply the modulating signal with suitable amplitude, to get undistorted FM
wave.
4. Note down the maximum and minimum frequency of carrier in FM signal (f cmax,
fcmin).
5. Find the values of frequency modulation, deviation modulation index and
bandwidth.
fcmax= fc(1+KVm) Hz
fcmin=fc(1+(-k)Vm) Hz
=fc(1-KVm) Hz
1=(fcmax-fc ) Hz
2=(fc-fcmin) Hz
=max (1,2 ) Hz
Modulation Index= = /fm
Carrier swing= T =2 Hz
Precautions:1. Loose connections should be avoided.
2. IC terminals should be observed clearly before making connections.
Result:-
VIVA Questions:
Exp. No.:
Date:
SAMPLING THEOREM
Aim: To study and verify the sampling theorem and reconstruction of sampled
wave form.
Apparatus Required:
1. Sampling Theorem Trainer kit.
2. Function Generator
3. Cathode Ray Oscilloscope
4. Connecting Wires.
Theory:
The analog signal can be converted to a discrete time signal by a process
called sampling. The sampling theorem for a band limited signal of finite energy
can be stated as,
A band limited signal of finite energy, which has no frequency component
higher than W Hz is completely described by specifying the values of the signal at
instants of time separated by 1/2W seconds.
It can be recovered from knowledge of samples taken at the rate of 2W per
second.
Circuit Diagram:
1. Signal Sampling:
2. Signal Reconstruction:
Procedure:
Model Waveforms:
Precautions:
VIVA Questions:
Exp. No.:
Date:
2.
3.
4.
5.
6.
22k
47k
300k
Transistor
BC107
1
Regulated Power Supply
Function Generator
2
Cathode Ray Oscilloscope (CRO).
Connecting Wires.
Theory:
PAM is the simplest form of data modulation. The amplitude of uniformly
spaced pulses is varied in proportion to the corresponding sample values of a
continuous message m(t).
A PAM waveform consists of a sequence of flat-topped pulses. The
amplitude of each pulse corresponds to the value of the message signal x(t) at the
leading edge of the pulse.
The pulse amplitude modulation is the process in which the amplitudes of
regularity spaced rectangular pulses vary with the instantaneous sample values of a
continuous message signal in a one-one fashion. A PAM wave is represented
mathematically as,
Where
2. Demodulation:
Procedure:
1. Connections are made as per circuit diagram.
2. A sine wave of 2V p-p with frequency 1 k HZ is to be applied as a message
signal from function generator.
3. A square wave of 10V p-p and frequency 10 k HZ is applied as a carrier from
function generator.
4. The CRO probe should be connected at the emitter terminal of BC107 for the
output.
5. The value of Vmax & Vmin is to be noted and modulation index should be
calculated using the formula.
m=
(V maxV min)
(V max+ V min)
6. The output should be applied to the demodulator circuit to observe the output of
demodulator circuit.
Model Waveforms:
Precautions:1. The power supply should not power on before wiring the circuit.
2. The terminals of the transistor should be identified properly.
3. Connections are made properly.
VIVA Questions:
Exp. No.:
Date:
PULSE WIDTH MODULATION AND DEMODULATION
Apparatus Required:
1. IC 555
2. Resistors
3. Capacitors
-1
10k
-1
1 M POT
-1
1.6 k
-1
3.1k
-1
0.01F
-3
47F
-1
4. Diode 1N4007
-2
5. Function Generator
6. Cathode Ray Oscilloscope (CRO)
7. Regulated Power Supply
8. Connecting Wires.
Theory:
Pulse Time Modulation is also known as Pulse Width Modulation or Pulse
Length Modulation. In PWM, the samples of the message signal are used to vary
the duration of the individual pulses. Width may be varied by varying the time of
occurrence of leading edge, the trailing edge or both edges of the pulse in
accordance with modulating wave. It is also called pulse Duration Modulation.
Circuit Diagram:
1. Modulation:
2. Demodulation:
Model Waveform:
Procedure:
1. Connections should be made as per circuit diagram.
2. A sine wave of 2 Vp-p and 1KHZ frequency should be applied as input to 5 th
pin of IC 555 from the function generator.
3. The output should be observed at 3rd pin of IC 555 by adjusting the
potentiometer.
4. If necessary the amplitude and frequency knobs can be adjusted.
5. The output of the modulator circuit should be given as input to the
demodulator circuit.
6. The output of demodulation can be observed.
Tabular Forms:
Message
Voltage
(V)
Time
period
(msec)
Carrier
Voltage(V)
Time
period
(msec)
Modulated wave
Amp(V)
T(msec)
Demodulated Wave
Amp(V)
T(msec)
Precautions:
1. The power supply should not be switched on before wiring the circuit.
2. The terminals of the transistors should be identified properly.
3. The connections should be made correctly.
Result:
VIVA Questions:
Exp. No.:
Date:
-1
2. Resistors
12k
-1
3. Capacitor
10pF
-1
0.01F
-2
4. Function Generator
5. CRO
6. RPS
7. Connecting Wires.
Theory:
The phase locked loop can be used to track the phase and frequency of the
carrier component of an incoming signal. Therefore it is a useful device for
synchronous demodulation of AM. With suppressed carrier, it can be used for the
demodulation of angle-modulated signals, especially under low SNR conditions.
For this purpose PLL is used in such applications as space vehicle to earth data
links and demodulation of commercial FM receivers.
PLL is used ve feed back system, consists of three major components phase
detector, loop filter and VCO. In typical feedback system, the signal is fed back to
follow input signal, if the signal feedback is not equal to the input signal, the
difference will change the signal feedback until it is close to the input signal.
A PLL operates on a similar principle except that the quantity fed back and
compared is not amplitude, but the phase. The VCO adjusts its own frequency until
it is equal to that of the input sinusoid. In practical VCO can generate either
sinusoidal or square signals.
Circuit Diagram:
Tabular Forms:
Theoretical
Practical
FL
F0
FC
2. The free Running frequency has to be obtained. The square wave should be
given as input and 2nd pin and the input frequency should be varied when the
input signal is located with VCO Output in forward direction the values of input
signal frequency (fc1) is noted down. Again the input signal frequency is varied
and frequency at which the voltage becomes unlocked is noted. The Values of
input Frequency is noted (fc2).
3. The input frequency is reduced in backward direction and frequencies (fc2) at
which the frequency is locked is noted.
4. Using formulae the lock range and capture range are calculated.
Formulae :f0 = 12/(4R1C1)
f L = 8o/V
f c = [f L/(2R1C1)]^1/2
Result :-
VIVA Questions:
Exp. No.:
Date:
PRE-EMPHASIS AND DE-EMPHASIS
Apparatus Required:
1.
2.
3.
4.
-2
-1
-1
-1
-1
-1
-1
-1
-1
In FM the interference (The noise) increases linearly with frequency, and the
noise power in the receiver output is concentrated at higher frequency.
At the transmitter, weaker high frequency components of audio signal are
boosted before modulation by pre-emphasis filter. At the receiver, the demodulator
output passed through the De-emphasis filter, which undoes the pre-emphasis by
attenuating the higher frequency components, where most of the noise is
concentrated. The transfer functions of pre-emphasis and de-emphasis (PDE) are
having exact opposite. Thus the process of pre-emphasis and d-emphasis leaves the
desired signal untouched, but reduces the noise power considerably.
The PDE method of reduction is not limited just to FM broadcast, It is also
used in audiotape recording and phonograph (analog) recording. We could also use
PDE in AM broadcasting to improve the SNR, but in practice, this is not done for
some reasons. That is output noise amplitude is constant with frequency, and does
not vary as in FM. Hence de-emphasis does yield such a dramatic improvement in
AM as it does in FM.
Circuit Diagrams:
Model Waveforms:
Tabular Forms:
S.No Frequency(Hz) V0 (V)
Gain(Av=V0/Vs)
Gain in dB
20 log Av
Procedure:
1. Connections are to be made as per the circuit diagram.
2. A sinusoidal signal of 20mv should be applied as input signal to the preemphasis circuit.
3. By increasing the frequency from 500 Hz-20 KHz the change in the output
voltage should be noted and the gain is calculated.
4. The previous steps are to be repeated for the de-emphasis circuit.
5. The graph between the gain and frequency has to be drawn.
Precautions:
1. The connections on the bread board should be made properly.
2. The readings are to be noted without parallax error.
Result :-
VIVA Questions:
SOFTWARE
Exp. No.:
Date:
Amplitude modulation and demodulation
MATLAB 7.0.1
Program:
clc;
clear all;
close all;
ac=input(enter amplitude of carrier);%1
am=input(enter amplitude of message);%2
fc=input(enter freq of carrier);%8000
fm=input(enter freq of message);%800
k=input(enter modulation index);%0.3
fs=80000;
t=0:0.00001:0.01;
m=am*sin(2*pi*fm*t);
c=ac*sin(2*pi*fc*t);
s=ac*[1+k*m].*sin(2*pi*fc*t);
figure
subplot(4,1,1);
plot(t,c);
title(carrier signal);
xlabel(time period);
ylabel(amplitude);
subplot(4,1,2);
plot(t,m);
title(message signal);
xlabel(time period);
ylabel(amplitude);
subplot(4,1,3);
plot(t,s);
title(modulated signal);
xlabel(time period);
ylabel(amplitude);
y=0.5*(ac*ac)*k*m;
%[num,den]=butter(10,fc*2/fs);%lowpass filter
%%y1=ammod(s,Fc,Fs);%Modulate
%s1=ammod(s,fc,fs,0,0,num,den);
%%[num,den]=butter(10,fc*2/fs);
%% y=amdemod(s,fc,fs,0,0,num,den);
Subplot(4,1,4);
Plot(t,y);
title(demodulated signal);
xlabel(time period);
ylabel(amplitude);
Result:
Exp. No.:
Date:
DSB_SC modulation and demodulation
m=am*sin(2*pi*fm*t);
c=ac*sin(2*pi*fc*t);
v=[am*cos(2*pi*fm*t)]+(am*ac)*[cos(2*pi*(wc-wm)*t)+ cos(2*pi*(wc+wm)*t)];
subplot(4,1,1);
plot(t,m);
subplot(4,1,2);
plot(t,c);
subplot(4,1,3);
plot(t,v);
x=filtfilt(b,a,x);
subplot(4,1,4);
plot(t,x);
Result:
Exp. No.:
Date:
FREQUENCY MODULATION AND DEMODULATION
Aim: To verify frequency modulation and demodulation using MATLAB
Requirement:
MATLAB 7.0.1
Program:
Fs=500;%Sampling rate of signal
Fc=50;%Carrier frequency
T=[0:Fs]/Fs;% Sampling times
%t=0:0.0001:0.1;
S1=sin(2*pi*10*t)
S2 = sin(2*pi*15*t)%+2*sin(2*pi*9000*t);%channel2
X = [s1,s2];%Two-channel signal
Dev = 15;%frequency deviation in modulated signal
y=finmod(s1,Fc,Fs,dev);
z= findemod(y,Fc,Fs,dev);
figure
subplot(4,1,1);
plot(t,s1);
subplot(4,1,2);
plot(t,s2);
subplot(4,1,3);
plot(t,y);
subplot(4,1,4);
plot(t,z);
Result:
Exp. No.:
Date:
PULSE WIDTH MODULATION
n=length(s);
for i=1:n
if(m(i)>=s(i))
pwm(i)=1;
else if(m(i)<=s(i))
pwm(i)=0;
end
end
plot(t,pwm,-k,t,m,--r,t,s,--b);
title(PWM wave);
axis([0 1 -1.5 1.5]);
Result:
Exp. No.:
Date:
PHASE LOCKED LOOP
phi1=reg1+d_phi_1;
phi1_reg(nn)=phi1;
s1=exp(j*2*pi*reg1);
s2=exp(j*2*pi*reg2);
s1_reg(nn)=s1;
s2_reg(nn)=s2;
t=s1*conj(s2);
phi_error=atan(imag(t)/real(t))/(2*pi);
phi_error_reg(nn)=phi_error;
sum1=kp*phi_error+phi_error*ki+reg3;
reg1_reg(nn)=reg1;
reg2_reg(nn)=reg2;
reg1=phi1;
reg2=reg2+sum1;
reg3=reg3+phi_error*ki;
phi2_reg(nn)=reg2;
end
figure(1)
plot(phi1_reg);
hold on
plot(phi2_reg,r);
hold off;
grid on;
title(phase plot);
xlabel(samples);
ylabel(phase);
figure(2)
plot(phi_error_reg);
title(phase error of phase detector);
grid on;
xlabel(samples(n));
ylabel(phase error(degrees));
figure(3)
plot(real(s1_reg));
hold on;
plot(real(s2_reg));
hold off;
grid on;
title(input signal & output signal of VCO);
xlabel(samples);
ylabel(amplitude);
axis([0 n_data -1.1 1.1]);
Result:
SAMPLING THEOREM
AIM: To verify the sampling theorem
Requirement:
MATLAB R2012b
clc;
clear all;
close all;
t=-10:0.01:10;
T=10;
fm=1/T;
x=cos(2*pi*fm*t);
figure
subplot(4,2,1);
plot(t,x);
xlabel('time in seconds');
ylabel('x(t)');
title('continuous signal');
fs1=1.1*fm;%fs<2fm
fs2=2*fm;%fs=2fm
fs3=10*fm;%fs>2fm
n1=-4:1:4;
xn1=cos(2*pi*n1*fm/fs1);
subplot(4,2,3);
stem(n1,xn1);
xlabel('n');
ylabel('x(n)');
title('sampled signal with fs=1.1fm');
subplot(4,2,4);
plot(n1,xn1);
title('recovered signal with fs=1.1fm');
n2=-5:1:5;
xn2=cos(2*pi*n2*fm/fs2);
subplot(4,2,5);
stem(n2,xn2);
xlabel('n');
ylabel('x(n)');
title('sampled signal with fs=2fm');
subplot(4,2,6);
plot(n2,xn2);
title('recovered signal with fs=2fm');
n3=-20:1:20;
xn3=cos(2*pi*n3*fm/fs3);
subplot(4,2,7);
stem(n3,xn3);
xlabel('n');
ylabel('x(n)');
title('sampled signal with fs=20fm');
subplot(4,2,8);
plot(n3,xn3);
title('recovered signal with fs=20fm');