Professional Documents
Culture Documents
Advance Communication Lab - 2020
Advance Communication Lab - 2020
Advance Communication Lab - 2020
CREDITS – 02
Course objectives: This course will enable students to:
• Design and demonstrate the digital modulation techniques
• Demonstrate and measure the wave propagation in micro-strip antennas
• Characteristics of micro-strip devices and measurement of its parameters.
• Model an optical communication system and study its characteristics.
• Simulate the digital communication concepts and compute and display various
parameters along with plots/figures.
Laboratory Experiments
COURSE OUTCOMES: On the completion of this laboratory course, the students will be
able to:
• Determine the characteristics and response of microwave devices and optical waveguide.
• Determine the characteristics of micro-strip antennas and devices and compute the
parameters associated with it.
• Simulate the digital modulation schemes with the display of waveforms and computation of
performance parameters.
• Design and test the digital modulation circuits/systems and display the waveforms.
2. a) Design and develop an ASK system to transmit 1Kbps of binary data use the carrier
frequency fc=2KHz and message frequency fm=500Hz and demodulate the same to
recover the original message signal.
b) Simulate PCM system and display the waveforms.
3. a) Design and implement an FSK system for transmission of binary data of rate
500bps to 2Kbps, demodulate the same to recover the original signal.
b) Simulate NRZ, RZ and Half sinusoidal waveform for a pulse width
T=64ms using MATLAB.
4. a) Design and implement BPSK modulation system with a suitable circuit and
demodulate the same.
b) Obtain eye diagram for binary polar NRZ, RZ signals using MATLAB.
5. a) With an input sinusoidal signal of 2VP-P, 2KHz, conduct an experiment for the
measurement of propagation loss, bending loss and numerical aperture for a given
length of optical fiber. Plot the graph for variation in bending loss.
b) Simulate PCM system and display the waveforms.
10. a) Measure the half power beam width from radiation pattern of Yagi
antenna in H-plane.
b) Simulate NRZ, RZ and Half sinusoidal waveform for a pulse width T=64ms using
MATLAB.
11. a) Measure the half power beam width from radiation pattern of Yagi antenna in E-
plane.
b) Obtain eye diagram for binary polar NRZ, RZ signals using MATLAB.
CYCLE - 1
CYCLE – 2
1. Simulate NRZ, RZ, half-sinusoid and raised cosine pulses and generate eye diagram
for binary polar signaling.
2. Simulate the Pulse code modulation and demodulation system and display the
waveforms.
3. Simulate the QPSK transmitter and receiver. Plot the signals and its constellation
diagram.
4. Test the performance of a binary differential phase shift keying system by simulating
the non-coherent detection of binary DPSK.
CYCLE - 1
AIM: Design & Demonstrate an ASK system to transmit digital data using a suitable carrier.
Design:
IB = IC / hfe =____mA
DETECTION:
PROCEDURE:
2. Provide message signal m(t) and carrier signal c(t) using signal generator.
3. Observe the ASK signal at the Emitter and note down the readings i.e Voltage &
Time period.
4. Connect the detection circuit as shown and supply the ASK signal
5. Carefully vary Vref and observe the detected signal, note down its voltage level and
time period.
WAVE FORMS
AIM: Design & Demonstrate an FSK system to transmit digital data using a suitable carrier
DETECTION:
GENERATION
fc = n/Tb
f1 = (n+1)fc, f2 = (n+2)fc
= 3KHz = 4KHz
DETECTION
Design:
Rf
I. Inverting Amp: c1'(t) = - ( ) c1(t) let |gain|=1 so Rf=R1(say 1kΩ)
R1
Rf
II. Adder: v(t) = - ( )[fsk + c1'(t)] let |gain| =1 so Rf=R1(say 1kΩ)
R1
PROCEDURE:
1. Connections are made as shown in circuit diagram
2. Provide message signal m(t) and carrier signals C1(t) and C2(t) using signal generator
3. Observe the FSK signal at the pin 3 of IC CD4051 and note down the readings
5. Carefully vary Vref, observe the intermediate ASK signal and finally observe detected
signal, note down its voltage level and time period.
WAVE FORMS
AIM: Conduct an experiment to find frequency, guide wavelength, power, VSWR and
Load or short
PROCEDURE:
d. Modulation – AM
4. Switch on the supply and make sure that fan is towards the source.
5. Switch on the klystron source and put the switch to Current position.
8. Reduce the Repeller (-200) until maximum output is obtained on CRO, V1 max.
9. Vary the frequency meter till a dip is obtained in the output voltage. Measure the frequency
on frequency meter.
10. Terminate the sliding carriage with matched termination and observe the output on CRO,
V2.
V2 V1
11. Calculate the attenuation power using, Attenuation Power¿ 20 log (
).
2
12. Note down the maximum and minimum values at the output produced for matched
termination and calculate VSWR.
13. Vary the sliding carriage from load to source and measure d1 min for first cycle and d2min for
next consecutive cycle. Calculate λg and λ0.
14. Measure the cross section of waveguide i.e. ‘a’ to find λ0.
15. Remove matched termination and use other loads like horn antenna, short, coupler etc to
calculate VSWR for each load.
RESULT CALCULATION:
1. VSWR = Vmax/Vmin
Vmin
Vmax
3. d2min = MSD+(CVSD*LC)
4. λg = 2(d1min~d2min)
6. λ0 = (λg*λc)/(√(λg2+λc2))
7. f0 = C/λ0s
8. Attenuation = 20log((V2~V1)/2)
9. Power = 20log(V1/2)
PROCEDURE:
To find Power loss:
1. Take 1 meter fiber and connect one end of fiber to the FO-TX and the other end to
the FO-RX.
3. Keep all analog signals amplitude to zero except 500Hz using corresponding
Potentiometers.
4. Measure the amplitude of input signal using the oscilloscope at the test point TP20
and note down as Vi (input voltage).
5. Measure the amplitude of output signal using the oscilloscope at the test point
TP67 and note down as Vo (output voltage).
2. Remove 1 meter cable and connect 3 meter cable between FO-TX and FO-RX.
4. Calculate the propagation loss using, P1/P2 = V1/V2 = exp (-α (L1+L2))
PROCEDURE:
3. Now vary the loop diameter of cable and measure the inner diameter of the loop
as well as the corresponding voltage at TP67.
4. Repeat step 3 for various diameter of the loop and tabulate the readings.
5. Plot a graph of the received signal amplitude i.e voltage versus the loop diameter.
PROCEDURE:
2. Connect one end of the cable (1 meter FO-Cable) to FO LED and the other end to the
NA Jig.
3. Plug the AC mains. Low intensity light should appear at the end of the fiber on the
NA Jig.
4. Hold the white screen with the concentric circles (10, 15, 20, and 25mm diameter)
vertically at a suitable distance to make the red spot from the emitting fiber coincide
with the 10mm circle.
5. Now measure distance (d) of the screen from the fiber end and note the diameter (r) of
the spot accurately.
NA =( Sinθmax )=r /( √ 4 d 2 +r 2 )
Where
θmax is the maximum angle at which the light incident is properly transmitted through the
fiber.
Screw
m Screen
p o n
r
Illuminated circular
patch
Cathode of SFH450v
RESULT:
1. The propagation loss α =
PROCEDURE:
2. Apply bandlimited signals m1(t) and m2(t) to pin number 13 and 14 respectively and
control signal c(t) to pin number 11 using signal generator.
3. Set control signal c(t)=(8KHz,VP-P) and check the signals m1(t) and m2(t) by
connecting pin 11 to positive and negative of the supply one by one.
4. Now set control signal C(t) = (16KHz,3VP-P) and observe TDM signal on CRO.
R1 1/2Пf1 C=1.59 Ω
PROCEDURE:
1. Rig-up the circuit as shown in circuit diagram.
2. Apply the TDM signal to pin number 3.
3. Apply control signal to pin number 11.
4. Observe the output signal m1(t), m2(t) on the CRO.
5. Note down the results on graph sheet.
AIM: Design & Demonstrate a PSK system to transmit digital data using a suitable carrier.
Design:
Rf
Inverting Amp: c'(t) = - ( ) c (t) let |gain|=1 so RF=R1 (say 1kΩ)
R1
Detection
Design:
Rf
I. Adder: v(t) = - (
R1
)[fsk + c1'(t)] let |gain| =1 so Rf=R1(say 1kΩ)
DETECTION:
PROCEDURE:
2. Provide message signal m(t) and carrier signal c(t) using signal generator
3. Observe the BPSK signal at the pin 3 of IC CD4051 and note down the readings
5. Vary Vref carefully, observe the intermediate ASK signal and finally observe
detected signal, note down its voltage level and time period.
PROCEDURE:
1. Connect output of receiver (down converter) to RF input through the cable.
4. Connect the input of receiver (down converter) to the receiver antenna through 20dB
attenuator
5. Keep the transmitter & receiver of antenna at a distance of 1 to 1.5 meters apart &
make sure its inline.
6. Vary the angle of the transmitter starting from 0 degrees in steps of 10degrees up to
180.
9. Find half power angles, HP both in H-Plane (ΦHP) and E-Plane (θHP).
4π ❑
10. Directivity , D= ; θHP & ΦHP are in radians.
θ HP φ HP
OR
4 1253 ❑
11. Directivity , D= ; θHP & ΦHP are in degrees.
θHP φ HP
Tabular Column
SL Angle Power
No Degrees dBm
EXPERIMENT- 4:
Determination of
a).Coupling and isolation characteristics of micro-strip directional coupler.
b).Resonance characteristics of micro-strip ring resonator and computation of dielectric
constant of the substrate.
c).Power division and isolation of micro-strip power divider.
PROCEDURE:
through 20 dB attenuation.
2. Connect O/P of source (up converter) to IN1 port of directional coupler through
20dB attenuator.
3. Terminate with 50ohm load to out 2 port and isolator ports of directional coupler.
4. Note down the power reading in receiver at 1500MHz it should be equal to -55dBm.
ISOLATION MEASUREMENT:
PROCEDURE:
3. Terminate with 50ohm load to out2 and coupled ports of directional coupler.
-62.8-(-37) = -24.2dBm
Result:
a) The coupling factor is –17dB.
b) Isolation is found out to be –24.2dB.
PROCEDURE:
I) RESONANT FREQUENCY:
3) Connect input of receiver (down converter) to output of source (up converter) through
20dB+20dB attenuators.
4) Note down the power in dB at 1500MHz frequency from the receiver (it should be –
37dBm
at 1500MHz).
8) Connect input of receiver (down converter) to output port of ring resonator through the
cable.
9) Connect output of source (up converter) to input port of ring resonator through
20dB+20dB
attenuators.
10) Note down the readings of frequency Vs power in dBm in steps of 5MHz, 10MHz
& 100MHz.
Tabular column
SL Frequency Power
No MHz dBm
D = (33+40)/2 = 36.5m
power divider.
POWER DIVISION:
PROCEDURE:
1. Connect input of receiver (down converter) to a out 3 port of power divider through
20dB attenuator.
2. Connect output of source (up converter) to IN1 port of power divider through
20dB attenuator.
7. Connect output of source (up converter) to IN1 port of divider through 20dB
attenuator.
8. Terminator with 50ohm load to out 3 port of power divider.
9. The receiver reading will be –41.5dBm at 1500MHz frequency i.e -41.5-(-37) =
4.5dBm
Actual value = -3dBm
ISOLATION:
Procedure:
1. Connect input of receiver (down converter) to out 3 port of power divider through
20dB attenuator.
2. Connect output of source (up converter) to out2 port of power divider through
20dB attenuator.
1. Simulate NRZ, RZ, half-sinusoid and raised cosine pulses and generate eye diagram
for binary polar signaling.
2. Simulate the Pulse code modulation and demodulation system and display the
waveforms.
3. Simulate the QPSK transmitter and receiver. Plot the signals and its constellation
diagram.
4. Test the performance of a binary differential phase shift keying system by simulating
the non-coherent detection of binary DPSK.
a) THIS PROGRAM GENERATE SINGLE RZ NRZ AND HALF SINE SINGLE PULSE FOR A
BIT PERIOD OF T=64.
PROGRAM:
T=64
%To generate Return to zero square pulse
prz=[zeros(1,T/4) ones(1,T/2) zeros(1,T/4)]
subplot(3,1,1)
plot(prz)
title('plot of return to zero pulse of bit period T=64')
%To generate Non Return to zero square pulse
pnrz=[ones(1,T) zeros(1,T)];
subplot(3,1,2)
plot(pnrz)
title('plot of Non return to zero pulseof bit period T=64')
psine=sin(pi*(0:T-1)/T);
subplot(3,1,3)
plot(psine)
title('plot of half sinusoid of bit period T=64')
OUTPUT:
plot of return to zero pulse of bit period T=64
1
0.5
0
0 10 20 30 40 50 60 70
0.5
0
0 20 40 60 80 100 120 140
0.5
0
0 10 20 30 40 50 60 70
b) THIS PROGRAM USES THE POLAR RETURN TO ZERO AND POLAR NON RETURN
TO ZERO PULSES TO GENERATE EYE DIAGRAMS.
PROGRAM:
clc
data=sign(randn(1,400)); % generate 400 random bits
Tau=64; % define the symbol period
%for i=1:length(data)
%dataup((i-1)*64+1:i*64)=[data(i),zeros(1,63)];% Generate impluse train
%end
dataup=upsample(data,Tau);% Generate impluse train
prz=[zeros(1,Tau/4) ones(1,Tau/2) zeros(1,Tau)];
yrz=conv(dataup,prz);% Return to zero polar signal
yrz=yrz(1:end-Tau+1);
eye1=eyediagram(yrz,2*Tau,Tau,Tau/2);title('RZ eye diagram')
pnrz=ones(1,Tau);
ynrz=conv(dataup,pnrz(Tau));% Non-return to zero polar
ynrz=ynrz(1:end-Tau+1);
eye2=eyediagram(ynrz,2*Tau,Tau,Tau/2);title('NRZ eye-diagram');
OUTPUT:
NRZ eye-diagram
1
0.8
0.6
0.4
0.2
Amplitude
-0.2
-0.4
-0.6
-0.8
-1
-30 -20 -10 0 10 20 30
Time
RZ eye diagram
1
0.8
0.6
0.4
0.2
Amplitude
-0.2
-0.4
-0.6
-0.8
-1
-30 -20 -10 0 10 20 30
Time
PROGRAM:
%PCM Modulator
%generating analog signal (sinusoidal)
f=input('enter the freq'); %maximum frequency of the input signal
fs=40*f; %Nyquist sampling rate
t=0:1/fs:1; %time
a=input(' enter thepeak amplitude val') %Amplitude
x=a*sin(2*pi*f*t); %sinusoidal signal
%level shifting
x1=x+a;
%quantization
q_op=round(x1);
%decimal to binary conversion
enco=de2bi(q_op,'left-msb');
%PCM Demodulator
deco=bi2de(enco,'left-msb');
%shifting the amplitude level to the original value
xr=deco-a; %x reconstructed
%plotting
plot(t,x,'r-',t,xr,'b-');
xlabel('time');
ylabel('Amplitude');
legend('Original signal','Reconstructed signal');
OUTPUT:
PROGRAM:
% QPSK Modulation
clc;
clear all;
close all;
%GENERATE QUADRATURE CARRIER SIGNAL
Tb=1;t=0:(Tb/100):Tb;fc=1;
c1=sqrt(2/Tb)*cos(2*pi*fc*t);
c2=sqrt(2/Tb)*sin(2*pi*fc*t);
%generate message signal
N=8;m=rand(1,N);
t1=0;t2=Tb
for i=1:2:(N-1)
t=[t1:(Tb/100):t2]
if m(i)>0.5
m(i)=1;
m_s=ones(1,length(t));
else
m(i)=0;
m_s=-1*ones(1,length(t));
end
%odd bits modulated signal
odd_sig(i,:)=c1.*m_s;
if m(i+1)>0.5
m(i+1)=1;
m_s=ones(1,length(t));
else
m(i+1)=0;
m_s=-1*ones(1,length(t));
end
%even bits modulated signal
BIT. Dept. Of ECE, Bangalore-04 Page 41
ADVANCED COMMUNICATION LAB -17ECL76 2019
even_sig(i,:)=c2.*m_s;
%qpsk signal
qpsk=odd_sig+even_sig;
%Plot the QPSK modulated signal
subplot(3,2,4);plot(t,qpsk(i,:));
title('QPSK signal');xlabel('t---->');ylabel('s(t)');grid on; hold on;
t1=t1+(Tb+.01); t2=t2+(Tb+.01);
end
hold off
%Plot the binary data bits and carrier signal
subplot(3,2,1);stem(m);
title('binary data bits');xlabel('n---->');ylabel('b(n)');grid on;
subplot(3,2,2);plot(t,c1);
title('carrier signal-1');xlabel('t---->');ylabel('c1(t)');grid on;
subplot(3,2,3);plot(t,c2);
title('carrier signal-2');xlabel('t---->');ylabel('c2(t)');grid on;
% QPSK Demodulation
t1=0;t2=Tb
for i=1:N-1
t=[t1:(Tb/100):t2]
%correlator
x1=sum(c1.*qpsk(i,:));
x2=sum(c2.*qpsk(i,:));
%decision device
if (x1>0&&x2>0)
demod(i)=1;
demod(i+1)=1;
elseif (x1>0&&x2<0)
demod(i)=1;
demod(i+1)=0;
elseif (x1<0&&x2<0)
demod(i)=0;
demod(i+1)=0;
elseif (x1<0&&x2>0)
BIT. Dept. Of ECE, Bangalore-04 Page 42
ADVANCED COMMUNICATION LAB -17ECL76 2019
demod(i)=0;
demod(i+1)=1;
end
t1=t1+(Tb+.01); t2=t2+(Tb+.01);
end
subplot(3,2,5);stem(demod);
title('qpsk demodulated bits');xlabel('n---->');ylabel('b(n)');grid on;
OUTPUT:
PROGRAM:
OUTPUT: