Communication Lab Manual
Communication Lab Manual
Communication Lab Manual
LAB MANUAL
IV SEMSETER ECE
Prepared by
Dr. C.S.KARTHIKEYAN
Mrs .P.DEEPA
Mrs. M.PANDIMADEVI
1
SIT/ECE/2018-2019/L5/15UEC408
LABORATORY MANUAL
IV SEMSETER ECE
Roll number :
Dr. C.S.Karthikeyan
Asso. Prof/ECE
Mrs. P.Deepa
Prepared by
AP(SG)/ECE
Mrs. M.Pandimadevi
AP(SG)/ECE
Dr. M.Sheik Dawood
Reviewed by
Prof/ECE
Mrs.Helina Rajini Suresh
Approved by
HOD-ECE
2
SIT/ECE/2018-2019/L5/15UEC408
Institute Vision:
To promote excellence in technical education and scientific research for the
benefit of the society
Institute Mission
To provide quality technical education to fulfill the aspiration of the
student and to meet the needs of the Industry.
To provide holistic learning ambience.
To impart skills leading to employability and entrepreneurship. To
establish effective linkage with industries.
To promote Research and Development activities.
To offer services for the development of society through education
and technology.
Department Vision
To produce competent Electronics and Communication Engineers,
to address the challenges of modern industries and promote research
with virtues contributing to social responsibility.
Department Mission
Imparting quality technical education through the state of the art
infrastructure.
Promoting research by both Faculty and Students
Infusing the skills needed for employability and entrepreneurship
Establishing linkages with industries and higher learning Institutions
Providing services to the society
3
SIT/ECE/2018-2019/L5/15UEC408
4
SIT/ECE/2018-2019/L5/15UEC408
OBJECTIVES:
To provide an overview of discrete time signals using simulation software
To implement the various modulation and demodulation techniques.
To demonstrate line coding
LIST OF EXPERIMENTS
COURSE OUTCOMES:
After successful completion of this course the students will be able to:
Choose and implement suitable digital modulation technique for given constraints
on data rate, bandwidth, power, fidelity, and complexity
Analyze the performance of a digital communication link when additive noise is
present in terms of the signal to noise ratio and bit error rate
Calculate the power and bandwidth requirements of modern communication
systems, including those employing ASK, PSK, FSK, and QAM modulation
formats
Design and implement error control codes
5
SIT/ECE/2018-2019/L5/15UEC408
LIST OF EXPERIMENTS
CYCLE-I
1. Modulation of AM and FM
2. Pulse Modulation
3. Pre-emphasis and De-emphasis
4. Modulation and Demodulation of ASK
5. Quadrature Modulation technique-QPSK & Line Coding
CYCLE-II
6
SIT/ECE/2018-2019/L5/15UEC408
INDEX
EX. PAGE
DATE NAME OF THE EXPERIMENT MARK SIGN
No No
FACULTY INCHARGE
7
SIT/ECE/2018-2019/L5/15UEC408
CIRCUIT DIAGRAM:
AMPLITUDE MODULATION
FREQUENCY MODULATION
8
SIT/ECE/2018-2019/L5/15UEC408
APPARATUS REQUIRED:
THEORY:
Modulation is the process by which some characteristic of a carrier is varied in
accordance with the modulating wave. A common form of carrier is a sinusoidal wave, in
which case we speak of a continuous wave modulation process. The base band signal is
referred to as modulating wave, and the result of modulation process is referred to as the
modulated wave. Modulation is performed at the transmitting end of the communication
system.
Here amplitude modulation is described in detail with an AM transmitter. In
amplitude modulation, the amplitude of the sinusoidal carrier wave is changed in
accordance with the message signal.
AMPLITUDE MODULATION
Amplitude Modulation is defined as the process in which the amplitude of the
carrier wave c(t) is varied about a mean value, linearly with the base band signal m(t).
Consider a sinusoidal carrier wave c(t) defined by,
c(t) = Ac cos (2 *pi * Fc * t)
9
SIT/ECE/2018-2019/L5/15UEC408
Fc - Carrier frequency
Design:
Amplitude Modulation:
AV = -hfeRLeff/Zi
(i) To calculate VCE:
Assuming,
VCE= VCC/2 (transistor active)
VCE =
VE =
(iii) To calculate RC:
10 = (10*10-3*RC)+5+1
10-5-1 = (10*10-3*RC)
RC =
(iv) To calculate RE:
VB = VBE + VE = VB =
10
SIT/ECE/2018-2019/L5/15UEC408
10 = 1+ (RB/100)
(RB/100) = 9 => RB = RB =
RB = R 1 ║ R 2
Let m(t) denote the base band signal that carries the specification of the message. The
source of the carrier wave c(t) is physically independent of the message signal m(t). An
amplitude modulated signal can be represented, in its most general form, as a function of
time as follows:
S(t) = Ac [ 1 + Ka * m(t) ] * cos ( 2 * pi * Fc *t)
Where,Ka - constant called amplitude sensitivity
W.K.T VCC = 10V; VB = 1.7V;
We get 1.7 = 10 (R2/R1 + R2)
11
SIT/ECE/2018-2019/L5/15UEC408
DESIGN:
FM Modulator:
Frequency modulation is done by using VCO, The frequency of oscillation is
determined by an external resistor R1 and capacitor C1 and voltage VC applied to the control
terminal 5 as shown in figure 3.1. In this arrangement, the R1C1 combination determines the
free –running frequency and the control voltage VC at terminal 5 is set by the voltage divider
formed with R2 and R3. The initial voltage VC must be in the range
¾ (+V) ≤ VC ≤ +V
Where +V is the total supply voltage. The modulating signal is ac coupled with the capacitor
C and must be <3VPP. The frequency of the output waveform is approximated by
VC =
fo ==
= / fm
12
SIT/ECE/2018-2019/L5/15UEC408
The sidebands are separated from carrier by fm, 2fm,. etc. and their amplitude
keep on decreasing progressively.
PROCEDURE:
AM MODULATION:
1. + 10 volts d.c is given to the apparatus.
2. Connections are given as shown in the circuit diagram
3. Observe the output of the RF generator using the CRO
4. The waveform appears at the output is a sine wave
5. Set the carrier frequency to 3.2V,10KHz using function generator. Note the
period, frequency and amplitude of the sine wave.
6. Set the modulating signal frequency ie. 1KHz sine wave from audio
oscillator to input of modulator.
7. Connect oscilloscope to the modulator output and note down the maximum
and minimum voltages from the CRO.
8. Calculate the modulation index using the formula, modulation index.
%modulation = [E(max) – E(min)/E(max)+E(min)] *100
9. Keep changing the modulation index from 0.5 to 1.5 and observe the
waveform.
10. Set the carrier frequency to 3.2V,10KHz using function generator. Note the
period, frequency and amplitude of the sine wave.
11. Set the modulating signal frequency ie. 1KHz sine wave from audio
oscillator to input of modulator.
12. Connect oscilloscope to the modulator output and note down the maximum
and minimum voltages from the CRO.
13. Calculate the modulation index using the formula, modulation index.
%modulation = [E(max) – E(min)/E(max)+E(min)] *100
14. Keep changing the modulation index from 0.5 to 1.5 and observe the
waveform.
FM MODULATION:
1. Connections are made as per circuit diagram.
2. Switch on the power supply.
3. Without signal applied, measure carrier signal at pin no.4 or 5 of IC 566.
4. Apply modulating AF signal at pin no.4 or 5 of IC566.
5. Calculate the modulation index, mf = δ/fm. Where δ = maximum
frequency deviation. fm = modulating frequency.
13
SIT/ECE/2018-2019/L5/15UEC408
MODEL GRAPH:
TABULATION:
MODULATION
TABULATION -AM
Message Signal Carrier Signal E Emin M=(Emax-Emin)/
Amplitude Frequency Amplitude Frequency max (V) (Emax+Emin)
(V) (Hz) (V) (Hz) (V)
14
SIT/ECE/2018-2019/L5/15UEC408
MODEL GRAPH-FM
TABULATION-FM
SIGNAL AMPLITUDE(V) TIME(ms)
Message Signal
Carrier Signal
Modulated Signal
Result:
1. Define Modulation.
2. What is modulation index?
3. Differentiate under modulation & over modulation.
4. List the advantages of AM modulation.
5. What are the different AM modulations Techniques?
15
SIT/ECE/2018-2019/L5/15UEC408
CIRCUIT DIAGRAM:
MODULATION:
DEMODULATION OF PAM:
16
SIT/ECE/2018-2019/L5/15UEC408
AIM:
To generate the Pulse amplitude modulated and demodulated signals.
APPARATUS REQUIRED:
THEORY:
Pulse amplitude modulation (PAM) is a scheme, which alters the amplitude of
regularly spaced rectangular pulses in accordance with the instantaneous values of a
continuous message signal.
Then amplitude of the modulated pulses represents the amplitude of the intelligence.
A train of very short pulses of constant amplitude and fast repetition rate is chosen
the amplitude of these pulse is made to vary in accordance with that of a slower
modulating signal the result is that of multiplying the train by the modulating signal the
envelope of the pulse height corresponds to the modulating wave .the Pam wave contain
upper and lower side band frequencies .besides the modulating and pulse signals.
The demodulated PAM waves, the signal is passed through a low pass filter
having a cut –off frequencies equal to the highest frequency in the modulating signal. At
the output of the filter is available the modulating signal along with the DC component
PAM has the same signal to noise ratio as AM and so it is not employed in
practical circuits.
17
SIT/ECE/2018-2019/L5/15UEC408
MODEL GRAPH:
Message Signal
Carrier Signal
Modulated Signal
TABULATION
Carrier Signal Modulated Signal
Message Signal
/Sampling signal PAM
Amplitude Frequnecy Amplitude Frequnecy Amplitude Frequnecy
(Em in V) (fm in Hz) (Ec in V) (fc in Hz) (Ec in V) (fc in Hz)
18
SIT/ECE/2018-2019/L5/15UEC408
PROCEDURE:
RESULT:
19
SIT/ECE/2018-2019/L5/15UEC408
CIRCUIT DIAGRAM:
PRE-EMPHASIS
DE-EMPHASIS
DESIGN:
take R = 1 KΩ
C=
20
SIT/ECE/2018-2019/L5/15UEC408
PRE-EMPHASIS AND DE-EMPHASIS
AIM:
i) To observe the effects of pre-emphasis on given input signal.
ii) To observe the effects of De-emphasis on given input signal.
APPARATUS REQUIRED:
5.
THEORY:
Frequency modulation is much immune to noise than amplitude modulation and
significantly more immune than phase modulation. A single noise frequency will affect
the output of the receiver only if it falls with in its pass band.
The noise has a greater effect on the higher modulating frequencies than on lower
ones. Thus, if the higher frequencies were artificially boosted at the transmitter and
correspondingly cut at the receiver, improvement in noise immunity could be expected.
This booting of the higher frequencies, in accordance with a pre-arranged curve, is
termed pre-emphasis, and the compensation at the receiver is called de-emphasis.
If the two modulating signals have the same initial amplitude, and one of them is
pre-emphasized to (say) twice this amplitude, whereas the other is unaffected (being at a
much lower frequency) then the receiver will naturally have to de-emphasize the first
signal by a factor of 2, to ensure that both signals have the same amplitude in the output
of the receiver. Before demodulation, I.e. while susceptible to noise interference the
emphasized signal had twice the deviation it would have had without pre-emphasis, and
was thus more immune to noise. Alternatively, it is seen that when this signal is de-
emphasized any noise sideband voltages are de-emphasized with it, and therefore have
a correspondingly lower amplitude than they would have had without emphasis again
their effect on the output is reduced.
21
SIT/ECE/2018-2019/L5/15UEC408
TABULATION:
Pre-emphasis Vi =
Frequency V0 Gain (dB)
De-emphasis Vi =
Frequency V0 Gain (dB)
MODEL GRAPH:
22
SIT/ECE/2018-2019/L5/15UEC408
PROCEDURE:
Result:
23
SIT/ECE/2018-2019/L5/15UEC408
CIRCUIT DIAGRAM:
24
SIT/ECE/2018-2019/L5/15UEC408
AIM:
To generate ASK modulated and demodulated signal.
APPARATUS REQUIRED:
THEORY:
ASK or ON-OFF key is the simplest digital modulation technique. In this method there is
only one unit energy carrier it is switched ON/OFF depending upon the input binary
sequence to transmit symbol 0 & 1. No pulse is transmitted output contains some
complete no of cycle of carrier frequency. The disadvantage of ASK is the modulated
carrier signal is not continuously transmitted. The peak power requirement is also high.
The bit error probability rate is also not required in this technique.
PROCEDURE:
1. Make connections as shown in the diagram.
2. Set the message signal 500Hz and carrier signal 1KHz.
3. Obtain ASK signal
4. Measure the amplitude and frequency
5. Obtain the demodulated output.
25
SIT/ECE/2018-2019/L5/15UEC408
MODEL GRAPH:
TABULAR COLUMN
RESULT:
26
SIT/ECE/2018-2019/L5/15UEC408
QPSK MODULATOR
27
SIT/ECE/2018-2019/L5/15UEC408
AIM:
The objective of this experiment is to study the QPSK Modulator and demodulator using
clock ( binary) data.
EQUIPMENTS REQUIRED
1. VCT -29.
2. Two Channel 20MHz Oscilloscope.
3. Patch chords.
THEORY:
QPSK MODULATOR
Quaternary phase shift keying (QPSK), or quadrature PSK as it is sometimes
called, is another form of angle-modulated, constant-amplitude digital
modulation. QPSK is an M-ary encoding technique where M = 4 (hence, the
name “quaternary,” meaning “4" ). With QPSK four output phases are possible for a
single carrier frequency. Because there are four different output phases, there must be
four different input conditions. Because the digital input to a QPSK modulator is a binary
(base 2) signal, to produce four different input conditions, it takes more than a single
input bit. With two bits, there are four possible conditions: 00, 01, 10 and 11. Therefore,
with QPSK, the binary input data are combined into groups of two bits called dibits. Each
dibit code generates one of the four possible output phases. Therefore, for each two - bit
dibit clocked into the modulator, a single output change occurs. Therefore, the rate of
change at the output (baud rate ) is onehalf of the input bit rate.
A block diagram of QPSK modulator is shown in above Figure. Two bits (a
dibit) are clocked into the bit splitter. After both bits have been serially inputted, they are
simultaneously parallel outputted. One bit is directed to the I channel and the other to the
Q channel. The 1- bit modulates a carrier that is in phase with the reference oscillator
(hence, the name “I” for “in phase” channel), and the Q bit modulates a carrier that is 90°
out of phase or in quadrature with the reference carrier (hence, the name “Q” for
“quadrature” channel).
QPSK DEMODULATOR
The block diagram of a QPSK receiver is shown in Figure. The input QPSK
signal given to the I and Q product detectors and the carrier recovery circuit. The carrier
recovery circuit reproduces the original transmit carrier oscillator signal. The recovered
carrier must be frequency and phase coherent with the transmit reference carrier. The
QPSK signal is demodulated in the I and Q
28
SIT/ECE/2018-2019/L5/15UEC408
29
SIT/ECE/2018-2019/L5/15UEC408
product detectors, which generate the original I and Q data bits. The output of the
product detectors are fed to the bit combining circuit, where they are converted from
parallel I and Q data channels to a single binary output data stream.
PROCEDURE
MODULATOR:
1. Switch ON the power supply.
2. Check binary data I (P5), II (P6), sine wave, and cosine waveform’s.
3. Connect the binary input point P5 to the I - Channel input point of P9.
4. Connect the binary input point P6 to the Q - Channel input point of P10.
5. Connect the sine wave input (P3 point) to the P11 points of balanced Modulator
as a carrier signal (I - Channel) and to cosine wave input (P4 point) to the P13 point of
balanced modulator as a carrier signal (Q - Channel).
6. Display binary input data on CRO (P12 point) and adjust potentiometers POT1 to
convert the unipolar data into bipolar.Similarly adjust the potentiometer POT -3 to
convert the unipolar binary data into bipolar data for Q - Channel at the test point P14.
7. Display the test point P15 and P16 on channel 1 and Channel 2 of CRO respectively.
Now adjust the gain control potentiometers (POT- 5 & pp POT- 6) to set equal amplitude
(2V ) in I- Channel and Q - Channel.
8. Connect the test point P15 to P17 and P16 to P18 with the help of patch chords.
pp 9. Finally view the QPSK output waveform at test point (P19) [5V set the amplitude
level of QPSK using gain control potentiometer (POT-7)]
DEMODULATOR:
1. Connect the QPSK output to the input of QPSK demodulator.
2. Check I and Q channel filter output.
3. Now, properly adjust POT - 8 comparing with I - Channel input (P9)
and I - Channel output (P25).
4. Now, properly adjust POT - 9 comparing with Q - Channel input (P10)
and Q - Channel output (P27).
5. Once again compare I & Q Channel input and output.
6. If there is any change once again fine tune POT-7 and POT-8.
7. If the final output we will get 1-bit delay in compare with input.
30
SIT/ECE/2018-2019/L5/15UEC408
31
SIT/ECE/2018-2019/L5/15UEC408
32
SIT/ECE/2018-2019/L5/15UEC408
33
SIT/ECE/2018-2019/L5/15UEC408
RESULT:
34
SIT/ECE/2018-2019/L5/15UEC408
ENCODING FORMATS:
35
SIT/ECE/2018-2019/L5/15UEC408
36
SIT/ECE/2018-2019/L5/15UEC408
LINE CODING AND DECODING TECHNIQUES
AIM :
To study different line coding techniques.
APPARATUS REQUIRED:
a. VCT - 37.
b. 20MHz oscilloscope.
c. Patch chords.
THEORY:
We need to represent PCM binary digits by electrical pulses in order to transmit
them through a base band channel.
The most commonly used PCM popular data formats are being realized here.
Line coding refers to the process of representing the bit stream (1‟s and 0‟s) in the
form of voltage or current variations optimally tuned for the specific properties of the
physical channel being used. The selection of a proper line code can help in so many
ways: One possibility is to aid in clock recovery at the receiver. A clock signal is
recovered by observing transitions in the received bit sequence, and if enough
transitions exist, a good recovery of the clock is guaranteed, and the signal is said to be
self-clocking.
Unipolar RZ
In this line code, a binary ‘ 1' is represented by a non-zero voltage level during a portion
of the bit duration, usually for half of the bit period, and a zero voltage level for rest of the
bit duration.
A binary ‘0' is represented by a zero voltage level during the entire bit duration.
The main advantage of unipolar RZ are case of generation requires single power supply
and which allows simple timing recovery. A number of disadvantages exists for this line
code. It has a non-zero DC component and non-zero DC content, which can load to DC
wander. A long string of ‘0's will back pulse transition and could load to loss of
synchronization. There is no error detection capability. The bandwidth requirement is
also higher than non-return to zero signal.
Polar RZ
In this scheme, a binary ‘1' is represented by alternating positive voltage levels,
which return to zero for a portion of the bit duration, generally half the bit period. A binary
‘0's is represented by a negative voltage levels and return to zero for half bit duration.
37
SIT/ECE/2018-2019/L5/15UEC408
This code has no DC component and zero DC content, completely avoiding +ve
DC wander problem. Timing recovery is rather easy by squaring, or full-wave rectifying. It
requires low bandwidth. The obvious disadvantage is that the error rate performance is
worst. A long string of 0's or 1's could not appear and so improves in synchronization,
and two power supplies are required for this code.
Polar NRZ
In this line code, a binary 1 is represented by a positive voltage +v and a binary 0
is represented by a negative voltage -v over the full bit period. This code is also referred
to as NRZ(L), since a bit is represented by maintaining a level during its entire period.
This code can also be represented by assigning negative voltage for logic 1 and positive
voltage for logic 0.
The advantage of polar NRZ includes a low-bandwidth requirements, very good
error probability, and great reduced DC because the waveform has a zero DC
component. A major disadvantage of this code that there is no error detection capability
and that a long string of 1's or 0's could result in loss of synchronization and power
supplies are required to generate this code.
Bipolar NRZ:
In this scheme, a binary ‘1' is represented by positive and negative voltage levels
in alternating mark level in full bit period. A binary ‘0' is represented by a zero voltage
levels during entire bit duration. This code also called as alternate mark inversion (AMI)
since 1's are represented by alternating positive and negative pulses.
This code has no DC component and zero DC content, completely avoiding the
DC wander problem. Because of the alternative polarity pulses for binary 1's, this code
has error detection and hence correction also possible. A long string of 0's could result in
loss of synchronization, and two power supplies are required for this code.
Bipolar RZ
In this scheme, a binary ‘1' is represented by alternating positive and negative
voltage a levels for a half bit period duration and maintaining zero for other of period. A
binary ‘0' is represented by a zero voltage levels during entire bit duration. This code
also called as AMI. This code has no DC component and zero DC Conant, completely
avoiding the DC wander problem. Because of alternative polarity pulses for binary 1's,
this code has error detection and hence correction also possible. A long string of 0's
could result in loss of synchronization, and two process supplier and required for this
code.
Manchester Coding
In this scheme, a binary 1 is represented by a pulse that has positive voltage
during the first-half of the bit duration and negative voltage during second-half of the bit
duration. A binary ‘0' is represented by a pulse that has negative voltage during first-half
of the bit duration and positive voltage during second-half of the bit duration.
The advantage of this code includes a zero DC content and so avoiding DC-
wandering problems. The code having alternation positive and negative pulses and so
38
SIT/ECE/2018-2019/L5/15UEC408
timing recovery is simple and it has good error rate performance. The main disadvantage
of this scheme is larger bandwidth. It has no error detection possibility.
PROCEDURE:
UNIPOLAR RZ ENCODING & DECODING
1. Connect the PRBS (test point P5) to test point P7.
2. Connect test point P8 to P18.
3. Set the SW1 in Rz position.
4. Set the potentiometer P1 in minimum position.
5. Switch ON the power supply.
6. Press switch SW2 once.
7. Display the encoded signal at test point P8 on one channel of CRO and decoded
signal at test point P20 on second channel of CRO.
1. Connect the PRBS (P8) to P9 point and PRBS (P6) points to test point P10..
2. Connect the test point P11 to P21.
3. Set the switch SW1 in RZ position.
4. Set the potentiometer P1 in minimum position.
5. Switch ON the power supply.
6. Press the switch SW2 once.
7. Display the encoded signal at test point P11 on channel 1 and decoded signal at test
point P22 on channel 2 of CRO.
39
SIT/ECE/2018-2019/L5/15UEC408
KIT DIAGRAM
40
SIT/ECE/2018-2019/L5/15UEC408
1. Connect the PRBS (test point P8) to P9 point and PRBS to P10.
2. Connect point P11 to P23.
3. Set the switch SW1 in NRZ position.
4. Set the potentiometer P2 in minimum position.
5. Switch ON the power supply.
6. Press the switch SW2 once.
7. Display the encoded signal at test point P11 on channel 1 and decoded signal at test
point P24 on channel 2 of CRO.
41
SIT/ECE/2018-2019/L5/15UEC408
RESULT
42
SIT/ECE/2018-2019/L5/15UEC408
PROGRAM:
43
SIT/ECE/2018-2019/L5/15UEC408
OBJECTIVE:
Theory:
Unit impulse signal. 1 t 0
(t )
0
t 0
Unit step signal. 1 t0
u (t )
0
t0
Unit ramp signal. t t0
r (t )
0
t0
ALGORITHM:
44
SIT/ECE/2018-2019/L5/15UEC408
45
SIT/ECE/2018-2019/L5/15UEC408
Result:
Thus the given Continuous time signals are generated using simulation software.
Review Questions
1. Generate the signal x t u t u t 10 using MATLAB.
2. Simulate cosine signal for 50Hz.
3. Try to sketch the signal x(t 2 2) .
4. Write a MATLAB program to generate x t 10 cos 2t cos 2t .
5. Generate square wave and sawtooth wave using MATLAB.
46
SIT/ECE/2018-2019/L5/15UEC408
PROGRAM:
47
SIT/ECE/2018-2019/L5/15UEC408
OBJECTIVE:
Theory:
Unit impulse sequence. n 1 n0
0
n0
Unit step sequence. u n 1 n0
0
n0
Unit ramp sequence. r n n n0
0
n0
Sinusoidal sequence. x n A sin(n ) .
Cosine sequence. x n A cos(n ) .
Exponential sequence. x(n) Ae an , where A and a are constant
ALGORITHM:
1. Generate the desired discrete time signal using suitable Library functions.
2. Plot the signal.
3. Specify the label to the axes.
4. Give titles to all the signals.
48
SIT/ECE/2018-2019/L5/15UEC408
PROGRAM:
49
SIT/ECE/2018-2019/L5/15UEC408
GENERATION OF PSK USING MATLAB
AIM:
To write a program in MATLAB for design of PSK.
ALGORITHM:
RESULT:
50
SIT/ECE/2018-2019/L5/15UEC408
PROGRAM:
51
SIT/ECE/2018-2019/L5/15UEC408
ALGORITHM:
The binary sequence is taken as input into a variable.
The carrier signal with required frequency is selected.
The required carrier wave is generated.
The analog signal is combined with the generated carrier signal.
The required FSK signal is generated.
RESULT:
52
SIT/ECE/2018-2019/L5/15UEC408
PROGRAM:
53
SIT/ECE/2018-2019/L5/15UEC408
AIM:
To write a program in MATLAB for design of DELTA MODULATION.
THEORY:
Delta Modulation is a technique used to convert analog to digital and vice versa.
This is used for voice transmission. It is a modulation technique which is used for
transmission of voice information where quality is not of much importance. It is one of the
simplest form of differential Pulse Code Modulation.
ALGORITHM:
The input signal is generated.
Give the length of the input signal.
The approximated or quantized signal is generated.
Find the difference between original signal and approximated signal
If error is greater than 0, equate to +delta-min. else equate to -delta-min
if two previous outputs are equal, scale step size. otherwise equate output to min
step size. calculate approximation signal
encode the output as a binary signal
54
SIT/ECE/2018-2019/L5/15UEC408
RESULT:
55
SIT/ECE/2018-2019/L5/15UEC408
AIM:
To simulate bit error rate performance of BPSK modulation using Matlab.
Theory :
Algorithm
Initialization commands
1. Generate the input data randomly
2. Implement differential encoding
3. Do BPSK modulation
4. Add AWGN noise
5. Calculate the no of bits in error
6. Plot the BER graph
56
SIT/ECE/2018-2019/L5/15UEC408
PROGRAM:
57
SIT/ECE/2018-2019/L5/15UEC408
RESULT:
58
SIT/ECE/2018-2019/L5/15UEC408
Theory:
Direct-sequence spread spectrum (DSSS) is a modulation technique. As
with other spread spectrum technologies, the transmitted signal takes up more
bandwidth than the information signal that is being modulated. The name 'spread
spectrum' comes from the fact that the carrier signals occur over the full bandwidth
(spectrum) of a device's transmitting frequency.
Direct-sequence spread-spectrum transmissions multiply the data being transmitted by a
"noise" signal. This noise signal is a pseudorandom sequence of 1 and −1values, at a
frequency much higher than that of the original signal, thereby spreading the energy of
the original signal into a much wider band.
The resulting signal resembles white noise, like an audio recording of "static". However,
this noise-like signal can be used to exactly reconstruct the original data at the receiving
end, by multiplying it by the same pseudorandom sequence (because 1 × 1 = 1, and −1
× −1 = 1). This process, known as "de-spreading", mathematically constitutes a
correlation of the transmitted PN sequence with the PN sequence that the receiver
believes the transmitter is using.
Procedure:
1. Run MATLAB
2. Open a new script file
3. Write the code for Direct sequence spread spectrum technique.
4. Run the code for execution and obtain the necessary results
59
SIT/ECE/2018-2019/L5/15UEC408
PROGRAM:
60
SIT/ECE/2018-2019/L5/15UEC408
RESULT:
61
SIT/ECE/2018-2019/L5/15UEC408
MATLAB® INTRODUCTION
62
SIT/ECE/2018-2019/L5/15UEC408
ANNEXURE
MATLAB-LIBRARY FUNCTIONS
Clc Clear command window.
clc clears the command window and homes the cursor.
xlabel X-axis label. xlabel('text') adds text beside the X-axis on the current axis.
ylabel Y-axis label. ylabel('text') adds text beside the Y-axis on the current axis.
title Graph title. title('text') adds text at the top of the current axis.
63