EC8761-Advanced Communication Lab Manual
EC8761-Advanced Communication Lab Manual
Laboratory Manual
Regulation - 2017
PROGRAM OUTCOMES
1. Engineering knowledge: Apply the knowledge of mathematics, science, engineering
fundamentals, and an engineering specialization to the solution of complex engineering
problems.
2. Problem analysis: Identify, formulate, review research literature, and analyze complex
engineering problems reaching substantiated conclusions using first principles of mathematics,
natural sciences, and engineering sciences.
3. Design/development of solutions: Design solutions for complex engineering problems and
design system components or processes that meet the specified needs with appropriate
consideration for the public health and safety, and the cultural, societal, and environmental
considerations.
4. Conduct investigations of complex problems: Use research-based knowledge and research
methods including design of experiments, analysis and interpretation of data, and synthesis of
the information to provide valid conclusions.
5. Modern tool usage: Create, select, and apply appropriate techniques, resources, and modern
engineering and IT tools including prediction and modelling to complex engineering activities
with an understanding of the limitations.
6. The engineer and society: Apply reasoning informed by the contextual knowledge to assess
societal, health, safety, legal and cultural issues and the consequent responsibilities relevant to
the professional engineering practice.
7. Environment and sustainability: Understand the impact of the professional engineering
solutions in societal and environmental contexts, and demonstrate the knowledge of, and need
for sustainable development.
8. Ethics: Apply ethical principles and commit to professional ethics and responsibilities and
norms of the engineering practice.
9. Individual and team work: Function effectively as an individual, and as a member or leader
in diverse teams, and in multidisciplinary settings.
10. Communication: Communicate effectively on complex engineering activities with the
engineering community and with society at large, such as, being able to comprehend and write
effective reports and design documentation, make effective presentations, and give and receive
clear instructions.
11. Project management and finance: Demonstrate knowledge and understanding of the
engineering and management principles and apply these to one’s own work, as a member and
leader in a team, to manage projects and in multidisciplinary environments.
12. Life-long learning: Recognize the need for, and have the preparation and ability to engage
in independent and life-long learning in the broadest context of technological change.
PSO1: Ability to apply the acquired knowledge of basic skills, mathematical foundations,
principles of electronics, modelling and design of electronics based systems in solving
engineering Problems.
PSO2: Ability to understand and analyze the interdisciplinary problems for developing
innovative sustained solutions with environmental concerns.
PSO3: Ability to update knowledge continuously in the tools like MATLAB, NS2, XILINIX
and technologies like VLSI, Embedded, Wireless Communications to meet the industry
requirements.
PSO4: Ability to manage effectively as part of a team with professional behaviour and ethics.
Syllabus
EC8761 ADVANCED COMMUNICATION LABORATORY LTPC0042
OBJECTIVES:
The student should be made to:
Understand the working principle of optical sources, detector, fibers.
Develop understanding of simple optical communication link.
Understand the measurement of BER, Pulse broadening.
Understand and capture an experimental approach to digital wireless communication.
Understand actual communication waveforms that will be sent and received across
wireless channel.
LIST OF OPTICAL EXPERIMENTS
1. Measurement of connector, bending and fiber attenuation losses.
2. Numerical Aperture and Mode Characteristics of Fibers.
3. DC Characteristics of LED and PIN Photo diode.
4. Fiber optic Analog and Digital Link Characterization - frequency response (analog),
eye diagram and BER (digital).
LIST OF WIRELESS COMMUNICATION EXPERIMENTS
1. Wireless Channel Simulation including fading and Doppler effects.
2. Simulation of Channel Estimation, Synchronization & Equalization techniques.
3. Analysing Impact of Pulse Shaping and Matched Filtering using Software Defined Radios.
4. OFDM Signal Transmission and Reception using Software Defined Radios
LIST OF MICROWAVE EXPERIMENTS
1. VSWR and Impedance Measurement and Impedance Matching.
2. Characterization of Directional Couplers, Isolators, Circulators.
3. Gunn Diode Characteristics.
4. Microwave IC – Filter Characteristics.
TOPIC BEYOND THE SYLLABUS EXPERIMENT
1. Radiation Pattern Measurement of Parabolic Reflector Antenna.
Total: 60 Periods
OUTCOMES:
Analyze the performance of simple optical link by measurement of losses and analyzing the
Analyze the Eye Pattern, Pulse broadening of optical fiber and the impact on BER.
Estimate the Wireless Channel Characteristics and analyze the performance of Wireless
Communication System.
4. (a) Fiber optic Analog and Digital Link Characterization - frequency response (analog).
7. Analysing Impact of Pulse Shaping and Matched Filtering using Software Defined Radios
(b) Isolators
(c) Circulators
EXPERIMENTS
EX.NO: 1 MEASUREMENT OF CONNECTOR, BENDING AND FIBER ATTENUATION
LOSSES
AIM:
To measure the propagation loss, bending loss and fiber attenuation losses.
APPARATUS REQUIRED:
S.No. Name of the Equipments Quantity
1 Link – D Fiber Optic Communication Trainer Kit 1
2 Power Supply 1
3 Fiber Optic Cable (Plastic) 1, 4 meter
4 Patch Chords Required
THEORY:
Optical fibers are available in different variety of materials. These materials are usually selected
by taking into account their absorption characteristics for different wavelengths of light. In case of
optical fiber, since the signal is transmitted in the form of light, which is completely different in nature
as that of electrons, one has to consider the interaction of matter with the radiation to study the losses in
fiber. Losses are introduced in fiber due to various reasons. As light propagates from one end of fiber to
another end, part of it is absorbed in the material exhibiting absorption loss. Also part of the light is
reflected back or in some other directions from the impurity particles present in the material
contributing to the loss of the signal at the other end of the fiber. In general terms it is known as
propagation loss. Plastic fibers have higher loss of the order of 18 dB/Km. whenever the condition for
the angle of incidence of the incident light is violated the losses are introduced due to refraction of
light.
This occurs when fiber is subjected to bending. Lower the radius of curvature more is the loss.
Another loss are due to the coupling of fiber at LED and photo detector ends.
PROCEDURE:
FOR PROPAGATION LOSS:
1. Make jumper connections as shown in jumper block diagram. Connect the power supply cables
with proper polarity to Link – D Kit. While connecting this, ensure that the power supply is OFF.
2. Connect the AMP O/P as a constant signal to the TX I/P using a patch cord.
3. You will measure the light output using the SIGNAL STRENGTH section of the kit. The loss will
be larger for a longer piece of fiber, so you will measure the loss of the long piece of fiber. In order
to measure the loss in the fiber you first need a reference of how much light goes in to the piece of
fiber from the LIGHT TRANSMITTER. You will use the short piece of fiber to measure this
reference.
4. Switch on the power supply. Connect the short piece of fiber to between the transmitter TX and the
receiver RX2 of the kit. Adjust the transmitter level until the signal strength reads 6. This will be
your reference value. Now connect the long piece of fiber instead of the short piece. What reading
do you get? Loss in optical fiber systems is usually measured in dBs. Loss of fiber itself is
measured in dBs per meter.
Subtract the length of the short fiber from the length of the long fiber to get the difference in the fiber
lengths (4m-1m).
FOR BENDING LOSS:
1. Make jumper connections as shown in jumper block diagram. Connect the power supply cables
with proper polarity to Link – D Kit. While connecting this, ensure that the power supply is OFF.
2. Connect the AMP O/P as a constant signal to the TX I/P using a patch cord. You will measure the
light output using the SIGNAL STRENGTH section of the kit.
3. Switch ON the power supply. Connect the long piece of fiber to between the light transmitter TX
and the photo detector receiver RX2 so there are no sharp bends in the fiber between them.
OBSERVATION FOR PROPAGATION LOSS:
1 1m
2 4m
FORMULA:
1.
2.
3.
4.
5.
RESULT:
Thus the fiber propagation, bending and attenuation losses was measured.
Experimental Setup Diagram for Numerical Aperture of a Fiber
AIM:
To measure the numerical aperture of the plastic fiber provided with kit using 660 nm
wavelength LED.
APPARATUS REQUIRED:
S.No. Name of the Equipments Quantity
1 Link – B Advance Fiber Optic Communication Trainer Kit 1
2 Power Supply 1
3 Fiber Optic Cable (Plastic) 1 meter
4 Numerical Aperture measurement Jig 1
5 Steel Ruler 1
6 Patch Chords Required
Where θ max is the maximum angle at which the light incident is properly transmitted through
the fiber.
PROCEDURE:
1. Make connections as shown in figure. Connect the power supply cables with proper polarity to Link
– B Kit. While connecting this, ensure that the power supply is OFF.
2. Keep Intensity control pot P2 towards minimum position.
3. Keep Bias control pot P1 fully clockwise position.
4. Switch ON the power supply.
5. Slightly unscrew the cap of SFH 756V (660) nm. Do not remove the cap from the connector. Once
the cap is loosened, insert the 1 Meter Fiber into the cap. Now tighten the cap by screwing it back.
6. Insert the other end of the Fiber into the numerical aperture measurement jig. Adjust the fiber such
that its cut face is perpendicular to the axis of the Fiber.
7. Keep the distance of about 5mm between the fiber tip and the screen. Gently tighten the screw and
thus fix the fiber in the place.
8. Increase the intensity pot P2 to get bright red light circular patch.
9. Now observe the illuminated circular patch of light on the screen.
10. Measure exactly the distance d and also the vertical and horizontal diameters MR and PN as
indicated in the Figure.
11. Mean radius is calculated using the following formula r = (MR + PN) / 4
12. Find the numerical aperture of the fiber using the formula
NA = sin θ max =
Post lab questions:
1. Contrast glass and plastic fiber cables.
2. Define Numerical Aperture.
3. Mention the necessary conditions for TIR.
4. What are the limitations of fiber?
5. Define Critical angle.
RESULT :
Thus the Numerical aperture of the plastic fiber provided with kit using 660 nm wavelength
LED was measured.
Lower Order Linearly Polarised Modes of Optical Fiber
AIM:
OBSERVATION:
Single mode Fiber:
RESULT:
Thus the mode characteristics of fiber was observed.
Block Diagram:
AIM:
PROCEDURE:
1. Confirm that the power switch is on OFF position.
2. Make the jumper settings as shown in the jumper diagram.
3. Insert the jumper connecting wires (provided along with the kit) in jumper JP17 and JP16 at
positions shown in figure.
4. Connect the ammeter and volt-meter with the jumper wires connected to JP17 and JP16 as
shown in figure.
5. Keep the potentiometer Pr10 in its maximum position (anti-clockwise rotation) and Pr9 in its
minimum position (clockwise rotation). Pr10 is used to control current flowing through the
LED and Pr9 is used to vary the amplitude of the received signal at phototransistor.
6. To get the VI characteristics of LED, rotate Pr10 slowly and measure forward current and
corresponding forward voltage. Take number of such readings for various current values and
plot VI characteristics graph for the LED.
7. For each reading taken above, find out the power which is product of I and V. This is the
electrical power supplied to the LED.
8. With this efficiency assumed, find out optical power coupled into plastic Optical Fiber for each
of the reading in step7. Plot the graph of forward current vs. output optical power of the LED.
9. In our experimental kit, when Pr9 is at its minimum position, 100 ohms of resistance is in series
of emitter and ground of phototransistor.
10. Connect the 1m optical Fiber Cable supplied with the kit between LED SFH 756V (660nm) and
phototransistor SFH 350V (Analog Detector).
OBSERVATION:
Characteristics of Led:
To Convert dBm to mW
Optical power Of
LED Current Detector voltage Detector Current
LED
Id(mA) Vp(V) Ip(mA)
Pd(mW)
11. From the transfer characteristics obtained in step 8, launched known optical energy into plastic
fiber and measure output voltage at ANALOG OUTPUT TERMINAL. Find out the current
flowing through phototransistor with this voltage value and 100 ohms of resistance.
12. Repeat step11 for various launched Optical energy values and plot the graph for the responsivity
of phototransistor. Find out the portion where detector response is linear.
RESULT :
Thus the characteristics of fiber optic LED was observed and the graph was plotted for the
forward current Vs output optical energy, also studied the photo detector response.
EX.NO: 4 (a) FIBER OPTIC ANALOG AND DIGITAL LINK
CHARACTERISTICS - FREQUENCY RESPONSE (ANALOG)
AIM:
To obtain the frequency response of a transmitted signal by using optical fiber in an analog and
digital fiber optic link.
APPARATUS REQUIRED:
S.No. Name of the Equipments Quantity
1 Link – A Fiber Optic Trainer Kit 1
2 Fiber Optic Cable (Plastic) 1 meter
3 Power Supply 1
4 20 MHz Dual Channel Oscilloscope 1
5 Probe, Patch Chords Required
Pre Lab Questions:
1. What is the function of an optical transmitter in an optical repeater?
2. Write the advantages of optical communication.
3. Write the functions of light sources.
4. What was the technique used in earlier communication?
5. Compare repeater and transponder.
THEORY:
ANALOG LINK: Fiber Optic Links can be used for transmission for digital as well as analog
signals. Basically a fiber optic link contains three main elements, a transmitter, an optical fiber & a
receiver. The transmitter module takes the input signal in electrical form & then transforms it into
optical (light) energy containing the same information. The optical fiber is the medium which
carries this energy to the receiver. At the receiver, light is converted back into electrical form with
the same pattern as originally fed to the transmitter.
TRANSMITTER:
Fiber optic transmitters are typically composed of a buffer, driver & optical source. The buffer
electronics provides both an electrical connection & isolation between the transmitter & the
electrical system supplying the data. The driver electronics provides electrical power to the optical
source in a fashion that duplicates the pattern of data being
fed to the transmitter. Finally the optical source (LED) converts the electrical current to light energy
with the same pattern. The LED SFH 756V supplied with the kit operates inside the visible light
spectrum. It’s optical output is centered at near visible wavelength of 660 nm. The emission
spectrum is broad, so a dark red glow can usually be seen when the LED is on. The LED SFH 450V
supplied wit the kit operates outside the visible light spectrum. It’s optical output is centered at near
infrared wavelength of 950 nm.
RECEIVER:
The function is to convert the optical energy into electrical form which is then conditioned to
reproduce the transmitted electrical signal in its original form. The detector SFH250V used in the
kit has a diode type output. The parameters usually considered in the case of detector are it’s
responsivity at peak wavelength & response time. SFH250V has responsivity of about 4µA per
10µW of incident optical energy at 950 nm and it has rise & fall time of 0.01µsec. PIN photodiode
is normally reverse biased. When optical signal falls on the diode, reverse current start to flow, thus
diode acts as closed switch and in the absence of light intensity, it acts as an open switch. Since PIN
diode usually has low responsivity, a trans impedance amplifier is used to convert this reverse
current into voltage. This voltage is then amplified with the help of another amplifier circuit. This
voltage is the duplication of the transmitted electrical signal.
DIGITAL LINK
In the experiment no. 1, we have seen how analog signal can be transmitted and received using
LED, fiber and detector. The same LED, fiber and detector can be configured for the digital
applications to transmit binary data over fiber. Thus basic elements of the link remains same even for
digital applications.
TRANSMITTER:
LED digital, DC coupled transmitters are one of the most popular variety due to their case of
fabrication. Standard TTL gate is used to drive a NPN transistor, which modulates the LED SFH450V
OR SFH756V source (Turns it ON and OFF).
RECEIVER:
There are various methods of configure detectors to extract digital data.
Usually detectors are of linear nature. Photo detector SFH551V has TTL type output. Usually it
consist of PIN photo diode, trans impedance amplifier and level shifter.
Model Graph:
ANALOG LINK:
Amplitude Time
Mode
(volts) (seconds)
Input
Output
DIGITAL LINK:
Amplitude Time
Mode
(volts) (seconds)
Input
Output
FIBER OPTIC COMMUNICATION – DIGITAL LINK:
1. Slightly unscrew the cap of LED SFH 756V TX1 (660 nm) from kit. Do not remove the cap
from the connector. Once the cap is loosened, insert the fiber into the cap and assure that the
fiber is properly fixed. Now tight the cap by screwing it back.
2. Make the connections and Jumper settings as shown in Figure. Connect the power supply cables
with proper polarity to kit. While connecting this, ensure that the power supply is OFF. Now
Switch on the power supply
3. Feed the Onboard Square (TTL) signal of about 1 KHz to IN post of Digital Buffer Section and
observe the signal at OUT post. It should be same as that of the input signal.
4. Connect OUT post of the Digital Buffer section to TX IN post of TRANSMITTER.
5. Connect the other end of the fiber to detector SFH 551V RX 2 (Digital Detector) in kit very
carefully as per the instructions in step 1.
6. Observe the output signal from the detector at TTL OUT post on CRO. The Transmitted signal
and received signal are same. Vary the frequency of the input signal and observe the output
response.
RESULT:
Thus the frequency response was obtained for the transmitted signal by using optical fiber in an
analog and digital fiber optic link.
AIM:
EX.NO:
EYE
To analyse the eye diagram using fiber optic link.
DIAGRAM
APPARATUS REQUIRED:
S.No. Name of the Equipments Quantity
1 Link – B Advance Fiber Optic Communication Trainer 1
Kit
2 Power Supply 1
3 Fiber Optic Cable (Plastic) 1 meter
4 20 MHz Dual channel Oscilloscope 1
5 Probes, Patch Chords Required
PROCEDURE:
1. Make connections as shown in figure. Connect the power supply cables with proper polarity to Link
– B Kit. While connecting this, ensure that the power supply is OFF.
2. Keep switch SW7 as shown in figure to generate PRBS signal.
3. Keep switch SW8 towards TX position.
4. Keep switch SW9 towards TX1 position.
5. Keep the switch SW10 to EYE PATTERN position.
6. Select PRBS generator clock at 32 KHz by keeping jumper JP4 at 32K position.
7. Keep Jumper JP5 towards +5V position.
8. Keep Jumper JP6 shorted.
9. Keep Jumper JP8 towards TTL position.
10. Switch ON the power supply.
11. Connect the post DATA OUT of PRBS Generator to the IN post of digital buffer.
12. Connect OUT post of digital buffer to TX IN post.
13. Slightly unscrew the cap of SFH 756V (660) nm. Do not remove the cap from the connector. Once
the cap is loosened, insert the one Meter Fiber into the cap. Now tighten the cap by screwing it
back.
14. Slightly unscrew the cap of RX1 Photo Transistor with TTL logic output SFH 551V. Do not
remove the cap from the connector. Once the cap is loosened, insert the other end of fiber into the
cap. Now tighten the cap by screwing it back.
15. Connect CLK OUT of PRBS Generator to EXT.TRG. Of Oscilloscope.
16. Connect detected signal TTL OUT to vertical channel Y input of oscilloscope. Then observe EYE
PATTERN by selecting EXT.TRG. KNOB on oscilloscope as shown in figure. Observe the Eye
Pattern for different clock frequencies. As clock frequency increases the EYE opening becomes
smaller.
OBSERVATION:
32 KHz
64 KHz
128 KHz
Post lab questions:
1. What is the significance of eye pattern?
2. What is intersymbol interference?
3. How the performance of analog receiver and digital receiver is measured?
4. What does pseudorandom means?
5. Define noise margin.
RESULT :
Thus the Eye Pattern was analyzed using Fiber optic Link.
AIM:
EX.NO.4 RATE
BIT
ERROR
To measure the bit error rate of a fiber.
APPARATUS REQUIRED:
S.No. Name of the Equipments Quantity
Link – B Advance Fiber Optic Communication
1 1
Trainer Kit
2 Power Supply 1
3 Fiber Optic Cable (Plastic) 1 meter
4 20 MHz Dual channel Oscilloscope 1
5 Probes, Patch Chords Required
1.
2.
3.
4.
5.
BER = Eb/Tb
Where Eb – Errored bits
Tb – Total bits Transmitted in a period of time t seconds.
PROCEDURE:
1. Make connections as shown in figure. Connect the power supply cables with proper polarity to Link
– B Kit. While connecting this, ensure that the power supply is OFF.
2. Keep PRBS switch SW7 as shown in figure to generate PRBS signal.
3. Keep switch SW8 towards TX position.
4. Keep switch SW9 towards TX1 position.
5. Keep the switch SW10 at fiber optic receiver output to TTL position.
6. Select PRBS generator clock at 32 KHz by keeping jumper JP4 at 32K position.
7. Keep Jumper JP5 towards +5V position.
8. Keep Jumper JP6 shorted.
9. Keep Jumper JP8 towards Pulse position.
10. Switch ON the power supply.
11. Connect the post DATA OUT of PRBS Generator to the IN post of digital buffer.
12. Connect OUT post of digital buffer to TX IN post.
13. Slightly unscrew the cap of SFH 756V (660) nm. Do not remove the cap from the connector. Once
the cap is loosened, insert the one Meter Fiber into the cap. Now tighten the cap by screwing it
back.
14. Slightly unscrew the cap of RX1 Photo Transistor with TTL logic output SFH 551V. Do not
remove the cap from the connector. Once the cap is loosened, insert the other end of fiber into the
cap. Now tighten the cap by screwing it back.
15. Connect detected signal TTL OUT to Bit Error Rate event counter DATA IN post & post IN of
Noise Source.
16. Connect post OUT of Noise Source to post RXDATA IN of Bit Error Rate event counter.
17. Connect post CLK OUT of PRBS Generator to post CLK IN of Bit Error Rate event counter.
18. Press Switch SW 11 to start counter.
19. Vary pot P3 for Noise Level to observe effect of noise level on the error count.
20. Observe the Error Count LED’s for the error count in received signal in time 10 seconds as shown
in figure.
REVIEW QUESTIONS:
1. Define bit error rate.
2. What is bit period?
3. What do you mean by excess noise factor?
4. Define threshold level.
5. Mention the stages available in an optical receiver.
RESULT:
Thus the Bit error rate was measured for a fiber.
WIRELESS
COMMUNICATION
EXPERIMENTS
Block Diagram:
Simulation Outputs:
AIM:
To simulate the wireless channel including Rayleigh and Rician multipath fading channel
system objects and Doppler shifts.
COMPONENTS REQUIRED:
Personal computer
MATLAB software
Pre Lab Questions:
1. Define fading.
2. What is diffraction and scattering?
3. Define impulse response.
4. What is the need of MATLAB?
5. Define Brewster angle.
THEORY:
Fading:
Fading is used to describe the rapid fluctuations of the amplitudes, phases or multipath
delays of a radio signal over a short period of time or travel distance, so that large-scale path
loss effects may be ignored. Fading is caused by interference between two or more versions of
the transmitted signal which arrive at the receiver at slightly different times. These waves called
multipath waves, combine at the receiver antenna to give a resultant signal which can vary
widely in amplitude and phase, depending on the distribution of the intensity and relative
propagation time of the waves and the bandwidth of the transmitted signal.
The three most important effects are
Rapid changes in signal strength over a small travel distance or time interval.
Doppler Spectrum Impulse Response
Doppler Effects:
Random modulation due to varying Doppler shifts on different multipath signals.
frequency Time dispersion (echoes) caused by multipath propagation delays.
Due to the relative motion between the mobile and base station each multipath wave
experiences an apparent shift in frequency. The shift in received signal frequency due to motion is
called Doppler Effect, and it is directly proportional to the velocity and direction of motion of the
mobile with respect to the direction of arrival of the received multipath wave.
PROCEDURE:
Processing a signal using a fading channel involves the following steps:
1. Create a channel System object that describes the channel that you want to use. A channel
object is a type of MATLAB variable that contains information about the channel, such as the
maximum Doppler shift.
2. Adjust properties of the System object, if necessary, to tailor it to your needs. For example, you
can change the path delays or average path gains.
3. Apply the channel System object to your signal using the step method, which generates random
discrete path gains and filters the input signal. The characteristics of a channel can be shown with
the built-in visualization support of the System object.
PROGRAM:
sampleRate500kHz = 500e3; % Sample rate of 500K Hz
sampleRate20kHz = 20e3; % Sample rate of 20K Hz
maxDopplerShift = 200; % Maximum Doppler shift of diffuse components
(Hz) delayVector = (0:5:15)*1e-6; % Discrete delays of four-path channel (s)
gainVector = [0 -3 -6 -9]; % Average path gains (dB)
release(rayChan);
release(ricChan);
numFrames = 2;
release(rayChan);
rayChan.Visualization = 'Doppler
spectrum'; numFrames = 5000;
numFrames = 2;
release(rayChan);
rayChan.PathDelays = 0; % Single fading path with zero delay
rayChan.AveragePathGains = 0; % Average path gain of 1 (0 dB)
release(rayChan);
rayChan.Visualization = 'Off'; % Turn off System object's visualization
ricChan.Visualization = 'Off'; % Turn off System object's visualization
% Same sample rate and delay profile for the Rayleigh and Rician
objects ricChan.SampleRate = rayChan.SampleRate;
ricChan.PathDelays = rayChan.PathDelays;
ricChan.AveragePathGains = rayChan.AveragePathGains;
% Configure a Time Scope System object to show path gain magnitude
gainScope = dsp.TimeScope( ...
'SampleRate', rayChan.SampleRate, ...
'TimeSpan', bitsPerFrame/2/rayChan.SampleRate, ... % One frame span
'Name', 'Multipath Gain', ...
'ShowGrid', true, ...
'YLimits', [-40 10], ...
'YLabel', 'Gain (dB)');
% Compare the path gain outputs from both objects for one frame
msg = randi([0 1],bitsPerFrame,1);
modSignal = qpskMod(msg);
[~, rayPathGain] =
rayChan(modSignal); [~, ricPathGain] =
ricChan(modSignal);
% Form the path gains as a two-channel input to the time scope
gainScope(10*log10(abs([rayPathGain, ricPathGain]).^2));
RESULT:
Thus the wireless channel including Rayleigh and Rician multipath fading channel system
objects and Doppler shifts were simulated and the graphs are noted.
Block Diagram:
EX.NO: 2 SIMULATION OF CHANNEL ESTIMATION, SYNCHRONIZATION AND
EQUALIZATION TECHNIQUES
AIM:
To Simulate the Channel Estimation, Synchronization & Equalization techniques using
MATLAB.
COMPONENTS REQUIRED:
Personal computer
MATLAB
Pre Lab Questions:
1. Define simplex, duplex.
2. What is full duplex?
3. Give the advantages of wireless communication.
4. Define channel estimation.
5. What is channel assignment?
THEORY:
Channel Estimation:
In digital wireless communication systems, information is transmitted through a radio channel.
For conventional, coherent receivers, the effect of the channel on the transmitted signal must be
estimated to recover the transmitted information. For example, with binary phase shift keying (BPSK),
binary information is represented as +1 and −1 symbol values. The radio channel can apply a phase
shift to the transmitted symbols, possibly inverting the symbol values. As long as the receiver can
estimate what the channel did to the transmitted signal, it can accurately recover the information sent.
Channel estimation is a challenging problem in wireless communications. Transmitted signals are
typically reflected and scattered, arriving at the receiver along multiple paths. When these paths have
similar delays, they add either constructively or destructively, giving rise to fading. When these paths
have very different delays, they appear as signal echoes. Due to the mobility of the transmitter, the
receiver, or the scattering objects, the channel changes over time.
Program:
enb.NDLRB = 15; % Number of resource blocks
enb.CellRefP = 1; % One transmit antenna port
enb.NCellID = 10; % Cell ID
enb.CyclicPrefix = 'Normal'; % Normal cyclic prefix
enb.DuplexMode = 'FDD'; % FDD
SNRdB = 22; % Desired SNR in dB
SNR = 10^(SNRdB/20); % Linear SNR
rng('default'); % Configure random number generators
gridsize = lteDLResourceGridSize(enb);
K = gridsize(1); % Number of subcarriers
L = gridsize(2); % Number of OFDM symbols in one subframe
P = gridsize(3); % Number of transmit antenna ports
txGrid = [];
end
[txWaveform,info] = lteOFDMModulate(enb,txGrid);
txGrid = txGrid(:,1:140);
cfg.SamplingRate = info.SamplingRate;
rxGrid = lteOFDMDemodulate(enb,rxWaveform);
enb.NSubframe = 0;
[estChannel, noiseEst] = lteDLChannelEstimate(enb,cec,rxGrid);
eqGrid = lteEqualizeMMSE(rxGrid, estChannel, noiseEst);
% Calculate error between transmitted and equalized
grid eqError = txGrid - eqGrid;
rxError = txGrid - rxGrid;
AIM:
To analyse the impact of pulse shaping and matched filtering by using SDR.
COMPONENTS REQUIRED:
Personal computer
MATLAB software
SDR hardware
Pre Lab Questions:
1. Define pulse.
2. Mention the types of pulse code modulations.
3. What is filter?
4. List the types of filter.
5. Define SDR.
THEORY:
Pulse shaping:
Pulse shaping is the process of changing the waveform of transmitted pulses. Its purpose is to
make the transmitted signal better suited to its purpose or the communication channel, typically by
limiting the effective bandwidth of the transmission. By filtering the transmitted pulses this way,
the intersymbol interference caused by the channel can be kept in control. In RF communication, pulse
shaping is essential for making the signal fit in its frequency band.
Typically pulse shaping occurs after line coding and modulation.
Examples of pulse shaping filters that are commonly found in communication systems are:
Sinc shaped filter
Raised-cosine filter
Gaussian filter
PROGRAM:
M = 16; % Modulation order
k = log2(M); % Number of bits per symbol
numBits = 3e5; % Number of bits to process
sps = 4; % Number of samples per symbol (oversampling
factor) filtlen = 10; % Filter length in symbols
rolloff = 0.25; % Filter rolloff factor
rrcFilter = rcosdesign(rolloff,filtlen,sps);
fvtool(rrcFilter,'Analysis','Impulse')
rng default; % Use default random number generator
dataIn = randi([0 1],numBits,1); % Generate vector of binary data
dataInMatrix = reshape(dataIn,length(dataIn)/k,k); % Reshape data into binary 4-tuples
dataSymbolsIn = bi2de(dataInMatrix); % Convert to integers
dataMod = qammod(dataSymbolsIn,M);
txFiltSignal = upfirdn(dataMod,rrcFilter,sps,1);
EbNo = 10;
snr = EbNo + 10*log10(k) - 10*log10(sps);
rxSignal = awgn(txFiltSignal,snr,'measured');
rxFiltSignal = upfirdn(rxSignal,rrcFilter,1,sps); % Downsample and filter
rxFiltSignal = rxFiltSignal(filtlen + 1:end - filtlen); % Account for delay
dataSymbolsOut = qamdemod(rxFiltSignal,M);
dataOutMatrix = de2bi(dataSymbolsOut,k);
dataOut = dataOutMatrix(:); % Return data in column vector
[numErrors,ber] = biterr(dataIn,dataOut);
fprintf('\nFor an EbNo setting of %3.1f dB, the bit error rate is %5.2e, based on %d errors.\n', ...
EbNo,ber,numErrors)
eyediagram(txFiltSignal(1:2000),sps*2);
eyediagram(rxSignal(1:2000),sps*2);
eyediagram(rxFiltSignal(1:2000),2);
scatplot = scatterplot(sqrt(sps)*...
rxSignal(1:sps*5e3),...
sps,0,'g.');
hold on;
scatterplot(rxFiltSignal(1:5e3),1,0,'kx',scatplot);
title('Received Signal, Before and After Filtering');
legend('Before Filtering','After Filtering');
axis([-5 5 -5 5]); % Set axis
ranges hold off;
Matched Filter:
A matched filter is obtained by correlating a known delayed signal, or template, with an
unknown signal to detect the presence of the template in the unknown signal. This is equivalent
to convolving the unknown signal with a conjugated time-reversed version of the template. The
matched filter is the optimal linear filter for maximizing the signal-to-noise ratio (SNR) in the presence
of additive stochastic noise.
Matched filters are commonly used in radar, in which a known signal is sent out, and the
reflected signal is examined for common elements of the out-going signal. Pulse compression is an
example of matched filtering. It is so called because impulse response is matched to input pulse signals.
Two-dimensional matched filters are commonly used in image processing, e.g., to improve SNR for X-
ray. Matched filtering is a demodulation technique with LTI (linear time invariant) filters to maximize
SNR. It was originally also known as a North filter.
Software Defined Radio:
Software-defined radio (SDR) is a radio communication system where components that have
been traditionally implemented in hardware
(e.g. mixers, filters, amplifiers, modulators/demodulators, detectors, etc.) are instead implemented by
means of software on a personal computer or embedded system. While the concept of SDR is not new,
the rapidly evolving capabilities of digital electronics render practical many processes which were once
only theoretically possible.
A basic SDR system may consist of a personal computer equipped with a sound card, or
other analog-to-digital converter, preceded by some form of RF front end. Significant amounts of signal
processing are handed over to the general-purpose processor, rather than being done in special-purpose
hardware (electronic circuits). Such a design produces a radio which can receive and transmit widely
different radio protocols (sometimes referred to as waveforms) based solely on the software used.
Software radios have significant utility for the military and cell phone services, both of which must
serve a wide variety of changing radio protocols in real time.
In the long term, software-defined radios are expected by proponents like the SDR Forum (now
The Wireless Innovation Forum) to become the dominant technology in radio communications. SDRs,
along with software defined antennas are the enablers of the cognitive radio.
A software-defined radio can be flexible enough to avoid the "limited spectrum" assumptions of
designers of previous kinds of radios, in one or more ways including.
Spread spectrum and ultrawideband techniques allow several transmitters to transmit in the
same place on the same frequency with very little interference, typically combined with one or
more error detection and correction techniques to fix all the errors caused by that interference.
Software defined antennas adaptively "lock onto" a directional signal, so that receivers can
better reject interference from other directions, allowing it to detect fainter transmissions.
Cognitive radio techniques: each radio measures the spectrum in use and communicates that
information to other cooperating radios, so that transmitters can avoid mutual interference by
selecting unused frequencies. Alternatively, each radio connects to a geolocation database to
obtain information about the spectrum occupancy in its location and, flexibly, adjusts its
operating frequency and/or transmit power not to cause interference to other wireless services.
Dynamic transmitter power adjustment, based on information communicated from the receivers,
lowering transmit power to the minimum necessary, reducing the near-far problem and reducing
interference to others, and extending battery life in portable equipment.
Wireless mesh network where every added radio increases total capacity and reduces the power
required at any one node. Each node transmits using only enough power needed for the message
to hop to the nearest node in that direction, reducing the near-far problem and reducing
interference to others.
Result:
Thus the impact of Pulse Shaping and Matched Filtering was analyzed using Software Defined
Radios and its outputs were verified.
Block Diagram:
AIM:
Result:
Thus the OFDM signal transmission and reception was done using SDR.
MICROWAVE
EXPERIMENTS
EX.NO.1 VSWR AND IMPEDANCE MEASUREMENT AND IMPEDANCE MATCHING
AIM:
To determine the VSWR, Impedance Measurement and Impedance Matching.
COMPONENTS REQUIRED:
i. Gunn Power Supply
ii. Gunn Oscillator
iii. PIN Modulator
iv. Isolator
v. Variable Attenuator
vi. Frequency Meter
vii. Slide Screw Tuner
viii. Tunable Detector Mount
ix. VSWR Meter, CRO
x. Bayonet Neill Concelman(BNC) Connector
xi. Threaded Neill Concelman(TNC) Connector
xii. Cooling Fan
xiii. Waveguide Stand, Screw & Net
Pre Lab Questions:
1. What are all the microwave frequencies?
2. Define VSWR.
3. What is the function of frequency meter?
4. Is the microwave frequency is harmful to human beings?
5. Is the characteristic impedance of the sampler line section important?
THEORY:
The electromagnetic field at any point of transmission line, may be considered as the sum of
two traveling waves the ‘Incident Wave, which Propagates from the source to the load and the reflected
wave which propagates towards the generator. The reflected wave is set up by reflection of incident
wave from a discontinuity in the line or from the load impedance. The superposition of the two
traveling waves, gives rise to a standing wave along the line. The maximum field strength is found
where the waves are in phase and minimum where the two waves add in opposite phase. The distance
OBSERVATION:
Frequency of Oscillation = GHz.
RESULT:
Thus the VSWR, Impedance Measurement and Impedance Matching were determined.
DIRECTIONAL COUPLER:
AIM:
OBSERVATION:
Frequency of Oscillation = GHz.
X = dB (Without Directional Coupler)
Z = dB (I/p at port 1, o/p at port 2, Terminate at port 3)
Y = dB (I/p at port 1, o/p at port 3, Terminate at port 2)
Yd = dB (I/p at port 2, o/p at port 3, Terminate at port 1)
Coupling Factor, C = X–Y = dB
Insertion loss, = X–Z = dB
Isolation I = X–Yd = dB
Directivity D = Y–Yd = dB
Post Lab Questions:
1. What is the primary purpose of a directional coupler?
2. How far apart are the two holes in a simple directional coupler?
3. What is the purpose of the absorbent material in a directional coupler?
4. In a directional coupler that is designed to sample the incident energy, what happens to the two
portions of the wavefront when they arrive at the pickup probe?
5. What happens to reflected energy that enters a directional coupler that is designed to sample
incident energy?
RESULT:
Thus the Directional coupler was characterized and the following measurement was done.
Coupling Factor, C= dB
Insertion loss, = dB
Isolation I = dB
Directivity D= dB
BLOCK DIAGRAM:
S11 S12
S
S 21 S22
B. Isolation:
Isolation is the ratio of power applied to the output to that measured at the input. This ratio is
expressed in dB. The isolation of a circulator is measured with the third port terminated in a
matched load.
C. Input VSWR:
The input VSWR of an isolator or circulator is the ratio of voltage maximum to voltage
minimum of the standing wave existing is the line with all parts except the test port are matched
PROCEDURE:
1. Set the components as shown in the block diagram,
2. Keep the control knob of microwave power supply as mentioned in the basic setup.
3. Switch on the power supply and energize the microwave source. Get the maximum output in
CRO without connecting the Isolator. Measure the voltage using CRO.
4. Tune the frequency meter knob to get a dip in CRO and note down the frequency of
oscillation directly. Detune the frequency meter.
5. Connect the Isolator in forward direction i.e. port 1 at input side(Frequency meter) and port
2 at output side (Tunable Detector) measure the input and output voltage using CRO.
6. Now connect the isolator in reverse direction i.e. Port 1 at output side and port 2 at input
side and measure the output voltage using CRO.
RESULT:
Thus the S-parameters of isolators were measured.
S12=
S13=
S21=
S23=
S31=
S32=
The S matrix of
circulator
S12 S13
S 11
S 23
S S 21 S 22
S 31 S 32 S33
PROCEDURE:
1. Set the components as shown in the block diagram,
2. Keep the control knob of microwave power supply as mentioned in the basic setup.
3. Switch on the power supply and energize the microwave source. Get the maximum output in
CRO without connecting the circulator. Measure the voltage using CRO.
4. Tune the frequency meter knob to get a dip in CRO and note down the frequency of
oscillation directly. Detune the frequency meter.
5. Connect the port 1 of circulator at input side (Frequency meter) and port 2 at output side
(Tunable Detector) and port 3 is at matched termination. Measure the output voltage using
CRO.
6. Similarly measure the output voltage by interchanging the ports.
RESULT:
Thus the S-parameters of circulator were found and its values are noted.
EX.NO: 3 GUNN DIODE CHARACTERISTICS
AIM :
To determine the characteristics of Gunn Diode.
COMPONENTS REQUIRED:
i. Gunn power Supply
ii. Gunn oscillator
iii. PIN modulator
iv. Isolator
v. Frequency Meter
vi. Variable Attenuator
vii. Detector Mount
viii. CRO
ix. Bayonet Neill Concelman(BNC) Connector
x. Threaded Neill Concelman(TNC) Connector
xi. Cooling Fan
xii. Waveguide Stand, Screw & Net
Pre Lab Questions:
1. Define Gunn Effect.
2. What is the necessary condition for an IMPATT to produce oscillations?
3. List the differences between microwave transistor and TED devices.
4. What are the advantages and disadvantages of parametric amplifier?
5. What is meant by avalanche transit time device?
THEORY:
Gunn diodes are negative resistance device which are normally used as low power oscillator at
microwave frequencies in transmitter and as local oscillator in receiver front end. J.B. Gunn in 1963
discovered microwave oscillation. At low electric field in the material most of the electron will be
located in the lower central valley. At high electric field most of the electron will be transferred in to
the higher frequency satellite L and X valleys.
MODEL GRAPH:
OBSERVATION:
RESULT:
Thus the characteristics of Gunn Diode was determined.
THEORY:
To improve the overall radiation characteristic of the reflector antenna, the parabolic structure is
frequently used. Basically a parabola is a locus of a point which moves in such a way that the distance
if the point from fixed point called focus plus the distance from the straight line called directrix is
constant. When the beam of parallel rays is incident on a Parabolic reflector, then the radiations focus at
a focal point. This principle is used in the receiving antenna.
MODEL GRAPH: (Polar port)
INITIAL SETUP IN VSWR METER:
1. Set input selector switch in 200 Ohms.
2. Keep meter selector in Normal.
3. Select the range as 50db or 40db or 30db and then vary the gain knob (fine and coarse) to
get minimum attenuation. (VSWR = 1).
INITIAL ADJUSTMENTS IN KLYSTRON POWER SUPPLY:
1. Keep the variable attenuator in the minimum attenuation position.
2. Keep the control knob of klystron power supply as below, before switching ON the device.
Beam voltage = OFF
Mod-switch = AM
Beam voltage knob = Fully anticlockwise
Repeller voltage knob = Fully clockwise
AM freq. & Amp. Knob = Around mid position
FM freq. & Amp. Knob = minimum position
PROCEDURE:
1. Set the components as shown in Block diagram.
2. Keep the control Knobs of klystron Power supply as mentioned in the basic set up.
3. Replace the transmitting horn by detector mount or keep the transmitting and receiving
antenna at close position.
4. Switch ON the VSWR meter, CRO, cooling fan & Klystron power supply and set the beam
voltage at 250 volts.
5. Adjust the repeller Voltage (120V) to get maximum output in CRO.
6. Tune the frequency meter knob to get a ‘dip’ on CRO and note down the frequency of
oscillation directly. Detune the frequency meter.
7. Using the formula r = 2D2/λo, Calculate the distance between antennas and keeping the
axis of antennas in same line.
8. Then remove the CRO and connect the VSWR meter to Tunable Detector mount.
9. Obtain full scale deflection (0dB) on normal dB scale (0-10dB) and change the appropriate
range dB position to get the deflection on scale (do not touch the gain control knob)
10. Note the range dB position and deflection of VSWR meter.
OBSERVATION:
Operating Frequency = GHz.
Right Left
Angle θ Power Relative Power Angle θ Power Relative Power
(Degree) (dB) (dB) (Degree) (dB) (dB)
CALCULATION:
λo = C/f =
r = 2D2/λo = cm
FORMULA:
r ≥2D2/λo, λo = C/f ( for rectangular horn antenna)
Where
r– Distance between transmitter and receiver horn antenna.
D– Size of the broad wall of horn antenna.(10.1 cm)
λo– Free space wavelength. C = 3×108 m/s. (Velocity of
light) f – Frequency of oscillation in GHz.
11. Tune the receiving parabolic reflector to the left in 100 steps up to 400 and note down the
corresponding VSWR dB reading in the normal dB range. (When necessary, change the
range switch to next higher range and add 10dB to observed value.)
12. Repeat the above step but this time turn the receiving parabolic reflector to the right and
note down the readings.
Plot a relative power pattern i.e. Output vs. angle.
13. From the diagram determine 3dB–width (beam width) of the Parabolic Reflector.
RESULT:
Thus the radiation pattern of the parabolic reflector antenna was measured.
HPBW=