Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
9 views32 pages

DC File

Uploaded by

vaishnawikhati10
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views32 pages

DC File

Uploaded by

vaishnawikhati10
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 32

8

DIGITAL
COMMUNICATION

LAB FILE

NAME :- Rigzin Yangdol

ROLL NO :- UE215139

CLASS :- BE-ECE

SEMESTER :- 6th

Submitted To - Ms. Shiva Sharma

S.No Name of Experiment Page Date Signature &


. No. Remarks

1|Page
1. To study the Amplitude Shift Keying 3-6 05/02/2024

2. To study the Phase Shift Keying 7-10 19/02/2024

3. To study the Frequency Shift Keying 11-15 11/03/2024

4. To study the Time Division 16-19 18/03/2024


Multiplexing (TDM).
5. To study Pulse Code Modulation & 20-23 01/04/2024
Demodulation technique.
6. To study Delta Modulation and 24-27 01/04/2024
Demodulation
7. To study Viterbi Algorithm. 28 01/04/2024

INDEX

EXPERIMENT-1

AIM :- To study the Amplitude Shift Keying modulator and demodulator.

2|Page
Apparatus Used:- ASK Modulator/Demodulator Trainer kit (ST 2106, ST 2107), Data Bit
Generator, CRO, CRO Probes.
Theory :-
The simplest method of modulating a carrier with a carrier stream is to change the
amplitude of carrier wave every time the data changes. The modulation technique is known
as Amplitude Shift Keying.
In ASK, a high-amplitude carrier signal is used to represent a binary ‘1,’ and a low-
amplitude carrier signal represents a binary ‘0.’
It involves the superimposition of a carrier signal and a digital message signal. The carrier
signal is often a high-frequency sinusoidal waveform, which serves as the carrier for the
digital information. The binary message signal, consisting of ‘1’s and ‘0’s, is used to control
the amplitude of the carrier signal. The resultant signal formed after the superimposition
of message and carrier is transmitted over the communication channel.

Demodulation in Amplitude Shift Keying (ASK) involves extracting the original digital
message signal from the modulated carrier wave. The process reverses the modulation
applied to the carrier signal. The demodulation of ASK can be performed through various
methods, such as envelope detection or coherent detection.

Block diagram:
a) ASK Modulator

b) ASK Demodulator

3|Page
Procedure :-
1. Turn ON the trainer kits. Monitor NRZ O/P from ST2106 trainer on one channel of the
CRO. Use the other channel to monitor the O/P of modulator 1 in ST2106 trainer.
2. Adjust potentiometer till the O/P is not a 2Vpp signal is ‘ON’ state to calculate gain.
3. Adjust modulation offset till the amplitude of the off signal is as close to zero as
possible.
4. Adjust Carrier offset till the off level occurs midway between the ON signal peaks.
5. Observe O/P at the ASK demodulator & LPF on ST2107 trainer.
6. Adjust the bias level till the O/P signal pulse width is not similar to the data pulse
width.
Connections:
a) ASK Modulation Setup:

b) Ask Demodulation Setup:

4|Page
Observations:-

Fig.i) Input Data Stream Fig.ii) Carrier Waveform

Fig.iii) ASK Modulated Wave

Fig.iv) LPF Output Fig.v) ASK Demodulated Wave

5|Page
Result: The ASK modulator and demodulator circuit has been studied.
Precautions:
1. Check the connections before switched ON the kit.
2. Observations should be taken properly.

6|Page
EXPERIMENT-2

AIM : To study the Phase Shift Keying modulator and demodulator.


Apparatus used: PSK Modulator/Demodulator Trainer kit, Binary Data Generator, CRO, CRO
Probes.
Theory :
Phase Shift Keying PSK is the digital modulation technique in which the phase of the carrier
signal is changed by varying the sine and cosine inputs at a particular time. PSK technique is
widely used for wireless LANs, bio-metric, contactless operations, along with RFID and
Bluetooth communications.

PSK is of two types, depending upon the phases the signal gets shifted. They are −

