Comm Sys Lab Mannual
Comm Sys Lab Mannual
Manual Handout
Communication
Systems
Submitted to:
Sir Noman Aftab
Submitted by:
Awais Khalid
Registration Number: 2012-EE-418
LAB MANUAL
List of Experiment
EXPERIMENT # 1
Low Pass Filters
Objective:
To understand the basic principles of low pass filters and make Bode plot of low pass filters
A low-pass filter is a filter that passes low-frequency signals but attenuates (reduces
the amplitude of) signals with frequencies higher than the cutoff frequency. The actual amount of
attenuation for each frequency varies from filter to filter. It is sometimes called a high-cut filter,
or treble cut filter when used in audio applications. A low-pass filter is the opposite of a high-
pass filter, and a band-pass filter is a combination of a low-pass and a high-pass.
Low-pass filters exist in many different forms, including electronic circuits (such as a hiss
filter used in audio), digital filters for smoothing sets of data, acoustic barriers, blurring of
images, and so on. The moving average operation used in fields such as finance is a particular
kind of low-pass filter, and can be analyzed with the same signal processing techniques as are
used for other low-pass filters. Low-pass filters provide a smoother form of a signal, removing
the short-term fluctuations, and leaving the longer-term trend.
Acoustic
A stiff physical barrier tends to reflect higher sound frequencies, and so acts as a low-pass filter
for transmitting sound. When music is playing in another room, the low notes are easily heard,
while the high notes are attenuated.
Electronics
In an electronic low-pass RC filter for voltage signals, high frequencies contained in the
input signal are attenuated but the filter has little attenuation below its cutoff
frequency which is determined by its RC time constant.
For current signals, a similar circuit using a resistor and capacitor in parallel works in a
similar manner. See current divider discussed in more detail below.
Electronic low-pass filters are used to drive subwoofers and other types of loudspeakers,
to block high pitches that they can't efficiently broadcast.
Radio transmitters use low-pass filters to block harmonic emissions which might cause
interference with other communications.
The tone knob found on many electric guitars is a low-pass filter used to reduce the
amount of treble in the sound.
T: 500 µs/DIV
2. Bode Diagram:
In Bode' plots, commonly encountered frequency responses have a shape that is simple. That
simple shape means that laboratory measurements can easily be discerned to have the common
factors that lead to those shapes. For example, first order systems have two straight line
asymptotes and if you take data and plot a Bode' plot from the data, you can pick out first order
factors in a transfer function from the straight line asymptotes.
Determine the limit frequency f3dB of the circuit where the output voltage has fallen by 3dB
compared to the input voltage. What is the phase angle at f = f3dB?
|F| [dB]
180 10
150
120 5
90
60 0
30
0 -5
-30
-60 -10
-90
-120 -15
-150
-180 -20
1E1 1E2 1E3 1E4 1E5 1E6
f [Hz]
Bode diagram
2.4 Quantitative measurement of the limit frequency of the (Low pass Filter)
Typical result:
Hz
Result:
VPP ;
Increase the frequency until the output voltage reaches its maximum value as calculated above.
What is the value of frequency?
Result:
f3dB = kHz
Lab. Exercise:
Q.1: Can a low pass filter be used as an integrator. Draw circuit diagram?
Answer:
When a low pass filter is used with a sine wave input, the output is also a sine wave. The output
will be reduced in amplitude and phase shifted when the frequency is high, but it is still a sine
wave. This is not the case for square or triangular wave inputs. For non-sinusoidal inputs the
circuit is called an integrator.
Circuit Diagram:
Low pass filter reduces the amplitudes of all alternating components in the rectified waveform and
possesses the DC component.
The Efficiency of low pass filter can be improved by increasing its order.
The basic RC series circuit for a low pass filter is given as:
When I measured the voltage across the capacitor as output voltage while changing the input
frequencies, I was able to simulate a low-pass filter which only outputs the lower frequency
signals. So basic diagram of low pass filter and its response is given as:
A high-pass filter, or HPF, is an LTI filter that passes high frequencies well but attenuates (i.e.,
reduces the amplitude of) frequencies lower than the filter's cutoff frequency. The actual amount
of attenuation for each frequency is a design parameter of the filter. It is sometimes called a low-
cut filter or bass-cut filter
The simple first-order electronic high-pass filter shown in Figure 1 is implemented by placing an
input voltage across the series combination of a capacitor and a resistor and using the voltage
across the resistor as an output. The product of the resistance and capacitance (R×C) is the time
constant (τ); it is inversely proportional to the cutoff frequency fc, at which the output power is
half the input power. That is,
Rumble filters are high-pass filters applied to the removal of unwanted sounds near to the
lower end of the audible range or below. For example, noises (e.g. footsteps, motor
noises from record players and tape decks) may be removed because they are undesired
or may overload the RIAA equalization circuit of the preamp.
High-pass filters are also used for AC coupling at the inputs of many audio amplifiers, for
preventing the amplification of DC currents which may harm the amplifier, rob the
amplifier of headroom, and generate waste heat at the loudspeakers voice coil.
Image Processing
High-pass and low-pass filters are also used in digital image processing to perform image
modifications, enhancements, noise reduction, etc., using designs done in either
the spatial domain or the frequency domain.[6] The unsharp masking, or sharpening,
operation used in image editing software is a high-boost filter, a generalization of high-
pass.
T: 2 ms/DIV
T: 500 µs/DIV
T: 500 µs/DIV
T: 1 ms/DIV
2. Bode Diagram
In Bode' plots, commonly encountered frequency responses have a shape that is simple. That
simple shape means that laboratory measurements can easily be discerned to have the common
factors that lead to those shapes. For example, first order systems have two straight line
asymptotes and if you take data and plot a Bode' plot from the data, you can pick out first order
factors in a transfer function from the straight line asymptotes.
Determine the limit frequency f3dB of the circuit where the output voltage has fallen by 3dB
compared to the input voltage. What is the phase angle at f = f3dB?
|F| [dB]
180 10
150
120 5
90
60 0
30
0 -5
-30
-60 -10
-90
-120 -15
-150
-180 -20
1E1 1E2 1E3 1E4 1E5 1E6
f [Hz]
Bode diagram
Typical result:
Instructor: Noman Aftab Department of Electrical Engineering, UET
Faisalabad
Communication Systems laboratory (EE 321) Lab. Manual Handout
kHz
Result:
VPP ;
Set the frequency to 4kHz and decrease the frequency until the output voltage reaches the value
as calculated above. What is the value of frequency, now ?
Result:
f3dB = kHz
Lab. Exercise:
Q.1: Can a high pass filter be used as a differentiator. Draw circuit diagram?
Answer:
The High-pass RC circuit is also known as a differentiator. Because the output voltage is directly
proportional to the derivative of the input voltage. This can be seen from following diagram:
They can be used to form a band pass filter with the conjunction of Low pass filter
Also used for audio crossover ( transfer of audio signals)
It’s algorithmic implementation can be used for the determination of the output samples on the
basis of input samples
The high pass filters are also used in audio amplifiers to evade lower frequency signals.
Answer:
The product of the resistance and capacitance (R×C) is the time constant (τ); it is inversely proportional to
the cutoff frequency fc, at which the output power is half the input power. That is,
Hence delay time can be reduced by increasing the value of either capacitor or resistor or by reducing the
cut-off frequency.
When I measured the voltage across the capacitor as output voltage while changing the input
frequencies, this time the circuit acted as a high-pass filter which allowed signals with higher
frequencies to pass. This shows that we can actually use the same circuit as both a LPF and a
HPF and we just need to measure the output voltages across different circuit elements. We also
found that we could not get a filter that perfectly filtered all the frequencies we did not want. So
basic diagram of low pass filter and its response is given as:
EXPERIMENT # 3
Band Pass Filters
Objectives:
To study the basic principles of band pass filters and implementation of
(v) frequency response of band pass filter
(vi) Bandwidth, Centre frequency,
(vii) Critical frequency
(viii) Bode Diagram
A band pass filter is a filter that allows to pass a certain range of frequencies and attenuates the
frequencies above and below this range.
A band pass filter is basically a combination of high pass and low pass filter. The output of the
high pass filter is the input to the low pass filter and output is taken across low pass filter. In this
way band is formed. The frequencies below and above this band range are attenuated and only
those frequencies which are in the range of this band are allowed to pass .
Wireless transmission
Band pass filters are used primarily in wireless transmitters and receivers. The main function of
such a filter in a transmitter is to limit the bandwidth of the output signal to the minimum
necessary to convey data at the desired speed and in the desired form. In a receiver, a band pass
T: 2 ms/DIV
In Bode' plots, commonly encountered frequency responses have a shape that is simple. That
simple shape means that laboratory measurements can easily be discerned to have the common
factors that lead to those shapes. For example, first order systems have two straight line
asymptotes and if you take data and plot a Bode' plot from the data, you can pick out first order
factors in a transfer function from the straight line asymptotes.
Determine the centre (mid-) frequency, fm of the circuit and the bandwidth, Δf.
|F| [dB]
180 10
150
120 5
90
60 0
30
0 -5
-30
-60 -10
-90
-120 -15
-150
-180 -20
1E1 1E2 1E3 1E4 1E5 1E6
f [Hz]
3.1 Quantitative measurement of the Mid frequency of the (Band pass Filter)
What is the value of the frequency fm, and what is the amplitude of the output voltage U2
Lab. Exercise:
Q.1: Can a band pass filter be used as a frequency controller? Draw circuit diagram?
Answer:
A particular band, or spread, or frequencies can be filtered from a wider range of mixed signals. Filter
circuits can be designed to accomplish this task by combining the properties of low-pass and high-pass
into a single filter. The result is called a band-pass filter. Creating a bandpass filter from a low-pass and
high-pass filter can be illustrated using block diagrams:
What emerges from the series combination of these two filter circuits is a circuit that will only allow
passage of those frequencies that are neither too high nor too low. Using real components, here is what a
typical schematic might look like Figure below.
Band pass filters are used in all kinds of instrumentation, as well, in Sonar, even medical applications, for
example, electrocardiograms, EEGs and such. They are also widely used in optics, such as with lasers etc.
Answer:
Band width is actually a distance between maximum frequency and minimum frequency. By changing
time constant of both low pass filter and high pass filter we will either increased or decreased bandwidth
of band pass filters.
A band-stop filter or band-rejection filter is a filter that passes most frequencies unaltered,
butattenuates those in a specific range to very low levels. It is the opposite of a band-pass filter.
A notch filter is a band-stop filter with a narrow stopband (high Q factor).
Narrow notch filters (optical) are used in raman spectroscopy, live sound reproduction (Public
Address systems, also known as PA systems) and in instrument amplifier (especially amplifiers
or preamplifiers for acoustic instruments such as acoustic guitar, mandolin, bass instrument
amplifier, etc.) to reduce or prevent feedback, while having little noticeable effect on the rest of
the frequency spectrum (electronic or software filters). Other names include 'band limit filter', 'T-
notch filter', 'band-elimination filter', and 'band-reject filter'.
T: 2 ms/DIV
T: 500 µs/DIV
Determine the limit frequency f3dB of the circuit where the output voltage has fallen by 3dB
compared to the input voltage. What is the phase angle at f = f3dB?
|F| [dB]
180 10
150
120 5
90
60 0
30
0 -5
-30
-60 -10
-90
-120 -15
-150
-180 -20
1E1 1E2 1E3 1E4 1E5 1E6
f [Hz]
Bode diagram
Lab. Exercise:
Q.1: Band stop filter can be used to eliminate unwanted noises. How?
When designing a band stop filter like this, you can choose your center frequency by picking appropriate
values for your resistor, capacitor, and inductor. It's that easy. When designing a band stop filter for any
given application, you can determine where you want your cutoff frequencies, also called roll off, and
center frequency to be located.
Q.2: Why it is called as a notch filter. Support your answer with labeled figure?
Answer:
Band stop filter used as “Twin-T” configuration is called notch filter. “Twin-T” configuration is band
stop filter constructed using two capacitive filter sections.
Circuit Diagram:
Given these component ratios, the frequency of maximum rejection (the “notch frequency”) can be
calculated as follows:
Answer:
If we increased order of low pass filter and increased time constant of high pass filter we will improve
efficiency of band stop filters.
The Band Stop filter is also called band-elimination, band-reject, or notch filters, this kind of filter passes
all frequencies above and below a particular range set by the component values. It can be made out of a
low-pass and a high-pass filter, just like the band-pass design, except that this time we connect the two
filter sections in parallel with each other instead of in series.
(response)
Bandstop filter used as notch filter with “Twin-T” configuration. “Twin-T” configuration is bandstop
filter Constructed using two capacitive filter sections.
Circuit Diagram:
Given these component ratios, the frequency of maximum rejection (the “notch frequency”) can be
calculated as follows:
(Response)
EXPERIMENT # 5
Amplitude Modulation Analysis
Objectives:
To study Amplitude modulation, implementation and applications of
(i) Response of output frequency at various input frequencies
(ii) Response of AF generator
(iii) Reversing the connections
(iv) Amplitude demodulation
(v) Half wave rectifier
The term amplitude modulation is used to define a form of signal modulation where the
amplitude of a high frequency carrier signal is varied by a low frequency modulating signal. A
basic circuit by a transistor is shown in the picture below.
When the amplitude for the carrier oscillation is varied, then this is known as amplitude
modulation.
The more important terms used in AM will be outlined in short explanations and practical
exercises.
In the usual form of AM, which in practice is used, for instance, in long, medium and short wave
transmissions, the amplitude of the carrier is greater than that of the useful signal. Also, only
50% of the useful signal is in the two sidebands (see previous formula). This means that the main
part of the transmitter power is in the carrier. To achieve a higher power component of the useful
signal in the transmitted signal, use is made of the fact that the carrier is not really needed for the
This form of amplitude modulation is referred to as double sideband modulation (DSB). This
form of modulation is used, for instance, in the transmission of stereo information in VHF
broadcasting.
Because of the fact that the actual useful information is transmitted twice, i.e. in the upper
sideband and lower sideband, there is consequently another form of amplitude modulation,
namely Single Sideband modulation (SSB). Here, only one of the two sidebands is transmitted
and the frequency band can be used to an optimum. SSB is used in carrier frequency techniques
in multi-channel systems in the telecommunications or in commercial short-wave transmissions.
Retain the settings that were used in the last part of the previous exercise. Slowly reduce the
amplitude of the AF signal and then slowly increase it again.
Set the AF signal back to its initial value. Adjust the oscilloscope for the X-Y mode of display.
Connect test channel B to the signal at the output of the modulator and test channel A to the AF
signal
Lab. Exercise:
Q.1: What are main effective variables in AM?
Answer:
Modulation index.
Carrier Frequency.
Modulating Frequency.
The two frequencies are combined in a non-linear signal processing device such as vacuum tube,
transistor or diode usually called a mixer in the most application, two signal at frequencies f1 and
Answer:
Yes, we can categories a modulation frequency as Pitch of voice. Modulating your voice means moving
the pitch up and down. By moving your pitch up and down to adjust your voice can help to raise your
voice. It adds variety, and then affects your sentence.
This form of amplitude modulation is referred to as double sideband modulation (DSB). This
form of modulation is used, for instance, in the transmission of stereo information in VHF
broadcasting.
Because of the fact that the actual useful information is transmitted twice, i.e. in the upper
sideband and lower sideband, there is consequently another form of amplitude modulation,
namely Single Sideband modulation (SSB). Here, only one of the two sidebands is transmitted
and the frequency band can be used to an optimum. SSB is used in carrier frequency techniques
in multi-channel systems in the telecommunications or in commercial short-wave transmissions.
Objectives:
To study:
(i) SSB Modulation
(ii) SSB Demodulation
The two methods of SSB generation are (i) frequency discrimination method and (ii) the phase discrimination
method. The frequency discrimination method of SSB generation given in figure 1, is based on suppressing one of
the sidebands from the double-side-band suppressed carrier (DSB-SC) modulated waveform. For a perfect SSB to
be generated using this method, the band pass filter (BPF), should have sharp cut-off, which is a difficult constraint
for practical implementation, especially when the message signal has significant components near the ‘zero’
frequency.
1) f =5kHz Vpp=7.5V
In AM modulation, transmission of carrier consumes lot of power. Since, only the side bands contain the
information about the message, carrier is suppressed. This results in a DSB-SC wave. A DSB-SC wave
s(t) is given by:
Modulation in DSB-SC:
If, the demodulator has constant phase, the original signal is reconstructed by passing v(t) through an
LPF.
EXPERIMENT # 6
Frequency Modulation Analysis
Objectives:
To study frequency modulation, implementations and applications of
(i) modulation process
(ii) Output response at changing input voltage wave shapes
(iii) Frequency deviation and phase deviation
(iv) Frequency demodulation
The information-bearing signal (the modulating signal) changes the instantaneous frequency of
the carrier. Since the amplitude is kept constant, FM modulation is a low-noise process and
provides a high quality modulation technique which is used for music and speech in hi-fidelity
broadcasts.
In addition to hi-fidelity radio transmission, FM techniques are used for other important
consumer applications such as audio synthesis and recording the luminance portion of a video
signal with less distortion. There are several devices that are capable of generating FM signals,
such as a VCO or a reactance modulator.
1.3 FM Performance:
Bandwidth
FM radio has a significantly larger bandwidth than AM radio, but the FM radio band is also
larger. The combination keeps the number of available channels about the same.
Efficiency of FM
The efficiency of a signal is the power in the side-bands as a fraction of the total. In FM signals,
because of the considerable side-bands produced, the efficiency is generally high. Recall that
conventional AM is limited to about 33 % efficiency to prevent distortion in the receiver when
the modulation index was greater than 1. FM has no analogous problem.
The side-band structure is fairly complicated, but it is safe to say that the efficiency is generally
improved by making the modulation index larger (as it should be). But if you make the
modulation index larger, so make the bandwidth larger (unlike AM) which has its disadvantages.
As is typical in engineering, a compromise between efficiency and performance is struck. The
modulation index is normally limited to a value between 1 and 5, depending on the application.
Noise
FM systems are far better at rejecting noise than AM systems. Noise generally is spread
uniformly across the spectrum (the so-called white noise, meaning wide spectrum). The
amplitude of the noise varies randomly at these frequencies. The change in amplitude can
actually modulate the signal and be picked up in the AM system. As a result, AM systems are
very sensitive to random noise. An example might be ignition system noise in your car. Special
filters need to be installed to keep the interference out of your car radio.
FM systems are inherently immune to random noise. In order for the noise to interfere, it would
have to modulate the frequency somehow. But the noise is distributed uniformly in frequency
and varies mostly in amplitude. As a result, there is virtually no interference picked up in the FM
receiver. FM is sometimes called "static free" referring to its superior immunity to random noise.
So it is concluded that
In FM signals, the efficiency and bandwidth both depend on both the maximum
modulating frequency and the modulation index.
Compared to AM, the FM signal has a higher efficiency, a larger bandwidth and better
immunity to noise.
1.4 Applications of FM :
Broadcasting
FM is also used at intermediate frequencies by all analog VCR systems, including VHS, to
record both the luminance (black and white) and the chrominance portions of the video signal.
FM is the only feasible method of recording video to and retrieving video from Magnetic tape
without extreme distortion, as video signals have a very large range of frequency components.
Sound
Observations(Draw Yourself)
Use one channel of the oscilloscope to measure the signal at the output of the modulator and the
second to measure the AF signal.
Lab. Exercise 1:
Q.1: How does the signal at the output of the modulator behave, if there is no signal at the input
and if an AF signal is applied at the input of the modulator?
Answer:
At output there will be only the audio signal. With AF signal applied, the output will be modulated signal.
Q.2: The value of the frequency changes every moment. Therefore it is referred to as the so-called?
Answer:
The modulating frequency.
Q.3: With the above-mentioned frequency variations a constant change takes place between
higher frequencies (frequent polarity changes) and lower frequencies (less frequent polarity
changes). Therefore, these conditions are referred to as
f c + f m - f
f c + f m + f
Q.4: The change between these rarefaction and compression regions follows the rhythm of
____modulating frequency.
Now change the signal shape of the AF generator from sinusoidal to rectangular.
On the basis of the output signal, explain the term "frequency deviation" and determine
this for the case in hand:
Answer:
Frequency deviation is used in FM radio to describe the max. Instantaneous difference between
an FM modulated frequency and nominal carrier frequency.
Result:
Answer:
Because in rectangular input change in polarity is fast from high polarity to low that is why it is
suitable than sine wave or any other.
Change the amplitude of the AF signal by reducing it slowly. How does the signal change
at the output of the modulator? If the amplitude of the modulating signal is reduced?
Answer:
Now change the frequency of the AF signal by slowly increasing it. How does the signal
change at the output of the modulator? When the frequency of the AF signal is increased?
Answer:
When frequency of AF generator is changing slowly, the output at modulator is also
going to change.
In practice, the amplitude of the modulating signal is identical with the volume, and the
modulation frequency is a measure of the pitch of a voice or music signal.
Observations:
Use the oscilloscope to observe the signal at the output of the demodulator (NF demod).
Lab exercise 2:
Q.1: If modulation index of a signal is increased, how does bandwidth behave?
Answer:
As we know that β=Δf/B. in case of FM tone modulation β is modulation index and its inversely
proportional to bandwidth.
Q.2: While using Frequency modulation, A rectangular signal is more suitable. Why?
Answer:
As rectangular wave changes its amplitude constantly, then it shows better frequency change and
good modulation results.
Answer:
Yes, digital data can be sent using digital modulation like pulse code modulation.
EXPERIMENT # 8
PULSE AMPLITUDE MODULATION
Objective:
To design and test a Pulse Amplitude Modulator .
Apparatus Required:
SPECIFICATIONS:
Theory:
Vcc
1.2 CIRCUIT DIAGRAM:
12Vdc
4.7k R1 R3 R2
100k 100k R4
C1 C2
1 2 1 2 4.7k
0.001u 0.001u
Q1 Q2 OUTPUT (CRO)
BC107
R5 BC107
1k
(2Vpp,dc)
Message Signal
1.3 Waveforms
Procedure:
Lab Exercise:
PAM low bandwidth requirements resulting in a minimal carrier frequency which minimize the power
dissipation in a switching power amplification stage. Unfortunately, PAM is limited by requirement for
pulse amplitude accuracy.
Ans:
Time-division multiplexing (TDM) is a method of transmitting and receiving independent signals over a
common signal path by means of synchronized switches at the each end of the transmission line so that
each signal appears on the line only a fraction of time in an alternating pattern.
EXPERIMENT # 9
Pulse Width Modulator
Objective:
To design and test a Pulse Width Modulator (PWM) generator circuit.
Theory:
1.1 PULSE WIDTH MODULATION (PWM):
Pulse width modulation is defined as an analog modulation technique in which the width
of each pulse is made proportional to the instantaneous amplitude of the signal at the sampling
instant.
Apparatus Required:
IC 555 -1No
RPS (0-30v) -1 No
Trigger source -1 No
T =1.1RC
▬▬▬▬▬▬▬▬▬▬▬▬ = ▬▬▬▬▬▬▬▬▬▬▬▬
= 5.45 KΩ =5.5KΩ
Specifications:
Circuit Diagram:
Trigger source
2 8 4
0.08ms 0.02ms 6
7
IC555
IC Pin Diagram:
Ground 1 8 Vcc
Trigger 2 7 Discharge
555
Output 3 6 Threshold
Procedure:
1. The circuit connections are made as shown in figure.
2. The Ton and Toff of the monostable multivibrator is measured using CRO.
TLOW = 0.69RBC
0.02ms=0.69 x RB x 0.01µF
RB = 0.02 ms
Instructor: Noman Aftab Department of Electrical Engineering, UET
Faisalabad
Communication Systems laboratory (EE 321) Lab. Manual Handout
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
0.69 x 0.01 µF
= 2.898 KΩ ~ 3KΩ
(RA+RB) = 0.08ms
▬▬▬▬▬▬▬▬▬▬▬▬
0.69 x 0.01µF
RA = 11.59KΩ-3KΩ
= 8.59KΩ
Lab. Exercise:
EXPERIMENT # 10
Pulse Position Modulator
Objective:
To design and test a Pulse Position Modulator (PPM) generator circuit.
Theory:
Procedure:
3. By applying the PWM signal note the change in the position of the pulses i.e. PPM signal.
4. Critical amplitude of the modulating signal is that value of m(t) at which the
pulse in PPM just disappears.
Waveforms:
Circuit Diagram:
Lab Exercise:
Name
Reg. No
Marks / Grade
EXPERIMENT # 10
Introduction to Matlab
Objective:
To study MATLAB and Communication Tool Box
Theory:
Attention, the Universe! By kingdom, right wheel!” This prophetic phrase is the first telegraph
message on record, sent over a 16km line by Samuel F. B. Morse in 1838. The era of electrical
communication began. In this lab, we are going to learn about the basic principles and building
blocks of telecommunication. There are many telecommunication technologies today, including
optical fibers, shielded cables, telephone wires and wireless RF transmission, in the order of
decreasing data capacity. They all have similar structures when we consider the block diagram
design.
Channel
The choice of these frequencies is quite arbitrary and is dependent on history and politics. Since
we all share the free space spectrum, it is usually controlled and regulated by a government
agency. In the United States, this is the responsibility of the FCC (Federal Communications
Commission), which reports directly to Congress. If you set up a wire or fiber network, the
usage of frequency domain is not restricted since the signal wave is confined in the wire.
(Usually the operation frequency is chosen for minimal loss in the wire or fiber). Multiple
signals can be sent through the same channel, as long as there is some method of receiving the
signals separately. FDMA (frequency-division multiple access) allots separate frequencies to
each signal. CDMA (code-division multiple access) uses header codes to divide signals in a
wireless network. WDM (wavelength division multiplexing) uses different wavelengths of light
for each signal traveling on an optical fiber.
We will restrict ourselves to the communication of digital information (the “binary” system of
“0” and “1”, a number of 2 is represented as 10 2, 9 as 1012, and 67 as 10000112). (Should we
include something here about how to convert between binary and decimal?) This is not due to
popularity, but because of the great improvements allowed by error correction of sequential
digital information. A string of binary bits can be transmitted over a channel with errors, and
then recovered at the receiving end without error!! This is achieved using the family of
In order to have two-way communication, we need both a transmitter and a receiver in each
participating unit (that is why they are called transceivers). Since we assume digital data (data
which is represented only by “0”s and “1”s) modulation and demodulation (modem) are
necessary to convert the signal to an appropriate form for transmission. We will not discuss
modulation methods, but will just go ahead with the bandwidth concepts in good faith.
Bandwidth is the difference between the upper and lower frequencies in a signal.
There are many sources of noise, interference and distortion. Let’s focus on the channel for now.
One source of noise is from ambient conditions. This type of noise is usually “white”, i.e., the
noise power has no preference for any frequency. It is called “white” since it consists of all
frequencies, similar to “white light” which also consists of all frequencies. A non-spam channel
usually has around μV noise while the signal is around 1-10mV. Another type of noise is caused
by another signal interfering the same channel, even if it is using another frequency for
transmission. Due to geometrical shielding, a wired channel has much less noise than a wireless
channel (i.e. air).
Interfering
signal High-pass filter
White noise
In the receiver, we need to distinguish the signal from noise, and then amplify the signal for
further use. The receiver includes filters and amplifiers. Filters select a frequency range to pass.
In general, the more selective (or the higher order) the filter is, the more power is needed. The
gain of the amplifier is also proportional to power consumption. Gain, a unitless number, is
often represented by dB (decibel), which is 10log10(A) with A being the amplification factor. For
example, a two-time amplification is about 10log 102 = 3dB. A four-time amplification is about
10log104 = 6dB. A ten-time amplification is by definition 10dB.
Communication systems alone are a specialized tradeThe component and system design for
wireless, wired and fiber networking combine to make up an industry that is close to a trillion
dollars a year (a trillion dollars in what business spec, exactly?_ (depending on how you do the
accounting). As a quantitative benchmark, a 1Gbit/sec (data rate) wireless modem in a 3cm by
3cm package, operating at 2.4GHz (operating frequency) will consume 200mW power and can
transmit signals to a receiver up to 100m away. For our VERY simple purposes, you will
estimate the bandwidth and power consumption of a communication module using the following
three rules, with the benchmark example of the wireless modem as a reference point:
We will not deal with the further complications of technology and component design. This is
just to give you a taste, and remember that communication systems take a long time to learn.
However, to give you a simple example of the components in communication systems, we will
use Simulink for receiver design practice. Simulink is an extension package to MATLAB which
uses a graphical interface for constructing block diagram representations of dynamic processes.
Block diagrams are graphical representations of processes, composed of inputs, systems, and
outputs. Simulink numerically solves the underlying equations governing such processes and
allows the user to display graphical results with ease. Engineers use computer-aided design
(CAD) software frequently to help tackle the immense design complexity.
The process you are simulating in this project is a transmitter-receiver system across a given
channel. The input and output waveforms will be examined with the Simulink scope at various
stages of the system (i.e. before and after filtering the signal). In addition, the waveforms can be
heard on the speakers, where effects such as high and low frequency noise can be discerned.
Procedure:
In this lab, you will simulate a transceiver system. You will be in control of many parameters in
your system. Almost all of the components consume some amount of power (not directly
corresponding to the benchmark of the example above, but the ideas are similar). You have to be
careful not to use more power then you have available. You can control the cutoff frequencies of
the various filters available. In the filters, the order affects the power consumption of the filter.
A higher order filter consumes more power, but also exhibits a cleaner cutoff at the desired
frequency. In the amplifier, increased power results in increased amplification, but also in
increased noise. The final result should be a system that faithfully recreates the input signal at
the output without exceeding the power budget (or even better, by using as little power as
possible). By simulating this system, you will learn tradeoffs between power and noise, and how
system components affect the design of the overall system.
Instructions:
1. After starting MATLAB enter “startup” in the MATLAB command window. Simulink
should load; afterwards the CURIE library blocks and a template file should appear. The
CURIE library contains all the blocks which will be used in the project and is seen in
Figure 1.
Instructor: Noman Aftab Department of Electrical Engineering, UET
Faisalabad
Communication Systems laboratory (EE 321) Lab. Manual Handout
2. To use a block simply drag and drop it onto the template file, which will contain the
transmitter-receiver system. If you have difficulty with this step, or any other step, ask a
TA. This lab was not created to be frustrating, but fun!
3. Each block has specific parameters associated with its functionality. After placing the
block onto the template file, double-click it to view the parameters. For example, the
transmitter has frequency and power consumption as changeable parameters.
IMPORTANT: after modifying a variable, DO NOT close the box with the enter key.
You must click the OK button with the mouse so that the power displays will be correctly
updated.
4. Once placed onto the template file, the blocks can be connected by signal wires. Simply
drag and hold the mouse over one output port to another input port. If you want to split a
signal, for example to send it to a scope as well as output the sound to the workspace,
hold the control key and click the wire to make it branch off. Then release the mouse
where you want the branch to connect to.
5. All active elements will consume power. Blocks containing active elements display the
amount of power currently being consumed. This power consumption is specified as a
parameter to the block and is accessible by double-clicking the block after it is onto the
template. The total amount of power consumed and available is shown on the upper left
hand corner of the template.
6. Specifying the power consumption affects dependant parameters of a given block. For
example, gain in an amplifier is a function of the power consumption. Specifying the
power determines the gain, which is visible on the block itself as seen in Figure 2.
7. To view the waveforms at any stage of the system, drag and drop the scope onto the
template. Connect the signal to be viewed to the input port of the scope.
8. After all connections have been made and all parameter values are valid check to see if
the available power is not less than 0.0 mW. The system will not simulate if the power
budget is exceeded. Press the black play button on the top toolbar to begin the simulation.
9. If the simulation is successful, double-click on the scopes in the template to view the
output waveforms. Effects such as noise and attenuation should be visible on the scope
outputs. Refer to the block details on the sound block to listen to the signal transmitted.
10. Tweak the parameters and power consumption levels to achieve the desired results at the
output. With a proper combination of filter and amplifier, the output signal should
resemble the original transmission signal fairly closely. The noise characteristics of the
channels are different and require different filtering techniques. Note that as long as the
noise is not too strong at the transmission frequency, the original signals can be recovered
regardless of how distorted the signal looks on the output end of the transmission
channel.
Block Details:
High/Low Pass Filter: attempts to remove the frequency component of the input signal below /
above a certain cutoff frequency
cutoff frequency: frequency at which lower / higher frequencies are removed by the filter
Band Pass Filter: attempts to remove the frequency content of the input signal outside a
specified range
Upper / lower cutoff frequency: the range of frequencies the filter passes
Power consumption: power consumed by filter; directly affected by the order
Order: higher order results in steeper slopes at the cutoff frequency. Higher order results
in stronger distinction between frequency to be passed and frequency to be removed
Output sound to workspace: outputs a signal vector to the workspace for listening
After placing in the template, double click and enter the name for the sound in the top
dialogue box.
To play the sound, in the Matlab command window, type sound(‘name’), where name is
the name of the sound variable and without the quotes.
Lab. Exercise:
Name
Reg. No
Marks / Grade
EXPERIMENT # 11
Amplitude Modulation in Matlab
Objective:
To verify the principles of amplitude modulation (AM) and demodulation in Matlab
Theory:
In general, we use modulation to give the transmitted signal properties which are best
suited to the transmission channel or environment. Specifically, modulation is the process of
imparting the source information onto a bandpass signal with a carrier frequency, fc, by the
introduction of amplitude or phase perturbations or both. This bandpass signal is called the
modulated signal and the baseband source signal is called the modulating signal. At the receiver
a means to translate the higher frequencies back to the audio range is implemented and this is
demodulation.
Audio signals at most occupy the frequency range 0-20kHz (minimum 15km
wavelength). This range of frequencies is too low to transmit directly as electromagnetic
radiation, particularly due to the prohibitive sizes of the transmitter and receiver antennas which
would be required. (Antennas must have lengths of the order of the wavelength of the EM
radiation of interest.) Higher frequencies permit much more effective and practical transmission,
however these lie outside the audio range. For example, AM radio broadcasting occurs at
frequencies of the order of 1MHz (e.g. frequency of 1053kHz = 1.053MHz).
In standard AM the audio signal is shifted in amplitude by adding a DC component and then
multiplied by a sinusoid at the carrier frequency, fc. The carrier frequency is much higher than
the audio frequency band.
There are a number of available techniques for demodulating AM signals. We will be using two
techniques in this laboratory. The first technique we shall use in this laboratory is envelope
The second technique is synchronous or coherent detection (also called product detection, and
depends crucially on the carrier sinusoid in the receiver being as close as possible in frequency
(within 10Hz or so) to the original carrier. If the two sinusoids are too different distortion will be
heard in the demodulated signal. In this technique the message signal is recovered in two stages.
In the first stage intermediary signal with a baseband component and a high frequency
component is obtained by multiplying the received signal by a sinusoid of the same frequency as
the original carrier (see the trigonometric identities). In the second stage a low pass filter is used
to remove the non-audio (high frequency) component of the intermediary signal. Thus the
resulting output signal is a reconstruction of the audio frequency message signal.
What is an m-file?
An m-file, or script file, is a simple text file where you can place Matlab commands. When the
file is run, Matlab reads the commands and executes them exactly as it would if you had typed
each command sequentially at the Matlab prompt. All m-file names must end with the extension
'.m' (e.g. plot.m). If you create a new m-file with the same name as an existing m-file, Matlab
will choose the one which appears first in the path order (help path for more information). To
make life easier, choose a name for your m-file which doesn't already exist. To see if a
filename.m exists, type help filename at the Matlab prompt.
For simple problems, entering your requests at the Matlab prompt is fast and efficient. However,
as the number of commands increases or trial and error is done by changing certain variables or
values, typing the commands over and over at the Matlab prompt becomes tedious. M-files will
be helpful and almost necessary in these cases.
To create an m-file, choose New from the File menu and select m-file. This procedure brings up
a text editor window in which you can enter Matlab commands.
To save the m-file, simply go to the File menu and choose Save (remember to save it with the
'.m' extension). To open an existing m-file, go to the File menu and choose Open .
After the m-file is saved with the name filename.m in the Matlab folder or directory, you can
execute the commands in the m-file by simply typing filename at the Matlab prompt.
Procedure:
a) Using Command Windows
[y,fs,n]=wavread('hugo');
fs
pause;
sound(y);
Amplitude Modulation
In Amplitude modulation the following complex envelope is used.
mf = 100;
m = cos(2 * pi * mf * t);
plot(t,m);
Now create the carrier. Create another sinusoidal signal c(t) with cf =1000hz. Call it ‘c’
What are the peak values (min and max) for m(t)?
Ans:
Peak value of m (t) is +1 and -1.
What would be the % modulation, %positive modulation and %negative modulation for this m(t)
given Ac=1?
Ac=1;
plot(s);
What happen if you multiply m by 0.5. What is the %modulation in this case?
Ans:
Modulation index tell about percentage modulation and it is ratio of m and A (carrier amplitude), if we
multiply m by 0.5 then percentage modulation is 50%.
What happen if you multiply m by 1.5? What is the %modulation in this case?
Ans:
Modulation index tell about percentage modulation and it is ratio of m and A (carrier amplitude), if we
multiply m by 1.5 then percentage modulation is 150%.
Create a M-file and plot 4 figures, one for your signal m(t), one for carrier c(t),
One for the modulated signal s(t), and the last one for the spectrum for s(t).
b) Using Simulink
Simulink is an extension to Matlab. It allows us to use icons and block to represent our
processes. Instead of writing codes for our process we can use a graphical interface where we
drag and drop out block into the working space. And link the blocks to gather. Then we run it.
This is a simple example of Simulink to multiply two numbers. You got a big library from
which you can select your input.
Instructor: Noman Aftab Department of Electrical Engineering, UET
Faisalabad
Communication Systems laboratory (EE 321) Lab. Manual Handout
To start Simulink, first start Matlab then type 'simulink' you will got two windows one for the
library of blocks
AC and 1 which are constants, and two sinusoidals for our message and carrier.
1- From our library browser we go to Simulink > Sources, we drag two constants and two
sine waves. And name them with appropriate names.
2- Double click on the Signal wave. Change the Frequency to 5 (rad/sec) and change sample
time to 1/100.
3- Do the same for the carrier but with Frequency =1000.
Now we are done with the input. Let's link them together. We will need some math
operation so from the library browser.
4- Go to Simulink > Math Operations. Drag one Product block and one Sum block.
5- Now link the Signal and the Constant 1 to the Sum operation inputs.
6- Double click in the Product block. Make the number of inputs 3 instead of two so we can
multiply 3 blocks in one process.
7- Now link the Carrier, the AC constant and the output of Sum to the input of the
Product block.
Now wee need to add a block to show the output
Lab. Exercise:
i. Simulation 1
The Figure below shows the implementation of a DSB-SC signal. The Signals are at 1 kHz and 10 kHz.
Implement and simulate this modulation.
1. Visualize the spectrum output (BFFT). It can be seen that the output consists of just two
side bands at 9 kHz and 11 kHz why?
ii. Simulation 2
The figure below show the experiment of an amplitude modulation for modulation index a = 1
and 0.5. The equation of this AM is given by:
Represent the signal s(t) in both time-domain and frequency domain when k m=1 for a=1 and
a=0.5.
Name
Reg. No
Marks / Grade
EXPERIMENT # 12
Single Sideband and Frequency Modulation in Matlab
Objectives:
To verify the principles of Single Sideband (SSB), Frequency and Phase Modulation
(FM, PM).
Theory:
1.1 Single Sideband Modulation (SSB-AM)
As we know that Amplitude modulation uses two frequencies copies of the modulated signal.
(Upper and Lower sidebands). So, instead of wasting our bandwidth in sending two side bands,
SSB modulation technique will apply a filter to filter-out one of the sidebands. It also removes
the carries signal that will reduce our bandwidth and power used to tend out signal.
In the other hand, SSB modulation system will be more complex then DSB-AM. In the
transmitter we will include a new filter to filter-out one side band.
At the receiver, we will use a complex envelope to generate the original signal.
From this we conclude that we improved the AM at the cost of extra complexity.
if m(t)= sine(2*pi*fm*t)
And oscillator hat is its -90 degree phase shift =cos(2*pi*fs*t-pi/2) = sin(2*pi*fs*t)
Ac=2;
fc=10000;
fm=1000;
Dp=5;
d=0.004;
fs = 1000000;
ns=d*fs
t=(1:ns)/fs;
2- What happen when you change phase sensitivity Dp (take values 2,5,10)?
Ans:
Where
g = exp(j*Df*sin(2*pi*fm*t));
phase = exp(j*2*pi*fs*t);
4- What happen when you change frequency deviation Df (take values 2,5,10)?
Ans:
Frequency deviation (Δf) is used in FM Radio to describe the maximum instantaneous difference
between an FM modulated frequency and the carrier frequency.
when frequency deviation is small than its bandwidth then Carson approximation about
bandwidth satisfied.