EC8761-Advanced Communication Record
EC8761-Advanced Communication Record
EC8761-Advanced Communication Record
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
THEORY:
Numerical aperture refers to the maximum angle at which the light incident on the fiber end is
totally internally reflected and is transmitted properly along the fiber. The cone formed by the rotation
of this angle along the axis of the fiber is the cone of acceptance of the fiber. The light ray should strike
the fiber end within its cone of acceptance, else it is refracted out of the fiber core.
Consideration in Measurement:
1. It is very important that the optical source should be properly aligned with the cable and the
distance from the launched point and the cable be properly selected to ensure that the maximum
amount of optical power is transferred to the cable.
2. This experiment is best performed in a less illuminated room.
Observation:
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 =
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:
To observe the mode characteristics of fiber.
APPARATUS REQUIRED:
S.No. Name of the Equipments Specification Quantity
1 Laser source (633nm-1mW) 2mW 1
2 Source to Fiber Coupler 1
3 Single Mode Fiber SMF 9/125µm 1 meter
4 Fiber Holding Stand 1
5 Opaque Screen 1
6 Multimode Fiber 62.5/125µm 1meter
THEORY:
The central spot carries 95% of the intensity for laser beams with Gaussian profile. I=I0e-z(r/w) 2
Where e=2.718 beam of natural algorithm accepted definition of a radius of a Gaussian beam is the
distance at which beam intensity has dropped to /e2=0.135 times its peak value I0. This radius called
spot size. The spot diameter is W. Spot diameter (d) micron=focal length of the Lanes (f) mm X Laser
Beam full divergence angle (DA) mrad.
In order to achieve maximum coupling efficiency, the fiber core diameter has to be bigger than
the spot diameter.
If NArays ≤ NAfiber and spot diameter (w) ≤ fiber core diameter (d), then all of the laser light will
be coupled into the fiber. 90% coupling efficiency into the single mode fiber from the Ne-Ne lasers is
achievable. For beginners, coupling efficiency of 50% is considered to be a good result.
OBSERVATION:
Single mode Fiber:
RESULT:
Thus the mode characteristics of fiber was observed.
Block Diagram:
AIM:
To obtain the characteristics of fiber optic LED and plot the graph of forward current Vs output
optical energy, also study the photo detector response.
APPARATUS REQUIRED:
S.No. Name of the Equipments Range Quantity
1 Link – B Fiber Optic - 1
Communication Trainer Kit
2 Power Supply - 1
3 Fiber Optic Cable (Plastic) - 1 meter
4 Voltmeter (0-5)V, (0-10)V Each 1
5 Ammeter (0-50)mA 1
6 Connecting Wires, Patch Chords - Required
THEORY:
In Optical Fiber communication system, Electrical signal is first converted into optical signal
with the help of E/O conversion device as LED. After this optical signal is transmitted through Optical
fiber, it is retrieved in its orginial electrical form with the help O/E conversion device as photo detector.
Different technologies employed in chip fabrication lead to significant variation in parameters for the
various emitter diodes. All the emitters distinguish themselves in offering high output power coupled
into the important peak wavelength of emission, conversion efficiency usually specified in terms of
power launched in optical fiber peak wavelength of emission, optical raise and fall times which put the
limitation on operating frequency, maximum forward current through LED and typical forward voltage
across LED.
Model Graph:
I Vs V Characteristics of SFH 756 V
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
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.
EX.NO: 4 (b) EYE DIAGRAM
AIM:
To analyse the eye diagram using fiber optic link.
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
THEORY:
The eye-pattern technique is a simple but powerful measurement method for assessing the data-
handling ability of a digital transmission system. This method has been used extensively for evaluating
the performance of wire systems and can also be applied to optical fiber data links. The eye-pattern
measurements are made in the time domain and allow the effects of waveform distortion to be shown
immediately on an oscilloscope.
To measure system performance with the eye-pattern method, a variety of word patterns should
be provided. A convenient approach is to generate a random data signal, because this is the
characteristic of data streams found in practice. This type of signal generates ones and zeros at a
uniform rate but in a random manner. A variety of pseudorandom pattern generators are available for
this purpose. A pseudorandom bit sequence comprises four different 2-bit-long combinations, eight
different 3-bit-long combinations, sixteen different 4-bit-long combinations, and so on (that is,
MODEL GRAPH:
Eye Pattern
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
RESULT :
Thus the Eye Pattern was analyzed using Fiber optic Link.
EX.NO.4 (c) BIT ERROR RATE
AIM:
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
THEORY:
BIT ERROR RATE:
In telecommunication transmission, the bit error rate (BER) is a Ratio of bits that have errors
relative to the total number of bits received in a transmission. The BER is an indication of how often a
packet of other data unit has to be retransmitted because of an error. Too high a BER may indicate that
a slower data rate would actually improve overall transmission time for a given amount of transmitted
data since the BER might be reduced, lowering the number of packets that had to be resent.
Measuring Bit Error Rate:
A BERT (bit error rate tester) is a procedure or device that measures the BER for a given
transmission. The BER, or quality of the digital link, is calculated from the number of bits received in
error divided by the number of bits transmitted.
BER = (Bits in error) / (Total bits transmitted)
Observation:
Tb = 320Kbits
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.
RESULT:
Thus the Bit error rate was measured for a fiber.
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
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:
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
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;
Result:
Thus the Simulation of Channel Estimation, Synchronization & Equalization techniques was
done using MATLAB and the output was verified.
Block Diagram:
EX:NO: 3 ANALYSING IMPACT OF PULSE SHAPING AND MATCHED FILTERING
USING SOFTWARE DEFINED RADIOS
AIM:
To analyse the impact of pulse shaping and matched filtering by using SDR.
COMPONENTS REQUIRED:
Personal computer
MATLAB software
SDR hardware
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:
EX.NO: 4 OFDM SIGNAL TRANSMISSION AND RECEPTION USING SDR
AIM:
To transmit and receive the OFDM signal using SDR.
COMPONENTS REQUIRED
Personal computer
MATLAB software
SDR
THEORY:
Implementation of OFDM in actual hardware using Software Defined Radio (SDR) concepts
and verification of its performance with different channel estimation methods in various propagation
environments have been almost unexplored. The great flexibility feature of SDR systems facilitates the
implementation and experimentation of OFDM systems with less cost and effort, compared to the
implementation of the whole system in hardware. In this paper, a customized SDR testbed has been
developed based on the GNU radio software platform and version-2 Universal Software Radio
Peripheral (USRP2) devices to evaluate the practical error performance of OFDM-based systems in
both Gaussian and Rician propagation environments. Three different channel interpolation techniques,
namely linear interpolation, second-ordered interpolation and cubic spline interpolation, and a blind
SNR estimation algorithm have been implemented in our testbed. The performances show that, as
opposed to our intuition, linear channel interpolation in some cases might not only be simpler, but also
more accurate than the two other non-linear interpolation techniques, implying that channels might
change linearly between neighboring subcarriers. The experimental OFDM system on the developed
SDR testbed performs very close to the simulated OFDM system, thus the developed testbed can be
used to verify advanced signal processing techniques in OFDM systems in various realistic channels by
simply developing software, without the need for otherwise complicated hardware developments.
PROGRAM
%========================================================================
==
% The mfile investigates the generation, transmission and reception of
% the OFDM signal without channel noise or HPA effect
%========================================================================
==
clear all
clc
close
%
% A: Setting Parameters
%
M = 4; % QPSK signal constellation
no_of_data_points = 64; % have 64 data points
block_size = 8; % size of each ofdm block
cp_len = ceil(0.1*block_size); % length of cyclic
prefix
no_of_ifft_points = block_size; % 8 points for the
FFT/IFFT no_of_fft_points = block_size;
%
% B: % +++++ TRANSMITTER +++++
%
% 1. Generate 1 x 64 vector of data points phase representations
data_source = randsrc(1, no_of_data_points, 0:M-1);
figure(1)
stem(data_source); grid on; xlabel('data points'); ylabel('transmitted data phase representation')
title('Transmitted Data "O"')
% 2. Perform QPSK modulation
qpsk_modulated_data = pskmod(data_source, M);
scatterplot(qpsk_modulated_data);title('qpsk modulated transmitted data')
% 3. Do IFFT on each block
% Make the serial stream a matrix where each column represents a pre-OFDM
% block (w/o cyclic prefixing)
% First: Find out the number of colums that will exist after reshaping
num_cols=length(qpsk_modulated_data)/block_size;
data_matrix = reshape(qpsk_modulated_data, block_size, num_cols);
% Second: Create empty matix to put the IFFT'd data
cp_start = block_size-cp_len;
cp_end = block_size;
% Third: Operate columnwise & do CP
for i=1:num_cols,
ifft_data_matrix(:,i) = ifft((data_matrix(:,i)),no_of_ifft_points);
% Compute and append Cyclic Prefix
for j=1:cp_len,
actual_cp(j,i) = ifft_data_matrix(j+cp_start,i);
end
% Append the CP to the existing block to create the actual OFDM block
ifft_data(:,i) = vertcat(actual_cp(:,i),ifft_data_matrix(:,i));
end
% 4. Convert to serial stream for transmission
[rows_ifft_data cols_ifft_data]=size(ifft_data);
len_ofdm_data = rows_ifft_data*cols_ifft_data;
% Actual OFDM signal to be transmitted
ofdm_signal = reshape(ifft_data, 1, len_ofdm_data);
figure(3)
plot(real(ofdm_signal)); xlabel('Time'); ylabel('Amplitude');
title('OFDM Signal');grid on;
%
% E: % +++++ RECEIVER +++++
%
% 1. Pass the ofdm signal through the channel
recvd_signal = ofdm_signal;
% 4. Convert Data back to "parallel" form to perform FFT
recvd_signal_matrix = reshape(recvd_signal,rows_ifft_data, cols_ifft_data);
% 5. Remove CP
recvd_signal_matrix(1:cp_len,:)=[];
% 6. Perform FFT
for i=1:cols_ifft_data,
% FFT
fft_data_matrix(:,i) = fft(recvd_signal_matrix(:,i),no_of_fft_points);
end
% 7. Convert to serial stream
recvd_serial_data = reshape(fft_data_matrix, 1,(block_size*num_cols));
% 8. Demodulate the data
qpsk_demodulated_data = pskdemod(recvd_serial_data,M);
scatterplot(qpsk_modulated_data);title('qpsk modulated received data')
figure(5)
stem(qpsk_demodulated_data,'rx');
grid on;xlabel('data points');ylabel('received data phase representation');title('Received Data "X"')
Result:
Thus the OFDM signal transmission and reception was done using SDR.
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
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.
AIM:
To characterise the directional coupler.
COMPONENTS REQUIRED:
i. Gunn Power Supply
ii. Gunn Oscillator
iii. PIN Modulator
iv. Isolator
v. Variable Attenuator
vi. Frequency Meter
vii. Multihole Directional Coupler
viii. Tunable Detector Mount
ix. Matched Termination
x. VSWR Meter, CRO
xi. Bayonet Neill Concelman(BNC) Connector
xii. Threaded Neill Concelman(TNC) Connector
xiii. Cooling Fan
xiv. Waveguide Stand, Screw & Net
THEORY:
A directional coupler is a device with which it is possible to measure the incident and reflected
wave separately. It consist of two transmission lines the main arm and auxiliary arm,
electromagnetically coupled to each
other. The power entering, in the main-arm gets divided between port 2 and 3, and almost no power
comes out in port (4) Power entering at port (2) is divided between port (1) and (4)
The coupling factor is defined as
Coupling (dB) = 10 log 10 [P1/P3] where port 2 is terminated.
Isolation (dB) = 10 log 10 [P2/P3] where P1 is matched.
With built-in termination and power entering at Port 1, the directivity of the coupler is a
measure of separation between incident wave and the reflected wave. Directivity is measured indirectly
as follows:
Hence Directivity D (dB) = Isolation – Coupling
= 10 log 10 [P2/P1]
Insertion loss = 10 log 10 [P1/P2]
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
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:
EX.NO. 2 (b) ISOLATORS
AIM:
To measure the S–parameter of isolators.
COMPONENTS REQUIRED:
1. Microwave source (Gunn, Klystron)
2. Isolator
3. Frequency Meter
4. Variable Attenuator
5. Detector Mount
6. CRO / VSWR
7. Bayonet Neill Concelman(BNC) Connector
8. Cooling Fan
9. Waveguide Stand, Screw & Net
THEORY:
ISOLATOR:
An isolator is a two-port device that transfers energy from input to output with little attenuation
and from output to input with very high attenuation
The isolator can be derived form a three-port circulator by simply placing a matched load
(reflection less termination) on one port.
The important isolator parameters are:
A. Insertion loss:
Insertion loss is the ratio of power detected at the output port to the power supplied by source to
the input port, measured with other ports terminated in the matched load. It is expressed in dB.
READINGS:
S11 S12
S
S21 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.
Block Diagram:
EX.NO.4 (c) CIRCULATOR
AIM :
To find the S-parameters of Circulator.
COMPONENT REQUIRED:
i. Microwave Source (RKO/GO)
ii. Isolator
iii. Variable Attenuator
iv. Frequency meter
v. detector mount
vi. VSWR meter
vii. Circulator and
viii. Matched Terminations-2.
THEORY:
The circulator is a multi port junction that permits transmission in certain ways. The wave
incident at nth port can be coupled to (n+1)th port only.
READINGS:
S12=
S13=
S21=
S23=
S31=
S32=
S 31 S32 S 33
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
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.
PROCEDURE
1. Set up the components and equipment as shown in figure.
2. Set the variable attenuator at minimum attenuation position.
3. Keep the control knobs of VSWR Meter as
below: Range - 50dB
Input Switch - Crystal low Impedance
Meter Switch - Normal Position
Gain Coarse Fine) - Mid Position
OBSERVATIONS
Beam Voltage =
Repeller Voltage =
Frequency reading from frequency meter =
First voltage minima position (d1) =
Second voltage minima position (d2) =
CALCULATIONS
λg = 2(d1-d2)
λc = 2a where a= 22.86mm for X band
1 1 1
= +
λ0 2
λc 2
λg2
λ0=
f=c/ λ0
4. Keep the control knobs Klystron Power Supply as
below Beam Voltage - OFF
Mod-Switch - AM
Beam Voltage Knob - Fully Anticlockwise
Reflector Voltage - Fully Clockwise
AM Amplitude Knob- Around Fully Clockwise
AM Frequency Knob- Around Mid Position
5. Switch ON the Klystron Power Supply, VSWR meter and Cooling fan.
6. Switch ON the beam voltage switch and set beam voltage at 300V with the 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 in VSWR meter.
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 frequency meter.
13. Replace the termination with movable short, and detune the frequency meter.
14. Move the probe along the slotted line. The deflection in VSWR meter will vary.
Move the probe to a 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 guide waveguide inner broad dimension ‘a’ which will be around 22.86mm for
X-Band.
18. Calculate the frequency by following equation.
f=c/λ where c=3*108 meter/sec.
19. Verify with frequency obtained by frequency meter.
20. Above experiment can be verified at different frequencies.
RESULT
Thus, the indirect frequency and guide wavelength are calculated.
EX.NO:3
DATE:
ATTENUATION MEASUREMENT
AIM
To measure the attenuation induced by the given wave guide.
EQUIPMENTS REQUIRED
1. Microwave source (klystron power supply)
2. Klystron Mount
3. Isolator
4. Variable Attenuator
5. Frequency meter
6. DUT (Fixed Attenuator)
7. Power Detector
FORMULA
Attenuation = 20 log (V1 / V2) db
PROCEDURE
1. Arrange the bench setup as shown in figure 1 and measure the input
power entering into the wave guide (P1).
2. Reconnect the circuit as shown in the figure 2 and find the power (P2) at the
output of the given wave guide.
3. Using formula find the attenuation introduced by the wave guide.
RESULT
Thus, the attenuation induced by the given wave guide was found and verified.
EX.NO:4
DATE:
RESULT:
Thus, the radiation pattern of an antenna was drawn.