1. Binary Phase Shift Keying (BPSK) : This is also called as 2-phase PSK or Phase
Reversal Keying. In this technique, the sine wave carrier takes two phase reversals
such as 0° and 180°. BPSK is basically a Double Side Band Suppressed
Carrier (DSBSC) modulation scheme, for message being the digital information.

2. Quadrature Phase Shift Keying (QPSK) : This is the phase shift keying technique, in
which the sine wave carrier takes four phase reversals such as 0°, 90°, 180°, and
270°.

Functionally, the PSK modulator is very similar to the ask modulator. Both uses balanced
modulator to multiply the carrier with the multiplying signal. But in the contrast to ASK
techniques, the digital signal applied to the modulator input for PSK generation is bipolar i.e.
have equal +ve and -ve voltage levels. The unipolar-bipolar converter converts the unipolar
data stream to bipolar data. At receiver, the square loop detector circuit is used to
demodulate the transmitted PSK signal. The incoming PSK signal with 0 & 180 phase
changes is first fed to the signal square, which multiplies the input signal by itself. The phase
adjust circuit allows the phase of the digital signal to the adjusted w.r.t. the input PSK signal.
Also, its O/P controls the closing of an analog switch. When the output is high the switch
closes & the original PSK signal is switched through the detector.

BLOCK DIGRAM:

7|Page
Fig: BPSK DEMODULATOR

PROCEDURE:

1. Connections to be done on ST2106 trainer kit.


2. Carrier input modulator 1 to 960 KHz carrier.
3. NRZ(M) output t.p 6 to unipolar-bipolar converter input.
4. Unipolar-Bipolar converter output t.p modulator1 input.
5. Connections between ST2106 & ST2107 trainers: Modulator 1 output to PSK
demodulator input.
6. Connections on ST2107 trainer:
7. PSK demodulator output to LPF input.
8. LPF output to comparator input.
9. Comparator output to bit decoder input.
10. Switch ON the trainer kits and monitor the modulator output in ST2106 trainer with
reference to its input by using a dual trace CRO.
11. To see PSK demodulator process examine the input PSK demodulator on ST2107
trainer with the demodulator output. Adjust the phase control knob & see its effect on
thw demodulator’s output. Check the various test points provided at the O/P of the
functional blocks of the PSK demodulator.
12. The O/P of the demodulator goes to the LPF input. Monitor the filters output with the
reference to its input.
13. The LPF output is rounded and cannot be used for digital processing. In order to
square up the waveform, comparators are used. The Bias control is adjusted so that
the comparator’s output pulse width at 47 is same as the NRZ(M) pulse width.

8|Page
CONNECTIONS:

Fig: PSK modulation Fig : PSK demodulation

OBSERVATIONS :

a) Input Bit Stream b) Bipolar Bit Stream

c) Carrier Signal d) PSK Signal

9|Page
e) Demodulated Wave f) Bipolar Demodulated Wave

g) PSK Demodulated Stream

Result : The PSK modulator an demodulator circuit has been studied.


Precautions :
1. Check the connections before switching ON the kit.
2. Observations should be taken carefully.

10 | P a g e
EXPERIMENT-3

AIM : To study the Frequency Shift Keying modulator and demodulator.


Apparatus used: FSK Modulator/Demodulator Trainer kit, Binary Data Generator, CRO, CRO
Probes.
Theory :
Frequency Shift Keying :FSK is the digital modulation technique in which the frequency of
the carrier signal varies according to the digital signal changes. FSK is a scheme of frequency
modulation.
The output of a FSK modulated wave is high in frequency for a binary High input and is low
in frequency for a binary Low input. The binary 1s and 0s are called Mark and Space
frequencies.

The following image is the diagrammatic representation of FSK modulated waveform along
with its input.

FSK Modulator

The FSK modulator block diagram comprises of two oscillators with a clock and the input
binary sequence. Following is its block diagram.

11 | P a g e
FSK Demodulator
There are different methods for demodulating a FSK wave. The main methods of FSK
detection are asynchronous detector and synchronous detector. The synchronous detector
is a coherent one, while asynchronous detector is a non-coherent one.

1. Asynchronous FSK Detector

The block diagram of Asynchronous FSK detector consists of two band pass filters, two
envelope detectors, and a decision circuit. Following is the diagrammatic representation.

