Comm Lab 3
Comm Lab 3
Date: 12/08/2019
Apparatus Required:
S.No Name of the Item Specification Quantity
1. BJT BC 547 1
2. Resistor 10Kohm 4
22Kohm, 4.7Kohm 1 each
3. Capacitor 0.1 & 1 microf 1 each
0.001microf 2
4. Bread board - 1
5. Function Generator - 2
6. VRPS (0-30)V 1
7. CRO Dual trace 1
Circuit Diagram:
1
16BEE0006 COMMUNICATION ENGINEERING LAB
Observations:
Result:
The mixer circuit was implemented successfully and it was observed that there was
an error of only 2.8125 % between the theoretical and experimental results.
Inference:
Mixers are widely used to shift signals from one frequency range to another, a
process known as heterodyning, for convenience in transmission or further
signal processing. A simple circuit using basic electronic elements can be made
to implement a mixer.
2
16BEE0006 COMMUNICATION ENGINEERING LAB
3
16BEE0006 COMMUNICATION ENGINEERING LAB
Software Experiment:1
Date: 26/08/2019
Software used:
MATLAB
Code:
clc;
clear all;
close all;
t=linspace(0,0.02,1000
0) fc=5000; fm=200;
fs=40000;
Am=5; Ac=10;
m= Am/Ac;
wc =2*pi*fc;
wm=2*pi*fm;
em = Am*sin(wm*t);
ec = Ac*sin(wc*t);
4
16BEE0006 COMMUNICATION ENGINEERING LAB
y = Ac*(1+m*sin(wm*t).*sin(wc*t));
d = amdemod(y,fc,fs,30);
l=10000;
subplot (4,1,1); plot(t,em); xlabel(‘Time’); ylabel(‘Amplitude’);
title(‘Message signal’);
subplot(4,1,2); plot(t,ec); xlabel(‘Time’); ylabel(‘Amplitude’);
title(‘Carrier signal’);
subplot(4,1,3); plot(t,y); xlabel(‘Time’); ylabel(‘Amplitude’);
clc;
clear all;
close all;
N=100;
tmax=2;
dt=tmax/(N-1);
t=0:dt:tmax;
fs=1/dt;
ac=2;
am=1;
5
16BEE0006 COMMUNICATION ENGINEERING LAB
fc=3;
wc=2*pi*fc;
xc=cos(wc*t);
fm=1;
wm=2*pi*fm;
xm=am*cos(wm*t);
kf=10;
xmi=cumsum(xm)*dt;
xfm=ac*cos(wc*t+kf*xmi);
dxfm=diff(xfm)/dt;
title(‘Message Signal’);
title(‘Carrier Signal’);
6
16BEE0006 COMMUNICATION ENGINEERING LAB
Output:
7
16BEE0006 COMMUNICATION ENGINEERING LAB
8
16BEE0006 COMMUNICATION ENGINEERING LAB
9
16BEE0006 COMMUNICATION ENGINEERING LAB
10
16BEE0006 COMMUNICATION ENGINEERING LAB
11
16BEE0006 COMMUNICATION ENGINEERING LAB
Result:
Inference:
In FM, a radio wave known as the "carrier wave" is modulated in frequency by the
signal that is to be transmitted. The amplitude and phase remain the same.
12