ITC by Dereje M. (BSc)
ITC by Dereje M. (BSc)
ITC by Dereje M. (BSc)
Lab Manual
By, Dereje M.(BSc)
LAB Manual
By;
DEREJE M.(BSc)
To emerge as a premier institution in the field of technical education and research in the state
and as A home for holistic development of students and contribute to the advancement of
society and the region.
M3: To Acquire Skills through Industry Practices and Develop the habit of life-long learning.
2. Problem analysis: Identify, formulate, review research literature, and analyze complex
engineering problems reaching substantiated conclusions using first principles of mathema
natural sciences, and engineering sciences.
5. Modern tool usage: Create, select, and apply appropriate techniques, resources, and
modern engineering and IT tools including prediction and modeling to complex engineering
activities with an understanding of the limitations.
6. The engineer and society: Apply reasoning informed by the contextual knowledge to
assess societal, health, safety, legal and cultural issues and the consequent responsibilities
relevant to the professional engineering practice.
8. Ethics: Apply ethical principles and commit to professional ethics and responsibilities and
norms of the engineering practice.
11. Project management and finance: Demonstrate knowledge and understanding of the
engineering and management principles and apply these to one‘s own work, as a member and
leader in a team, to manage projects and in multidisciplinary environments.
PSO1: Apply domain specific knowledge for the design and analysis of VLSI and
Communication System applications
LAB MANUAL
FOR
Introduction to Communication System
Approved by:
LIST OF EXPERIMENTS:
1. Introduction to MATLAB
Required text:
Lab Policy
• No late reports or pre-labs will be accepted
1 Introduction to MATLAB
2. Strictly follow the written and verbal instructions given by the teacher / Lab Instructor.
If you do not understand the instructions, the handouts and the procedures, ask the instructor
or teacher.
3. Never work alone! You should be accompanied by your laboratory partner and / or the
instructors / teaching assistants all the time.
5. Do not wear loose-fitting clothing or jewellery in the lab. Rings and necklaces are usual
excellent conductors of electricity.
6. Mobile phones should be switched off in the lab. Keep bags in the bag rack.
7. Keep the labs clean at all times, no food and drinks allowed inside the lab.
9. Do not handle any equipment without reading the safety instructions. Read the handout and
procedures in the Lab Manual before starting the experiments.
10. Do your wiring, setup, and a careful circuit checkout before applying power. Do not make
circuit changes or perform any wiring when power is on.
13. NEVER try to experiment with the power from the wall plug.
14. Immediately report dangerous or exceptional conditions to the Lab instructor / teacher:
Equipment that is not working as expected, wires or connectors are broken, the equipment
that smells or ―smokes‖. If you are not sure what the problem is or what's going on, switch
off the Emergency shutdown.
15. Never use damaged instruments, wires or connectors. Hand over these parts to the Lab
instructor/Teacher.
16. Be sure of location of fire extinguishers and first aid kits in the laboratory.
17. After completion of Experiment, return the bread board, trainer kits, wires, CRO probes
and other components to lab staff. Do not take any item from the lab without permission.
18. Observation book and lab record should be carried to each lab.
10
INDEX
S.NO NAME OF THE EXPERIMENTS PAGE.NO
11
EXPERIMENT NO. 1
Introduction to MATLAB
OBJECTIVES:
Introduction to MATLAB
PC, Desktop
MATLAB SOFWARE
It has numerous built-in commands and math functions that help you in mathematical
calculations, generating plots, and performing numerical methods.
As discussed in the earlier topic we can conclude that MATLAB is not only a programming
language but also an advanced platform for many domains. To program in MATLAB, we
must first be familiar with its work environment, its user interface and its tools. This title will
help you to understand the exact structure of MATLAB. It will guide you through the various
windows, their usage and significance When you open your MATLAB software you will see
the following image. Now you can see that there are many windows and it is essential that
you need to get introduced to them.
12
Current Directory
Current directory window displays the current directory of your project. It shows you the
folder in which your current project is going on. It also helps in keeping track of previously
made files and projects.
13
Command Window
Command window is to give real time commands on the go. If you observe you will always
see a double ―>>‖ symbol at the start of every line on command line. This window is used to
give commands to MATLAB in more generalized sense like close all, clear all and quit etc.
so the quit command will close and exit MATLAB.
You can assign values to variables in command window. These variables will be available in
MATLAB for further operations until you remove them.
14
Workspace shows all the variables that have been initialized in MATLAB. Workspaces to res
everything in the form of matrix. This is because MATLAB understands only in terms of
Matrix. Thus it saves them as Matrix. As in above example we have initialized a and b. which
will show up in Workspace.
You can directly add the variables in workspace which will be accessible from command
window. Workspace allows you to print the variables, generate new ones as well as Import
them from some other directory.
Command History
Command history shows the commands that have been used. This helps to keep track of four
commands and their respective outcomes along with time. For example we have initialized
variables a and b, commands for these have be reflected in Command History.
15
To get familiar with MATLAB we will start with some basic operations. Let‘s start with
simple math operations like addition, subtraction, multiplication and a few others. In simple
terms we will be using MATLAB as a calculator.
We will directly perform operations using command window. We will start with initializing 3
variables a, b, Ans. To initialize these variables on command window type as follows.
>> a = 10
>> b = 20
Command window:
16
Subtraction:
17
>> Ans = a – b
Multiplication:
As with all the other programming language, the symbol for multiplication is ‗*‘ Now we
will not use our variable Ans to store answer, instead we will simply enter the following
command and see what happens.
a*b
Division:
Our general symbol for division is ‗ / ‘ , we going to enter the following command a / b and
like the previous example you will see the result. It gives ans as 0.5000, this is because
MATLAB by default takes variables as double.
MATLAB works with essentially only one kind of objects, i.e. a rectangular numerical matrix
with possibly complex entries. All variables represent matrices.
Scalars - 1 by 1 matrix
Row vector - matrix with one row
Column vector - matrix with one column
1 2 3
4 5 6
7 8 9
in a variable a in the MATLAB‘s current memory, you type the following in the MATLAB
prompt.
>> a = [1 2 3; 4 5 6; 7 8 9]
a=
1 2 3
4 5 6
7 8 9
18
>> a = [1,2,3;4,5,6;7,8,9];
or by the statement
>> a = [ 1 2 3 4 5 6 7 8 9 ];
>> b = a‘
b=
1 4 7
2 5 8
3 6 9
Function Task
+ Addition
- Subtraction
* Multiplication
^ Power
‗ Transpose
\ Left division
/ Right division
Examples:
a1 =
2 6 10
6 10 14
10 14 18
b1 =
19
2 0 -2
4 2 0
c=
14 32 50
32 77 122
50 122 194
ans =
1 4 9 16
ans =
1 4 9 16
n=
l=
-37
ans =
20
-1.1168
0.0000
v=
d=
16.1168 0 0
0 -1.1168 0
0 0 0.0000
ans =
3 3
ans =
The following are some special matrices generated by built-in statements and functions
a=
16 2 3 13
5 11 10 8
9 7 6 12
4 14 15 1
21
b=
>> a = hilb(5)
a=
ans =
1 1 1 1 1
1 1 1 1 1
1 1 1 1 1
1 1 1 1 1
1 1 1 1 1
ans =
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
22
0 0 0 0 0 0
0 0 0 0 0 0
Plotting Graphs
2-D plots :
To plot the graph of a function, you need to take the following steps −Define x, by specifying
the range of values for the variable x, for which the function is to be plotted Define the
function, y = f(x) Call the plot command, as plot(x, y) Following example would demonstrate
the concept. Let us plot the simple function y = x for the range of values for x from 0 to 100,
with an increment of 5.
x = [0:5:100];
y = x;
plot(x, y)
When you run the file, MATLAB displays the following plot –
x = [1 2 3 4 5 6 7 8 9 10];
x = [-100:20:100];
23
plot(x, y)
When you run the file, MATLAB displays the following plot –
Adding Title, Labels, Grid Lines and Scaling on the Graph MATLAB allows you to add title,
labels along the x-axis and y-axis, grid lines and also to adjust the axes to spruce up the
graph.
The xlabel and ylabel commands generate labels along x-axis and y-axis.
The title command allows you to put a title on the graph.
The grid on command allows you to put the grid lines on the graph.
The axis equal command allows generating the plot with the same scale factors and
the spaces on both axes.
The axis square command generates a square plot.
Example
x = [0:0.01:10];
y = sin(x);
24
When you create an array of plots in the same figure, each of these plots is called a subplot.
The subplot command is used for creating subplots.
subplot(m, n, p)
where, m and n are the number of rows and columns of the plot array and p specifies where to
put a particular plot. Each plot created with the subplot command can have its own
characteristics. Following example demonstrates the concept –
Example
y = e−1.5xsin(10x)
y = e−2xsin(10x)
x = [0:0.01:5];
y = exp(-1.5*x).*sin(10*x);
subplot(1,2,1)
y = exp(-2*x).*sin(10*x);
subplot(1,2,2)
25
CONCLUSION:-
26
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
27
EXPERIMENT NO .2
PC, Desktop
MATLAB SOFWARE
28
(1) Analog: Analog technology communicates data as electronic signals of varying frequency
or amplitude. Broadcast and telephone transmission are common examples of Analog
technology.
(2) Digital: In digital technology, the data is generated and processed in two states: High
(represented as 1) and Low (represented as 0). Digital technology stores and transmits data in
the form of 1s and 0s.
• Skywave communication
29
Transmitter It is the arrangement/device that processes the message signal into a suitable
form for transmission and subsequently reception. Antenna An Antenna is a structure or a
device that will radiate and receive electromagnetic waves. So, they are used in both
transmitters and receivers. An antenna is basically a metallic object, often a collection of
wires.
Channel A channel refers to a physical medium such as wire, cables, space through which
the signal is passed from the transmitter to the receiver. Noise, Attenuation and distortion to
mention the major impairments
Noise Noise is one of the channel imperfection or impairment in the received signal at the
destination. There are external and internal sources that cause noise.
Receiver An arrangement that extracts the message or information from the transmitted signal
at the output end of the channel and reproduces it in a suitable form as the original message
signal is a receiver.
30
31
Add Blocks to a Model To start building the model, browse the library and add the blocks.
1. From the Sources library, drag the sine wave block to the Simulink Editor.
* Adder
Connect Blocks
Connect the blocks by creating lines between output ports and input ports.
Run Simulation
After you define the configuration parameters, you are ready to simulate your model. In the
Simulation tab, set the simulation stop time by changing the value in the toolbar.
32
Lab Task
33
35
EXPERIMENT NO .3
PC, Desktop
MATLAB SOFWARE
Introduction: In this lab we will learn about the Different Signal and their graph for example
Ramp signal, Unit impulse signal, and unit signal. We will study how to generate the signal
on MATLAB. We will Use some new Commands in this lab.
Discrete
clear all
close all
clc
n=n1:n2;
x=[n>=0];
stem(n,x);
36
OUTPUT:
clear all
close all
clc
n1=input('Lower limit')
n2=input('Upper limit')
x=n1:n2;
y=[x==0];
stem(x,y,);
37
Recall that ramp signal r(t)=t*u(t) where u(t) is unit step signal
clear all
close all
clc
n=n1:n2;
x=n.*[n>=0];
subplot(2,1,1);
plot(n,x,'r');
title('Continuous');
subplot(2,1,2);
stem(n,x,'b');
title('Discrete');
Output:
39
Clear all;
clc;
t=0:0.01:1;
f=5
X=sin(2*pi*f*t)
subplot(2,2,1)
plot(t,X)
grid on;
xlabel('Time (s)')
ylabel('Amplitude (a.u)')
title('sine function')
grid on;
t=0:0.01:1;
f=5
X=cos(2*pi*f*t)
subplot(2,2,2)
plot(t,X)
grid on;
xlabel('Time (s)')
ylabel('Amplitude (a.u)')
title('cosine function')
grid on;
t=0:0.01:1;
f=5
A=cos(2*pi*f*t)
subplot(2,2,3)
40
grid on;
xlabel('Time (s)')
ylabel('Amplitude (a.u)')
title(' ')
grid on;
t=0:0.01:1;
f=5
X=sin(2*pi*f*t)
subplot(2,2,4)
stem(t,X)
grid on;
xlabel('Time (s)')
ylabel('Amplitude (a.u)')
title(' ')
grid on;
OUTPUT
41
VIVA QUESTIONS:
1. Define Signal
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
42
EXPERIMENT NO .4
After completing this lab you should: Know how to use and interpret the Fourier series and
Transform function to analysis different signals in frequency domain.
PC, Desktop
MATLAB SOFWARE
INTRODUCTION
Fourier series and the Fourier transform play a vital role in many areas of engineering such as
communications and signal processing. These representations are among the most powerful
and most common methods of analyzing and understanding signals. A solid understanding of
Fourier series and the Fourier transform is critical to the design of filters and is beneficial in
understanding of many natural phenomena.
FOURIER SERIES
Almost all periodic signals can be represented as an infinite sum of sine and cosines. This
sum is called a Fourier series representation and is defined by the following equation,
43
Using Fourier series expansion, a square wave with a period of 2 ms, peak-to peak value of
2 volts and average value of zero volt can be expressed as
Write a MATLAB program to plot a(t) from 0 to 4 ms at intervals of 0.05 ms and to show
that a(t) is a good approximation of g(t).
44
clear all
• f = 500;
c = 4/pi;
w0 = 2*pi*f;
• t=0:0.05e-3:4e-3;
• s=zeros(1,length(t));
• for n = 1: 12
• end
• plot(t,s)
• xlabel('Time, s')
• ylabel('Amplitude, V')
Output
45
A Fourier transform can be used to analyze a circuit in the frequency domain much like the
Laplace transform can be used to analyze circuits in the s domain. The Fourier transform is
defined by
Using the above function one can generate a Fourier Transform of any expression. In
MATLAB, the Fourier command returns the Fourier transform of a given function. Input can
be provided to the Fourier function using 3 different syntaxes.
Fourier(x): In this method, x is the time domain function whereas the independent
variable is determined by symvar and the transformation variable is w by default.
Fourier(x,transvar): Here, x is the time domain function whereas transvar is the
transformation variable instead of w.
Fourier(x,indepvar,transvar): In this syntax, x is the time domain function whereas
indepvar is the independent variable and transvar is the transformation variable
instead of symvar and w respectively.
MATLAB code:
46
syms t u
x = exp(-t^2-u^2);
X = fourier(x);
% variable = y
X1=fourier(x,y);
X2=fourier(x,t,y);
disp(X);
disp(X1);
47
output
Matlab code:
syms a t
x = a*abs(t);
X = fourier(x);
% variable = y
X1 = fourier(x,y);
48
% = y & independent
X2 = fourier(x,t,y);
disp(X);
disp(X1);
disp(X2);
OUTPUT
CONCLUSION:-
49
________________________________________________________________________
________________________________________________________________________
2. Fourier series representation can be used in case of Non-periodic signals too. True or false?
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
4. Can you explain the concept of linearity with respect to Fourier transform?
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
6. Can you explain how a time-domain function can be converted into its frequency domain
equivalent using Fourier transforms?
________________________________________________________________________
________________________________________________________________________
7. What is the difference between a continuous analog spectrum and a discrete digital
spectrum?
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
50
EXPERIMENT NO .5
Aim:
A. To generate the amplitude modulated signal(AM wave) by using given message signal and
carrier signals in MATLAB software
PC, Desktop
MATLAB SOFWARE
Vm = VmcosWmt
Where wm is angular frequency of the signal &Vm is the amplitude. Let the carrier voltage
be given by expression,
Vc = Vccoswct
On Amplitude Modulation, The instantaneous value of modulated carrier voltage is given by,
V = V(t) coswct
V(t)=Vc+ kaVmcoswmt
Where ma is modulation index and the modulation index is defined as the ratio of maximum
amplitude of modulating signal to maximum amplitude of carrier signal.
ma= Vm / Vc
The demodulation circuit is used to recover the message signal from the incoming AM wave
at the receiver. An envelope detector is a simple and yet highly effective device that is well
suited for the demodulation of AM wave, for which the percentage modulation is less than
100%.Ideally, an envelop detector produces an output signal that follows the envelop of the
input signal wave form exactly; hence, the name. Some version of this circuit is used in
almost all commercial AM radio receivers.
51
AM without functions:
clc
clearall
closeall
em=Am*sin(wm); %messagesignal
l=10000;
subplot(4,1,1),plot(t(1:l),em(1:l))
xlabel('time(sec)');
ylabel('amplitude in volts(V)');
title('MODULATING SIGNAL');
52
xlabel('time(sec)');
ylabel('amplitude in volts(V)');
title('CARRIER SIGNAL');
subplot(4,1,3),plot(t(1:l),y(1:l))
xlabel('time(sec)');
ylabel('amplitude in volts(V)');
subplot(4,1,4),plot(t(1:l),z1(1:l))
xlabel('time(sec)');
ylabel('amplitude in volts(V)');
title('DEMODULATED SIGNAL');
OUTPUT
53
clc
clearall
closeall
em=Am*sin(wm); %messagesignal
y=ammod(em,fc,fs,0,Ac); %amplitudemodulatedsignal
l=100000;
subplot(4,1,1),plot(t(1:l),em(1:l))
xlabel('time(sec)');
ylabel('amplitude in volts(V)');
title('MODULATING SIGNAL');
subplot(4,1,2),plot(t(1:l/2),ec(1:l/2))
xlabel('time(sec)');
ylabel('amplitude in volts(V)');
54
subplot(4,1,3),plot(t(1:l),y(1:l))
xlabel('time(sec)');
ylabel('amplitude in volts(V)');
subplot(4,1,4),plot(t(1:l),z(1:l))
xlabel('time(sec)');
ylabel('amplitude in volts(V)');
title('DEMODULATED SIGNAL');
OUTPUT
CONCLUSION:-
55
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
56
EXPERIMENT NO .6
(using Simulink)
Aim: To generate amplitude modulated wave using simulink and demodulate the modulated
wave.
PC, Desktop
MATLAB SOFWARE
57
Procedure:
2. Select create a new blank model and open the Simulink Library browser
3. Select Signal generator from sources of Simulink and drag it to the new model
4. Select the sine wave as message signal and set the input voltage signal to 5Vp-p and signal
frequency to 500Hz
5. Again select the signal generator then sine wave. Give the name as Carrier signal. Set the
carrier voltage 8Vp-p, frequency 1 KHz
8. All the above blocks connect as per the diagram shown to get the Amplitude modulation
signal. Observe the output in scope
9. For demodulation select Analog Filter Design block from Filter Designs Library Links of
Simulink
10. Connect the filter output to the scope and observe the results
58
Model Waveform:
CONCLUSION:-
59
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
3. If μ=1 in an AM wave what is the amount of power saving in an AM wave? What is the
band width of an AM wave?
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
4. Explain the procedure of Amplitude modulation? What is the significance of Emax and
Emin points in AM wave?
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
60
EXPERIMENT NO .7
Aim:
A. To generate the AM-DSBSC modulated signal(DSBSC wave) by using given message
signal and carrier signals in MATLAB software
PC, Desktop
MATLAB SOFWARE
THEORY:
The amplitude-modulated signal is simple to produce but has two practical drawbacks in
application to many real communications systems: the bandwidth of the AM signal is twice
that of the modulating signal and most of the power is transmitted in the carrier, not in the
information bearing sidebands. To overcome these problems with AM, versions on AM have
been developed. These other versions of the AM are used in applications were bandwidth
must be conserved or power used more effectively. If the carrier could somehow be removed
or reduced, the transmitted signal would consist of two information-bearing sidebands, and
the total transmitted power would be information. When the carrier is reduced, this is called
as double sideband suppressed carrier AM or DSB-SC. Instead of two third of the power in
the carrier, nearly all being the available power is used in sidebands.
PROGRAM:
clc
clearall
closeall
61
em=Am*sin(wm); %messagesignal
y=em.*ec; z=y.*ec; %in synchronous detection the AM signal is multiplied with carrier
signal and passed through LPF
l=100000;
subplot(4,1,1),plot(t(1:l/2),em(1:l/2))
xlabel('time(sec)');
ylabel('amplitude in volts(V)');
title('MODULATING SIGNAL');
subplot(4,1,2),plot(t(1:l/2),ec(1:l/2))
xlabel('time(sec)');
ylabel('amplitude in volts(V)');
title('CARRIER SIGNAL');
subplot(4,1,3),plot(t(1:l/2),y(1:l/2))
xlabel('time(sec)');
ylabel('amplitude in volts(V)');
subplot(4,1,4),plot(t(1:l),z1(1:l))
62
ylabel('amplitude in volts(V)');
title('DEMODULATED SIGNAL');
OUTPUT
Model waveforms:
clc
clearall
closeall
fs=10000;%sampling frequency---------fs>=2(fc+BW)
63
em=Am*sin(wm); %messagesignal
l=10000;
subplot(4,1,1),plot(t(1:l),em(1:l))
xlabel('time(sec)');
ylabel('amplitude in volts(V)');
title('MODULATING SIGNAL');
subplot(4,1,2),plot(t(1:l/2),ec(1:l/2))
xlabel('time(sec)');
ylabel('amplitude in volts(V)');
title('CARRIER SIGNAL');
subplot(4,1,3),plot(t(1:l),y(1:l))
xlabel('time(sec)');
ylabel('amplitude in volts(V)');
subplot(4,1,4),plot(t(1:l),z(1:l))
xlabel('time(sec)');
ylabel('amplitude in volts(V)');
title('DEMODULATED SIGNAL');
64
CONCLUSION:-
65
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
3. Draw the wave form of DSBSC wave and AM wave,and differentiate those two
waveforms?
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
5. Plot message, carrier and DSBSC waves and explain each wave clearly.
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
66
EXPERIMENT NO .8
Aim: To generate DSB-SC Modulated wave using simulink and demodulate the modulated
signal.
PC, Desktop
MATLAB SOFWARE
THEORY:
The coherent DSB-SC requires a synchronized local oscillator and works on above principle.
A low pass filter filters out the message signal from above.
67
Procedure:
2. Select create a new blank model and open the Simulink Library browser
3. Select Signal generator from sources of Simulink and drag it to the New model
4. Select the sine wave as message signal and set the input voltage signal to 5Vp-p and signal
frequency to 500Hz
5. Again select the signal generator then sine wave. Give the name as Carrier signal. Set the
carrier voltage 8Vp-p, frequency 1 KHz
7. All the above blocks connect as per the diagram shown to get the Amplitude modulation
signal. Observe the output in scope
8. For demodulation select Analog Filter Design block from Filter Designs Library Links of
Simulink
9. Connect the filter output to the scope and observe the results
68
Model waveform:
CONCLUSION:-
69
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
70
EXPERIMENT NO .9
Aim:
A. To generate frequency modulated signal and observe the characteristics of FM wave using
MATLAB software.
PC, Desktop
MATLAB SOFWARE
THEORY:
Frequency modulation consists in varying the frequency of the carrier voltage in accordance
with the instantaneous value of the modulating voltage. Thus the amplitude of the carrier
does not change due to frequency modulation. Let the modulating voltage be given by
expression:
Vm=Vmcoswmt.
Where wm is angular frequency of the signal &Vm is the amplitude. Let the carrier voltage
be given by expression,
On frequency modulation, the instantaneous value of modulated carrier voltage is given by;
hence the frequency modulated carrier voltage is given by,
71
FM with functions:
clc
clearall
closeall
x = sin(2*pi*10*t) % Channel 1
subplot(411),plot(t,x)
xlabel('time(sec)');
ylabel('amplitude in volts(V)');
title('MODULATING SIGNAL');
subplot(412),plot(t,sin(2*pi*Fc*t))
xlabel('time(sec)');
ylabel('amplitude in volts(V)');
title('CARRIER SIGNAL');
subplot(413),plot(t,y)
xlabel('time(sec)');
ylabel('amplitude in volts(V)');
subplot(414),plot(t,z)
xlabel('time(sec)');
ylabel('amplitude in volts(V)');
72
OUTPUT
CONCLUSION:-
73
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
4. What is sideband FM ?
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
74
EXPERIMENT NO .10
FREQUENCY MODULATION
PC, Desktop
MATLAB SOFWARE
THEORY:
In Frequency Modulation (FM), the amplitude of the sinusoidal carrier wave was modulated
in AM, this time the instantaneous frequency of a sinusoidal carrier wave will be modified
proportionally to the variation of amplitude of the message signal.
Circuit diagram:
75
2. Select create a new blank model and open the Simulink Library browser
3. Select Signal generator from sources of Simulink and drag it to the New model
Model waveform:
CONCLUSION:-
76
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
2. The carrier in an FM signal can never drop to zero amplitude. True or False.
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
3. For an FM signal, the maximum deviation occurs at ______ point of the modulating signal
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
77
EXPERIMENT NO .11
Aim:
A. To generate phase modulated signal and observe the characteristics of PM wave using
MATLAB software.
PC, Desktop
MATLAB SOFWARE
THEORY:
In frequency modulation, the frequency of the carrier varies. But in Phase Modulation (PM),
the phase of the carrier signal varies in accordance with the instantaneous amplitude of the
modulating signal.
The amplitude and the frequency of the carrier signal remains constant whereas the phase of
the carrier changes.
78
clc;
clear all ;
fs=800;
t=0:1/fs:3;
fc=10;
fm=1;
pdev=pi/2;
ct=sin(4*pi*fm*t);
mt=sin(2*pi*fm*t)+ct;
x=pmmod(mt,fc,fs,pdev);
y=pmdeod(x,fc,fs,pdev);
subplot(4,1,1)
plot(t,mt,‘b‘);
grid on
title(‗message signal‘)
subplot(4,1,2)
plot(t,ct,‘r‘);
grid on
title(‗carier signal‘);
subplot(4,1,3)
plot(t,x,‘r‘)
grid on
subplot(4,1,4)
plot(t,y,‘m‘)
79
OUTPUT:
CONCLUSION:-
80
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
2. Δθ represents _______?
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
5. When the modulating signal goes positive in PM the phase shift becomes ______ and
carrier frequency _____ .
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
6. In PM when modulating signal goes negative the phase shift becomes ____ and carrier
frequency ______
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
81