The FSK signal is passed through the two Band Pass Filters BPFs, tuned
to Space and Mark frequencies. The output from these two BPFs look like ASK signal, which
is given to the envelope detector. The signal in each envelope detector is modulated
asynchronously.

The decision circuit chooses which output is more likely and selects it from any one of the
envelope detectors. It also re-shapes the waveform to a rectangular one.

2. Synchronous FSK Detector

The block diagram of Synchronous FSK detector consists of two mixers with local oscillator
circuits, two band pass filters and a decision circuit. Following is the diagrammatic
representation.

12 | P a g e
The FSK signal input is given to the two mixers with local oscillator circuits. These two are
connected to two band pass filters. These combinations act as demodulators and the
decision circuit chooses which output is more likely and selects it from any one of the
detectors. The two signals have a minimum frequency separation.

For both of the demodulators, the bandwidth of each of them depends on their bit rate.
This synchronous demodulator is a bit complex than asynchronous type demodulators.

Procedure:

FSK Modulation:

1. Connect the signal generator to the FSK modulator input.


2. Set the parameters on the signal generator for the desired carrier frequency and
data signal.
3. Observe the modulated signal output on the oscilloscope.

FSK Demodulation:

1. Connect the FSK modulated signal output to the FSK demodulator.


2. Connect the demodulator output to the oscilloscope.
3. Adjust the parameters of the demodulator as necessary.
4. Observe the demodulated signal on the oscilloscope.

Connections :

Fig: FSK Modulation

13 | P a g e
Observations :

Fig: Fig:

Fig: Fig:

Fig: Fig:

14 | P a g e
Fig: Fig:

Result : FSK modulation and demodulation has been studied.


Precautions :
1. Check the connections before switching ON the kit.
2. Observations should be taken carefully.

15 | P a g e
EXPERIMENT-4

AIM : To study the Time Division Multiplexing (TDM).


Apparatus Required : TDM Trainer Kit, CRO, patch chords.
Theory :
The TDM is used for transmitting several analog message signal over a communication
channel by dividing the time frame Into slots, one slot for each message signal. The four l/P
signals, all band limited by the Input filter are sequentially sampled, the O/P of which is PAM
Waveform containing samples of the I/P signal periodically interested in time. The samples
from adjacent I/P messages channels are separated by T s/m, where M is the number of I/P
Channels. A set of M pulses consisting of one sample from each of the l/P M-I/P channel is
called imin.
At receiver the samples from Individual channel are separated by carefully synchronizing and
are critical part TDM. The samples from each channel are filtered to reproduced the original
message signal. There are two level of synchronisation is necessary to establish. When each
group of sample begins and word synchronisation is necessary to properly separate the
samples within each frame.
Procedure :
1. Connect the circuit as shown in fig.
2. Switch ON the power supply.
3. Set the following initial conditions :
i) Mode switch in Fast position.
ii) DC1 & DC2 controls in semi generation block fully clockwise.
iii) 1 kHz & 2 kHz signal control levels set to give 10 Vpp.
iv) Error check code -> A=0,B=0.
v) All switched faults OFF.
4. Now connect only 1 kHz O/P to CRO. Turn on the power & check PAM O/P of 1 kHz
sine wave is available at I/Ps of the kit.
5. Now, also connect 2kHz supply to the CH1. Connect channel 1 of CRO to tp 12 &
channel 2 of CRO to tp 15.
6. Observe the waveform.

16 | P a g e
Connections :

Fig: TDM Modulation and Demodulation

Observations:

Fig: 1KHz Input Signal Fig: 2KHz Input Signal

17 | P a g e
Fig: TDM Signal Fig:

Fig: Fig:

18 | P a g e
Fig: Fig:

Fig: Fig:

19 | P a g e
Fig:

Fig: 1KHz Output Signal Fig: 2KHz Output Signal

Result : TDM system has been studied.

20 | P a g e
EXPERIMENT-5

Aim : To study Pulse Code Modulation & Demodulation technique.


