Communication Lab Manual 18ecl67
Communication Lab Manual 18ecl67
CONTENT
Course Learning objectives:
This course will enable students to
Design and test the communication Circuits for different analog
modulation Techniques.
Design and test the digital modulation Techniques.
Design and measure the wave propagation in microstrip antennas.
Characteristics of microstrip devices and measurement of its
parameters.
Understand the Probability of error computations of coherent digital
modulation schemes.
Determination of
(a) coupling and isolation characteristics of a microstrip directional
8. coupler.
(b) Resonance characteristics of a microstrip ring resonator and computation
of dielectric constant of the substrate.
PART B
Sl. No Experiment Name
1. To Simulate NRZ,RZ, Half Sinusoid and Raised Cosine Pulses
and generate eye diagram for binary polar signaling.
2. Pulse code modulation and demodulation system..
QUESTION BANK
VIVA QUESTIONS
Cycle-1
Amplitude Modulation and Demodulation:
1.
iii) Standard AM
iv) DSBSC (LM741 and LF398 ICs can be used)
2. Frequency modulation and demodulation (IC 8038/2206 can be used)
3. Pulse Sampling, flat top sampling and reconstruction.
4. Time division multiplexing and demultiplexing of 2 band limited signals.
5. FSK and PSK generation and detection.
Cycle-2
Measurements of frequency, guide wavelength, power, VSWR and
6.
attenuation in a microwave test bench.
Obtain the Radiation pattern and Measurement of directivity and gain
7. of Microstrip Dipole and Yagi Uda antennas antennas.
Determination of
(a) coupling and isolation characteristics of a microstrip directional
8. coupler.
(b) Resonance characteristics of a microstrip ring resonator and computation
of dielectric constant of the substrate.
Cycle-3
1. To Simulate NRZ,RZ, Half Sinusoid and Raised Cosine Pulses
and generate eye diagram for binary polar signaling.
2. Pulse code modulation and demodulation system..
EXPERIMENT NO. 1
Aim: a) To design and construct the Collector Amplitude Modulation circuit for a given
carrier frequency (say 455 kHz) and modulation frequency (say 1 kHz).
b) To study the variation in modulation index as a function of modulating voltage
amplitude.
Circuit Diagram:
Design:
Procedure:
Tabular Column:
Calculation:
Total power, Pt = Pc(1 + m2/2) where Pc is the carrier power . RL= 1K
Pc = (Emax + Emin)2/8RL
Waveforms:
Result:
(b).ENVELOPE DETECTOR
Aim: To construct an envelope detector circuit for an input AM signal and obtain the
detector characteristics
Components Required: Diode 0A79, capacitor 0.01µF (1), Resistor 10K (1).
Circuit Diagram:
Design:
Consider Fc=50kHz, Fm=10kHz (Fc>>Fm)
1/fc≤ RL C ≤1/W (W=message BW=Fm)
Let C=0.01μF
When RL C =1/Fm
RL =10k
When RL C=1/Fc
RL =2k
Hence Choose RL between 2k to 10k
Procedure:
1. The circuit is connected as shown.
2. AM input is applied from the function
HKBKCE 8 generator Department of ECE
Communication Lab 18ECL67
3. The modulation index is varied in steps and Emax , Emin are noted from the Modulated
input signal. Also the corresponding AF (Audio frequency output) is noted at each step
Tabular Column:
Calculations:
%m= [(Emax – Emin)/ (Emax + Emin)] x10
Waveform:
Trapezoidal Pattern:
E MAX EMIN
Result:
(ii) DSBSC
Balanced Modulator
Aim:
To generate AM-Double Side Band Suppressed Carrier (DSB-SC) signal.
Components Required:
IC 1496, Resistors (6.8KΩ, 10 KΩ, 3.9KΩ, 1KΩ, 51 KΩ), Capacitor (0.1 μF), Variable
Resistor/Linear Pot (0-50KΩ), CRO, Function Generator, Regulated Power Supply
Theory:
Balanced modulator is used for generating DSB-SC signal. A balanced modulator
Consists of two standard amplitude modulators arranged in a balanced configuration so
as to suppress the carrier wave. The two modulators are identical except the reversal of
sign of the modulating signal applied to them.
Circuit Diagram:
Procedure:
1. Connect the circuit diagram as shown in Fig.1.
2. A Carrier signal of 1Vp-p amplitude and frequency of 83 KHz is applied as carrier
to pin no.10.
3. An AF signal of 0.5Vp-p amplitude and frequency of 5 KHz is given as message
Signal to pin no.1.
4. Observe the DSB-SC waveform at pin no.12.
5. Observe Phase reversal in DSB-SC Signal occurring at the zero crossing of
Modulating signal.
Sample readings:
Waveforms:
Result:
EXPERIMENT NO. 2
FREQUENCY MODULATION
Components Required: IC-2206, Resistor 100KΩ (1), 150Ω (1), 47KΩ (2), 4.7KΩ (1),
22KΩ, Capacitor 0.1μf (1), 10nf (2), 10μf (1), Fixed Power Supply +12V,0,-12V, CRO, Signal
Generator.
Circuit Diagram
Design:
Let the frequency of oscillation fo = 1KHZ
fo = 1 / R7C
Select R7 = 100KΩ
To get C = 10nF
Procedure:
1. Rig up the circuit as shown in the circuit diagram.
2. Without giving the modulating signal m (t) to the input of the frequency modulator,
observe the undistorted sinusoidal carrier wave output generated at the output point (pin
no.2) and measure the frequency of the carrier signal fc .
3. Apply a modulating signal m (t) of maximum voltage amplitude Vm of 5 volt (peak-to
peak) and frequency fm of 1 kHz at the modulation input of the frequency modulator.
4. From the FM signal waveform displayed on the CRO, measure the maximum frequency
fmax and minimum frequency, fmin present in the FM wave
5. Calculate the maximum frequency deviation fmax and fmin from the center carrier
frequency fc according to the formula:
Waveforms:
Result:
EXPERIMENT NO. 3
PULSE SAMPLING & FLAT TOP SAMPLING
Aim: To demonstrate Pulse sampling, Flat top sampling and reconstruction
Theory:
There are two types of signal exist, continuous time signal and discrete time signals. In
spite of having large number of continuous time signal we prefer processing of discrete
signal. Thus conversion of continuous to discrete time signal is required. This
phenomenon is obtained by fundamental mathematical fool known as Sampling
Theorem. Here in this post, we emphases the concept of Sampling, Sampling theorem,
Sampling techniques and its effects in details.
Sampling is the process of converting analog signal into a discrete signal or making an
analog or continuous signal to occur at a particular interval of time, this phenomena is
known as sampling.
Sampling Techniques:
1. Natural Sampling:
Natural Sampling is a practical method of sampling in which pulse have finite width
equal to τ. Sampling is done in accordance with the carrier signal which is digital in
nature.
message signal x(t) at the start of sampling process. Sample and hold circuit are used
in this type of sampling.
Procedure:
1. Build the circuit as shown below. Use a signal generator to generate analog input
and sampling (square wave signal). The analog input will be set to 1 kHz Sine wave
(or triangular wave) and sampling signal will be 15-20 kHz Square-wave of 80% duty
cycle.
2. Turn on the supply of the circuit and enable signal generator that is feeding signal to
the circuit. Connect the DSO probe – CH1 at analog input (pin # 3 of LF398IC), CH2
at sampling signal input (pin # 8 of LF398 IC) and CH3 at output (pin # 5 of the
LF398 IC), Perform Auto set on DSO and capture the output signal.
3•Configure PEAK-to-PEAK measurement on the input and output signal. Record the
measurement and Observe – input, output on DSO.
5. Perform Auto set on DSO and capture the output signal. Configure PEAK-to-PEAK
measurement on the input and output Signal
8. Record the measurement and Observe – input and output on DSO and record the signal
Result:
EXPERIMENT NO. 4
TIME DIVISION MULTIPLEXING OF TWO BAND LIMITED SIGNALS
AIM: To demonstrate the multiplexing and demultiplexing of two band limited signals using
discrete components and also to observe and record the waveform.
COMPONENTS AND EQUIPMENTS REQUIRED: Transistor- SL100, SK100, Resistor-
1K & 10K, Capacitor- 1 F, IC 741, Signal Generator, CRO, Power Supply- +/- 15V, Bread
Board, Wires and probes
THEORY:
Time Division Multiplexing (TDM) is widely used in digital communication
networks to transmit multiple signals simultaneously through the same channel. Different
signals are transmitted in a time shared manner. Each signal is allotted a fixed time slot
and a sample of the corresponding signal is transmitted during that period. After one
sample each of all the signals is sent, the time slot is given back to the first signal and this
process repeats.
TDM Multiplexer
A simple TDM multiplexer circuit using an NPN-PNP transistor pair and an Op
amp is shown in figure. The transistors work as switches and the Op amp works as an
adder. The signals to be sent are fed to the collectors of the two transistors. The switching
signal is applied to the bases the transistors. During the ON time of the switching signal,
the NPN transistor is ON and the PNP transistor is OFF. Signal 1 alone is connected to
the adder input and reaches the output. During OFF time of the switching signal, the NPN
transistor is OFF and the PNP transistor is ON. Signal 2 alone is connected to the adder
input and reaches the output. Thus the two signals reach the output one after the other as
the switching signal changes state. The resulting signal is a time division multiplexed one.
The on-off period of the switching signal decides the time slot.
TDM Demultiplexer
In the demodulator circuit the two transistors act as switches. They connect the input TDM
signal to the respective outputs alternately as the switching signal changes state. A square
wave signal with the same phase and frequency as the one used at the TDM modulator is
used as the switching signal. During the ON time of the switching signal, the NPN
transistor is ON and the PNP transistor is OFF. TDM input is now connectedto signal 1
output. During the OFF time of the switching signal, the NPN transistor is OFF and the
PNP transistor is ON. TDM input is now connected to signal 2 output. The RC networks
act as low pass filters.
PROCEDURE:
• Test all the components and probes.
• Set up the circuits on the bread board as shown in figure.
• Connect 5Vpp, 2KHz square wave signal as the switching input.
• Connect 2Vpp, 100Hz sine wave as signal 1 and 2Vpp, 100Hz square wave as signal
2.
• Observe the TDM output on CRO and plot the waveforms.
• Feed this TDM output to the input of the demultiplexer. Use the same square
wave signal used at the modulator as the switching signal.
• Observe signal 1 and signal 2 outputs of the demultiplexer on CRO.
• Plot the waveforms.
CIRCUIT DIAGRAM:
TDM Multiplexer
Figure. 1(b)
TDM Demultiplexer
Figure. 1(b)
HKBKCE 23 Department of ECE
Communication Lab 18ECL67
WAVEFORM:
Figure. 1(c)
RESULT:
EXPERIMEMT NO. 5
FSK MODULATION
APPARATUS: Transistor SL100 and SK100, resistors, capacitors, op amp μA 741, 0A79
diode, Power supply, CRO.
CIRCUIT DIAGRAM:
Figure. 3 (a)
HKBKCE 25 Department of ECE
Communication Lab 18ECL67
DESIGN:
Ic = 2.5mA
VRE = 2.5V
RE = VRE / IE = 2.5 / 2.5mA = RE = 1KΩ
VRB = Vm(t)p-p / 2 –VBE(sat) – VRE(sat)
= 3.5 – 0.7 – 2.5
VRB = 0.3V
Ib = Ic / hfe = 2.5 / 100 = 2.5µA
Ib(sat) = 1.2Ib
Ibsat = 30µA
RB = Vrb / Ibsat = 0.3 / 30 = Rb = 10KΩ
FSK DEMODULATOR:
Figure. 3(b)
fm = 1 / 2RC
C = 0.1µF
R = 15.9KΩ
fm = 100Hz
fc1 = 1 / 2R1C1
fc1 = 1 KHz
R1 = 1.59 KΩ
C1 = 0.1µF
PROCEDURE:
Modulation:
Demodulation:
WAVE FORMS:
MODULATION WAVEFORMS:
DEMODULATION WAVEFORMS:
RESULT:
CIRCUIT DIAGRAM:
PSK MODULATOR:
Figure. 4(a)
PROCEDURE:
PSK DEMODULATOR:
Figure. 4(b)
WAVEFORMS:
RESULT:
EXPERIMENT NO. 6
COMPONENTS REQUIRED: Micro Wave Test Bench, CRO, VSWR meter, Klystron
power supply, cooling fan, wave guide stand, matched termination, detector mount, cables.
Tunable
VSWR
probe
Meter
Movable
short
Figure. 5(a)
THEORY:
For dominnant TE10 mode rectangular wave guide λo, λg, λc are related as below:
1/λo2 = 1/λg 2 + 1/ λc2
Where λo is free space wavelength
λg is guide wavelength
λc is cutoff wavelength
For TE10 mode, λc, = 2a where ‘a’ is broad dimension of waveguide.
PROCEDURE:
1. Set up the components and equipments as shown in figure.
2. Set up variable attenuator at minimum attenuation position.
3. keep the control knobs of VSWR meter as given below:
Range : 50 db
Input switch : crystal low impedance
Meter switch : Normal position
Gain (coarse & fine) : mid position
4. keep the control knobs of Klystron power supply as given below
Beam voltage : OFF
Mod – switch : AM
Beam voltage knob : fully anticlockwise
Reflector voltage : fully clockwise
AM – Amplitude knob : fully clockwise
AM –Frequency knob : fully clockwise
5. Switch ‘NO’ the Klystron power supply, VSWR meter, and cooling fan switch.
6. Switch ‘NO’ Beam voltage switch and set beam voltage at 300 V with help of beam
voltage knob.
7. Adjust the reflector voltage to get some deflection in VSWR meter.
8. Maximize the deflection with AM amplitude and frequency control knob of power
supply.
9. Tune the plunger of klystron mount for maximum deflection.
10. Tune the reflector voltage knob for maximum deflection.
11. Tune the probe for maximum deflection in VSWR meter.
12. Tune the frequency meter knob to get a ‘Dip’ on the VSWR scale and note down the
frequency directly from the frequency meter.
13. Replace the termination with movable sort, and detune the frequency meter.
14. Move the probe along the slotted line. The deflection in VSWR meter will vary. Move
the probe to minimum deflection position, to get accurate reading. If necessary increase
the VSWR meter range db switch to higher position. Note and record the probe position.
15. Move the probe to next minimum position and record the probe position again.
16. Calculate the guide wavelength as twice the distance between two successive minimum
positions obtained as above.
17. Measure the wave guide inner broad dimension, ‘a’ which will be around 22.86 mm for
X- band.
18. Calculate the frequency by following equation.
F = C/ λ
Where C= 3* 108 meter / sec. i.e. velocity of light and 1/λo2 = 1/λg 2 + 1/ λc2
19. Verify with frequency obtained by frequency meter.
20. Above experiment can be verified at different frequencies.
CALCULATIONS:
Guide Wavelength:
(i) λg 1 = 2( dmin 1≈ dmin 2)
(ii) λg 2 = 2( dmin 1≈ dmin 2)
VSWR:
(i) VSWR 1 = Vmax / Vmin
Frequency:
F = C/ λ = C*
λg λc
Where
λo = λg λc
RESULT:
HKBKCE 35 Department of ECE
Communication Lab 18ECL67
EXPERIMENT NO. 7
COMPONENTS REQUIRED:
1. Microwave Generator
2. SWR Meter
3. Detector
4. RF Amplifier
5. Transmitter and receiving mast
6. Mains cord
7. Antennas
THEORY:
If a transmission line propagating energy is left open at one end, there will be radiation from this
end. The Radiation pattern of an antenna is a diagram of field strength or more often the power
intensity as a function of the aspect angle at a constant distance from the radiating antenna. An
antenna pattern is of course three dimensional but for practical reasons it is normally presented
as a two dimensional pattern in one or several planes. An antenna pattern consists of several
lobes, the main lobe, side lobes and the back lobe. The major power is concentrated in the main
lobe and it is required to keep the power in the side lobes arid back lobe as low as possible. The
power intensity at the maximum of the main lobe compared to the power intensity achieved from
an imaginary omni-directional antenna (radiating equally in all directions) with the same power
fed to the antenna is defined as gain of the antenna.
As we know that the 3dB beam width is the angle between the two points on a main lobe where
the power intensity is half the maximum power intensity. When measuring an antenna pattern,
it is normally most interesting to plot the pattern far from the antenna. It is also very important
to avoid disturbing reflection. Antenna measurements are normally made at anechoic chambers
made of absorbing materials. Antenna measurements are mostly made with unknown antenna as
receiver. There are several methods to measure the gain of antenna. One method is to compare
the unknown antenna with a standard gain antenna with known gain. Another method is to use
two identical antennas, as transmitter and other as receiver. From following formula the gain can
be calculated.
Where
Pt is transmitted power
Pr is received Power,
If both, transmitting and receiving antenna are identical having gain G then above equation
becomes.
In the above equation Pt, Pr and S and o can be measured and gain can be computed. As is
evident from the above equation, it is not necessary to know the absolute value of P t and Pr only
ratio is required which can be measured by SWR meter.
Figure. 6(a)
PROCEDURE:
Directivity Measurement:
1. Connect a mains cord to the Microwave Generator and SWR Meter.
2. Now connect a Yagi antenna in horizontal plane to the transmitter mast and connect it
to the RF Output of microwave generator using a cable (SMA to SMA).
3. Set both the potentiometer (Mod Freq & RF Level) at fully clockwise position.
4. Now take another Yagi antenna and RF Amplifier from the given suitcase.
5. Connect the input terminal of the Amplifier to the antenna in horizontal plane using an
SMA (male) to SMA (female) L Connector.
6. Now connect the output of the Amplifier to the input of Detector and mount the detector
at the Receiving mast.
7. Connect one end of the cable (BNC to BNC) to the bottom side of receiving mast, and
another end to the input of SWR meter.
8. Now set the distance between Transmitter (feed point) and the receiver (receiving point)
at half meter.
Figure. 6(b)
9. Now set the receiving antenna at zero degree (in line of Transmitter) and Switch on the
power supply for Microwave Generator, SWR Meter. Also connect DC Adapter of RF
Amplifier to the mains.
10. Select the transmitter for internal AM mode and press the switch “RF On”.
11. Select the range switch at SWR meter at – 40dB position with normal mode.
12. Set both the gain potentiometers (Coarse & Fine) at fully clockwise position and input
select switch should be at 200 Ohm position. In case if reading is not available at – 40dB
range then press 200 kOhm (Input Select) to get high gains reading.
13. Now set any value of received gain at – 40dB position with the help of -
o Frequency of the Microwave Generator.
o Modulation frequency adjustment.
o Adjusting the distance between Transmitter and Receiver.
14. With these adjustments you can increase or decrease the gain.
15. Mark the obtained reading on the radiation pattern plot at zero degree position.
16. Now slowly move the receiver antenna in the steps of 10 degree and plot the
corresponding readings.
17. Using the formula, Directivity = 41253/ (E x H) Determining the directive gain of the
antenna. Where E is the E plane 3db beam width in degrees and H in the H plane.
18. Directivity of the antenna is the measures of power density an actual antenna radiates in
the direction of its strongest emission, so if the maximum power of antenna (in dB) is
received at θ degree then directivity will be ....................dB at ........................ Degree.
19. In the same way you can measure the directivity of the Dipole antenna.
20. For directivity measurement of the transformer fed Patch antenna connect transmitter
Yagi antenna in the vertical plane (Patch Antenna is vertically polarized). Since it is
comparatively low gain antenna distance can be reduced between transmitter and
receiver.
90
90
180
0
60 -56 -52 -48 -44
180
Dipole Antenna
Figure. 6(c)
Gain Measurement:
1. Connect a power cable to the Microwave Generator and SWR Meter.
2. Now connect a Yagi antenna in horizontal plane to the transmitter mast and connect it
to the RF Output of microwave generator using a cable (SMA to SMA).
3. Set both the potentiometer (Mod Freq & RF Level) at fully clockwise position.
4. Now take another Yagi antenna from the given suitcase.
5. Connect this antenna to the detector with the help of SMA (male) to SMA (female) L
Connector.
6. Connect detector to the receiving mast.
7. Connect one end of the cable (BNC to BNC) to the bottom side of receiving mast, and
another end to the input of SWR meter.
8. Now set the distance between Transmitter (feed point) and the receiver (receiving point)
at half meter.
9. Now set the receiving antenna at zero degree (in line of Transmitter) and Switch on the
power from both Generator & SWR Meter.
10. Select the transmitter for internal AM mode and press the switch “RF On”.
11. Select the range switch at SWR meter at – 40dB position with normal mode.
12. Set both the gain potentiometers (Coarse & Fine) at fully clockwise position and input
select switch should be at 200 Ohm position. In case if reading is not available at – 40dB
range then press 200 kOhm (Input Select) to get high gain reading.
13. Now set the maximum gain in the meter with the help of following -
o Frequency of the Microwave Generator.
o Modulation frequency adjustment.
o Adjusting the distance between Transmitter and Receiver.
14. Measure and record the received power in dB.
Pr =.................. dB
15. Now remove the detector from the receiving end and also remove the transmitting Yagi
antenna from RF output.
16. Now connect the RF output directly to detector without disturbing any setting of the
transmitter (SMA-F to SMA-F connector can be used for this).
17. Observe the output of detector on SWR meter that will be the transmitting power Pt.
Pt = ................. dB
18. Calculate the difference in dB between the power measured in step 14 and 17 which
will be the power ratio Pt/Pr.
Pt/Pr =........................
Pr/Pt =........................
19. Now we know that the formula for Gain of the antenna is:
Where:
Pt is transmitted power
Pr is received Power,
20. Now put the measured values in the above formula and measure the gain of the antenna
which will be same for both the antennas. Now after this step you can connect one known
gain antenna at transmitter end and the antenna under test at receiver end, to measure the
gain of the antennas.
21. Gain can be measured with the help of absolute power meter also (Recommended Model
NV105). For this, detector will not be used and directly the power sensor can be connected
to both the ends as described earlier.
RESULT:
1. VSWR meter
3. Detector
4. Matched loads
Provided in the Kit, is a parallel line (backward wave) directional coupler (15dB). The impedance
of input/output lines is 50. The length of the parallel coupled line region is quarter wavelength
at the centre frequency (around 2.4 GHz). The ports are decoupled by bending the auxiliary line
and main line at either ends of the parallel coupled section. For the experiment, anyone of the
ports can be chosen as the input port. With respect to this input port, identify the direct output
port (port 2), the coupled port (port 3) and the isolated port (port 4). Measurement of coupling
involves measuring the transmission response between the input port (port 1) and the coupled
port (port 3). Similarly, measurement of isolation of the coupler involves measuring the
transmission response between the input port and the isolated port (port4). While making the
measurement between any two ports, the remaining two ports will have to be terminated in
matched loads.
Figure. 7(a)
Figure. 7(b)
PROCEDURE:
1. Assemble the set up shown in Fig. 1. Connect the output of the frequency meter directly
to the directional coupler (connect P to Q directly).
2. Switch on the source and the VSWR meter.(Before switching on the source, ensure that
there is sufficient attenuation to keep the RF output low) Set the frequency of the source
to 2.2 GHz. Adjust the power output of the source for a reasonable power indication on
the VSWR meter. Note the reading of the VSWR meter. Increase the frequency of the
source in steps of 0.1 GHz to 3 GHz and note the corresponding readings of the VSWR
meter.
3. Record the Frequencies in column 1 and VSWR meter readings (P indB) in column 2 of
Table 1. This is the reference input power.
4. Insert the parallel line coupler (DUT) between P and Q with input port (port 1) connected
to P and the coupled port (port 3) to Q. Terminate ports 2 and 4 of the parallel line coupler
in matched loads. Record the readings of the VSWR meter at the above frequencies as
P3out dB in column 3 of Table 1.
5. In order to determine the isolation property of the coupler, connect port 4 to the output
end (at Q). Record the readings of the VSWR meter at the same frequencies as P 4out dB in
column 4 of the Table.
Table. 7.1
CALCULATIONS:
Coupling in dB = Pin (dB) - P3out (dB). Denote this coupling as C (dB) = S31 (dB) and enter at
column 5 of Table 1.
Isolation in dB = Pin (dB) - P4out (dB). Denote this loss as S41 (dB) and enter at column 6 of the
Table 1.
Directivity in dB = Isolation (dB) - Coupling (dB). Enter this as D (dB) = S43 (dB) at column 7
of the Table 1.
6. The above procedure can be repeated by using Branchline (3db) Directional Coupler
and the readings are recorded in the table 2.
Figure. 7(c)
Power at direct output port in dB = Pin (dB) - P2out (dB). Denote this loss as S21 (dB) and enter
at column 6 of Table 2.
Coupling C (dB) = Pin (dB) - P3out (dB). Denote this coupling loss as S31 (dB) and enter at
column 7 of Table 2.
Isolation in dB = Pin (dB) - P4out (dB). Denote this loss as S41 (dB) and enter at column 8 of the
Table 2.
Directivity D (dB) = P30ut (dB) - P4out (dB). Denote this as S43 (dB) and enter at column 9 of the
Table 2.
Table.7. 2
RESULT:
AIM: Measurement of Substrate Dielectric Constant using Ring Resonator and determine the
relative dielectric constant r of the substrate. The known parameters are,
Strip conductor width (in the ring) w = 1.847 mm
Height of the substrate h = 0.762 mm
Mean radius of the ring ro = 12.446 mm
COMPONENTS REQUIRED:
Microwave signal source (2.2 GHz) with modulation (1 KHz)
Attenuator pad
VSWR meter
Frequency meter
Items from the Kit
Microstrip ring resonator (DUT).
Detector
Matched load
Cables and adapters
2r0 n ,
For n = 1, 2, 3…...
Where ro is the mean radius of the ring and n is the mode number. The microstrip ring resonator
has the lowest order resonance for n = 1,for frequency range 2 - 3 GHz. For this mode, the field
maxima occur at the two coupling gaps and nulls occur at 90 locations from the coupling gaps.
Figure. 7(e)
PROCEDURE:
1. The transmission loss response of the resonator can be measured using the Test Bench
set up given at Fig. 1.
2. Tabulate the results as per Table 1 at frequencies from 2.2 to 3 GHz in steps of 0.1GHz.
n 0
2r0 n , for n = 1, 2,3…..
f0
2.0
2.1
:
3.0
Table.7.3
Figure. 7(f)
RESULT:
AIM: To measure the power division, isolation and return loss characteristics of a matched 3
dB power divider in the frequency range 2.2 to 3 GHz.
COMPONENTS REQUIRED:
Microwave signal source with modulation (1 KHz)
Attenuator pad
VSWR meter
Frequency meter
Items from the Kit
Directional coupler
Detector
Matched loads
THEORY:
The microstrip power divider provided is of the 3 dB Wilkinson type the impedance of the
input/output lines is 50 and the isolation resistor connected between the two output lines has a
value of 100. Measuring the power division property involves measuring the transmission
response between the input port (port 1) and the two output ports (ports 2 and 3). While measuring
the transmission response between any two ports, the third port has to be terminated in a matched
load. Measuring the isolation property involves measuring the transmission response between
ports 2 and 3 by terminating port 1 in a matched load. Figure 1 shows the line diagram of Y-
junction as a power divider. Let port 1 be the input port that is matched to the source (S11 = 0).
Figure. 7(i)
: Schematic of a Y - junction power divider
As an equal-split power divider, power incident at port 1 gets divided equally between the two
output ports 2 and 3. Equal power division implies S21 = S31 = 1/2. The phase factors of S21 and
S31 can be made equal to zero (multiples of 360°) by appropriately choosing the reference planes
of ports 2 and 3 with respect to port 1.
Analysis and Design of Matched Power Divider
Figure 2 shows a matched power divider introduced by Wilkinson. Popularly known also as
Wilkinson power divider, it uses an isolation resistor R of value 2Z0 between ports 2 and 3. The
device is completely matched at all the three ports, and ports 2 and 3 are isolated from each other
at the centre frequency (f0).
Figure.7(f)
Matched equal-split power divider.
Figure.7(j)
PROCEDURE:
1. Assemble the set up as shown in figure 3.
2. Switch on the source and the VSWR meter. Before switching on the source, ensure that
there is sufficient attenuation to keep the RF power output low.
3. Set the frequency of the source to 2.2 GHz. Adjust the power output of the source for a
reasonable power indication on the VSWR meter. Note the reading of the VSWR meter
as Pin dB in column 2 of Table 1. This is the reference input power.
4. Insert the power divider (DUT) with input port (port 1) and output ports (port 3) connected
to detector and terminate port 2 of the power divider in matched load. Recordthe readings
of the VSWR meter at the above frequencies as P2out dB in column 3 of Table 1.
5. Interchange ports 2 and 3. That is, connect port 2 with a detector and terminate port 3 in
matched load. Record the readings of the VSWR meter at the same frequencies as P 3out
dB in column 4 of the Table.
6. In order to determine the isolation between the two output ports, remove the power divider
and reconnect with port 2 at the input end and port 3 at the output end. Terminate port 1
in matched load. Record the readings of the VSWR meter at the same frequencies as P32out
dB in column 5 of the Table 1.
CALCULATIONS:
Power Division:
Power loss from port 1 to port 2 = Pin (dB) - P2out (dB) = - 20 log10S21. Denote this loss as S21
(dB) and enter at column 6 of the Table 1.
Power loss from port 1 to port 3 = Pin (dB) - P3out (dB) = - 20 log10S31. Denote this loss as
S31 (dB) and enter at column 7 of the Table 1.
Isolation:
Isolation between ports 2 and 3 = Pin (dB) - P32out (dB) = - 20 log10S32. Denote this isolation
as S32 (dB) and enter at column 8 of the Table 1.
2.0
2.1
:
:
:
3.0
Table. 7.4
RESULT:
DEMONSTRATION EXPERIMENT
APPARATUS:
1. ST2123 PCM Generation & Demodulation using CODEC Chip
2. mm Patch chords
3. Oscilloscope Caddo 802 or equivalent
CIRCUIT DIAGRAM:
Figure: DE(a)
PROCEDURE:
1. Connect the power supply mains cord to the ST2123 but do not turn ON the power
supply until connections are made for this experiment.
2. From Clock Source, connect 1.5MHz Clock output to System Clock of Sample Rate
Generator.
3. Switch ‘On’ the power supply.
4. Connect Channel CLK to LRCIN and Bit CLK to BCKIN
5. Observe the signal available on Channel CLK and Bit CLK on oscilloscope with respect
to ground terminal provided on board.
6. Connect the Output of AC Source to VIN of ST2123 as shown in connection diagram in
order to provide analog signal for modulation.
7. Observe the signal of DOUT on oscilloscope with respect to ground, which shows the
modulated signal.
8. Connect the signal DOUT of ADC to DIN of DAC for demodulation of signalpresented
at input terminal
9. Observe the demodulated signal waveform at oscilloscope by connecting VOUT
terminal of DAC to oscilloscope with respect to ground of board.
10. Change the System Clock of Sample Rate Generator to 3MHz, 6MHz and 12MHz;
observe the effect of respective changes on PCM coding decoding.
11. We can also verify Nyquist criteria i.e. (fc > >2fm).
Observations:
Signals available on output (Vout), after PCM coding followed by decoding is same as analog
signal given at input of codec.
PCM Coding is method of converting analog signal to digital signal that’s why the output of
ADC Dout in this codec is digital levels showing the instantaneous changes of analog signal.
Channel CLK and bit CLK vary with change in system clock.
Conclusion:
The PCM codec is an analog-digital interface for voice band signals designed with a
combination of coders and decoders (codecs) and filters.
It is a low-power device with companding options, and it meets the requirements for
communication systems, including the cellular phone. The device operates in either the 15-bit
linear or 8-bit companded.
Channel CLK and bit CLK is highest for 12MHz system clock
APPARATUS:
1. ST2123 PCM Generation & Demodulation using CODEC Chip
2. 2 mm Banana Cable.
3. Oscilloscope Caddo 802 or equivalent
CIRCUIT DIAGRAM:
Figure: DE(b)
PROCEDURE:
1. Connect the power supply mains cord to the ST2123 but do not turn ON the power
supply until connections are made for this experiment.
2. From Clock Source, connect 1.5MHz Clock output to System Clock of Sample Rate
Generator.
3. Switch ‘On’ the power supply.
4. Connect Channel CLK to LRCIN and Bit CLK to BCKIN
5. Observe the signal available on Channel CLK and Bit CLK on oscilloscope with respect
to ground terminal provided on board.
6. Connect the microphone to ST2123 as shown in connection diagram in order to provide
voice signal for modulation.
7. Observe the signal of DOUT on oscilloscope with respect to ground, which shows the
modulated voice signal.
8. Connect the signal DOUT of ADC to DIN of DAC for demodulation of signal
presented at input terminal.
9. Observe the demodulated signal by connecting VOUT terminal of DAC to headphone
as shown in connection diagram.
10. Change the System Clock of Sample Rate Generator to 3MHz, 6MHz and 12MHz;
observe the effect of respective changes on PCM Coding and decoding.
Observations:
Signals available on output (Vout), in which PCM coding followed by decoding is same
as input given to the codec.
PCM Coding is method of converting analog signal to digital signal that’s why the output
of ADC Dout in this codec is digital levels showing the instantaneous changes of speech
signal which is an analog signal. Channel CLK and bit CLK vary with change in system
clock.
RESULT:
PART B:
EXPERIMENT 1:
Objective: To simulate NRZ, RZ, half sinusoidal pulses, raised cosine pulses and generate eye
Theory:
Line Coding
A line code is the code used for data transmission of a digital signal over a transmission line.
This process of coding is chosen so as to avoid overlap and distortion of signal such as inter-
symbol interference.
As the coding is done to make more bits transmit on a single signal, the bandwidth used is much
reduced.
Error detection is done and the bipolar too has a correction capability.
Unipolar
Polar
Bi-polar
Unipolar Signaling
Unipolar signaling is also called as On-Off Keying or simply OOK.
Advantages
It is simple.
Disadvantages
No clock is present.
Loss of synchronization is likely to occur (especially for long strings of 1s and 0s).
HKBKCE 63 Department of ECE
Communication Lab 18ECL67
Advantages
It is simple.
The spectral line present at the symbol rate can be used as a clock.
Disadvantages
No error correction.
The signal droop is caused at the places where signal is non-zero at 0 Hz.
Polar Signaling
There are two methods of Polar Signaling. They are −
Polar NRZ
Polar RZ
Polar NRZ
In this type of Polar signaling, a High in data is represented by a positive pulse, while a Low
in data is represented by a negative pulse. The following figure depicts this well.
Advantages
It is simple.
Disadvantages
No error correction.
No clock is present.
The signal droop is caused at the places where the signal is non-zero at 0 Hz.
Polar RZ
In this type of Polar signaling, a High in data, though represented by a Mark pulse, its duration
T0 is less than the symbol bit duration. Half of the bit duration remains high but it immediately
returns to zero and shows the absence of pulse during the remaining half of the bit duration.
However, for a Low input, a negative pulse represents the data, and the zero level remains
same for the other half of the bit duration. The following figure depicts this clearly.
Advantages
It is simple.
Disadvantages
No error correction.
No clock is present.
The signal droop is caused at places where the signal is non-zero at 0 Hz.
Bipolar Signaling
This is an encoding technique which has three voltage levels namely +, - and 0. Such a signal
is called as duo-binary signal.
An example of this type is Alternate Mark Inversion (AMI). For a 1, the voltage level gets a
transition from + to – or from – to +, having alternate 1sto be of equal polarity. A 0 will have a
zero voltage level.
HKBKCE 66 Department of ECE
Communication Lab 18ECL67
Bipolar NRZ
Bipolar RZ
From the models so far discussed, we have learnt the difference between NRZ and RZ. It just
goes in the same way here too. The following figure clearly depicts this.
The above figure has both the Bipolar NRZ and RZ waveforms. The pulse duration and symbol
bit duration are equal in NRZ type, while the pulse duration is half of the symbol bit duration
in RZ type.
Advantages
Following are the advantages −
It is simple.
This technique is suitable for transmission over AC coupled lines, as signal drooping doesn’t occur
here.
Disadvantages
Following are the disadvantages −
No clock is present.
Manchester Encoding:
Manchester encoding is a synchronous clock encoding technique used by the physical layer of
the Open System Interconnection [OSI] to encode the clock and data of a synchronous bit
stream.
pulse.
Code:
(1) NRZ
function PNRZ(h)
%Example:
%h=[1 0 0 1 1 0 1 0 1 0];
%PNRZ(h)
clc;
n=1;
l=length(h);
h(l+1)=1;
while n<=length(h)-1;
t=n-1:0.001:n;
if h(n) == 0
if h(n+1)==0
y=-(t<n)-(t==n);
else
y=-(t<n)+(t==n);
end
d=plot(t,y);grid on;
title('Line code POLAR NRZ');
set(d,'LineWidth',2.5);
hold on;
axis([0 length(h)-1 -1.5 1.5]);
HKBKCE 69 Department of ECE
Communication Lab 18ECL67
disp('zero');
else
if h(n+1)==0
y=(t<n)-1*(t==n);
else
y=(t<n)+1*(t==n);
end
d=plot(t,y);grid on;
title('Line code POLAR NRZ');
set(d,'LineWidth',2.5);
hold on;
axis([0 length(h)-1 -1.5 1.5]);
disp('one');
end
n=n+1;
%pause;
end
(2) RZ
t = 0:0.1:3;
f=.5;% Input Signal Frequency
M = 16
k = log2(M)
n = 20000
nSamp = 4
EbNo = 10
qamModulator = comm.RectangularQAMModulator(M,'BitInput',true);
qamDemodulator = comm.RectangularQAMDemodulator(M,'BitOutput',true);
span = 10
rolloff = 0.25
span = 10
rolloff = 0.25
txfilter = comm.RaisedCosineTransmitFilter('RolloffFactor',rolloff, ...
'FilterSpanInSymbols',span,'OutputSamplesPerSymbol',nSamp);
rxfilter = comm.RaisedCosineReceiveFilter('RolloffFactor',rolloff, ...
'FilterSpanInSymbols',span,'InputSamplesPerSymbol',nSamp, ...
'DecimationFactor',nSamp);
fvtool(txfilter,'impulse')
clc
clear all
close all
fs=20
fd=1
Pd=500
m=input('enter the values of m')
x=randint(Pd,1,m)
a=length(x)
delay=3
r=input('enter roll off factor')
rcv=rcosflt(x,fd,fs,'fir/normal',r,delay)
n=fs/fd
eyediagram(rcv,n)
RESULT:
Input
Output
Waveforms:
EXPERIMENT 2
Objective: To simulate the Pulse Code Modulation and demodulation system and display the
waveforms.
Theory:
Modulation is the process of varying one or more parameters of a carrier signal in accordance
with the instantaneous values of the message signal.
The message signal is the signal which is being transmitted for communication and the carrier
signal is a high frequency signal which has no data, but is used for long distance transmission.
There are many modulation techniques, which are classified according to the type of modulation
employed. Of them all, the digital modulation technique used is Pulse Code Modulation
(PCM).
A signal is pulse code modulated to convert its analog information into a binary sequence, i.e.,
1s and 0s. The output of a PCM will resemble a binary sequence. The following figure shows
an example of PCM output with respect to instantaneous values of a given sine wave.
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.
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.
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.
Sampler
This is the technique which helps to collect the sample data at instantaneous values of message
signal, so as to reconstruct the original signal. The sampling rate must be greater than twice the
highest frequency component Wof the message signal, in accordance with the sampling
theorem.
Quantizer
Quantizing is a process of reducing the excessive bits and confining the data. The sampled
output when given to Quantizer, reduces the redundant bits and compresses the value.
Encoder
The digitization of analog signal is done by the encoder. It designates each quantized level by
a binary code. The sampling done here is the sample-and-hold process. These three sections
(LPF, Sampler, and Quantizer) will act as an analog to digital converter. Encoding minimizes
the bandwidth used.
Regenerative Repeater
This section increases the signal strength. The output of the channel also has one regenerative
repeater circuit, to compensate the signal loss and reconstruct the signal, and also to increase its
strength.
Decoder
The decoder circuit decodes the pulse coded waveform to reproduce the original signal. This
circuit acts as the demodulator.
Reconstruction Filter
After the digital-to-analog conversion is done by the regenerative circuit and the decoder, a
low-pass filter is employed, called as the reconstruction filter to get back the original signal.
Hence, the Pulse Code Modulator circuit digitizes the given analog signal, codes it and samples
it, and then transmits it in an analog form. This whole process is repeated in a reverse pattern to
obtain the original signal.
Code:
clc;
close all;
clear all;
n=input('Enter n value for n-bit PCM system : ');
% plot(x,y);grid on;
% Sampling Operation
x=0:2*pi/n1:4*pi; % n1 nuber of samples have tobe selected
s=8*sin(x);
subplot(3,1,1);
plot(s);
title('Analog Signal');
ylabel('Amplitude--->');
xlabel('Time--->');
subplot(3,1,2);
stem(s);grid on; title('Sampled Sinal'); ylabel('Amplitude--->'); xlabel('Time--->');
% Quantization Process
vmax=8;
vmin=-vmax;
del=(vmax-vmin)/L;
part=vmin:del:vmax; % level are between vmin and vmax with difference
of del
code=vmin-(del/2):del:vmax+(del/2); % Contaion Quantized valuses
[ind,q]=quantiz(s,part,code); % Quantization process
% ind contain index number and q contain
quantized values
l1=length(ind);
l2=length(q);
for i=1:l1
if(ind(i)~=0) % To make index as binary decimal so started from
0 to N
ind(i)=ind(i)-1;
end
i=i+1;
end
for i=1:l2
if(q(i)==vmin-(del/2)) % To make quantize value inbetween the levels
q(i)=vmin+(del/2);
end
end
subplot(3,1,3);
stem(q);grid on; % Display the Quantize values
title('Quantized Signal');
ylabel('Amplitude--->');
xlabel('Time--->');
% Encoding Process
figure
code=de2bi(ind,'left-msb'); % Cnvert the decimal to binary
k=1;
for i=1:l1
for j=1:n
HKBKCE 78 Department of ECE
Communication Lab 18ECL67
qunt=reshape(coded,n,length(coded)/n);
index=bi2de(qunt','left-msb'); % Getback the index in decimal form
q=del*index+vmin+(del/2); % getback Quantized values
subplot(2,1,2); grid on;
plot(q); % Plot Demodulated signal
title('Demodulated Signal');
ylabel('Amplitude--->');
xlabel('Time--->');
RESULT:
Input
Output
Waveforms:
EXPERIMENT.3
Objective:To Compute Probability of bit error for coherent binary ASK,FSK and PSK for an AWGN
channel and compute them with their performance curves.
THEORY:
Let’s take up some bandwidth-efficient linear digital modulation techniques (BPSK,QPSK and QAM) and compare
its performance based on their theoretical BER over AWGN.
Table 1 summarizes the theoretical BER (given SNR per bit ration – Eb/N0) for various linear modulations. Note
that the Eb/N0 values used in that table are in linear scale [to convert Eb/N0 in dB to linear scale – use Eb/N0(linear)
= 10^(Eb/N0(dB)/10) ]. A small script written in Matlab (given below) gives the following output.
Table 1: Theoretical BER over AWGN for various linear digital modulation techniques
The following table is obtained by extracting the values of Eb/N0 to achieve BER=10 -6 from Figure-1. (Table data
sorted with increasing values of Eb/N0).
where,
is the bandwidth efficiency for linear modulation with M point constellation, meaning that ηB bits can be stuffed in
one symbol with Rb bits/sec data rate for a given minimum bandwidth.
is the minimum bandwidth needed for information rate of Rb bits/second. If a pulse shaping technique like raised
cosine pulse [with roll off factor (a)] is used then Bmin becomes
Next the data in table 2 is plotted with Eb/N0 on the x-axis and η on the y-axis (see figure 2) along with the well
known Shannon’s Capacity equation over AWGN given by,
CODE:
function ASK_FSK_PSK(msglen)
%msglen= number of bits to be transmitted
%take msglen=10000, or 20000 for more accuracy
%If you have any problem or feedback please contact me @
%%===============================================
% NIKESH BAJAJ
% Asst. Prof., Lovely Professional University, India
% Almameter: Aligarh Muslim University, India
% +919915522564, [email protected]
%%===============================================
n=msglen;
b=randint(1,n);
f1=1;f2=2;
t=0:1/30:1-1/30;
%ASK
sa1=sin(2*pi*f1*t);
E1=sum(sa1.^2);
sa1=sa1/sqrt(E1); %unit energy
sa0=0*sin(2*pi*f1*t);
%FSK
sf0=sin(2*pi*f1*t);
E=sum(sf0.^2);
sf0=sf0/sqrt(E);
sf1=sin(2*pi*f2*t);
E=sum(sf1.^2);
sf1=sf1/sqrt(E);
%PSK
HKBKCE 84 Department of ECE
Communication Lab 18ECL67
sp0=-sin(2*pi*f1*t)/sqrt(E1);
sp1=sin(2*pi*f1*t)/sqrt(E1);
%MODULATION
ask=[];psk=[];fsk=[];
for i=1:n
if b(i)==1
ask=[ask sa1];
psk=[psk sp1];
fsk=[fsk sf1];
else
ask=[ask sa0];
psk=[psk sp0];
fsk=[fsk sf0];
end
end
figure(1)
subplot(411)
stairs(0:10,[b(1:10) b(10)],'linewidth',1.5)
axis([0 10 -0.5 1.5])
title('Message Bits');grid on
subplot(412)
tb=0:1/30:10-1/30;
plot(tb, ask(1:10*30),'b','linewidth',1.5)
title('ASK Modulation');grid on
subplot(413)
plot(tb, fsk(1:10*30),'r','linewidth',1.5)
title('FSK Modulation');grid on
subplot(414)
plot(tb, psk(1:10*30),'k','linewidth',1.5)
title('PSK Modulation');grid on
xlabel('Time');ylabel('Amplitude')
%AWGN
for snr=0:20
askn=awgn(ask,snr);
pskn=awgn(psk,snr);
fskn=awgn(fsk,snr);
%DETECTION
A=[];F=[];P=[];
for i=1:n
%ASK Detection
if sum(sa1.*askn(1+30*(i-1):30*i))>0.5
A=[A 1];
else
A=[A 0];
end
%FSK Detection
if sum(sf1.*fskn(1+30*(i-1):30*i))>0.5
F=[F 1];
else
F=[F 0];
end
%PSK Detection
if sum(sp1.*pskn(1+30*(i-1):30*i))>0
P=[P 1];
else
P=[P 0];
end
end
%BER
errA=0;errF=0; errP=0;
for i=1:n
HKBKCE 85 Department of ECE
Communication Lab 18ECL67
if A(i)==b(i)
errA=errA;
else
errA=errA+1;
end
if F(i)==b(i)
errF=errF;
else
errF=errF+1;
end
if P(i)==b(i)
errP=errP;
else
errP=errP+1;
end
end
BER_A(snr+1)=errA/n;
BER_F(snr+1)=errF/n;
BER_P(snr+1)=errP/n;
end
figure(2)
subplot(411)
stairs(0:10,[b(1:10) b(10)],'linewidth',1.5)
axis([0 10 -0.5 1.5]);grid on
title('Received signal after AWGN Channel')
subplot(412)
tb=0:1/30:10-1/30;
plot(tb, askn(1:10*30),'b','linewidth',1.5)
title('Received ASK signal');grid on
subplot(413)
plot(tb, fskn(1:10*30),'r','linewidth',1.5)
title('Received FSK signal');grid on
subplot(414)
plot(tb, pskn(1:10*30),'k','linewidth',1.5)
title('Received PSK signal');grid on
figure(3)
semilogy(0:20,BER_A, 'b','linewidth',2)
title('BER Vs SNR')
grid on;
hold on
semilogy(0:20,BER_F,'r','linewidth',2)
semilogy(0:20,BER_P, 'k','linewidth',2)
xlabel('Eo/No(dB)')
ylabel('BER')
hold off
legend('ASK','FSK','PSK');
Waveforms:
RESULT:
EXPERIMENT 4(a)
Objective: To simulate the QPSK transmitter and receiver. Plot the signals and its
constellation diagram.
Theory:
The Quadrature Phase Shift Keying (QPSK) is a variation of BPSK, and it is also a Double
Side Band Suppressed Carrier (DSBSC) modulation scheme, which sends two bits of digital
information at a time, called as bigits.
Instead of the conversion of digital bits into a series of digital stream, it converts them into bit
pairs. This decreases the data bit rate to half, which allows space for the other users.
QPSKModulator
The QPSK Modulator uses a bit-splitter, two multipliers with local oscillator, a 2-bit serial to
parallel converter, and a summer circuit. Following is the block diagram for the same.
At the modulator’s input, the message signal’s even bits (i.e., 2 nd bit, 4th bit, 6th bit, etc.) and odd
bits (i.e., 1st bit, 3rd bit, 5th bit, etc.) are separated by the bits splitter and are multiplied with the
same carrier to generate odd BPSK (called as PSKI) and even BPSK (called as PSKQ).
The PSKQ signal is anyhow phase shifted by 90° before being modulated.
The QPSK waveform for two-bits input is as follows, which shows the modulated result for
different instances of binary inputs.
QPSK Demodulator
The QPSK Demodulator uses two product demodulator circuits with local oscillator, two band
pass filters, two integrator circuits, and a 2-bit parallel to serial converter. Following is the
diagram for the same.
T
he two product detectors at the input of demodulator simultaneously demodulate the two BPSK
signals. The pair of bits are recovered here from the original data. These signals after processing,
are passed to the parallel to serial converter.
Constellation diagram
Code:
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
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)
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;
% constellation diagram
clc;
clear all;
close all;
data=[0 0 1 1 0 1 1 0 1 1 1 0]; % information
figure(1)
axis([-2 2 -2 2]);
grid on;
xlabel('real'); ylabel('imag');
title('QPSK constellation');
RESULT:
Input
Output
Waveforms:
EXPERIMENT 4(b)
Objective: To test the performance of binary Differential phase shift keying (DPSK)
Theory:
In Differential Phase Shift Keying (DPSK) the phase of the modulated signal is shifted relative
to the previous signal element. No reference signal is considered here. The signal phase follows
the high or low state of the previous element. This DPSK technique doesn’t need a reference
oscillator.
It is seen from the above figure that, if the data bit is Low i.e., 0, then the phase of the signal is
not reversed, but continued as it was. If the data is a High i.e., 1, then the phase of the signal is
reversed, as with NRZI, invert on 1 (a form of differential encoding).
If we observe the above waveform, we can say that the High state represents an M in the
modulating signal and the Low state represents a W in the modulating signal.
DPSKModulator
DPSK is a technique of BPSK, in which there is no reference phase signal. Here, the transmitted
signal itself can be used as a reference signal. Following is the diagram of DPSK Modulator.
DPSK encodes two distinct signals, i.e., the carrier and the modulating signal with 180° phase
shift each. The serial data input is given to the XNOR gate and the output is again fed back to
the other input through 1-bit delay. The output of the XNOR gate along with the carrier signal
is given to the balance modulator, to produce the DPSK modulated signal.
DPSK Demodulator
In DPSK demodulator, the phase of the reversed bit is compared with the phase of the previous
bit. Following is the block diagram of DPSK demodulator.
From the above figure, it is evident that the balance modulator is given the DPSK signal along
with 1-bit delay input. That signal is made to confine to lower frequencies with the help of LPF.
Then it is passed to a shaper circuit, which is a comparator or a Schmitt trigger circuit, to recover
the original binary data as the output.
Code:
RESULT:
Input
Output
Waveforms:
QUESTION BANK
PART A
1. Conduct an experiment on Generation and Detection of TDM of two band limited
signals.
6. With a test setup, plot the radiation pattern and find the directivity and gain of
7. (c) Conduct an experiment to determine power division and isolation characteristics ofa
microstrip 3 db power divider.
PART B
1. Write a Matlab code to simulate NRZ,RZ,Half Sinusoid & Raised Cosine pulses and
generate eye diagram for binary polar signaling.
2. Write a Matlab code to simulate the PCM modulation and demodulation system and
display the waveforms.
HKBKCE 10 Department of ECE
0
Communication Lab 18ECL67
3. Write a Matlab code to simulate the QPSK transmitter and receiver.Plot the signals and
its constellation diagram.
4. Write a Matlab code to test the performance of a binary differential phase shift keying
system by simulating the coherent/Non coherent detection of binary DPSK.
VIVA QUESTIONS
1. What is sampling?
Sampling is a process of converting a continuous time signal into a discrete time signal.
It is achieved by multiplying a continuous time signal with a stream of pulses.
Sampling theorem is stated as ‘A band limited signal having the highest frequency, Fm
Hz can be reconstructed completely from a set of uniformly spaced discrete time samples
only when the sampling interval Ts<1/2Fm secs.
a) Impulse sampling.
b) Natural sampling.
c) Flat top sampling.
5. What is Aliasing?
9. what is ASK ?
HKBKCE 10 Department of ECE
2
Communication Lab 18ECL67
a) ASK
b) FSK
c) PSK
APK is stands for amplitude phase keying. It is a hybrid modulation when changes in
amplitude and phase are combined.
FSK stands for frequency shift keying. Here, for a binary one, one frequency carrier
with constant amplitude is transmitted over the channel and for a binary zero, another
frequency carrier is transmitted.
FSK is widely used; therefore the FSK signals have a constant envelope, which makes
them impervious to amplitude nonlinearities.
The detection process wherein the carrier of same amplitude and phase as that used in
the modulation process is used to recover in the modulation process is used to recover
the in information is called coherent detection.
PSK stands for phase shift keying. For a binary one a carrier of constant amplitude and
zero phase is transmitted and for a binary zero, a carrier of constant amplitude and 180deg
phase shift is transmitted, by keeping the frequency of the carrier constant.
PSK is widely used. Therefore the PSK signals have a constant envelope, which makes
them impervious to amplitude nonlinearities.
Pair of sinusoidal waves that differ only in a relative phase-shift of 180deg (as used in
PAM stands for pulse amplitude modulation. The amplitude of a pulse train is varied
in accordance with the amplitude of a message signal.
The multiplication of the message signal with a train of pulses yield PAM signal.
Analog pulse modulation is a process where the information samples without any
quantization are modulated on to pulses.
M-ary pulse modulation is a process where the information samples are first quantized,
yielding symbols from M-ary alphabet set, and then modulated on to pulses. This is
digital pulse modulation.
22. Can M-ary PAM be used to reduce transmission bandwidth compared to PCM?
Yes
The principle of total internal reflection is used in transmission of light through fiber
optic cable.
A mode is a pattern of electric and magnetic field distributions that is repeated along the
fiber at equal intervals.
The most widely accepted structure is the single solid dielectric cylinders of radius and
refractive index n1. This cylinder is the core and this core is surrounded by a dielectric
cladding with refractive index n2<n1.
Active fiber
Conical fiber
Multiple fiber
Passive fiber
Glass coated fiber
Lasing fiber
Luminescent fiber.
30. What is the difference between active and passive optical fibers?
The active fiber is the one that emits light as well as guides part of it.
The passive fiber is the one that guides light incident on it from external sources.
The optical fiber communication system makes use of passive fibers which are
generally the glass coated ones.
32. How are optical fiber cable classified with respect to mode of transmission of light
wave?
Nu merica l Apert ure (NA) of fiber is a measure 2o f its light gathering power, also called
mer ido nial apert ure ang le o f fiber wit h N A=(n 0 -n 2 1/2
cl )
Where n0=Refractive index of fiber core
ncl=Refractive index of fiber cladding
34. Why does the optical signal get distorted as it travels along a fiber?
a) Intermodal dispersion.
Material dispersion
Waveguide dispersion
36. Which are the principle light sources used for fiber optic communications applications?
Pin photodetectors.
Avalanche photodetectors.