Apparatus Required : PCM modulation / demodulation ST2103 trainer kit, CRO, Connecting
leads.
Theory : Pulse Code Modulation technique involves following steps:
The analog signal is sampled according to the Nyquist criteria. The Nyquist criteria states
that the faithful reproduction of a band limited signal, the sampling rate must be at least
twice the highest frequency component present in the signal.
So, sampling frequency >= 2fm, where fm is the max. frequency component present in the
signal.

The transmitter section of a Pulse Code Modulator circuit consists of Sampling,


Quantizing and Encoding, which are performed in the analog-to-digital converter section.
The low pass filter prior to sampling prevents aliasing of the message signal.

The basic operations in the receiver section are regeneration of impaired signals,
decoding, and reconstruction of the quantized pulse train. Following is the block diagram of
PCM which represents the basic elements of both the transmitter and the receiver sections.

21 | P a g e
In Pulse Code Modulation, the message signal is represented by a sequence of coded pulses.
This message signal is achieved by representing the signal in discrete form in both time and
amplitude.
Instead of a pulse train, PCM produces a series of numbers or digits, and hence this process
is called as digital. Each one of these digits, though in binary code, represent the
approximate amplitude of the signal sample at that instant.

Procedure :
1. Ensure that the MODE switch should be in Fast mode.
2. Connect CH 0 & CH 1 to DC1 & DC2.
3. Ensure that the DC1 & DC2 controls in Function Generator Block should be in fully
clockwise direction & 1KHz & 2KHz signal controls set art 10Vpp.
4. Now turn ON the kit & see that the LED glows.
5. With the help of Digital Voltmeter, adjust the DC1 amplitude control until the DC1
O/P measures 0V.
6. Observe the O/P on the A/D Converter Block LED’s (D0 to D6). The LED’s represent
the state of the binary PCM word allocated to the PAM sample being processed.
7. Adjust DC input from +5V to -5V in steps of 1V.
8. Observe the output of +5V.

22 | P a g e
9. Turn the DC1 control fully anticlockwise & repeat the above procedure by varying the
DC2 control.
10. Trigger the dual trace oscilloscope externally by the CH1 signal available at t.p.12 &
observe the signal at CH 0 & CH1 with reference to the signal.
11. Now connect the oscilloscope channel 1 to CH! Sample & sketch the three
waveforms.

Connections:

Fig: PCM Modulator and Demodulator


Observations:

23 | P a g e
Fig: Fig:

24 | P a g e
Fig: Fig:

Fig: Fig:

25 | P a g e
Fig:

Result : The PCM Modulation/ Demodulation studied.


Precaution:
1. Connections should be checked before switching ON the kit.
2. Observations should be taken properly.

26 | P a g e
EXPERIMENT-6

Aim : To study Delta Modulation and Demodulation.


Apparatus Required : Delta Modulation/Demodulation Trainer, CRO, Connecting leads.

Theory :

Following are some of the features of delta modulation.

 An over-sampled input is taken to make full use of the signal correlation.


 The quantization design is simple.
 The input sequence is much higher than the Nyquist rate.
 The quality is moderate.
 The design of the modulator and the demodulator is simple.
 The stair-case approximation of output waveform.
 The step-size is very small, i.e., Δ delta.
 The bit rate can be decided by the user.
 This involves simpler implementation.

Delta Modulation is a simplified form of DPCM technique, also viewed as 1-bit DPCM
scheme. As the sampling interval is reduced, the signal correlation will be higher.

The Delta Modulator comprises of a 1-bit quantizer and a delay circuit along with two
summer circuits. Following is the block diagram of a delta modulator.

Procedure :
1. Make connections as per diagram.
2. Ensure that the clock frequency selector block switches A & B are in A=0 and B=0 position.
3. Now turn On the kit and see that LED glows .
4. In order to ensure for the correct operation of the system, we first connect O volts to the
+ve input of the comparator. Now observe the output of the integrator 1 (i.e. tp 17) and the

27 | P a g e
output of transmitter's level changer (i.e. tp 15). When the positive and negative output
levels of the level changer will be equal the output will be a triangular waveform as shown in
fig3 (Case A). When the negative level is greater than positive level, the integrator's output
level will be as shown in fig3 (Case B). And when the positive output level is greater, then the
integrator' output will be as shown in fig3 (Case C). The levels can be adjusted by turning the
potentiometer from one extreme to another.
5. Adjust the transmitter's level changer preset until the output of integrator is a triangular
wave centered at 0 volts. The peak to peak amplitude of the wave should be 0.5 volts
(approx.), this amplitude is known as the integrator Step Size.
6. Now observe the output of the transmitter's bistable circuit (i.e. tp 14). It is now a stream
of alternate '1' and 'O'. This is the output of a delta modulator and the Delta modulator is
now said to be balanced for correct operation.
7. Now examine the output of integrator at the receiver (i.e. tp 47). It should be a triangular
wave with step size equal to that of integrator in transmitter and ideally centered around 0
volts. 8. Now observe the output of low pass filter. It will be a DC level centered around 0
volts. This is the output of Delta dernodulator and it is balanced for correct operation.
9. Now disconnect the 0 volts from the +ve input of the comparator and reconnect it to 250
Hz signal of the function generator block. Now observe the output of voltage comparator (tp
9), integrator (tp 17). Also observe the delta modulated output at the output of bistable
circuit. It has been encoded into stream of '0' and '1'
10. Also observe the output of low pass filter in the receiver (tp 51), which is the output of
demodulator.
11. Now disconnect 250 Hz from the +ve input of comparator and reconnect it to 500 Hz, 1
Khz, and 2 Khz outputs in turn. Now note the frequency of the analog signal increases, so
the low pass filter's output becomes more distorted and reduced in amplitude. This effect is
known as 'Slope Overloading'.
Observations:

Fig: Input Signal Fig: Comparator Output

28 | P a g e
Fig: Unipolar to Bipolar Output Fig: Bistable Circuit Output

Fig: Integrator Output Fig: Clock Signal

Fig: Bistable Input Fig: Bistable Output

29 | P a g e
Fig: Unipolar to Bipolar Output Fig: LPF Output

Result: The Delta modulation / demodulation and Slope Overloading effect has been
studied.
Precautions:
1. The connections should be made properly and tightly.
2. Check all the connections before switching ON the kit.

30 | P a g e
EXPERIMENT-7

AIM : To study Viterbi Algorithm.


Theory :
The Viterbi algorithm operates on a state machine assumption. That is, at any time the
system being modelled is in some state. There are a finite number of states, however large.
Multiple sequences of states (paths) can lead to a given state, but one is the most likely path
to that state, called the "survivor path". This is a fundamental assumption of the algorithm
because the algorithm will examine all possible paths leading to a state and only keep the
one most likely. This way the algorithm does not have to keep track of all possible paths,
only one per state.
A second key assumption is that a transition from a previous state to a new state is marked
by an incremental metric, usually a number. This transition is computed from the event. The
third key assumption is that the events are cumulative over a path in some sense, usually
additive. So the crux of the algorithm is to keep a number for each state. When an event
occurs, the algorithm examines moving forward to a new set of states by combining the
metric of a possible previous state with the incremental metric of the transition due to the
event and chooses the best. The incremental metric associated with an event depends on
the transition possibility from the old state to the new state. For example, in data
communications, it may be possible to only transmit half the symbols from an odd
numbered state and the other half from an even numbered state. Additionally, in many
cases the state transition graph is not fully connected. A simple example is a car that has 3
states forward, stop and reverse and a transition from forward to reverse is not allowed. It
must first enter the stop state. After computing the combinations of incremental metric and
state metric, only the best survives and all other paths are discarded. There are
modifications to the basic algorithm which allow for a forward search in addition to the
backwards one described here.
Path history must be stored. In some cases, the search history is complete because the state
machine at the encoder starts in a known state and there is sufficient memory to keep all
the paths. In other cases, a programmatic solution must be found for limited resources: one
example is convolutional encoding, where the decoder must truncate the history at a depth

31 | P a g e
large enough to keep performance to an acceptable level. Although the Viterbi algorithm is
very efficient and there are modifications that reduce the computational load, the memory
requirements tend to remain constant.

32 | P a g e

You might also like