Escolar Documentos
Profissional Documentos
Cultura Documentos
ENGINEERING
FACULTY OF ENGINEERING
MODULE OUTLINE
Module Name Communication Engineering I
Module Code EC3611 Version No. 2015-1
Year/Level 3 Semester 1
Credit Points 03
Pre-requisites MA1300 Engineering Mathematics I
MA1310 Engineering Mathematics II
MA2300 Engineering Mathematics III
EC2111 Signals and Systems
Co-requisites None
Methods of Delivery Lectures (Face-to-face) 2 Hours/Week
Tutorials 1 Hour/Week
Labs 2 Hours/Fortnight
Course Web Site http://courseweb.sliit.lk
Date of Original Approval September 2013
Date of Next Review September 2015
MODULE DESCRIPTION
This module introduces fundamental concepts of analogue and digital modulation
Introduction techniques and their analysis.
2. Exponential Modulation
Frequency modulation
Phase modulation
3. Coherent/Incoherent Demodulation and Carrier Recovery
Coherent demodulation: Costas loop (DSB-SC)
Incoherent demodulation: envelope detection (standard AM)
7. Baseband Demodulation/Detection
Signals and noise
Detection of binary signals in Gaussian noise
Error probability performance of binary signalling
Generic Information
Date Remarks
Assessment
Week Lecture Tutorial Laboratory
Due
Feb. 20 Assignment 1
to be
Linear modulation
3 (M. Ding) Tutorial 2 None distributed on
(Part 2: Standard AM)
or before Feb.
23, 2018
Feb. 27 No makeup. In
case of medical
Linear modulation Lab 1 is an in-
(M. Ding) excuses, please
4 (Part 3: SSB, VSB) Tutorial 3 Lab 1 (tentative) class
attend the next
assessment
available
session.
March 6
Angle modulation
5 (M. Ding) Tutorial 4 Lab 1 (tentative)
(FM/PM Part 1)
March 13 Assignment 1
due by
Angle modulation
6 (M. Ding) Tutorial 5 Lab 1 (tentative) 4:00pm,
(FM/PM Part 2)
Friday, Mar.
16, 2018
March 20
Angle modulation
7 (M. Ding) Tutorial 6 Lab 1 (tentative)
(FM/PM Part 3)
March 27
April 24
BB Demodulation and
11 (C. Tutorial 8 Lab 2 (tentative)
Detection (Part 1)
Weeraddana)
14
Notes:
Leave the relevant cell blank if no tutorial or lab is schedules or no assignment is due.
Add columns if necessary.
Use one document per each module per each semester
Lecture 1: Introduction
Feb. 6, 2018
Agenda
• Course information
• Introduction
• Required basics for analog communications
1
Course information
• Lecturers:
– Dr. Minhua Ding, Analog communications (first half)
– Dr. Chathuranga Weeraddana, Digital communications (second half)
• Course website: (Enrolment code: CE2018)
http://courseweb.sliit.lk/
assignments + Midterm
• Grading: 2 labs + 2 + Final
20% 20% 60%
If plagiarism is detected for assignments for individuals, then the weights of CA components may change
for those students.
2
Course information
• Textbooks:
– B. P. Lathi, Modern Digital and Analog Communication Systems, 3rd
edition, Oxford University Press, 1998.
– S. Haykin, Communication Systems, 4th edition, Wiley, 2001.
– Bernard Sklar, Digital Communications: Fundamentals and
Applications, 2nd edition, Prentice hall, 2001.
3
Course syllabus
4
Communication systems
5
Historical sketch
6
Historical sketch
7
Historical advances
8
More recently
9
Today
10
PSTN
11
Radio and TV broadcast
• AM and FM Radio
• analog TV (e.g., NTSC, PAL)
• digital TV (e.g., DVB)
12
Computer networks
13
Cellular networks
14
Satellite systems
15
GPS
16
Basic communication process
• Source
Taking the original signal (sound, picture) and converting it into an
electrical waveform (referred to as baseband signal or message signal)
17
Basic communication process
• Transmitter
Modifying the message signal for efficient transmission over the channel
18
Basic communication process
19
Basic communication process
• Receiver
undoing the signal modifications at the transmitter and the channel
producing an estimate of the original message signal
20
Basic communication process
21
Analog and digital messages
Analog signals
values varies continuously
e.g., temperature readings
or wind speed
Digital signals
values taken from a finite set
Binary signals
binary values (digital special case)
The classification of signals can be made more specific considering both the time-scale and the value of
the signal. Please refer to the Background for analog communications (Part 1) for details.
22
Analog and digital systems
23
Analog communications
24
Background 1
Minhua Ding
February 2017
Signals
1
Classification of Signals
2
Classification of Signals
3
Classification of Signals
Previous page
4
Periodic and Aperiodic Signals
The smallest value of T0 that satisfies the above is the period of g(t).
Example: sin(2πt), ej2πt
5
Signal Energy and Power
T /2
EgT = |g(t)|2dt
−T /2
• the average power dispatched during the interval (−T /2, T /2) is
T /2
1
PgT = |g(t)|2dt
T −T /2
6
Signal Energy
• The energy of a signal g(t) is
∞
Eg = |g(t)|2dt
−∞
7
Signal Power
T /2
1
Pg = lim |g(t)|2dt
T →∞ T −T /2
8
Example: Signal Power
9
Energy Signals and Power Signals
10
Signal Operations: Time Shifting
g(t + T ): advance; g(t − T ): delay
11
Signal Operations: Time Scaling
g(at), a > 1: compression in time; g(at), 0 < a < 1: expansion in time
12
Signal Operations: Time Reversal
g(−t)
13
Unit Impulse Function
• Dirac delta function δ(t): an infinitely narrow pulse with area 1,
unbounded at t = 0
δ(t) = 0, t = 0
∞
−∞
δ(t)dt = 1
14
Property of Unit Impulse Function
15
Unit Step Function
• Heaviside unit step function u(t):
1 t>0
u(t) =
0 t<0
t du(t)
• We can verify that −∞
δ(τ )dτ = u(t) and thus δ(t) = dt
16
Fourier Series of Periodic Signals
1
Note: The equivalence here is often in terms of the total energy of the signal.
17
Fourier Series of Periodic Signals
• Alternatively:
∞
g(t) = C0 + Cn cos(2πnf0 t + θn),
n=1
where
C0 =a0
Cn = a2n + b2n
−1 −bn
θn = tan
an
18
Fourier Series of Periodic Signals
∞
g(t) = Dnej2πnf0t
n=−∞
where
1
Dn = g(t)e−j2πnf0tdt
T0 T0
19
Example: Fourier Series of Periodic Square Wave (1/5)
This example is taken from [Lathi and Ding, 4th edition, P57, Example 2.8]
20
Example: Fourier Series of Periodic Square Wave (2/5)
21
Example: Fourier Series of Periodic Square Wave (3/5)
1 2π
• Here T0 = 2π, f0 = T0 (ω0 = 2πf0 = T0 )
T0 /2
1 1
a0 = 1 · dt =
T0 −T0 /2 2
T0 /4
2 1 π/2
an = cos(2πnf0 t)dt = cos(nt)dt
T0 −T0 /4 π −π/2
⎧
⎪
⎨ 0 n even
2 nπ 2
= sin = nπ n = 1, 5, 9, 13, . . .
nπ 2 ⎪
⎩ 2
− nπ n = 3, 7, 11, 15, . . .
2 T0/4
bn = sin(2πnf0 t)dt = 0
T0 −T0/4
22
Example: Fourier Series of Periodic Square Wave (4/5)
23
Example: Fourier Series of Periodic Square Wave (5/5)
1 2π
Here T0 = 2π, f0 = T0 (ω0 = 2πf0 = T0 )
∞
w(t) =a0 + [an cos(2πnf0 t) + bn sin(2πnf0t)]
n=1
1 2 1
= + cos(2πf0t) − cos(2π · 3f0t) + . . .
2 π 3
1 2 1
= + cos t − cos(3t) + . . .
2 π 3
24
Background 2
Minhua Ding
February 2017
From Fourier Series to Fourier Transform
• Consider g(t), periodic with period T0. Recall its Fourier series using
complex exponentials:
∞
∞
1
g(t) = Dnej2πnf0t = g(t)e−j2πnf0tdt ej2πnf0t
n=−∞ n=−∞
T0 T0
1
• Let T0 → ∞. Then f0 = T0 → Δf (or df ), nf0 → f
∞
g(t) → g(t)e−j2πnf0tdt ej2πnf0tΔf
n=−∞ T0 →∞
∞ ∞
→ g(t)e−j2πf t dt ej2πf tdf
−∞ −∞
G(f )
1
From Fourier Series to Fourier Transform
0.6 0.3
0.4 0.2
0.2 0.1
0 0
−0.2 −0.1
0 0
0.15 0.06
0.1 0.04
0.05 0.02
0 0
−0.05 −0.02
0 0
Note: all the plots are for Dn versus n in the square wave case.
2
Fourier Transform
3
Fourier transform of a rectangular pulse
Here
1
|t| < τ2
g(t) = τ
0 otherwise
with area 1.
ͳȀ߬
t
Ͳʏ/2 0 ʏ/2
4
Fourier transform of a rectangular pulse
τ /2
1 −j2πf t sin(πτ f )
G(f ) = e dt = = sinc(τ f )
−τ /2 τ πτ f
sin(πx)
Here sinc(x) πx .
1
5
Signal Bandwidth
f
ͲB 0 B
6
Fourier transform of δ(t)
1
|t| < τ2
g(t) = τ
0 otherwise
τ /2
1 −j2πf t sin(πτ f )
G(f ) = e dt = = sinc(τ f )
−τ /2 τ πτ f
Therefore,
F[δ(t)] = 1
7
Fourier transform: Time shifting and frequency shifting
• Time shifting
F [g(t)] = G(f )
F [g(t − t0)] = G(f )e−j2πf t0
• Frequency shifting
F [g(t)] = G(f )
F g(t)e j2πf0 t
= G(f − f0)
8
Fourier transform of sinusoids
• It can be shown that F [1] = δ(f ). Using
1
jθ −jθ
1
jθ −jθ
cos θ = e +e , sin θ = e −e
2 2j
9
Modulation theorem (1/2)
m(t) cos(2πfct)
If F[m(t)] = M (f ), then
1
F [m(t) cos(2πfct)] = [M (f − fc) + M (f + fc)]
2
Comment:
10
A basic modulation scheme (2/2)
(fc + B) − (fc − B) = 2B
11
Fourier transform: Time-domain Convolution
12
Fourier transform: Time-domain multiplication
13
Systems
input output
signal signal
system
14
Linear and Time-Invariant (LTI) Systems
• Let yi(t) be the output signal (response) given the input signal xi(t),
i = 1, 2. A system is linear if
(1) Given the input x1(t) + x2(t), the output is y1(t) + y2(t) [additivity]
(2) Given the input ax1(t), the output is ay1(t) [scaling or homogeneity]
Let y(t) be the output signal (response) given the input signal x(t).
A system is time-invariant if given the input x(t − t0), the output is
y(t − t0)
• We will mostly deal with LTI systems such as filters.
15
LTI Systems
• Impulse response of an LTI system h(t): the output of the system given
δ(t) as the input
ߜሺݐሻ ݄ሺݐሻ
LTIsystem
݃ሺݐሻ ݕሺݐሻ ൌ ݃ሺݐሻ ݄ כሺݐሻ
16
Transfer function of LTI Systems
∞
y(t) = g(t) ∗ h(t) = −∞
g(τ )h(t − τ )dτ
17
Distortionless systems
Y (f ) = kG(f )e−j2πf td
Y (f )
H(f ) = = ke−j2πf td
G(f )
It follows that
18
Ideal filters
ȁ ܪሺ݂ሻȁ
ͳ
f
Ͳ
െ݂௨ െ݂ ݂ ݂௨
ܤൌ ݂௨ െ ݂
ȁ ܪሺ݂ሻȁ
ȁ ܪሺ݂ሻȁ
ͳ ሺ݂௨ ൌ λ)
െ݂ Ͳ ݂ f
(Upper) ideal band-pass filter (BPF); (Middle) ideal low-pass filter (LPF);
19
Ideal LPF
20
Ideal LPF
21
Example: Ideal low-pass Filters
Before LPF
2
−2
−8 −6 −4 −2 0 2 4 6 8
t
After LPF
1
cos(0.4π t)
−1
−8 −6 −4 −2 0 2 4 6 8
t
Upper: g(t) = cos(0.4πt) + cos(1.8πt). Using an ideal LPF filter
H(f ) = 1, |f | < 12 ←→ h(t) = sinπtπt , we get y(t) = cos(0.4πt) (lower)
22
Practical low-pass filters
Butterworth filters: |H(f )| = √ 1
1+(f /B)2n
Butterworth n=1
1
n=2
n=3
n=4
0.8 n=8
n=16
n=∞
|H(f)|
0.6
0.4
0.2
0
0 1 2
f/B
23
Practical low-pass filters
24
Practical low-pass filters
1
j2πf C α 1
H(f ) = 1 = , α=
R + j2πf C
α + jf 2πRC
1
|H(f )| = ≈ 1, f
α
1+ (f /α)2
θh(f ) = − tan−1(f /α) = −f /α, f
α
25
Practical low-pass filters
0.8
0.6
|H(f)|
0.4
0.2
0
0 1 2 3 4 5
f
26
Low-pass filtering the DSB-SC signal
m(t) = cos 2πfmt, s(t) = m(t) cos 2πfct. Low-pass filtering the DSB-
SC signal:
ͳ
ሾܯሺ݂ െ ݂ ሻ ܯሺ݂ ݂ ሻሿ
ʹ LPF2
LPF1
݂
െ݂ െ ݂ െ݂ ݂ ݂ െ ݂ ݂ ݂
27
Lecture 2: DSB-SC amplitude modulation
Minhua Ding
• Introduction to modulation
• Amplitude modulation
– Double-sideband suppressed-carrier (DSB-SC) amplitude modulation
(today)
– Standard amplitude modulation (standard AM) (next lecture)
1
Modulation
2
Modulation
A cos(ωct + φ) =A cos(2πfc t + φ)
ωc =2πfc
• The message signal m(t) (e.g., telephone voice signal) modifies the
amplitude, frequency, or phase of a sinusoid carrier.
• The modulated signal
3
Basic modulation types
4
Convention
fc B.
5
Amplitude modulation
A(t) = k · m(t) + c
6
Double-sideband suppressed-carrier (DSB-SC)
modulation
7
A product modulator for DSB-SC
cos2ʌfct
(Carrier)
8
DSB-SC modulated signal (1)
9
DSB-SC modulated signal (2)
0.5 0.5
m(t)cos(ωc t)
m(t)
PR
0 0
−0.5 −0.5
0 0.5 1 0 0.5 1
t t
0.5 0.5
m(t)cos(ωc t)
PR PR
m(t)
0 0
−0.5 −0.5
−0.5 0 0.5 −0.5 0 0.5
t t
10
The waveforms of the modulated signals are those of sinusoidal waves
with time-varying amplitude.
At the points with the red mark PR, phase reversals of 180◦ can be
observed. This happens when the message signal m(t) changes its sign
(polarity).
11
DSB-SC modulated signal
In our case
m(t) m(t) > 0
the envelope of m(t) cos ωct = = |m(t)|
−m(t) m(t) < 0
By knowing |m(t)|, we may not be able to know exactly what m(t) is.
12
Spectrum of a specific DSB-SC modulated signal
13
The Fourier transform (frequency spectrum) of x(t) is given by
Am
X(f ) = [δ(f − (fc − fm)) + δ(f + (fc − fm))
4
+ δ(f − (fc + fm)) + δ(f + (fc + fm))]
14
Spectrum of a GENERAL DSB-SC modulated signal
In general, instead of a single sinusoid, the message (modulating) signal
m(t) has a frequency spectrum M (f ). In this case, the frequency spectrum
of the modulated signal x(t), denoted X(f ), will have two sidebands, as
shown here.
ܯሺ݂ ሻ
ʹܣ
െܤ ܤ f
ͳ
ܺሺ݂ሻ ൌ ሾܯሺ݂ െ ݂ ሻ ܯሺ݂ ݂ ሻሿ
ʹ
USB
LSB
ܣ
f
െሺ݂ )ܤെ݂ െሺ݂ െ ܤሻ ݂ െ ܤ ݂ ݂ ܤ
15
Spectrum of a GENERAL DSB-SC modulated signal
16
Demodulation of a DSB-SC (product modulated) signal
17
Demodulation of a DSB-SC (product modulated) signal
18
Demodulation of a DSB-SC (product modulated) signal
19
Coherent demodulation (Δf = 0, φ = 0)
1 1
e(t) = x(t)vL(t) =m(t) cos2(2πfct) = m(t) + m(t) cos(4πfc t)
2 2
20
Coherent demodulation (Δf = 0, φ = 0)
The desirable low-pass filter should be flat over the signal bandwidth.
21
DSB-SC demodulation using Costas receiver
The Costas receiver has a phase-locked loop used in practical
synchronous/coherent receiver for demodulating DSB-SC signal waves.
IͲchannel
Product LowͲpass ࢉ ሺ࢚ሻܛܗ܋ሺૈοࢌ࢚ ࣘሻ
Demodulated
modulator filter
ݔூ ሺݐሻ signal
െૢ ܗphase
shifter
ܖܑܛሺ࣊ሺࢌࢉ οࢌሻ࢚ ࣘሻ
Product LowͲpass
modulator filter
ݔொ ሺݐሻ ሺ࢚ሻܖܑܛሺૈοࢌ࢚ ࣘሻ
ࢉ
QͲchannel
22
DSB-SC demodulation using Costas receiver
• The Costas receiver has two multipliers supplied with the same incoming
DSB-SC signal, but with individual local oscillator signals of the same
frequency but having 90◦ difference in phase.
23
DSB-SC demodulation using Costas receiver
It can be shown that
Ac
xI (t) = m(t) [cos(2π(2fc + Δf )t + φ) + cos(2πΔf t + φ)]
2
Ac
xQ(t) = m(t) [sin(2π(2fc + Δf )t + φ) + sin(2πΔf t + φ)]
2
These two outputs from the multipliers are low-pass filtered, so that only
the low-frequency parts remain.
Ac
zI (t) = m(t) cos(2πΔf t + φ)
2
Ac
zQ(t) = m(t) sin(2πΔf t + φ)
2
The upper branch is called the in-phase channel (I-channel) and the lower
branch is called the quadrature channel (Q-channel).
24
DSB-SC demodulation using Costas receiver
25
A discussion of the signal power
26
T /2 T /2
1 2 1
Pg = lim g (t)dt = lim C 2 cos2(ω0t + θ)dt
T →∞ T −T /2 T →∞ T −T /2
T /2
1 C2
= lim [1 + cos(2ω0t + 2θ)] dt
T →∞ T −T /2 2
2 T /2 2 T /2
C C
= lim 1dt + lim cos(2ω0t + 2θ)dt
T →∞ 2T −T /2 T →∞ 2T −T /2
C 2 /2 finite
→0
=C 2/2
27
Signal Power: Example 2
Sum of 2 sinusoids with different frequencies
28
g(t) = C1 cos(ω1t + θ1) + C2 cos(ω2t + θ2), ω1 = ω2, ω1 = 0, ω2 = 0
T /2 T /2
1 2 1
Pg = lim g (t)dt = lim C12 cos2(ω1t + θ1)dt
T →∞ T −T /2 T →∞ T −T /2
T /2
1
+ lim C22 cos2(ω2t + θ2)dt
T →∞ T −T /2
T /2
2C1C2
+ lim cos(ω1t + θ1) cos(ω2t + θ2)dt
T →∞ T
−T /2
finite
→0
C12 C22
= +
2 2
29
Signal Power: Example 3
Sum of 2 Sinusoids (same frequency, different phases)
30
Signal Power: Example 3
Sum of 2 Sinusoids (same frequency, different phases)
31
Use the identity: cos(α + β) = cos α cos β − sin α sin β
g(t) =C1 cos(ω1 t + θ1) + C2 cos(ω1 t + θ2)
=[C1 cos(ω1t) cos θ1 − C1 sin(ω1t) sin θ1]
+ [C2 cos(ω1 t) cos θ2 − C2 sin(ω1 t) sin θ2]
= cos(ω1t) [C1 cos θ1 + C2 cos θ2]
E
F
where φ is the 4-quadrant inverse of tan E . The last line shows that g(t)
is a simple sinusoid with a fixed amplitude, a single frequency and a fixed
phase. Its power can be calculated as
E2 + F 2 C12 + C22 + 2C1 C2 cos(θ1 − θ2)
pg = = .
2 2
32
Lecture 3: Standard AM
Minhua Ding
• Amplitude modulation
– DSB-SC (last lecture)
– Standard AM (today)
1
• A basic problem associated with DSB-SC modulation is the need for
coherent demodulation, which means the local oscillator at the receiver
must be of the same frequency and phase as the transmit carrier.
This can be achieved by using a phase-locked loop such as that in Costas
receiver. But this leads to higher receiver complexity and cost.
• A method to avoid the need for carrier recovery is to add a carrier
component into the modulated signal.
Consider the following amplitude modulated signal
where Ac, fc are the carrier amplitude and frequency, respectively, m(t)
is the baseband message signal, and ka > 0 is a constant (amplitude
sensitivity).
2
Standard amplitude modulation (Standard AM)
When |kam(t)| < 1 for all t, the envelope of xAM (t) has the same shape
as the message signal m(t) (no phase reversal). Thus, one may recover the
message signal from the envelope of the amplitude modulated signal using
an envelope detector. This form of AM with |kam(t)| < 1 for all t is called
the standard AM.
3
Standard AM
4
When |kam(t)| > 1 for some t, the envelope of xAM (t) no longer
resemble exactly the shape of the message signal m(t). Whenever 1+kam(t)
crosses zero, the carrier wave undergoes 180◦ phase reversals.
5
Standard AM signal – Frequency spectrum (1/2)
• The standard AM signal:
Ac
XAM(f ) = [δ(f + fc) + δ(f − fc)]
2
Acka
+ [M (f + fc) + M (f − fc)]
2
6
Standard AM signal – Frequency spectrum (2/2)
ܯሺ݂ ሻ
f
െܤ Ͳ ܤ
ܣ ܣ
ߜሺ݂ ݂ ሻ ߜሺ݂ െ ݂ ሻ
ʹ ʹ ܣ ݇
ܣ ݇ ܯሺ݂ െ ݂ ሻ
ܯሺ݂ ݂ ሻ ʹ
ʹ
f
െ݂ െ ܤെ݂ െ݂ Ͳ ܤ ݂ െ ܤ ݂ ݂ ܤ
=(fc + B) − (fc − B)
=2B
7
Example: Single-tone AM
• Let m(t) = cos ωmt. This is referred to as a single-tone signal with
frequency fm. Here
ϕAM(t) = Ac(1 + μm(t)) cos ωct = Ac(1 + μ cos ωmt) cos ωct
where Ac is the carrier amplitude, and μ > 0 is the termed the modulation
index. Using single-tone standard AM , the maximum value for μ is
μ = 1.
8
m(t)
2
−2
0 0.5 1 1.5 2
t
single−tone standard AM, μ=0.5
2
0
−2
0 0.5 1 1.5 2
t
single−tone standard AM, μ=1
2
0
−2
0 0.5 1 1.5 2
t
9
Single-tone AM signal spectrum
Ac
ϕAM (f ) = [δ(f − fc ) + δ(f + fc )]
2
Ac μ
+ [δ(f − (fc + fm)) + δ(f + (fc + fm ))]
4
Ac μ
+ [δ(f − (fc − fm )) + δ(f + (fc − fm))]
4
10
Switching modulator
11
Switching modulator
12
Switching modulator
13
Switching modulator
It can be shown that, by using the Fourier series representation of wT (t)
in vo (t), in the output voltage signal vo(t),
14
Standard AM demodulation
• Conceptually, we can always use the coherent DSB-SC demodulator.
This is not commonly used in practice for standard AM, because this
does not serve its purpose =⇒ need to utilize the carrier inserted to the
modulated signal.
• An envelope detector is commonly-used in AM radio receivers, which
features low cost, simplicity and effectiveness.
• Recall that for standard AM signals
15
Envelope detector for standard AM signals
1. When the input signal is positive, the diode is forward biased and the
capacitor C charges quickly to the peak value of the input.
2. When the input drops below the voltage across the capacitor C, the
diode is reversely biased. The capacitor C discharges slowly via the
resistor Ro until the next positive cycle.
3. When the input signal rises above the voltage across the capacitor C,
the diode conducts again and the process repeats itself.
16
Envelope detector
– For rapid charging of C when the diode conducts, the charging time
constant τ1 = (Ri + Rd)C 1/fc. In particular, it is required that
C must be charged fully in 1/4 cycle of the carrier. In practice, the
capacitor is considered to be fully charged in 5τ1. Thus.
1 1
5τ1 =⇒ C can be chosen as Farads
4fc 20fc(Ri + Rd)
17
Envelope detector
1 1
5τ2 =⇒ Ro can be chosen as Ohms
2B 10CB
• Typically the signal after the envelope detector is further low-pass filtered.
18
Envelope detector
• The output is the voltage signal taken from the resistor Ro.
• Typically the signal after the envelope detector is further low-pass filtered,
and the existing dc component will be blocked.
19
Envelope detector
20
Power efficiency of standard AM signals
Standard AM signal:
useful power Ps
η= = × 100%
total power Pc + Ps
21
Single-tone standard AM signals
A2c
• The carrier component: Ac cos ωct (Power: 2 )
• The sideband signal is μAc cos ωmt cos ωct, which contains two frequency
μ2 A2c
components. Its power can be calculated as Ps = 4 (from two
sideband frequency components).
(μAc )2
Ps 4 μ2
ηTM = × 100% = A2c
=
Pc + Ps + 4(μAc )2 2 + μ2
2
22
Power efficiency of standard single-tone AM signals
max μ
ηTM =
= 33.3%
2 + μ μ=1
2
23
Standard AM vs. DSB-SC
• Power (“precious”)
• Hardware complexity/cost
• Bandwidth (more “precious”! How to save the bandwidth?)
24
Lecture 4: SSB and VSB
Minhua Ding
• Linear modulation
– DSB-SC
– Standard AM
– Single Sideband (SSB) (today)
– Vestigial Sideband (VSB) (today)
1
Single-sideband (SSB) modulation
• For real signals, the LSB and USB contain the same information
(symmetric). It is possible to remove one sideband for transmission,
which leads to single-sideband (SSB) modulation.
• SSB was designed for the minimal use of the transmission bandwidth, e.g.,
in radio, where saving transmission bandwidth is of great importance.
• Later it will be shown that, in SSB modulated signals, both the amplitude
and the phase of the carrier are varying according to the baseband
message signal.
2
SSB transmits a bandpass filtered version of the DSB-SC signal.
3
• In practice, the highly selective filter is realized using crystal resonators.
• However, to ease the requirement for the filter, the message signal must
have a gap in its spectrum centered around the origin.
• Voice signals (300 − 3400 Hz) naturally have a gap in spectrum about
600 Hz wide, which provides a transition bandwidth of 600 Hz between
the LSB and USB.
4
Time domain Representation of SSB signals (1/2)
5
Time domain Representation of SSB signals (2/2)
6
Derivation of the time-domain USB signal (1/2)
m(t) ←→M (f )
mh(t) ←→Mh(f ) = F[mh(t)] = −jsgn(f )M (f )
Let Mp(f ) be the positive frequency components of m(t), which turns out
to be:
1 M (f ), f > 0
Mp(f ) = F (m(t) + jmh(t)) =
2 0, f <0
The negative frequency portion of m(t), i.e., Mn(f ), is given by
1 0, f >0
Mn(f ) = F (m(t) − jmh(t)) =
2 M (f ), f <0
7
Derivation of the time-domain USB signal (2/2)
Ac Ac
XUSB(f ) = Mp(f − fc) + Mn(f + fc)
2 2
8
(Summary) Time domain Representation of SSB signals
Let the carrier be Ac cos ωct, and let the filters be ideal bandpass filters.
9
Generation of SSB signals (Modulation)
• Selective filtering method: DSB-SC modulator + a sharp cutoff filter
• Phase-shift method (shown in the figure below)
10
• Adding the upper and lower branches, an LSB signal is obtained.
Subtracting the upper branch by the lower branch gives the USB signal.
• The −90◦ (or −π/2) phase shift of m(t) in the lower branch is obtained
using the Hilbert transformer. In practice, this cannot be implemented
exactly.
• The phase shift is typically performed using an all-pass phase shift
network. Disadvantage: it is difficult to implement a wideband −90◦
phase shift network to cover the entire bandwidth of the modulating
signal.
11
Demodulation of SSB (Method 1)
Ac
while the USB signal is given by xUSB (t) = 2 [m(t) cos ωct − mh(t) sin ωct].
12
It can be shown that
AcAL
vo(t) = {m(t) cos[2πΔf t + φ(t)] + mh(t) sin[2πΔf t + φ(t)]}
4
13
Ac AL
If Δf = 0, φ(t) = 0, vo (t) = 4 {m(t) cos[φ(t)] + mh(t) sin[φ(t)]}
Ac AL
If Δf = 0, φ(t) = 0, vo (t) = 4 {m(t) cos(2πΔf t) + mh(t) sin(2πΔf t)}
• The first term: the message signal m(t) beating with a low frequency
component (same as in DSB-SC demodulation with a local carrier)
• The second term gives crosstalk and generates phase distortion.
14
Demodulation of SSB (Method 2)
• Method 2: carrier insertion at the transmitter and envelope detection at
the receiver
The transmitted signal is given by
1 1
xUSB (t) + K cos(ωct) = Acm(t) + K cos ωct − Acmh(t) sin ωct
2 2
=R(t) cos(ωct + ϕ(t))
2 2
1 Acmh(t)
R(t) = Acm(t) + K +
2 2
Acmh(t)/2
ϕ(t) = tan−1 1
2 Ac m(t) + K
1 2 2
Under the condition 2 Acm(t) + K [Acmh(t)/2] , the low-pass
filtered envelope detector output is 12 Acm(t) + K. (Any problem here?)
15
Vestigial-sideband (VSB) modulation
Motivation:
16
VSB signal spectrum
Here the respective time signals are: (a) m(t), (b) ϕDSB-SC(t), (c)
ϕUSB(t) and (d) ϕVSB(t).
17
VSB modulation and demodulation
18
VSB modulation
• Here the spectrum of the transmitted VSB signal is the filtered version
of the DSB-SC signal.
19
VSB demodulation
1
Choose Ho (f ) = Hi(f +fc)+H i(f −fc )
, |f | ≤ B, to recover M (f ) (m(t)!)
• The filter Ho(f ) at the receiver is also called an equalizer.
20
Relation between the filters in the transmitter and receiver of a VSB system
21
VSB demodulation
Refer to Lathi’s book, Chapter 4, Section 4.9, for further reading of the
TV broadcastng system.
22
Lecture 5: Angle modulation (Part I)
Minhua Ding
March 6, 2018
Overview of angle modulation
1
Agenda for today
2
Generalized angle
• For a regular sinusoid signal, the angle is θ(t) = ωct + θ0, where ωc, θ0
are constants.
3
Instantaneous frequency
4
Phase modulation (PM)
In PM, the phase φ(t) is varied linearly with m(t): φ(t) = kpm(t)
5
Frequency modulation (FM)
In FM, the instantaneous angular frequency ωi(t) is varied linearly with
m(t):
ωi(t) = ωc + kf m(t)
Since ωi (t) and fi(t) differ only in 2π , in FM, fi (t) is also linear in m(t): hence the name FM. We
t
shall also assume −∞ m(α)dα do not diverge when t → ∞.
6
PM and FM waves
7
Relationship between PM and FM
8
Relationship between PM and FM
xPM (t) =Ac cos[ωct + kpm(t)]
t
xFM (t) =Ac cos ωct + kf m(α)dα
−∞
dm(t)
• Phase modulation using m(t) ⇐⇒ Freq. modulation using
t dt
• Freq. modulation using m(t) ⇐⇒ Phase modulation using −∞
m(α)dα
න ݉ሺߙሻ݀ߙ ݔிெ ሺݐሻ
݉ሺݐሻ Phase
ю modulator
݀݉ሺݐሻ
݉ሺݐሻ ݀ ݔெ ሺݐሻ
݀ݐ Frequency
݀ݐ modulator
9
Why using angle modulation?
Note:
10
Bandwidth analysis of angle-modulated signals
Assumptions
∞
• Assumption: m(t) has no dc component, meaning −∞
m(α)dα = 0
t
Then let a(t) = −∞ m(α)dα, we have
m(t) ←→ M (f )
M (f )
a(t) ←→ A(f ) =
j2πf
11
Bandwidth analysis of FM signals
(t) =Acej[ωct+φ(t)] = Acejφ(t) · ejωct
where x
x2 xn
Now using the Maclaurin series e = 1 + x +
x
2! + ... + n! + ...
1 2 j n n
(t) =Ac 1 + jφ(t) − φ (t) + . . . + φ (t) + . . . ejωct
x
2! n!
1 2
x(t) =Ac cos ωct − φ(t) sin ωct − φ (t) cos ωct + . . .
2!
Implications?
12
From previous page:
1 2
x(t) =Ac cos ωct − φ(t) sin ωct − φ (t) cos ωct + . . .
2!
• Narrow-band
• Wideband
13
Narrow-band angle-modulated signals
If |φ(t)| 1, then only the first 2 terms of the infinite series are
significant.
14
Narrow-band FM (NBFM) signals
t
For FM, φ(t) = kf −∞ m(α)dα = kf a(t). For the case φ(t) 1,
t
either kf or −∞ m(α)dα is small, or both of these two items are small. In
this case,
where
kf Am
β= .
ωm
15
The narrow-band FM expression (highlighted in red on the previous
page) gives rise to the following NBFM signal generation.
16
Narrow-band PM (NBPM) signals
For PM, φ(t) = kpm(t). For narrow-band PM, |φ(t)| = kp|m(t)| 1, where
either kp or |m(t)| or both are very small. xPM(t) ≈ Ac [cos ωct − kpm(t) sin ωct] .
17
NBFM and NBPM signals: a summary
18
Distortion using Armstrong’s method
The general angle-modulated signal x(t) = Ac cos(ωct + φ(t)) has a
constant envelope. Just for simplicity of subsequent presentation, we
assume that Ac = 1 for the rest of this lecture. In practice, however,
narrow-band angle-modulated signals are generated using the following
approximation (based on the assumption that |φ(t)| 1)
19
Phase distortion in NBPM
x1(t) = 1 + φ2(t) cos(ωct + Δ(t))
Ideally, the phase Δ(t) of x1 (t) should be equal to φ(t) for zero phase
distortion. However, using Armstrong’s method,
3 5 7
−1 φ (t) φ (t) φ (t)
Δ(t) = tan φ(t) = φ(t) − + − + . . ., (|φ(t)| 1)
3 5 7
distortion items
For NBPM, the phase distortion is not severe since |φ(t)| 1, and
20
Frequency distortion in NBFM
x1(t) = 1 + φ2(t) cos(ωct + Δ(t))
21
Lecture 6: Angle modulation (Part II)
Minhua Ding
1
Wideband angle-modulated signals
In this case, a typical method is to study the simple but non-trivial case
where m(t) is a single-tone sinusoid
m(t) = Am cos(ωmt).
In practice, tone modulation (with one, two or three tones) is often employed
for tuning and checking specifications of equipment.
2
Wide-band FM (WBFM) using single-tone signals
3
WBFM using single-tone signals
• ejβ sin ωmt is periodic [fundamental period ω2πm = f1m ]. Its Fourier series is
given by ∞
ejβ sin ωmt = Jn(β)ejnωmt
n=−∞
π
1
where Jn(β) = ejβ sin xe−jnxdx
2π −π
Note that Jn(β) is the Bessel function of the first kind and nth order.
4
WBFM using single-tone signals
∞
From previous page, FM(t)
x = Ac n=−∞ Jn (β)e
jnωm t jωc t
e .
Correspondingly,
∞
xFM (t) = Ac Jn(β) cos [(ωc + nωm)t] .
n=−∞
5
1
n=0
n=1
n=2
n=3
0.5 n=4
J (β)
n
−0.5
0 5 10 15
β
When β 1, the tone FM signal has a large carrier component and only a few
sideband frequencies of relative large amplitude. This is the NBFM case.
When β is large (WBFM), the carrier component becomes smaller, and many sideband
frequencies appear with considerable amplitudes.
6
WBFM using single-tone signals
β=0.2
1
0
β=1
1
0
β=5
1
0
β=10
1
7
WBFM using single-tone signals
1
β=1
β=2
β=3
0.5 β=4
β=5
β=6
Jn(β)
−0.5
0 2 4 6 8 10
n
8
General WBFM signal bandwdith
Δf Δω
β= = ,
B 2πB
9
In practice, a commonly used rule for estimating WBFM bandwidth is
known as Carson’s rule:
BW = 2B(β + k) Hz, 1 ≤ k ≤ 2.
10
Wideband PM (WBPM) signal bandwidth
Recall that for PM, φ(t) = kpm(t), and the instantaneous angular
frequency is given by ωi(t) = ωc + dφ(t)
dt = ωc + k p
dm(t)
dt .
In general, m(t) has the highest frequency B Hz, and its the WBPM
bandwidth is estimated as
where ΔfPM is the peak frequency deviation. Note that the WBPM signal
bandwidth depends on both the amplitude and frequency of the message
signal m(t).
11
Generation of FM/PM signals
Two methods:
• Indirect method
• Direct method
12
Armstrong’s indirect method for FM generation
Two steps:
Localoscillator
NBFMsignal
Localoscillator WBFMsignal ݂ᇱ
݂ଵ ݂ଵ ǡ ο݂ଵ ݂ଶ ൌ ݂݊ଵ ǡ ο݂ଶ ൌ ݊ο݂ଵ
13
Frequency multipliers and frequency translation
• Frequency multiplication
kf kf mp m(t)
fi1(t) =fc1 + m(t) = fc1 + ·
2π 2π
mp
Δf1
nkf mp m(t)
fi2(t) =nfi1(t) = nfc1 + ·
2π
mp
nΔf1
• Frequency translation
Why? nfc1 can be much higher than what we need.
Solution: use a frequency translator/converter to lower the carrier
frequency
14
Armstrong’s Indirect Method for FM Generation
15
Direct generation of FM signals
ωi(t) = ωc + kf m(t)
16
Direct generation of FM signals
• In Hartley or Colpitt oscillators: ωc = √1
LC0
• If C(t) = C0 − km(t),
−1/2
1 1 km(t)
ωi(t) =
=√ 1−
LC(t) LC0 C0
1 km(t) k|m(t)|
≈√ 1+ , if 1
LC0 2C0 C0
1 kωc
ωi(t) ≈ ωc + kf m(t), ωc = √ , kf =
LC0 2C0
kf mp ΔC
• ΔC = kmp =⇒ Δf = 2π = 2C0 · fc, where mp is the maximum of
|m(t)|.
17
Direct generation of FM signals
2Δf C0 2 × 75 × 103
ΔC = = × 80 pF = 0.12 pF
fc 108
18
Lecture 7: Angle modulation (Part III)
Minhua Ding
1
Recap: (Last week) WBFM bandwidth analysis using
single-tone FM
2
Some clarifications
• kf : radians/s/volt;
• kp: radians/volt
3
Demodulating angle-modulated signals
4
Demodulating angle-modulated signals: the big picture
For example, for FM, the message resides in the instantaneous frequency:
ωi = ωc + kf m(t)
One can extract the ωi using a slope detecting device with a transfer
function |H(f )| = a · 2πf + b (or |H(ω)| = aω + b).
5
Changes in the instantaneous frequency of the FM wave (i.e., the
message) must be reflected in the output voltage eo at the end of
demodulation.
6
Demodulation of angle-modulated waves
7
Demodulating angle-modulated signals (Method 1:
FM-to-AM conversion)
8
An angle-modulated wave has a constant envelope. However, when going
through the transmission media, the waves undergo various distortions (e.g.,
multi-path fading in wireless communications). As a result, the received
signal no longer has a constant envelope.
In general, the received angle-modulated signal r(t) can be written as
9
ݒ
ݎሺݐሻ Hard ݒ ሺݐሻ BandͲpass ݔሺݐሻ +1
ݎ
limiter filter
Ͳ1
ݎሺݐሻ
vo
t
vo
+1
װ
ߨ ͵ߨ ͷߨ
ʹ ʹ ʹ
Ͳ1
10
• θ(t) = ωct + φ(t) =⇒ vo as a function of t
4 1
vo(t) = vo(θ(t)) = cos[ωct + φ(t)] − cos 3[ωct + φ(t)]
π 3
1
+ cos 5[ωct + φ(t)] + . . .
5
• After the bandpass filter (centered at fc) (see the first figure on the
previous page)
4
x(t) = cos[ωct + φ(t)].
π
Comments: Certainly, one can adjust the amplitude to the desired level.
From now on, we simply assume that after the hard-limiter and band-pass
filter, the angle-modulated signal is
11
FM-to-AM conversion
݀ݔிெ ሺݐሻ
ݔிெ ሺݐሻ
݀ݐ ܣ ሾ߱ ݇ ݉ሺݐሻሿ
HardͲlimiter
݀ Envelope DC ܣ ݇ ݉ሺݐሻ
Followedby
݀ݐ detector blocking
aBPF
dxFM(t)
=Ac[ωc + kf m(t)] sin[ωct + kf a(t) + π]
dt
12
FM-to-AM conversion
݀ݔிெ ሺݐሻ
ݔிெ ሺݐሻ
݀ݐ ܣ ሾ߱ ݇ ݉ሺݐሻሿ
HardͲlimiter
݀ Envelope DC ܣ ݇ ݉ሺݐሻ
Followedby
݀ݐ detector blocking
aBPF
dxFM(t)
=Ac[ωc + kf m(t)] sin[ωct + kf a(t) + π]
dt
>0
13
Demodulating angle-modulated signals (Method 2:
PLL-based detection)
14
Detecting angle-modulated signals using PLL
ݏሺݐሻ LowͲpass ݁ሺݐሻ Output
Input LPF2
filter
(LPF)
ݒ ሺݐሻ
VCO
15
Detecting angle-modulated signals using PLL
ݏሺݐሻ LowͲpass ݁ሺݐሻ Output
Input LPF2
filter
(LPF)
ݒ ሺݐሻ
VCO
=B sin(ωct + φ1(t))
16
Detecting angle-modulated signals using PLL
After the low-pass filter (often referred to as a loop filter), an error signal
AcB
e(t) = sin[φ1(t) − φ(t)]
2
is obtained and used to control the frequency of the VCO towards the
locked status. When the PLL is locked, the value of (φ1(t) − φ(t)) (phase
difference) is small enough, i.e., φ1(t) ≈ φ(t).
17
Detecting angle-modulated signals using PLL
18
Detecting angle-modulated signals using PLL
19
Advantages of angle modulation
20
Advantages of using angle modulation
21
Angle modulation: Less susceptible to non-linearity (1/2)
where c0, c1, . . . , cn are coefficients that depend only on a0, a1, . . . , an.
All we want is the amplified x(t), i.e., c1 cos [ωct + φ(t)]. The advantage
here is that all the unwanted items can be cleared by using a bandpass
filter with center frequency fc and with a proper bandwidth (e.g., given
by the BW estimate).
22
Angle modulation: Less susceptible to non-linearity (2/2)
In the same setting as for the discussion on the previous page, consider
now the case for an amplitude-modulated signal, e.g., the DSB-SC signal
as the input.
• Let the input to the non-linear device be the DSB-SC signal, i.e.,
x(t) = m(t) cos(ωct). If the device is specifically given by the input-
output relation y(t) = ax(t) + bx3(t), then
23
Advantages of FM
Supressing weak interferences
Suppose interference is I cos(ωc + ω)t. The received signal r(t) is
r(t) = Ac cos ωct + I cos(ωc + ω)t
= (Ac + I cos ωt) cos ωct − I sin ωt sin ωct
= Er (t) cos [ωct + φd(t)]
−1 I sin ωt
where φd(t) = tan
Ac + I cos ωt
Weak interference (I Ac) =⇒ φd(t) ≈ AIc sin ωt. The output yd(t) of an
ideal FM demodulator with input r(t) gives
Iω
yd(t) = cos ωt
Ac
25
FM and noise
On the other hand, for some device in the FM demodulator, the transfer
function satisfies
|H(ω)| = aω + b.
26
FM and noise
Hp(ω) · Hd(ω) = 1
27
FM and noise
28
FM and Noise
29
Communication Engineering I
EC-3612
Chathuranga Weeraddana
03 April 2018
1/22
Lecture 8: Digital Communication Systems
1/22
A Digital Communication System (DCS)
2/22
Why Digital ?
I regeneration is possible
I transmission lines/circuits have non-ideal frequency transfer
function
3/22
Why Digital ?
4/22
Why Digital ?
5/22
Cost Associated with Digital ?
6/22
A Digital Communication System (DCS)
7/22
Digital Communication System
I information source
I speech
I music
I moving pictures
I computer data
8/22
A Digital Communication System (DCS)
8/22
Digital Communication System
I formatting + source encoding
I bit streams
9/22
Digital Communication System
I formatting
I character coding
I sampling
I quantization
I pulse code modulation
I source encoding
I predictive coding
I block coding
I variable length coding
I synthesis/analysis coding
I lossless compression
I lossy compression
10/22
A Digital Communication System (DCS)
10/22
Digital Communication System
I channel encoder
mi −→ ui , i = 1, . . . M
I bit streams
11/22
Digital Communication System
I M-ary signalling
I antipodal
I orthogonal
I Trellis-coded modulation
I block coding
I convolutional coding
I turbo coding
12/22
A Digital Communication System (DCS)
12/22
Digital Communication System
ui −→ gi (t), i = 1, . . . M
13/22
Digital Communication System
I pulse modulation (applied to binary symbols), i.e., PCM
waveforms
I NRZ (non-return-to-zero)
I RZ (return-to-zero)
I phase encoded
I multilevel binary
I pulse-amplitude-modulation (PAM)
I pulse-position-modulation (PPM)
I pulse-duration-modulation (PDM)
14/22
A Digital Communication System (DCS)
14/22
Digital Communication System
15/22
Digital Communication System
I bandpass signalling (coherent)
16/22
A Digital Communication System (DCS)
16/22
Digital Communication System
I channel
I channel characteristics can be described by channel impulse
response hc (t)
17/22
A Digital Communication System (DCS)
17/22
Digital Communication System
I demodulation and sampling
I demodulator provides frequency down conversion for r(t)
I there can be filters to shape the received wave forms for better
performance gains
18/22
A Digital Communication System (DCS)
18/22
Digital Communication System
I detection
I decides what could be the channel symbol transmitted
I the sampled value z(T ) is used to make and estimate ûi of the
channel symbol ui
19/22
A Digital Communication System (DCS)
19/22
Digital Communication System
I channel decode
I invoke error control coding mechanisms (together with its the
redundant bits) to detect errors in ûi
20/22
A Digital Communication System (DCS)
20/22
Digital Communication System
I synchronization
21/22
A Digital Communication System (DCS)
22/22
Communication Engineering I
EC-3612
Chathuranga Weeraddana
10 April 2018
1/41
Lecture 9: Formatting
1/41
Last Week
2/41
Formatting
2/41
Formatting
3/41
Formatting
4/41
Formatting-Transmission of BB Signals
5/41
Formatting-Textual Data
5/41
Formatting-Textual Data
I e.g.,
6/41
Messages, Characters and Symbols
I textual messages consist of characters
I M -ary system
7/41
Messages, Characters and Symbols
I M = 2: binary system
I M -ary system
8/41
Messages, Characters and Symbols,
Example
9/41
Messages, Characters and Symbols,
Example
10/41
Formatting Analog Information
10/41
Formatting Analog Information
11/41
Sampling
I e.g., sample-and-hold
I low-pass filter
12/41
Sampling Theorem
13/41
Sampling Approaches
I impulse sampling
I natural sampling
I sample-and-hold
14/41
Impulse Sampling
I consider an analog waveform x(t) with FT X(f )
16/41
Impulse Sampling
I fs = 2fm :
I fs > 2fm :
I fs < 2fm :
I replications overlap
17/41
Impulse Sampling
18/41
Natural Sampling
I spectrum:
∞
X
Xs (f ) = cn X(f − nfs ) (5)
n=−∞
19/41
Natural Sampling
20/41
Sample-And-Hold Operation
I spectrum:
∞
1 X
Xs (f ) = P (f ) X(f − nfs ) (6)
Ts n=−∞
21/41
Sample-And-Hold Operation
22/41
Aliasing
23/41
Aliasing
24/41
Antialiasing Filters
I prefiltering
25/41
Antialiasing Filters
I postfiltering
26/41
Recall.. The Formatting Block
27/41
Pulse Code Modulation (PCM)
28/41
Pulse Code Modulation (PCM)
29/41
Pulse Code Modulation (PCM)
30/41
Pulse Code Modulation (PCM)
q Vpp Vpp
I |emax | = = ≈
2 2(L − 1) 2L
Vpp 1
I ≤ pVpp , i.e., L ≥
2L 2p
1
I since 2` = L, we have ` ≥ log2 bits
2p
31/41
Pulse Code Modulation (PCM)
32/41
Uniform and Nonuniform Quantization
I relevance to speach
I equally spaced
quantization → noise is
the same for all signal
magnitudes
33/41
Uniform and Nonuniform Quantization
I relevance to speach
I nonuniform
quantization
34/41
Uniform and Nonuniform Quantization
35/41
Uniform and Nonuniform Quantization
I noise
36/41
Uniform and Nonuniform Quantization
37/41
Nonuniform Quantization
38/41
Companding
I today
39/41
µ−law Companding
loge [1 + µ(|x|/xmax )]
y = ymax sgn x
loge (1 + µ)
I µ is a positive constant
40/41
A−law Companding
A(|x|/xmax ) |x| 1
ymax sgn x 0< ≤
y= 1 + log e A xmax A
1 + loge [A(|x|/xmax )] 1 |x|
ymax sgn x < ≤1.
1 + loge A A xmax
I A is a positive constant
41/41
Communication Engineering I
EC-3612
Chathuranga Weeraddana
24 April 2018
1/24
Lecture 10: Baseband Modulation
1/24
Last Lecture
I sampling
I encoding (PCM)
2/24
Baseband Transmission
2/24
Waveforms
4/24
Waveform Representation of Binary Digits
5/24
Waveform Representation
6/24
PCM Waveform Types (Line Codes)
I nonreturn-to-zero (NRZ)
I return-to-zero (RZ)
I phase encoded
I multilevel binary
7/24
Why So Many PCM Waveform Types ?
I the difference in performance
I e.g.,
I DC components
I self-clocking
I error detection
I bandwidth compression
I differential encoding
I noise immunity
8/24
Why So Many PCM Waveform Types ?
I DC component
I eliminate dc energy
I dc balanced signals
I less vulnerable to systems which are less sensitive for very low
frequencies
9/24
Why So Many PCM Waveform Types ?
I self-clocking
10/24
Why So Many PCM Waveform Types ?
I error detection
11/24
Why So Many PCM Waveform Types ?
12/24
Why So Many PCM Waveform Types ?
13/24
Why So Many PCM Waveform Types ?
I noise immunity
14/24
Spectral Attributes of PCM Waveforms
15/24
Spectral Attributes of PCM Waveforms
16/24
Spectral Attributes of PCM Waveforms
I delay modulation
I duobinary encoding
I bi-φ-level (Manchester)
17/24
Spectral Attributes of PCM Waveforms
18/24
Waveform Representation
I recall
19/24
M-ary Pulse-Modulation Waveform
I 3 basic ways to modulate nonbinary symbols
20/24
M-ary PAM
I one of M allowable amplitude levels are assigned to each M
possible symbol values
21/24
M-ary PPM and PDM
22/24
M-ary PAM Versus PCM
I PCM need more bandwidth (say R bits per second)
23/24
Example
24/24
Communication Engineering I
EC-3612
Chathuranga Weeraddana
01 May 2018
1/30
Lecture 11: Baseband Demodulation/ Detection
1/30
Last Lecture
I Baseband transmission
I Waveform representation
I Baseband transmission
I PCM waveforms
2/30
Baseband Demodulation/ Detection
3/30
Why Demodulator and Detector ?
4/30
Signals and Noise
4/30
Error-Performance Degradation
5/30
Demodulation and Detection
I the Rx signal is
6/30
Demodulation and Detection
7/30
Demodulation and Detection
I Rx filter → recover a baseband pulse with the best possible
SNR, free of ISI
8/30
Demodulation and Detection
I n0 (T ) : noise component
z = ai + n0
9/30
Demodulation and Detection
n20
1
p(n0 ) = p exp − 2
2πσ02 2σ0
(z − a1 )2
1
p(z|s1 ) = p exp −
2πσ02 2σ02
(z − a2 )2
1
p(z|s2 ) = p exp −
2πσ02 2σ02
10/30
Demodulation and Detection
11/30
Demodulation and Detection
I in step 2, detection is performed by choosing the hypothesis
that results from the threshold measurements, i.e.,
H1
z(T ) R γ
H2
I H1 : Tx Symbol = s1
I H2 : Tx Symbol = s2
I hypothesis H1 is chosen if z(T ) > γ
12/30
The Basic SNR Parameter for DCSs
I analog communications systems → signal-to-noise power
(SNR = S/N )
I thus we have
Eb STb S/Rb S W
= = =
N0 N/W N/W N Rb
13/30
The Basic SNR Parameter for DCSs
I waterfall-like shape
I having a small
improvement in
Eb /N0 yields a huge
performance gain in
terms of PB
14/30
Detection of Binary Signals in Gaussian Noise
14/30
Minimum Probability of Error Criterion
H1
z(T ) R γ
H2
I how to choose γ ?
15/30
Minimum Probability of Error Criterion
p(z|H1 ) H1 P (H2 )
R
p(z|H2 ) H2 P (H1 )
16/30
Maximum Likelihood (ML) Rx Structure
I if equiprobable symbols transmitted the decision making
criterion
p(z|H1 ) H1 P (H2 )
R =1
p(z|H2 ) H2 P (H1 )
becomes
H1
a1 + a2
z(T ) R = γ0
H2
2
17/30
ML Rx Structure, Error Probability
I probability of error: sum of the probabilities of all the ways
that an error can occur
PB = P (decide H2 , H1 ) + P (decide H1 , H2 )
= P (decide H2 |H1 )P (s1 ) + P (decide H1 |H2 )P (H2 )
I i.e.,
18/30
ML Rx Structure, Error Probability
I recall: equi-probable symbols for ML, and therefore
Z ∞
PB = p(z|s2 )dz
γ0 =(a1 +a2 )/2
Z ∞
(z − a2 )2
1
= exp − dz
2σ02
p
γ0 =(a1 +a2 )/2 2πσ02
Z ∞ 2
1 u
= √ exp − du
(a1 −a2 )/2σ0 2π 2
a1 − a2
=Q
2σ0
I recall a1 > a2
I Q(·) is the complementary error function
19/30
The Matched Filter
I a liner filter designed to provide the maximum S/N for a
given Tx symbol waveform
I recall..
20/30
The Matched Filter
21/30
The Matched Filter
I by substituting above two identities in (S/N )T , we get
Z ∞
2
j2πf T
H(f )S(f )e df
S
−∞
=
N0 ∞
Z
N T |H(f )|2 df
2 −∞
Z ∞ Z ∞
2
|H(f )| df |S(f )ej2πf T |2 df
−∞ −∞
≤
N0 ∞
Z
|H(f )|2 df
2 −∞
Z ∞
2 2E
= |S(f )|2 df =
N0 −∞ N0
22/30
The Matched Filter
H(f ) = H0 (f ) = kS ∗ (f )e−j2πf T
23/30
The Matched Filter
summary..
I given a time-limited pulse (signal) s(t) in white noise n(t)
24/30
The Matched Filter
RT
I z(T ) = 0 r(τ )s(τ )dτ
25/30
Optimizing Error Performance
I recall..
I AWGN channel
I minimize PB
I optimumdecision threshold
in step 2 is already found →
a1 − a2
PB = Q
2σ0
I in step 1, we need a filter to maximize (a1 − a2 )/(2σ0 )
26/30
The Required Matched Filter
27/30
Optimizing Error Performance
28/30
Optimizing Error Performance
I unipolar signaling
I bipolar signaling
29/30
Optimizing Error Performance
I bit error performance of unipolar and bipolar signaling
30/30
Communication Engineering I
EC-3612
Chathuranga Weeraddana
08 May 2018
1/32
Lecture 12: Bandpass Modulation
1/32
Last Lecture
I why demodulator and detector
I error-performance degradation
2/32
Bandpass Modulation
3/32
Why Modulate ?
I digital symbols are transformed into waveforms that are
compatible with the characteristics of the channel
I amplitude
I frequency
I phase
5/32
The General form of Carrier Wave
6/32
Bandpass Modulation
I coherent systems
I noncoherent systems
7/32
Bandpass Modulation
8/32
Vector View of Signals and Noise
I define a N -dimensional orthogonal space
9/32
Vector View of Signals and Noise
I orthogonal
I each ψj (t) is
independent of the
other
I geometrically ψj (t) is
perpendicular to
others
10/32
Vector View of Signals and Noise
1
RT
I aij = Kj si (t)ψj (t)
0
11/32
Vector View of Signals and Noise
I then the vector of the waveform si (t) is
I si = (ai1 , ai2 , . . . , aiN )
I then the vector of the waveform n(t) (noise with psd= N0 /2)
is
I n = (n1 , n2 , . . . , nN )
RT
I nj = (1/Kj ) n(t)ψj (t)dt
0
12/32
Vector View of Signals and Noise
13/32
Digital Modulations
13/32
Phase Shift Keying (PSK)
2πi
I φi = , i = 1, . . . , M
M
14/32
Phase Shift Keying (PSK)
I two waveforms
r r
2E 2E
s1 (t) = cos [ω0 t] , s2 (t) = cos [ω0 t + π] , 0≤t≤T
T T
15/32
Phase Shift Keying (PSK)
16/32
Frequency Shift Keying (FSK)
17/32
Frequency Shift Keying (FSK)
I e.g., M = 3, 3FSK
I three waveforms
19/32
Amplitude Shift Keying (ASK)
20/32
Amplitude Phase Keying (APK)
21/32
Amplitude Phase Keying (APK)
I e.g., M = 8
I eight waveforms
22/32
Waveform Amplitude
I different representations..
r
2E
s(t) = cos [ωt]
T
= A cos [ωt]
√
= 2Arms cos [ωt]
√
= 2P cos [ωt]
23/32
Coherent Systems
23/32
Binary Phase Shift Keying (BPSK)
I two waveforms
r
2E
s1 (t) = cos(ω0 t + φ), 0≤t≤T
T
r
2E
s2 (t) = cos(ω0 t + φ + π)
T
r
2E
=− cos(ω0 t + φ), 0 ≤ t ≤ T
T
n(t) = zero-mean white Gaussian random process
E = signal energy per bit
T = symbol duration
24/32
Vector View of BPSK
I i.e.,
√ √
s1 (t) = a11 ψ1 (t) = Eψ1 (t) −→ s1 = E
√ √
s2 (t) = a21 ψ1 (t) = − Eψ1 (t) −→ s2 = − E
25/32
Vector View of BPSK
26/32
Vector View of MPSK
r
2E 2πi
si (t) = cos ω0 t +
T 4
r
2E πi
= cos ω0 t + , 0 ≤ t ≤ T, i = 1, 2, 3, 4
T 2
27/32
Vector View of MPSK
I use the basis functions
r
2
ψ1 (t) = cos ω0 t
T
r
2
ψ2 (t) = sin ω0 t
T
28/32
Vector View of MPSK
I decision region for 4PSK
29/32
Vector View of FSK
I general waveform
r
2E
si (t) = cos (ωi t) , 0 ≤ t ≤ T, i = 1, . . . , M
T
I ωi+1 − ωi = nπ/T
30/32
Vector View of FSK
Z T
aij = si (t)ψj (t)
0
Z Tr r
2E 2
= cos(ωi t) cos(ωj t), 0 ≤ t ≤ T, i = 1, . . . , M
0 T T
√
E i=j
=
0 otherwise .
√ √
s1 (t) = Eψ1 (t) + 0ψ2 (t) + · · · + 0ψM (t) −→ s1 = ( E, 0, 0, . . . , 0)
√ √
s2 (t) = 0ψ1 (t) + Eψ2 (t) + · · · + 0ψM (t) −→ s2 = (0, E, 0, . . . , 0)
.. ......
. · ...
√ √
sM (t) = 0ψ1 (t) + 0ψ2 (t) + · · · + EψM (t) −→ sM = (0, 0, 0, . . . , E)
31/32
Coherent Detection
I Rx exploits the knowledge of carrier’s phase
32/32
Tutorial 1
Minhua Ding
1
Signal Power: Example 2
Sum of 2 sinusoids with different frequencies
2
Signal Power: Example 3
Sum of 2 Sinusoids (same frequency, different phases)
3
Tutorial 2
Minhua Ding
1
Question 2
Consider a square-law device with input vi(t) and output vo (t) such that
where m(t) has a uniform spectrum up to the frequency B. Find the output
vo(t) and sketch the spectrum of the output signal.
2
Question 3
3
Tutorial 3
Minhua Ding
March 6, 2018
Question 1
1
Question 2
2
Question 3
3
Question 4
where fc is the carrier frequency, where m(t) is the message signal, and
mh(t) is its Hilbert transform. This SSB wave is applied to the following
square-law device
y(t) = x2(t).
Show that the output y(t) contains a frequency component at twice the
carrier frequency but it has a time-varying phase, which makes it impractical
to recover the carrier using squaring.
4
Tutorial 4
Minhua Ding
March 6, 2018
Question 1
1
Question 1: solution
For s1(t)
2
Question 1: solution
1 1 dθ(t)
fi(t) = ωi(t) =
2π 2π dt
1 d[1500πt + 3 sin(50πt)]
= = 750 + 75 cos(50πt)
2π dt
3
Question 2
determine
4
Question 2 (answer)
determine
5
Tutorial 5
Minhua Ding
1
Question 1: solution
2
Question 2
3
Tutorial 6
Minhua Ding
1
Question 2
2
Solution
3
Question 1
1. fc = 105.575 MHz.
2. The frequency deviation Δf = 75 kHz = 75 × 103 Hz
sin(8000πt)
3. s(t) = Ac cos 2πfct + kf 4000π
4. Find the expression for the instantaneous frequency.
kf
fi(t) = fc + cos(8000πt)
π
4
Question 2
b. What is the ratio of the maximum to the minimum value of this envelope?
Plot this ratio versus β, assuming that β is restricted to the interval
between 0 ≤ β ≤ 0.3.
Ac 1 + (β)2
ratio = = 1 + β 2.
Ac
5
c. Determine the average power of the narrow-band FM signal.
1
sin α sin β = [cos(α − β) − cos(α + β)]
2
6
Tutorial 8 & 9
1. The information in an analog waveform, with maximum frequency fm = 3kHz, is
to be transmitted over an M -ary PAM system, where the number of pulse levels
is M = 16. The quantization distortion is specified not to exceed ±1% of the
peak-to-peak analog signal.
(a) What is the minimum number of bits/sample, or bits/PCM word that should
be used in digitizing the analog waveform?
(b) What is the minimum required sampling rate, and what is the resulting bit
transmission rate?
(c) What is the PAM pulse or symbol transmission rate?
(d) If the transmission bandwidth (including filtering) equals 12kHz, determine
the bandwidth efficiency for this system.
(a) Encode the word ”HOW” into a sequence of bits, using 7-bit ASCII coding
followed by an eighth bit for error detection, per character. The eighth bit is
chosen so that the number of ones in the 8 bits is an even number. How many
total bits are there in the message?
(b) Partition the bit stream into k = 3 bit segments. Represent each of the 3-bit
segments as an octal number (symbol). How many octal symbols are there in
the message?
(c) If the system were designed with 16-ary modulation, how many symbols would
be used to represent the word ”HOW”?
(d) If the system were designed with 256-ary modulation, how many symbols would
be used to represent the word ”HOW”?
(a) Calculate the effective transmitted bit rate and the symbol rate.
(b) Repeat part (a) for 16-level PAM, eight-level PAM, four-level PAM, and PCM
(binary) waveforms.
5. Given an analog waveform x(t) that has been sampled at its Nyquist rate, fs , using
natural sampling, prove that a waveform (proportional to the original waveform)
can be recovered from the samples, using the recovery technique shown in Figure 1.
Figure 1: see Problem 5
The parameter mfs , is the frequency of the local oscillator, where m is an integer.
The LPF response is (
1 |f | ≤ fs /2
H(f ) =
0 otherwise .
Hint: Recall that the natural sampled waveform xs (t) is of the form
∞
cn ej2πnfs t ,
X
xs (t) = x(t)
−∞
6. An analog signal is sampled at its Nyquist rate fs = 1/Ts , and quantised using L
quantization levels. The derived digital signal is then transmitted on some channel.
(a) Show that the time duration, T of one bit of the transmitted binary encoded
signal must satisfy T ≤ Ts / log2 L.
(b) When is the equality sign valid?
7. Determine the number of quantization levels that are implied if the number of bits
per sample in a given PCM code is
(a) 5
(b) 8
(c) x.
8. Determine the minimum sampling rate necessary to sample and perfectly reconstruct
the signal x(t) = sin(6280t)/(6280t).
9. Consider an audio signal with spectral components limited to the frequency band
300 to 3000Hz. Assume that a sampling rate of 8000 samples/s will be used to
generate a PCM signal. Assume that the ratio of peak signal power to average
quantization noise power at the output needs to be 30 dB
(a) What is the minimum number of uniform quantization levels needed, and what
is the minimum number of bits per sample needed?
(b) Calculate the system bandwidth (as specified by the main spectral lobe of the
signal) required for the detection of such a PCM signal.
(a) What is the maximum allowable time interval between sample values that will
ensure perfect signal reproduction?
(b) If we want to reproduce 1 hour of this waveform, how many sample values need
to be stored?
11. (a) A waveform that is bandlimited to 50 kHz is sampled every 10µs. Show graph-
ically that these samples uniquely characterize the waveform. (Use a sinusoidal
example for simplicity. Avoid sampling at points where the waveform is zero.)
(b) If samples are taken 30µs apart instead of 10µs, show graphically that wave-
forms other than the original can be characterized by the samples.
(a) What is the minimum number of bits per sample or bits per PCM word that
should be used in this PAM transmission system?
(b) What is the minimum required sampling rate, and what is the resulting bit
rate?
(c) What is the 16-ary PAM symbol transmission rate?
13. AT&T first offered digital telephone transmission referred to as T1 service. With
this service, each T1 frame is partitioned into 24 channels or time slots. Each time
slot contains 8 bits (one speech sample), and there is one additional bit per frame
for alignment. The frame generation rate is 8000 frames/s, and the bandwidth used
for transmitting the composite signal is 386 kHz. Find the bandwidth efficiency
(bit/s/Hz) for this signalling scheme.
14. (a) Consider that you desire a digital transmission system, such that the quanti-
zation distortion of any audio source does not exceed ±2% of the peak-to-peak
analog signal voltage. If the audio signal bandwidth and the allowable trans-
mission bandwidth are each 4000 Hz, and sampling take place at the Nyquist
rate, what value of bandwidth efficiency (bits/s/Hz) is required?
(b) Repeat part (a) except that the audio signal bandwidth is 20 kHz (high fidelity),
yet the available transmission bandwidth is still 4000 Hz.
Tutorial 10
1. Assume that in a binary digital communication system, the signal component out
of the correlator receiver is a1 (T ) = +1V and a2 (T ) = −1V with equal probability.
If the Gaussian noise at the correlator output has unit variance, find the probability
of bit error.
2. A bipolar binary signal, si (t), is a +1 or −1V during the interval (0, T ). Additive
white Gaussian noise having two-sided power spectral density of 10−3 W/Hz is added
to the signal. If the received signal is detected with a matched filter, determine the
maximum bit rate that can be sent with a bit error probability of PB ≤ 10−3 .
3. Unipolar RZ signalling constitutes a orthogonal signalling, see Figure 3.12 (a) of the
Sklar. In particular, the unipolar RZ signalling is as follows:
(a) Compute the bit error rate of unipolar RZ with AWGN and a correlator de-
tector assuming that a priori probabilities are equal.
(b) Assume Gaussian noise with noise-power spectral density N0 = 10−8 Watts/Hz.
Moreover, assume that the received pulses have and amplitude of 100 mV. If
the bit-error probability specification is PB = 10−3 , find the largest date rate
that can be transmitted using this system.
Tutorial 11
1. Determine whether or not s1 (t) and s2 (t) are orthogonal over the interval (−1.5T2 <
t < 1.5T2 ), where s1 (t) = cos(2πf1 t+φ1 ) and s2 (t) = cos(2πf2 t+φ2 ), and f2 = 1/T2 .
(a) f1 = f2 and φ1 = φ2
(b) f1 = f2 /3 and φ1 = φ2
(c) f1 = 2f2 and φ1 = φ2
(d) f1 = πf2 and φ1 = φ2
(e) f1 = f2 and φ1 = π/2
(f) f1 = f2 and φ1 = φ2 + π
2. (a) Show that the three functions illustrated in Figure 3 are pairwise orthogonal
over the interval (−2, 2)
(b) Determine the value of the constant, A, that makes the set of functions in
part (a) an orthonormal set.
(c) Express the following waveform, x(t), in terms of the orthonormal set of
part (b). (
1 0≤t≤2
x(t) =
0 otherwise .
26
T /2 T /2
1 2 1
Pg = lim g (t)dt = lim C 2 cos2(ω0t + θ)dt
T →∞ T −T /2 T →∞ T −T /2
T /2
1 C2
= lim [1 + cos(2ω0t + 2θ)] dt
T →∞ T −T /2 2
2 T /2 2 T /2
C C
= lim 1dt + lim cos(2ω0t + 2θ)dt
T →∞ 2T −T /2 T →∞ 2T −T /2
C 2 /2 finite
→0
=C 2/2
27
Signal Power: Example 2
Sum of 2 sinusoids with different frequencies
28
g(t) = C1 cos(ω1t + θ1) + C2 cos(ω2t + θ2), ω1 = ω2, ω1 = 0, ω2 = 0
T /2 T /2
1 2 1
Pg = lim g (t)dt = lim C12 cos2(ω1t + θ1)dt
T →∞ T −T /2 T →∞ T −T /2
T /2
1
+ lim C22 cos2(ω2t + θ2)dt
T →∞ T −T /2
T /2
2C1C2
+ lim cos(ω1t + θ1) cos(ω2t + θ2)dt
T →∞ T
−T /2
finite
→0
C12 C22
= +
2 2
29
Signal Power: Example 3
Sum of 2 Sinusoids (same frequency, different phases)
30
Signal Power: Example 3
Sum of 2 Sinusoids (same frequency, different phases)
31
Use the identity: cos(α + β) = cos α cos β − sin α sin β
g(t) =C1 cos(ω1 t + θ1) + C2 cos(ω1 t + θ2)
=[C1 cos(ω1t) cos θ1 − C1 sin(ω1t) sin θ1]
+ [C2 cos(ω1 t) cos θ2 − C2 sin(ω1 t) sin θ2]
= cos(ω1t) [C1 cos θ1 + C2 cos θ2]
E
F
where φ is the 4-quadrant inverse of tan E . The last line shows that g(t)
is a simple sinusoid with a fixed amplitude, a single frequency and a fixed
phase. Its power can be calculated as
E2 + F 2 C12 + C22 + 2C1 C2 cos(θ1 − θ2)
pg = = .
2 2
32
Question 1
1
Continued from previous page:
1
xAM(t)vL(t) =A[1 + M cos(ωmt)] · [1 + cos(2ωct)]
2
A A
= [1 + M cos(ωmt)] + [1 + M cos(ωmt)] cos(2ωct)
2 2
AM
vo(t) = cos(ωmt).
2
2
1
Lab 1 — Prelab
I. I NSTRUCTIONS
The labs will be conducted and assessed during each lab session (within 2 hours).
• Be on time for your own lab session. It will be helpful if you can arrive at least 5 minutes before each session.
If you are late, you might not be able to finish your lab tasks in time and will lose marks.
• Be prepared for the lab. Preview the lab documents. It is solely your own responsibility to go through the
materials provided.
• Finish the prelab questions before your come to the lab session. Please hand in your answers to the questions
to the instructors during the lab sessions.
3) In the DSB-SC.pdf, according to T1, what is the signal to trigger the oscilloscope? [2 points]
4) If a single-tone message of 2kHz is to modulate the carrier signal of 100kHz, in the MULTIPLIER, which
coupling should one use for better results, the AC coupling or the DC coupling? [3 points]
5) Read about the frequency counter from attached TIMS documents. Please indicate here whether you read it
or not (Yes or No).
2
b) What is the minimum value of xDSB−SC (t)? Denote this value as x min . [2 points]
c) The difference xmax − xmin is referred to as the peak-to-peak amplitude. What is the peak-to-peak
amplitude here? [2 points]
7) Read about the overload of the multiplier from the attached TIMS documents. Please indicate here whether
you read it or not (Yes or No).
8) If the modulating message signal m(t) is a single-tone sinusoid with frequency 1 kHz and the carrier is 10
kHz, what is the bandwidth of the output DSB-SC modulated signal? [3 points]
9) Read about the VCO from the TIMS documents. Please indicate here whether you read it or not (Yes or No).
10) Read about the tuneable LPF from the TIMS documents. Please indicate here whether you read it or not (Yes
or No).
Lab task 9 T12 5
Lab task 10 T13, T14 5
Lab task 11 T15 5
Lab task 12 T16, T17 5
Lab task 13 T18 4
Lab task 14 T19 4
Lab task 15 T20 4
Lab task 16 T21 4
Lab task 17 T22 4
Information about the group members
Students: Please fill the first 3 columns. Instructors: Please fill the last column.
The marks given to each student will be based on prelab, lab group performance and individual
involvement as shown in the form on the next page.
Prelab answers
Marks (out
Student name and ID submitted? Please Signature Index
of 100)
indicated Yes or No.
A
B
C
D
E
F
G
H
I
A record of individual performance
This page is to be filled by the students of each group. For each task, please fill the
information of the students who actually perform the task. For each student who performs a
task, please write down your index in the group and your signature. Use extra paper if needed.
Leader(s) of each task in the group
Lab task 1 T1
Lab task 2 T2
Lab task 3 T3, T4
Lab task 4 T5
Lab task 5 T6
Lab task 6 T7, T9
Lab task 7 T10
Lab task 8 T11
Lab task 9 T12
Lab task 10 T13, T14
Lab task 11 T15
Lab task 12 T16, T17
Lab task 13 T18
Lab task 14 T19
Lab task 15 T20
Lab task 16 T21
Lab task 17 T22
TIMS-301 USER MANUAL
Published by:
web: www.tims.com.au
telephone: + 61-2-9519-3933
fax:+ 61-2-9550-1378
Copyright (C) 1988 - 2004 Emona Instruments Pty Ltd and its related entities. All rights reserved.
No part of this publication may be reproduced, distributed or translated in any form or by any
means, including any network or Web distribution or broadcast for distance learning, or stored
in any database or in any network retrieval system, without the prior written constent of Emona
Instruments Pty Ltd.
Printed in Australia
CONTENTS
TIMS OVERVIEW
TIMS is a telecommunications modelling system. It models mathematical equations representing
electrical signals, or block diagrams representing telecommunications systems.
TIMS is primarily a hands-on rather than demonstration style teaching system, which combines
both the theoretical and practical aspects of implementing systems. We are confident that TIMS
will provide the student with a clearer understanding of the concepts behind telecommunications
theory.
Physically, TIMS is a dual rack system. The top rack accepts up to 12 Eurocard sized, compat-
ible "black boxes", or modules. The lower rack houses a number of fixed modules, as well as the
system power supply.
The modules are very simple electronic circuits, which function as basic communications build-
ing blocks. Each module, fixed or plug-in, has a specific function; functions fall into four general
categories:
Modules are patched together via the front panel sockets using interconnecting leads, to model
the system under investigation.
Note that input and output impedances are intentionally mismatched, so that signal connections
may be made or broken without changing signal amplitudes at module outputs.
B - PLUG-IN MODULES
Any plug-in module may be placed in any of the 12 positions of the upper rack. All modules use
the back plane bus to obtain power supply : only the DSP modules (not part of the BASIC SYS-
TEM) use the bus to transfer signals. The modules are designed so that they may be plugged-in
or removed at any time, without turning off the system power. The modules are not locked
into position and may need to be held while interconnecting leads are removed.
C - LABELLING
All modules are identified as to the function they perform.
Inputs, outputs, controls and switches are labelled so that a student who has had only a brief in-
troduction to TIMS can use the modules without needlessly referring back to this USER
MANUAL.
It should be noted that no variable controls have calibration marks. This is intentional, as the phi-
losophy behind TIMS is that students setup and adjust systems by observing and measuring sig-
nals. This assists the student in gaining a much greater understanding, feel and insight into the
operation of a communications implementation.
Adder - plug-in
Audio Oscillator - plug-in
Buffer Amplifiers - fixed
Dual Analog Switch - plug-in
Frequency and Event Counter - fixed
Headphone Amplifier and 3kHz LPF - fixed
Master Signals - fixed
Multiplier - plug-in
Phase Shifter - plug-in
Quadrature Phase Splitter - plug-in
Scope Display Selector - fixed
Sequence Generator - plug-in
Trunks Panel - fixed
Tuneable LPF - plug-in
Twin Pulse Generator - plug-in
Utilities Module - plug-in
Variable DC - fixed
Voltage Controlled Oscillator - plug-in
60kHz Lowpass Filter - plug-in
BASIC SPECIFICATIONS
POWER SUPPLY
Input 120, 127, 220 or 240V AC, 47Hz to 63Hz
Output + 15V, 2.2A DC
-15V, 2.2A DC
Protection short circuit, overload, thermal
Regulation 0.2%
PHYSICAL
Case Dimensions 490(W) x 330(D) x 310(H) mm
System Weight 10kg
Plug-in Card Dimensions 160 x 100 mm
Plug-in Card Bus Connectors 64 way, 2 row, Eurocard
MODULES
Specifications for each module are listed in the following pages.
Two analog input signals A(t) and B(t) may be added together, in adjustable proportions G and
g. The resulting sum is presented at the output.
G:GAIN CONTROL
FOR INPUT A
ANALOG INPUT
g:GAIN CONTROL
FOR INPUT B
USE
Care must be taken when adjusting the gains to avoid overloading the following modules. Over-
loading will not cause any damage but it means non-linear operation, which is to be avoided in
analog systems. The ADDER is capable of delivering a signal well in excess of the standard refer-
ence level, 4V pk-pk, given a standard level input.
The ADDER can also be used as a normal amplifier by using only one input and turning the gain
of the other input to minimum. It is not necessary to ground the unused input.
Note that gains G and g are negative. All inputs and outputs are DC coupled.
BASIC SPECIFICATIONS
Gain Range 0 < G < 2;
0 < g < 2;
Bandwidth approx 1MHz
Output DC Offset < 10mV, open circuit inputs
PARAMETERS TO NOTE
maximum output level; linearity; polarity inverting; phase shift
The AUDIO OSCILLATOR is a low distortion tuneable frequency sinewave source with a fre-
quency range from 500Hz to 10kHz. Three outputs are provided. Two outputs are sinusoidal,
with their signals in quadrature. The third output is a digital TTL level signal.
INPHASE
SYNCHRONIZE
ANALOG
INPUT
OUTPUT
FREQUENCY
ADJUST
TTL LEVEL
OUTPUT
QUADRATURE
ANALOG
OUTPUT
USE
The frequency of each of the three outputs is the same and is varied by the front panel ∆ f con-
trol. Both the in-phase and quadrature analog output signals have fixed amplitude. Their shape
is sinusoidal, having a distortion of less than 0.1%.
BASIC SPECIFICATIONS
Frequency Range 300Hz to 10kHz
Analog Output Level 4V pk-pk
Distortion < 0.1% analog outputs only
Digital Output TTL level
PARAMETERS TO NOTE
frequency range; relative phase of outputs; amplitude stability with frequency range; harmonic
content; short term stability; synchronizing characteristic.
GAIN CONTROL
ANALOG INPUT OF
ANALOG OUTPUT
FIRST AMPLIFIER
GAIN CONTROL
ANALOG INPUT OF
ANALOG OUTPUT
SECOND AMPLIFIER
USE
These buffers may be used to amplify small signals or attenuate large signals. Each amplifier
has its own gain control on the front panel.
Care should be taken to ensure that later modules are not overloaded due to excessive gain.
Overload will not cause any damage but it means non-linear operation, which is to be avoided in
analog systems. If overload occurs, turn the gain control counter clockwise.
BASIC SPECIFICATIONS
Bandwidth DC to approx 1MHz
Gain 0 to 10
Two identical analog switches are controlled by digital, TTL level signals. The outputs of the two
switches are added internally and presented at the output of the module.
ANALOG INPUT 1
TTL CONTROL
FOR INPUT 1
TTL CONTROL
FOR INPUT 2
USE
Each switch may be closed independently by a TTL HIGH at the respective control input. The
switch outputs are combined internally and are presented at the common output socket. Open
circuit voltage gain between each input and the module output is unity when the switch is
closed.
BASIC SPECIFICATIONS
Analog Input Bandwidth > 300kHz
Maximum CONTROL clock > 100kHz
CONTROL Input Levels TTL only
Maximum Analog Input Level + 8V
PARAMETERS TO NOTE
switch On/Off ratio; linearity; switching speed; analog bandwidth; channel cross talk; DC off-set
9
8
1 7
3 6
4 5
BASIC SPECIFICATIONS
1 OVERflow indication LED
2 ANALOG input:
Bandwidth 40Hz to 1 MHz
Sensitivity 250mV typically, @ 100kHz
Maximum input + 12V
3 TTL Input:
Bandwidth DC to 10MHz
Input TTL level signals only
4 TTL ENABLE may be used to gate the TTL input signal.
Specifications are same as for the TTL input.
5 Mode and Range rotary switch
Frequency counter mode Gate time selection of 0.1s, 1s or 10s with reading in kHz
Event counter mode displays number of pulses counted since the last RESET
6 RESET Push Button resets the count of the Event Counter to zero
7 kHz LED is lit when counter is in FREQUENCY COUNTER mode
8 8 digit, 7 segment display of frequency or pulse counts;
maximum display 99999999
9 COUNTS LED is lit when counter is in EVENT COUNTER mode
The HEADPHONE AMPLIFIER is a wideband, variable gain audio amplifier which will drive stand-
ard 8ohm headphones or a speaker. An independent 3kHz LOWPASS FILTER may be switched
in before the audio amplifier, if required.
FOR SWITCHING
LPF OUTPUT TO
AMPLIFIER INPUT
LOWPASS FILTER
OUTPUT
AMPLIFIER
GAIN ADJUST
USE
This module serves as an electro-acoustic interface between the audio signals within the system
and the user. Included within the HEADPHONE AMPLIFIER module is an independent LOW-
PASS FILTER with a 5th order elliptic characteristic. The filter’s cutoff frequency is 3kHz, stop-
band attenuation is 50dB and passband ripple is 0.2dB.
BASIC SPECIFICATIONS
AUDIO AMPLIFIER Bandwidth < 100kHz
THD 0.2% (RL= 8ohms, P= 125mW)
Maximum Gain 20
Maximum Output Power 500mW
Output Impedance 8 ohms
PARAMETERS TO NOTE
filter corner point; filter shape; passband ripple; out-of- band attenuation; amplifier distortion
Five synchronized analog and digital signals are available, ranging from 2kHz to 100kHz. The
function and frequency of each signal is indicated on the front panel.
QUADRATURE ANALOG
CARRIER SIGNAL
INPHASE ANALOG
CARRIER SIGNAL
TTL LEVEL
ANALOG SIGNAL
USE
Signals are labelled as follows:
CARRIER signals are 100kHz, which for modelling purposes is sufficiently far from the audio
channel bandwidth of 3kHz.
The SAMPLE CLOCK of 8.3kHz, which may be used to sample bandwidth-limited (3kHz) audio
message signals.
The five signals are derived from a master crystal oscillator resulting in low frequency drift. Their
frequencies are fixed internally. The output levels are also fixed. To vary the amplitude, the sig-
nals may be applied to the neighboring buffers.
The analog signals are sinusoidal in shape, having a distortion of less than 0.1%.
Digital signals are all standard TTL level, with rise times of better than 80nsec.
PARAMETERS TO NOTE
short term frequency stability; relative phase of quadrature outputs; harmonic content.
Two analog input signals X(t) and Y(t) may be multiplied together. The resulting product is
scaled by a factor of approximately 1/2 so that, with standard level inputs, later stages are not
overloaded.
INPUT COUPLING
SWITCH
ANALOG INPUT
USE
The input coupling switch may be used to remove input DC components by switching to AC
coupling. It should be noted that any DC component in the output will not be removed.
The "k" factor (a scaling parameter associated with "four quadrant" multipliers) is approximately
one half. It is defined with respect to the OUTPUT from the module and may be measured ex-
perimentally.
BASIC SPECIFICATIONS
Bandwidth approx 1MHz
Characteristic k.X(t).Y(t)
k approx 1/2
PARAMETERS TO NOTE
linearity; k factor; carrier leak; phase response; DC off-set; performance as a squarer; frequency
response; "conversion gain" as a (de)modulator.
The PHASE SHIFTER introduces a phase shift between its input and output. This phase shift is
adjustable by the user. The frequency range of operation can be selected by PCB mounted
switch.
BLOCK DIAGRAM
COARSE PHASE
ADJUST
FINE PHASE
ADJUST
180O PHASE
CHANGE
FRONT PANEL
PCB VIEW
USE
This variable PHASE SHIFTER is capable of varying the magnitude of the phase shift through
360 degrees in two steps. The 180 degree switch selects the step or region of interest; the
COARSE and FINE controls are used to then obtain the required phase shift, Φ.
If the input is COS(µt), then the output is COS(µt- Φ), where Φ lies between 0 and 180 degrees.
Although the PHASE SHIFTER will operate from a few hertz up to 1MHz it has been optimized
to operate in the neighborhood of two frequencies: around 100kHz in the HI range and around
2kHz in the LO range. A PCB mounted switch is used to select the frequency range.
The open circuit gain through the PHASE SHIFTER is essentially unity for all phases, but note
that the amount of phase shift, Φ, is a function of frequency. This is NOT a wideband phase
changer: thus all the frequency components of a complex signal’s spectra are not shifted by the
same phase.
PARAMETERS TO NOTE
Variation of phase change with frequency change.
When the same analog signal is applied to both inputs, the two output signals will differ in phase
by 90 degrees. The phase splitter networks are wideband, typically covering the range from
200Hz to 10kHz.
USE
The QUADRATURE PHASE SPLITTER consists of two wideband phase shifting networks. The
networks’ phase responses vary with frequency in a complimentary manner, giving a 90 degree
phase difference between the outputs, over a wide frequency range.
In communications the most important application is the generation and demodulation of Single
Sideband by the "phasing method".
BASIC SPECIFICATIONS
Frequency Range 200Hz to 10kHz typically
Phase Response 90 degrees between outputs, given the same input signal to both networks.
PARAMETERS TO NOTE
Phase error from 90 degrees. This may be measured directly (difficult !) or calculated from side-
band suppression measurements.
INPUT SELECTOR
INPUT SELECTOR
USE
Connection to the oscilloscope is via BNC sockets. Inputs are standard 4mm sockets. Although
the input sockets are YELLOW (analog), either analog or digital signals may be examined.
Using a common external clock signal, the sequence generator outputs two independent
pseudorandom sequences X and Y. A SYNC output is provided which is coincident with the
start of the sequences. The sequences may be stopped and restarted at any time via front panel
controls. Sequences X and Y are available as either standard TTL or analog level output.
RESET
ANALOG OUTPUT
PUSH BUTTON
TTL LEVEL
ANALOG OUTPUT
RESET
BEGINNING OF
SEQUENCE SYNCH
USE
An external clock signal must be provided to operate the SEQUENCE GENERATOR. This may
be sinusoidal or TTL: separate input sockets are used.
The sequences may be stopped at any time by either depressing the RESET button or applying
a TTL HI signal to the RESET input. To restart the sequences from the beginning, release the
RESET button or apply a TTL LO to the RESET input.
The length of the sequences may be selected by a PCB mounted dip switch. Four independent
sequence pairs are available from lengths of 25 to 211.
PARAMETERS TO NOTE
sequence distribution; noise generation using pseudorandom sequences.
The TRUNKS PANEL provides inputs and outputs to signals which are transmitted along the OP-
TIONAL TIMS BUS classroom network. The three outputs SIGNAL 1, SIGNAL 2 and SIGNAL 3
present signals from the lecturer’s master system. IN and OUT allow for signals to be respec-
tively received from and transmitted to a neighboring TIMS system.
SIGNALS 1, 2 & 3
COME FROM THE
MASTER TIMS SYSTEM
IF TRUNKS IS CONNECTED
FRONT PANEL
USE
Note that the TRUNKS PANEL is a module that differs from the TIMS’ front panel color code and
alignment conventions.
Though the inputs and outputs are YELLOW (analog), either analog or digital signals may be
used. Also, the signal input, OUT, which accepts a signal that is to be transmitted to a neighbor-
ing TIMS system, is on the right hand side.
Local Channels 2 : IN brings the incoming signal FROM an adjacent TIMS’ OUT port.
OUT carries the outgoing signal TO the other adjacent TIMS’ IN port.
Local Channel Bandwidth 350kHz (typ), ac coupled
The cutoff frequency of this LOWPASS FILTER can be varied using the TUNE control. Two
frequency ranges, WIDE and NORMAL, can be selected by a front panel switch. The GAIN
control allows signal amplitudes to be varied if required.
GAIN ADJUST
FREQUENCY
RANGE SELECT
BLOCK DIAGRAM
FRONT PANEL
USE
This lowpass filter has an elliptic filter characteristic. The stopband attenuation is typically 50dB
and passband ripple is approximately 0.5dB.
The GAIN control is used to vary the amplitude of the output signal. Care should be taken to
avoid overloading/saturation. Two frequency ranges are provided. NORMAL range provides
more precise control over the lower audio band, used for telecommunications message
channels. The WIDE range expands the filter’s range to above 10kHz. The CLK output provides
an indication of the filter’s cutoff frequency.
A positive going edge applied at the CLOCK input causes a positive pulse to occur at the out-
put terminals. There are two operating modes: TWIN and SINGLE. Only TWIN mode is limited to
low frequency CLOCK inputs.
In TWIN mode, Q1 outputs the leading pulse and Q2 outputs the delayed pulse. The time be-
tween pulses Q1 and Q2 can be varied, as can the pulses’ widths.
In SINGLE mode, only Q1 outputs a positive going pulse, while Q2 outputs the inverse of Q1.
The pulse width can be varied.
FRONT PANEL
TIMING DIAGRAM
USE
A digital TTL level signal is applied to the CLK input. The GENERATOR then outputs one or two
pulses, depending upon the operating mode selected. Use the PCB mounted MODE switch to
select either SINGLE or TWIN operating mode.
TWIN MODE
TWIN mode is used when two sequential pulses are needed. Two equal width positive pulses oc-
cur as a result of each CLK signal positive edge. Pulse Q1 always occurs before pulse Q2. The
width of both pulses is controlled by the front panel WIDTH control. The DELAY control varies
the spacing between the two pulses. Note that TWIN mode will only accept CLOCK input signals
of up to 50kHz, depending upon front panel settings.
If WIDTH and DELAY have been incorrectly set, causing anomalous operation, the ERROR
LED will be lit. To eliminate the error reduce DELAY and then WIDTH - by turning counter clock-
wise.
Equal width positive pulses occur at Q1 output as a result of each CLK signal positive edge. The
width of the pulses is controlled by the front panel WIDTH control. Q2 simultaneously outputs
the compliment of Q1. The DELAY control is not used in this mode.
Note that Q1 includes both a TTL level and an AC coupled output pulse.
BASIC SPECIFICATIONS
TWIN MODE
Clock Frequency Range < 50kHz
Pulse WIDTH 3µs < tw < 25µs
Pulse DELAY Q2-Q1 10µs < td < 120µs
Error Indication 2tw + td > tCLK
SINGLE MODE
Clock Frequency Range < 200kHz
Pulse WIDTH 3µs < tw < 25µs
(i) A signal COMPARATOR with TTL output and CLIPPER with bipolar output, for squaring analog
waveforms. The COMPARATOR’s threshold level may be set as required by applying a DC volt-
age to the REF input. The CLIPPER’s gain may be set by adjusting DIP switches SW1 and SW2.
(iii) Simple diode and single pole, audio range, RC Lowpass Filter.
USE
COMPARATOR
The COMPARATOR will square any analog signal and provide a standard TTL level output. The
switching threshold level is determined by the voltage level applied to the REF input.
NOTE: For correct COMPARATOR operation, the REF input must never be left unconnected.
The REF input may be connected to GROUND, VARIABLE DC or any other signal source.
CLIPPER
The CLIPPER will amplify any analog TIMS level signal and then clip the amplitude of the ampli-
fied signal, to a fixed level of approximately + 1.8V. The clipping action is performed by stand-
ard small signal diodes.
NOTE: The REF input is NOT used by the CLIPPER.
DIP switches SW1 and SW2 will be found in the middle of the UTILITIES module’s circuit board.
NOTE: Both halves (bits) of each switch must be in the SAME position at all times.
BASIC SPECIFICATIONS
COMPARATOR
Operating Range > 500kHz
TTL Output Risetime 100nsec (typ)
CLIPPER
Operating Range > 500kHz
Output Level 1.8Vpk (typ)
Adjustable Gains 3 steps; x0.8, x8 and x40 (approx)
RECTIFIER
Bandwidth DC to 500kHz (approx)
RC LPF
LPF -3dB 2.8kHz (approx)
+ 5V
DC VOLTAGE
CONTROL
DC OUTPUT
GROUND
REFERENCE
USE
The DC voltage output varies from about -2.5V when the control is fully counter clockwise
through zero to + 2.5V when control is turned fully clockwise. If greater resolution or wider
range is required, then one of the BUFFER AMPLIFIERS can be used in conjunction with the
VARIABLE DC module.
BASIC SPECIFICATIONS
Voltage Range + 2.5V DC
Short-term Stability < 2mV/hr
Resolution approx 20mV
Output Current < 5mA
The Voltage Controlled Oscillator module functions in two modes: either as a VOLTAGE CON-
TROLLED OSCILLATOR with analog input voltage or as an FSK GENERATOR with digital input.
Both modes have two frequency ranges of operation which are selected by a range switch. The
VCO frequency and input sensitivity can be controlled from the front panel.
FREQUENCY
RANGE SELECTION
FRONT PANEL
PCB VIEW
VCO USE
STANDARD VCO OPERATION
The VCO output frequency is controlled by an analog input voltage. The input voltage, Vin, is
scaled - amplified - by the front panel GAIN control. A DC voltage can be added to Vin inter-
nally, thus setting the start or CENTER FREQUENCY, fo . The CENTER FREQUENCY is defined
as the VCO output frequency, when no voltage is applied to the Vin connector. The Vin input is
internally tied to ground if no signal is applied.
The Vin OVERLOAD LED is lit when the sum of these voltages - scaled Vin plus CENTER FRE-
QUENCY DC offset - exceed the oscillator’s internal operating limits. Decrease the GAIN - turn
counter clockwise - and/or shift the CENTER FREQUENCY, fo , to extinguish the LED.
The frequency range switch selects between the HI or carrier band and the LO or audio band.
Both sinewave and digital outputs are available.
STEP 1 - Set the VARIABLE DC module’s output close to zero (marker knob at 12 o’clock
position).
STEP 2.1 - Turn the GAIN control of the VCO to zero, fully counter-clockwise.
STEP 2.2 - Now, turn the GAIN control up, clockwise, just a little (only a few degrees).
STEP 3 - Set the VCO module’s output frequency as close as possible to the frequency of
interest. Use the frequency adjust knob, fo. Use the FREQUENCY COUNTER to
measure the VCO’s output frequency.
STEP 4 - Finally, patch the VARIABLE DC module’s output to the VCO module’s frequency
control input, Vin, with a standard patching lead.
FINE FREQUENCY CONTROL of the VCO module is now achieved by turning the VARIABLE DC
module’s voltage control knob.
FSK USE
A PCB mounted slide switch selects between FSK and VCO modes of operation. The two out-
put frequencies, FSK1 and FSK2 , (MARK and SPACE), are set by varying the PCB mounted, fin-
ger adjustable trimmers. As in VCO mode, the frequency range switch selects between the HI or
carrier band and the LO or audio band. The digital data input accepts only TTL level signals.
Both sinewave and digital outputs are available.
GAIN and CENTER FREQ, fo , controls and the Vin connector are not used in the FSK mode.
BASIC SPECIFICATIONS
VCO MODE
Frequency Ranges 1.5kHz < LO < 17kHz; sinewave and TTL
( < 300Hz with external input voltage, Vin )
70kHz < HI < 130kHz; sinewave and TTL
Input Voltage -3V < Vin < 3V
Overload limit indication LED Vvco > + 3V;
Vvco is the internal voltage finally applied to the VCO circuitry.
GAIN G.Vin : 1 < G < 2
Center Frequency Voltage Range - 3V < Vfc < 3V;
Vfc is a DC voltage added INTERNALLY to G.Vin
FSK MODE
Frequency Ranges 1.5kHz < FSK1, LO < 9kHz
500Hz < FSK2, LO < 4kHz
An elliptic lowpass filter is provided with a cutoff point of approximately 60kHz. The input signal
amplitude can be adjusted with the gain control.
USE
The 60kHz LPF allows carrier signals to be removed from a given signal spectrum.
For example, as the lowpass filter for envelope detector applications.
The GAIN control allows input signals to be attenuated, to avoid overloading the filter.
BASIC SPECIFICATIONS
Cutoff Frequency approx 60kHz
Passband Gain variable, 0 to 5 (approx)
Stopband Attenuation 50dB (typ)
Passband Ripple 0.1dB (typ)
PARAMETERS TO NOTE
corner point; response shape; passband ripple; phase shift; out of band attenuation.
The TIMS-301/C System is Safety Class I laboratory equipment and is designed to meet the requirements
of EN61010-1. The Installation Category is Category II, intended for operation from a normal single phase
supply.
The TIMS-301/C System has been designed for indoor use in a Pollution Degree I environment (no
pollution, or only dry non-conductive pollution) in the temperature range of 5 degrees C to 40 degrees C,
20% to 80% RH (non-condensing). It may occasionally be subjected to temperature between +5 degrees
and -10 degrees without degradation of its safety.
Any interruption of the mains earth conductor inside or outside the equipment will make the equipment
dangerous. Intentional interruption is prohibited.
Make sure that only fuses with the required rated current and of the specified type are used for
replacement.
Use of this equipment in a manner not specified by these instructions may impair the safety protection
provided. Do not operate the equipment outside its rated supply voltages or environmental range. In
particular, excessive moisture may impair safety.
I mains supply ON
Installation
Check the operating voltage marked on the rear panel is suitable for the local supply. Should it be
necessary to change the operating voltage, please contact your supplier or Emona Instruments Pty Ltd.
FUSE
Ensure that the correct mains fuse is fitted for the set operating voltage, as follows:
MAINS LEAD
Ensure an approved type IEC mains lead with earth connection is used.
Any interruption of the mains earth conductor inside or outside the equipment will make the equipment
dangerous. Intentional interruption is prohibited.
MOUNTING
The equipment is designed for bench use.
Sicherheitsanweisung für das System TIMS-301/C
Dieses System ist ein Laborgerät der Sicherheitsklasse 1, das der Norm EN 61010-1 und der
Kategorie 2 entspricht und für einphasigen Strom vorgesehen ist.
Es ist nur für den Betrieb in Innenräumen zulässig, in einer Umgebung des Verschmutzungsgrades 1
( keine Verschmutzung oder trockene, nichtleitende Verschmutzung ), bei Temperaturen
zwischen 5 und 40°Celsius und 20-80% relativer Luft feuchtigkeit (ohne Kondensation).
Jedes Abtrennen der Masseleitung im Inneren oder Äußeren des Systems ist lebensgefährlich. Der
Schutzleiter darf auf keinen Fall unterbrochen werden.
Benutzen Sie ausschließlich Sicherungen, deren Nennstrom und Typ den spezifizierten Werten
entsprechen.
Jeder Gebrauch dieses Apparats unter Bedingungen, die in dieser Gebrauchsanweisung nicht
festgesetzt sind, kann die Sicherheit beeinträchtigen. Benutzen Sie den Apparat keinesfalls außerhalb
der spezifizierten Versorgungsspannung oder der beschriebenen atmosphärischen Bedingungen. Ein
Übermaß an Feuchtigkeit vermindert die Sicherheit.
Frontplattenanschlüsse
ROTE EINGÄNGE
Achtung! Keine externe Spannung > +5,5 V / < -0,5 V oder Signale > 1 MHz
anschließen.
GELBE EINGÄNGE
Achtung! Keine externe Spannung die +/-15 V übersteigt oder Signale mit einer
Frequenz > 200 MHz anschließen
O Stromversorgung ausgeschaltet
I Stromversorgung eingeschaltet
Installierung
Stellen Sie sicher, dass die Betriebsspannung, die auf der Rückwand angegeben ist, Ihrer
Stromversorgung entspricht. Um die Betriebsspannung zu verändern, kontaktieren Sie Ihren
Lieferanten oder Emona Instruments Pty Ltd.
SICHERUNG
Stellen Sie sicher, dass Sie eine Sicherung benutzen, die Ihrer Betriebsspannung entspricht:
Für einen Gebrauch von 220 oder 240 V: 630 mA (T) 250 V
Für einen Gebrauch von 110 oder 127 V: 1,2 A (T) 250 V
VERSORGUNGSKABEL
Benutzen nur Netzkabel mit einem Schutzleiter.
Consignes de sécurité concernant le système TIMS-301/C
Le manuel utilisateur du système TIMS-301/C comprend d’importantes informations et mises en garde de
sécurité devant être prises en compte par l’utilisateur.
Il a été conçu pour être utilisé en intérieur, dans un environnement de degré de pollution 1 (pas de pollution
ou pollution sèche non conductrice) sous des températures variant entre 5 et 40 ºC, avec 20 à 80 %
d’humidité relative (sans condensation). Il peut occasionnellement être utilisé à des températures entre 5
et -10 ºC.
Toute déconnexion du fil de masse à l'intérieur ou à l'extérieur du système rendra son utilisation
dangereuse. Ce fil ne doit en aucun cas être déconnecté.
N’utilisez que des fusibles dont le courant nominal et le type correspondent aux valeurs spécifiées.
Toute utilisation de cet appareil dans des conditions non stipulées dans le manuel est susceptible
d’endommager les dispositifs de sécurité. N’utilisez pas l’appareil hors des tensions d’alimentation ou des
conditions atmosphériques prescrites. Un excès d’humidité peut notamment nuire à la sécurité du système.
- ENTRÉES, JAUNES
ATTENTION !
NE PAS APPLIQUER DE TENSIONS EXTÉRIEURES DÉPASSANT +/-15 V
ni de FRÉQUENCES SUPÉRIEURES À200 MHz
FUSIBLE
Vérifiez que vous utilisez le fusible d’alimentation correspondant à votre tension de fonctionnement :
CÂBLE D’ALIMENTATION
Utilisez un câble d’alimentation avec prise de terre approuvé par la CEI.
Toute déconnexion du fil de masse à l'intérieur ou à l'extérieur du système rendra son utilisation
dangereuse. Ce fil ne doit en aucun cas être déconnecté.
MONTAGE
Cet appareil est conçu pour une utilisation en laboratoire.
EC Declaration of Conformity
for the
Manufactured by:
Emona Instruments Pty Ltd
86 Parramatta Road, Camperdown NSW AUSTRALIA
Statement of Conformity:
Based on test results using appropriate standards, the product is in conformity
with Low Voltage Directive 73/23/EEC.
“The use of the apparatus outside the classroom, laboratory, study area or
similar such place invalidates conformity with the protection requirements of
the Electromagnetic Compatibility Directive (89/336/EEC) and could lead to
prosecution.
Standard used:
EN 61010-1 (1993) Safety Requirements for Electrical Equipment for
Measurement, Control, and Laboratory Use.
Alfred Breznik
Technical Director
INTRODUCTION TO
MODELLING WITH TIMS
model building.............................................................................2
why have patching diagrams ?....................................................................2
organization of experiments ........................................................3
who is running this experiment ?.................................................3
early experiments.........................................................................4
modulation..................................................................................................4
messages ......................................................................................4
analog messages .........................................................................................4
digital messages..........................................................................................5
bandwidths and spectra................................................................5
measurement...............................................................................................6
graphical conventions ..................................................................6
representation of spectra.............................................................................6
filters ..........................................................................................................8
other functions............................................................................................9
measuring instruments .................................................................9
the oscilloscope - time domain ...................................................................9
the rms voltmeter......................................................................................10
the spectrum analyser - frequency domain ...............................................10
oscilloscope - triggering ............................................................10
what you see, and what you don`t..............................................11
overload. ....................................................................................11
overload of a narrowband system.............................................................12
the two-tone test signal.............................................................................12
Fourier series and bandwidth estimation ...................................13
multipliers and modulators ........................................................13
multipliers ................................................................................................13
modulators................................................................................................14
envelopes ...................................................................................15
extremes.....................................................................................15
analog or digital ? ......................................................................15
SIN or COS ? .............................................................................16
the ADDER - G and g..............................................................16
abbreviations..............................................................................17
list of symbols............................................................................18
model building
With TIMS you will be building models. These models will most often be
hardware realizations of the block diagrams you see in a text book, or have
designed yourself. They will also be representations of equations, which
themselves can be depicted in block diagram form.
What ever the origin of the model, it can be patched up in a very short time. The
next step is to adjust the model to perform as expected. It is perfectly true that you
might, on occasions, be experimenting, or just ‘doodling’, not knowing what to
expect. But in most cases your goal will be quite clear, and this is where a
systematic approach is recommended.
If you follow the steps detailed in the first few experiments you will find that the
models are adjusted in a systematic manner, so that each desired result is obtained
via a complete understanding of the purpose and aim of the intermediate steps
leading up to it.
The patching diagram is presented as firm evidence that a model of the system can
be created with TIMS.
organization of experiments
Each of the experiments in this Text is divided into three parts.
1. The first part is generally titled PREPARATION. This part should be studied
before the accompanying laboratory session.
2. The second part describes the experiment proper. Its title will vary. You will
find the experiment a much more satisfying experience if you arrive at the
laboratory well prepared, rather than having to waste time finding out what has
to be done at the last moment. Thus read this part before the laboratory
session.
3. The third part consists of TUTORIAL QUESTIONS. Generally these
questions will be answered after the experimental work is completed, but it is a
good idea to read them before the laboratory session, in case there are special
measurements to be made.
While performing an experiment you should always have access to the TIMS user
manuals - namely the TIMS User Manual (fawn cover) which contains
information about the modules in the TIMS Basic Set of modules, and the TIMS
Advanced Modules and TIMS Special Applications Modules User Manual (red
cover).
modulation
One of the many purposes of modulation is to convert a message into a form more
suitable for transmission over a particular medium.
The analog modulation methods to be studied will generally transform the analog
message signal in the audio spectrum to a higher location in the frequency
spectrum.
The digital modulation methods to be studied will generally transform a binary
data stream (the message), at baseband 1 frequencies, to a different format, and
then may or may not translate the new form to a higher location in the frequency
spectrum.
It is much easier to radiate a high frequency (HF) signal than it is a relatively low
frequency (LF) audio signal. In the TIMS environment the particular part of the
spectrum chosen for HF signals is centred at 100 kHz.
It is necessary, of course, that the reverse process, demodulation, can be carried
out - namely, that the message may be recovered from the modulated signal upon
receipt following transmission.
messages
Many models will be concerned with the transmission or reception of a message,
or a signal carrying a message. So TIMS needs suitable messages. These will
vary, depending on the system.
analog messages
The transmission of speech is often the objective in an analog system.
High-fidelity speech covers a wide frequency range, say 50 Hz to 15 kHz, but for
communications purposes it is sufficient to use only those components which lie in
the audio frequency range 300 to 3000 Hz - this is called ‘band limited speech’.
Note that frequency components have been removed from both the low and the
high frequency end of the message spectrum. This is bandpass filtering.
Intelligibility suffers if only the high frequencies are removed.
Speech is not a convenient message signal with which to make simple and precise
measurements. So, initially, a single tone (sine wave) is used. This signal is more
easily accommodated by both the analytical tools and the instrumentation and
measuring facilities.
1 defined later
digital messages
The transmission of binary sequences is often the objective of a digital
communication system. Of considerable interest is the degree of success with
which this transmission is achieved. An almost universal method of describing the
quality of transmission is by quoting an error rate 3.
If the sequence is one which can take one of two levels, say 0 and 1, then an error
is recorded if a 0 is received when a 1 was sent, or a 1 received when a 0 was sent.
The bit error rate is measured as the number of errors as a proportion of total bits
sent.
To be able to make such a measurement it is necessary to know the exact nature of
the original message. For this purpose a known sequence needs to be transmitted,
a copy of which can be made available at the receiver for comparison purposes.
The known sequence needs to have known, and useful, statistical properties - for
example, a ‘random’ sequence. Rather simple generators can be implemented
using shift registers, and these provide sequences of adjustable lengths. They are
known as pseudo-random binary sequence (PRBS) generators. TIMS provides
you with just such a SEQUENCE GENERATOR module. You should refer to a
suitable text book for more information on these.
2 the two-tone test signal is introduced in the experiment entitled ‘Amplifier overload’.
3 the corresponding measurement in an analog system would be the signal-to-noise ratio (relatively
easy to measure with instruments), or, if speech is the message, the ‘intelligibility’; not so easy to
define, let alone to measure.
measurement
The bandwidth of a signal can be measured with a SPECTRUM ANALYSER.
Commercially available instruments typically cover a wide frequency range, are
very accurate, and can perform a large number of complex measurements. They
are correspondingly expensive.
TIMS has no spectrum analyser as such, but can model one (with the TIMS320
DSP module), or in the form of a simple WAVE ANALYSER with TIMS analog
modules. See the experiment entitled Spectrum analysis - the WAVE ANALYSER
(within Volume A2 - Further & Advanced Analog Experiments).
Without a spectrum analyser it is still possible to draw conclusions about the
location of a spectrum, by noticing the results when attempting to pass it through
filters of different bandwidths. There are several filters in the TIMS range of
modules. See Appendix A, and also the TIMS User Manual.
graphical conventions
representation of spectra
It is convenient to have a graphical method of depicting spectra. In this work we
do not get involved with the Fourier transform, with its positive and negative
frequencies and double sided spectra. Elementary trigonometrical methods are
used for analysis. Such methods are more than adequate for our purposes.
When dealing with speech the mathematical analysis is dropped, and descriptive
methods used. These are supported by graphical representations of the signals and
their spectra.
In the context of modulation we are constantly dealing with sidebands, generally
derived from a baseband message of finite bandwidth. Such finite bandwidth
signals will be represented by triangles on the spectral diagrams.
The steepness of the slope of the triangle has no special significance, although
when two or more sidebands, from different messages, need to be distinguished,
each can be given a different slope.
Although speech does not have a DC component, the triangle generally extends
down to zero (the origin) of the frequency scale (rather than being truncated just
before it). For the special case in which a baseband signal does have a DC
component the triangle convention is sometimes modified slightly by adding a
vertical line at the zero-frequency end of the triangle.
a DSBSC
The direction of the slope is important. Its significance becomes obvious when
we wish to draw a modulated signal. The figure above shows a double sideband
suppressed carrier (DSBSC) signal.
Note that there are TWO triangles, representing the individual lower and upper
sidebands. They slope towards the same point; this point indicates the location of
the (suppressed) carrier frequency.
filters
In a block diagram, there is a simple technique for representing filters. The
frequency spectrum is divided into three bands - low, middle, and high - each
represented by part of a sinewave. If a particular band is blocked, then this is
indicated by an oblique stroke through it. The standard responses are represented
as in the Figure below.
measuring instruments
• waveform shape
• waveform frequency - by calculation, using time base information
• waveform amplitude - directly from the display
• system linearity - by observing waveform distortion
• an estimate of the bandwidth of a complex signal; eg, from the sharpness of
the corners of a square wave
Instruments which identify the spectral components of a signal and display the
spectrum are generally called spectrum analysers. These instruments tend to be
more expensive than wave analysers. Something more sophisticated is required
for their modelling, but this is still possible with TIMS, using the digital signals
processing (DSP) facilities - the TIMS320 module can be programmed to provide
spectrum analysis facilities.
Alternatively the distributors of TIMS can recommend other affordable methods,
compatible with the TIMS environment.
oscilloscope - triggering
synchronization
As is usually the case, to achieve ‘text book like’ displays, it is important to
choose an appropriate signal for oscilloscope triggering. This trigger signal is
almost never the signal being observed ! The recognition of this point is an
important step in achieving stable displays.
This chosen triggering signal should be connected directly to the oscilloscope
sweep synchronizing circuitry. Access to this circuitry of the oscilloscope is
available via an input socket other than the vertical deflection amplifier input(s).
It is typically labelled ‘ext. trig’ (external trigger), ‘ext. synch’ (external
synchronization), or similar.
sub-multiple frequencies
If two or more periodic waveforms are involved, they will only remain stationary
with respect to each other if the frequency of one is a sub-multiple of the other.
which channel ?
Much time can be saved if a consistent use of the SCOPE SELECTOR is made.
This enables quick changes from one display to another with the flip of a switch.
In addition, channel identification is simplified if the habit is adopted of
consistently locating the trace for CH1 above the trace for CH2.
Colour coded patching leads can also speed trace identification.
overload
If wanted signal levels within a system fall ‘too low’ in amplitude, then the signal-
to-noise ratio (SNR) will suffer, since internal circuit noise is independent of
signal level.
If signal levels within a system rise ‘too high’, then the SNR will suffer, since the
circuitry will overload, and generate extra, unwanted, distortion components;
these distortion components are signal level dependent. In this case the noise is
6 defined above
7 the assumption being that the oscilloscope is set to sweep across the screen over a few periods of
the difference frequency.
multipliers
An ideal multiplier performs as a multiplier should ! That is, if the two time-
domain functions x(t) and y(t) are multiplied together, then we expect the result to
be x(t).y(t), no more and no less, and no matter what the nature of these two
functions. These devices are called four quadrant multipliers.
There are practical multipliers which approach this ideal, with one or two
engineering qualifications. Firstly, there is always a restriction on the bandwidth
of the signals x(t) and y(t).
There will inevitably be extra (unwanted) terms in the output (noise, and
particularly distortion products) due to practical imperfections.
Provided these unwanted terms can be considered ‘insignificant’, with respect to
the magnitude of the wanted terms, then the multiplier is said to be ‘ideal’. In the
TIMS environment this means they are at least 40 dB below the TIMS ANALOG
REFERENCE LEVEL 8.
Such a multiplier is even said to be linear. That is, from an engineering point of
view, it is performing as expected.
modulators
In communications practice the circuitry used for the purpose of performing the
multiplying function is not always ideal in the four quadrant multiplier sense;
such circuits are generally called modulators.
Modulators generate the wanted sum or difference products but in many cases the
input signals will also be found in the output, along with other unwanted
components at significant levels. Filters are used to remove these unwanted
components from the output (alternatively there are ‘balanced’ modulators. These
have managed to eliminate either one or both of the original signals from the
output).
These modulators are restricted in other senses as well. It is allowed that one of
the inputs can be complex (ie., two or more components) but the other can only be
a single frequency component (or appear so to be - as in the switching modulator).
This restriction is of no disadvantage, since the vast majority of modulators are
required to multiply a complex signal by a single-component carrier.
Accepting restrictions in some areas generally results in superior performance in
others, so that in practice it is the switching modulator, rather than the idealized
four quadrant multiplier, which finds universal use in communications electronics.
Despite the above, TIMS uses the four quadrant multiplier in most applications
where a modulator might be used in practice. This is made possible by the
relatively low frequency of operation, and modest linearity requirements
extremes
Except for a possible frequency scaling effect, most experiments with TIMS will
involve realistic models of the systems they are emulating. Thus message
frequencies will be ‘low’, and carrier frequencies ‘high’. But these conditions
need not be maintained. TIMS is a very flexible environment.
analog or digital ?
What is the difference between a digital signal and an analog signal ? Sometimes
this is not clear or obvious.
In TIMS digital signals are generally thought of as those being compatible with
the TTL standards. Thus their amplitudes lie in the range 0 to +5 volts. They
come from, and are processed by, modules having RED output and input sockets.
It is sometimes necessary, however, to use an analog filter to bandlimit these
signals. But their large DC offsets would overload most analog modules, . Some
digital modules (eg, the SEQUENCE GENERATOR) have anticipated this, and
provide an analog as well as a digital (TTL) output. This analog output comes
10 for an entertaining and enlightening look at the effects of major changes to one or more of the
physical constants, see G. Gamow; Mr Tompkins in Wonderland published in 1940, or easier Mr.
Tompkins in Paperback, Cambridge University Press, 1965.
SIN or COS ?
Single frequency signals are generally referred to as sinusoids, yet when
manipulating them trigonometrically are often written as cosines. How do we
obtain cosωt from a sinusoidal oscillator !
There is no difference in the shape of a sinusoid and a cosinusoid, as observed
with an oscilloscope. A sinusoidal oscillator can just as easily be used to provide
a cosinusoid. What we call the signal (sin or cos) will depend upon the time
reference chosen.
Remember that cosωt = sin(ωt + π/2)
Often the time reference is of little significance, and so we choose sin or cos, in
any analysis, as is convenient.
abbreviation meaning
AM amplitude modulation
ASK amplitude shift keying (also called OOK)
BPSK binary phase shift keying
CDMA code division multiple access
CRO cathode ray oscilloscope
dB decibel
DPCM differential pulse code modulation
DPSK differential phase shift keying
DSB double sideband (in this text synonymous with DSBSC)
DSBSC double sideband suppressed carrier
DSSS direct sequence spread spectrum
DUT device under test
ext. synch. external synchronization (of oscilloscope). ‘ext. trig.’ preferred
ext. trig. external trigger (of an oscilloscope)
FM frequency modulation
FSK frequency shift keying
FSD full scale deflection (of a meter, for example)
IP intermodulation product
ISB independent sideband
ISI intersymbol interference
LSB analog: lower sideband digital: least significant bit
MSB most significant bit
NBFM narrow band frequency modulation
OOK on-off keying (also called ASK)
PAM pulse amplitude modulation
PCM pulse code modulation
PDM pulse duration modulation (see PWM)
PM phase modulation
PPM pulse position modulation
PRK phase reversal keying (also called PSK)
PSK phase shift keying (also called PRK - see BPSK)
PWM pulse width modulation (see PDM)
SDR signal-to-distortion ratio
SNR signal-to-noise ratio
SSB single sideband (in this text is synonymous with SSBSC)
SSBSC single sideband suppressed carrier
SSR sideband suppression ratio
TDM time division multiplex
THD total harmonic distortion
VCA voltage controlled amplifier
WBFM wide band frequency modulation
PREPARATION................................................................................. 34
definition of a DSBSC .............................................................. 34
block diagram...........................................................................................36
viewing envelopes ..................................................................... 36
multi-tone message.................................................................... 37
linear modulation .....................................................................................38
spectrum analysis ...................................................................... 38
EXPERIMENT ................................................................................... 38
the MULTIPLIER ..................................................................... 38
preparing the model................................................................... 38
signal amplitude. ....................................................................... 39
fine detail in the time domain.................................................... 40
overload ...................................................................................................40
bandwidth.................................................................................. 41
alternative spectrum check ........................................................ 44
speech as the message ............................................................... 44
TUTORIAL QUESTIONS ................................................................. 45
TRUNKS................................................................................... 46
APPENDIX......................................................................................... 46
TUNEABLE LPF tuning information ....................................... 46
PREPARATION
This experiment will be your introduction to the MULTIPLIER and the double
sideband suppressed carrier signal, or DSBSC. This modulated signal was probably
not the first to appear in an historical context, but it is the easiest to generate.
You will learn that all of these modulated signals are derived from low frequency
signals, or ‘messages’. They reside in the frequency spectrum at some higher
frequency, being placed there by being multiplied with a higher frequency signal,
usually called ‘the carrier’ 1.
definition of a DSBSC
Consider two sinusoids, or cosinusoids, cosµt and cosωt. A double sideband
suppressed carrier signal, or DSBSC, is defined as their product, namely:
DSBSC = E.cosµt . cosωt ........ 1
Equation 3 shows that the product is represented by two new signals, one on the sum
frequency (ω + µ), and one on the difference frequency (ω - µ) - see Figure 1.
1 but remember whilst these low and high qualifiers reflect common practice, they are not mandatory.
34 - A1 DSBSC generation
Remembering the inequality of eqn. (2) the two new components are located close to
the frequency ω rad/s, one just below, and the other just above it. These are referred
to as the lower and upper sidebands 2 respectively.
+1
message
0
-1
DSBSC
E
time
-E
Notice the waveform of the DSBSC in Figure 2, especially near the times when the
message amplitude is zero. The fine detail differs from period to period of the
message. This is because the ratio of the two frequencies µ and ω has been made
non-integral.
Although the message and the carrier are periodic waveforms (sinusoids), the
DSBSC itself need not necessarily be periodic.
2 when, as here, there is only one component either side of the carrier, they are better described as side
frequencies. With a more complex message there are many components either side of the carrier, from
whence comes the term sidebands.
DSBSC generation A1 - 35
block diagram
A block diagram, showing how eqn. (1) could be modelled with hardware, is shown
in Figure 3 below.
CARRIER B.cos ω t
ω
viewing envelopes
This is the first experiment dealing with a narrow band signal. Nearly all modulated
signals in communications are narrow band. The definition of 'narrow band' has
already been discussed in the chapter Introduction to Modelling with TIMS.
You will have seen pictures of DSB or DSBSC signals (and amplitude modulation -
AM) in your text book, and probably have a good idea of what is meant by their
envelopes 3. You will only be able to reproduce the text book figures if the
oscilloscope is set appropriately - especially with regard to the method of its
synchronization. Any other methods of setting up will still be displaying the same
signal, but not in the familiar form shown in text books. How is the 'correct method'
of synchronization defined ?
With narrow-band signals, and particularly of the type to be examined in this and the
modulation experiments to follow, the following steps are recommended:
With the recommended scheme the envelope will be stationary on the screen. In all
but the most special cases the actual modulated waveform itself will not be stationary
- since successive sweeps will show it in slightly different positions. So the display
within the envelope - the modulated signal - will be 'filled in', as in Figure 4, rather
than showing the detail of Figure 2.
3 there are later experiments addressed specifically to envelopes, namely those entitled Envelopes, and
Envelope Recovery.
36 - A1 DSBSC generation
Figure 4: typical display of a DSBSC, with the message from
which it was derived, as seen on an oscilloscope. Compare with
Figure 2.
multi-tone message
The DSBSC has been defined in eqn. (1), with the message identified as the low
frequency term. Thus:
message = cosµt ........ 4
then the corresponding DSBSC signal consists of a band of frequencies below ω, and
a band of frequencies above ω. Each of these bands is of width equal to the
bandwidth of m(t).
The individual spectral components in these sidebands are often called
sidefrequencies.
If the frequency of each term in the expansion is expressed in terms of its difference
from ω, and the terms are grouped in pairs of sum and difference frequencies, then
there will be ‘n’ terms of the form of the right hand side of eqn. (3).
Note it is assumed here that there is no DC term in m(t). The presence of a DC term
in m(t) will result in a term at ω in the DSB signal; that is, a term at ‘carrier’
frequency. It will no longer be a double sideband suppressed carrier signal. A
special case of a DSB with a significant term at carrier frequency is an amplitude
modulated signal, which will be examined in an experiment to follow.
A more general definition still, of a DSBSC, would be:
DSBSC = E.m(t).cosωt ........ 6
DSBSC generation A1 - 37
linear modulation
The DSBSC is a member of a class known as linear modulated signals. Here the
spectrum of the modulated signal, when the message has two or more components, is
the sum of the spectral components which each message component would have
produced if present alone.
For the case of non-linear modulated signals, on the other hand, this linear addition
does not take place. In these cases the whole is more than the sum of the parts. A
frequency modulated (FM) signal is an example. These signals are first examined in
the chapter entitled Analysis of the FM spectrum, within Volume A2 - Further &
Advanced Analog Experiments, and subsequent experiments of that Volume.
spectrum analysis
In the experiment entitled Spectrum analysis - the WAVE ANALYSER, within Volume
A2 - Further & Advanced Analog Experiments, you will model a WAVE ANALYSER.
As part of that experiment you will re-examine the DSBSC spectrum, paying
particular attention to its spectrum.
EXPERIMENT
the MULTIPLIER
This is your introduction to the MULTIPLIER module.
Please read the section in the chapter of this Volume entitled Introduction to
modelling with TIMS headed multipliers and modulators. Particularly note the
comments on DC off-sets.
38 - A1 DSBSC generation
SCOPE
ext. trig.
Figure 2 shows the way most text books would illustrate a DSBSC signal of this
type. But the display you have in front of you is more likely to be similar to that of
Figure 4.
signal amplitude.
T3 measure and record the amplitudes A and B of the message and carrier
signals at the inputs to the MULTIPLIER.
DSBSC generation A1 - 39
The peak-to-peak amplitude of the display is:
peak-to-peak = 2 k A B volts ...... 8
Here 'k' is a scaling factor, a property of the MULTIPLIER. One of the purposes of
this experiment is to determine the magnitude of this parameter.
Now:
Since you have measured both A and B already, you have now obtained the
magnitude of the MULTIPLIER scale factor 'k'; thus:
k = (dsbsc peak-to-peak) / (2 A B) ...... 9
T5 obtain a display of the DSBSC similar to that of Figure 2. A sweep speed of,
say, 50µs/cm is a good starting point.
overload
When designing an analog system signal overload must be avoided at all times.
Analog circuits are expected to operate in a linear manner, in order to reduce the
chance of the generation of new frequencies. This would signify non-linear
operation.
A multiplier is intended to generate new frequencies. In this sense it is a non-linear
device. Yet it should only produce those new frequencies which are wanted - any
other frequencies are deemed unwanted.
4 but note that, since the oscilloscope is synchronized to the message, the envelope of the DSBSC
remains in a fixed relative position over consecutive sweeps. It is the infill - the actual DSBSC itself -
which is slightly different each sweep.
40 - A1 DSBSC generation
A quick test for unintended (non-linear) operation is to use it to generate a signal
with a known shape -a DSBSC signal is just such a signal. Presumably so far your
MULTIPLIER module has been behaving ‘linearly’.
bandwidth
Equation (3) shows that the DSBSC signal consists of two components in the
frequency domain, spaced above and below ω by µ rad/s.
With the TIMS BASIC SET of modules, and a DSBSC based on a 100 kHz carrier,
you can make an indirect check on the truth of this statement. Attempting to pass the
DSBSC through a 60 kHz LOWPASS FILTER will result in no output, evidence that
the statement has some truth in it - all components must be above 60 kHz.
A convincing proof can be made with the 100 kHz CHANNEL FILTERS module 5.
Passage through any of these filters will result in no change to the display (see
alternative spectrum check later in this experiment).
Using only the resources of the TIMS BASIC SET of modules a convincing proof is
available if the carrier frequency is changed to, say, 10 kHz. This signal is available
from the analog output of the VCO, and the test setup is illustrated in Figure 6
below. Lowering the carrier frequency puts the DSBSC in the range of the
TUNEABLE LPF.
oscilloscope
trigger
AUDIO
OSC. A.cosµ t DSBSC
µ =1kHz
TUNEABLE
LPF
vco B.cos ω t
ω =10kHz
T7 read about the VCO module in the TIMS User Manual. Before plugging the
VCO in to the TIMS SYSTEM UNIT set the on-board switch to VCO.
Set the front panel frequency range selection switch to ‘LO’.
T8 read about the TUNEABLE LPF in the TIMS User Manual and the
Appendix A to this text.
DSBSC generation A1 - 41
T9 set up an arrangement to check out the TUNEABLE LPF module. Use the
VCO as a source of sinewave input signal. Synchronize the
oscilloscope to this signal. Observe input to, and output from, the
TUNEABLE LPF.
T10 set the front panel GAIN control of the TUNEABLE LPF so that the gain
through the filter is unity.
T11 confirm the relationship between VCO frequency and filter cutoff frequency
(refer to the TIMS User Manual for full details, or the Appendix to
this Experiment for abridged details).
T12 set up the arrangement of Figure 6. Your model should look something like
that of Figure 7, where the arrangement is shown modelled by TIMS.
ext. trig
T15 confirm that the output from the MULTIPLIER looks like Figures 2 and/or 4.
Analysis predicts that the DSBSC is centred on 10 kHz, with lower and upper
sidefrequencies at 9.0 kHz and 11.0 kHz respectively. Both sidefrequencies should
fit well within the passband of the TUNEABLE LPF, when it is tuned to its widest
passband, and so the shape of the DSBSC should not be altered.
T16 set the front panel toggle switch on the TUNEABLE LPF to WIDE, and the
front panel TUNE knob fully clockwise. This should put the passband
edge above 10 kHz. The passband edge (sometimes called the ‘corner
frequency’) of the filter can be determined by connecting the output
from the TTL CLK socket to the FREQUENCY COUNTER. It is given
by dividing the counter readout by 360 (in the ‘NORMAL’ mode the
dividing factor is 880).
42 - A1 DSBSC generation
T17 note that the passband GAIN of the TUNEABLE LPF is adjustable from the
front panel. Adjust it until the output has a similar amplitude to the
DSBSC from the MULTIPLIER (it will have the same shape). Record
the width of the passband of the TUNEABLE LPF under these
conditions.
Assuming the last Task was performed successfully this confirms that the DSBSC
lies below the passband edge of the TUNEABLE LPF at its widest. You will now
use the TUNEABLE LPF to determine the sideband locations. That this should be
possible is confirmed by Figure 8 below.
dB
50
Figure 8 shows the amplitude response of the TUNEABLE LPF superimposed on the
DSBSC, when based on a 1 kHz message. The drawing is approximately to scale. It
is clear that, with the filter tuned as shown (passband edge just above the lower
sidefrequency), it is possible to attenuate the upper sideband by 50 dB and retain the
lower sideband effectively unchanged.
T19 lower the filter passband edge until there is a just-noticeable change to the
DSBSC output. Record the filter passband edge as fA. You have
located the upper edge of the DSBSC at (ω + µ) rad/s.
T20 lower the filter passband edge further until there is only a sinewave output.
You have isolated the component on (ω - µ) rad/s. Lower the filter
passband edge still further until the amplitude of this sinewave just
starts to reduce. Record the filter passband edge as fB.
DSBSC generation A1 - 43
T21 again lower the filter passband edge, just enough so that there is no
significant output. Record the filter passband edge as fC
T22 from a knowledge of the filter transition band ratio, and the measurements fA
and fB , estimate the location of the two sidebands and compare with
expectations. You could use fC as a cross-check.
44 - A1 DSBSC generation
TUTORIAL QUESTIONS
Q1 in TIMS the parameter ‘k’ has been set so that the product of two sinewaves,
each at the TIMS ANALOG REFERENCE LEVEL, will give a
MULTIPLIER peak-to-peak output amplitude also at the TIMS
ANALOG REFERENCE LEVEL. Knowing this, predict the expected
magnitude of 'k'
Q2 how would you answer the question ‘what is the frequency of the signal
y(t) = E.cosµt.cosωt’ ?
Q5 carry out the trigonometry to obtain the spectrum of a DSBSC signal when
the message consists of three tones, namely:
Show that it is the linear sum of three DSBSC, one for each of the
individual message components.
Q6 the DSBSC definition of eqn. (1) carried the understanding that the message
frequency µ should be very much less than the carrier frequency ω.
Why was this ? Was it strictly necessary ? You will have an
opportunity to consider this in more detail in the experiment entitled
Envelopes (within Volume A2 - Further & Advanced Analog
Experiments).
DSBSC generation A1 - 45
TRUNKS
If you do not have a TRUNKS system you could obtain a speech signal from a
SPEECH module.
APPENDIX
46 - A1 DSBSC generation
EC3611: Communication Engineering I (2017)
Pulse Code Modulation (PCM)
Lab 02 – PRELAB
I. Introduction
The labs will be conducted and assessed during each lab session (within 2 hours)
Be prepare for the lab. Preview the lab documents. It is the responsibility of the students to go through the
materials provided.
Finish the prelab questions before you come to the lab session. Please hand in your answers to the
instructors assigned during the lab sessions
III. Prelab
1. What is PCM ?
2. What is Nyquist Theorem?
3. Draw the block diagram of the PCM Encoding and Decoding?
4. What is the Minimum number of Bits required for Encoding (State the equation using the
error Percentage –p). If the error percentage p = 5%, Calculate the minimum number of
bits (Round to the nearest value)
5. Below you have given a Matlab Code for the PCM Encoding. Answer the questions by
referring to the code.
function [y Bitrate MSE Stepsize QNoise]=pcm(A,fm,fs,n)
%A=amplitute of cosine signal
%fm=frequency of cosine signal
%fs=sampling frequency
%n= number of bits per sample
t=0:1/(100*fm):1;
x=A*cos(2*pi*fm*t);
%---Sampling-----
ts=0:1/fs:1;
xs=A*cos(2*pi*fm*ts);
%xs Sampled signal
%--Quantization---
x1=xs+A;
x1=x1/(2*A);
L=(-1+2^n); % Levels
x1=L*x1;
xq=round(x1);
r=xq/L;
r=2*A*r;
r=r-A;
%r quantized signal
%----Encoding---
y=[];
y_row=[];
q_recovered=[];
recovered_signal=[];
for i=1:length(xq)
d=dec2bin(xq(i),n);
y=[y double(d)-48];
end
%-------Decoding----------
y_row = vec2mat(y,n);
q_recovered = bi2de(y_row,'left-msb');
q_recovered = transpose(q_recovered);
q_recovered = (q_recovered/L).*2*A - A;
[n,Wn] = buttord(butter_cut_off/(fs/2),(butter_cut_off+100)/(fs/2),3,60);
[B,A] = butter(n,Wn,'low');
recovered_signal = filter(B,A,q_recovered);
figure(1)
plot(t,x,'linewidth',2)
title('Sampling')
ylabel('Amplitute')
xlabel('Time t(in sec)')
hold on
stem(ts,xs,'r','linewidth',2)
hold off
legend('Original Signal','Sampled Signal');
figure(2)
stem(ts,x1,'linewidth',2)
title('Quantization')
ylabel('Levels L')
hold on
stem(ts,xq,'r','linewidth',2)
plot(ts,xq,'--r')
%plot(t,(x + A)*L/(2*A),'--b')
grid
hold off
legend('Sampled Signal','Quantized Signal');
figure(3)
stairs([y y(length(y))],'linewidth',2)
title('Encoding')
ylabel('Binary Signal')
xlabel('bits')
axis([0 length(y) -1 2])
grid
figure(4)
subplot(2,1,1);
plot(t,x);
title('Original message')
subplot(2,1,2);
plot(ts,recovered_signal);
title('Recovered message')
Reference
This code has been modified from the code available in the following reference.
PCM Encoding
The input to the PCM ENCODER module is an analog signal. In this lab we restrict the
signal to be a low pass one. The maximum allowable signal bandwidth may depend upon the
sampling rate allowed by the encoder.
Following procedure may be followed to develop MATLAB program for PCM encoding
/decoding.
The input analog signal is sampled periodically. Minimum sampling rate can be
determined by using the Nyquist criteria
Implement the sample and hold operation
Each sample amplitude is compared with a finite set of amplitude levels. That is an
uniform quantizing is considered
Each quantizing level is assigned a number, starting from zero for the lowest (most
negative) level, with the highest number being (L-1), where L is the available number
of levels.
Each sample is assigned a digital code word (PCM sequence) representing the number
associated with the quantizing level which is closest to the sample amplitude. The
number of bits ‘n’ in the digital code word will depend upon the number of quantizing
levels, i.e. , n = log2(L).
Experiment
T1 : Use the MATLAB program given and observe the sampled, quantized and encoded
PCM sequences for the given sampling frequency, quantization levels and signal frequency.
T2: A sinusoidal signal which has a frequency of 200 Hz
What is the minimum sampling rate ?
The quantization distortion is specified not to exceed 3% of the peak-to-peak analog signal.
What is the number of bits per sample?
How many quantizing levels are there ?
Suppose sampling frequency of the PCM encoder is 2500 Hz.
What is the data rate?
T3 : What are the bit patterns of selected parameters (Draw maximum 5 bit patterns)?
T4: Include the results in your log book.
Discussion
Q1:
Discuss the aliasing phenomena.
Q2:
Discuss the necessity of non linear quantization.
1
the slow-varying message signal m(t) with the above pulse train, one may also increase the changing
rate of the resulting signal. This suggests that w(t) can be used for modulation. Suppose we want to
perform the DSB-SC modulation using m(t), so that the spectrum of m(t) is moved to the frequency
band centered at fc .
1) Let one period of w(t) be specified as (T = 1/fc )
1, |t| < T4
w(t) = (in one period)
0, T4 < |t| < T2
and consider w(t) as the periodic expansion of the above. Find out the Fourier series of w(t).
2) Write down the produce signal m(t) · w(t) and identify the desired item for the DSB-SC signal.
3) Explain how to get rid of the un-wanted items in the above product signal. Draw a system diagram
for the whole process to produce the desired DSB-SC signal.
4) Write down the Fourier transform of the DSB-SC signal.
2
Fig. 2.
4
2. Let x denote the maximum possible voltage magnitude of a signal. Then the peak
signal power is designated by x2 . Now suppose you are given a system where
the peak-to-peak value of the signal is Vpp and the samples are quantized to L
evenly spaced levels, which are symmetrical about zero. Show that the ratio of the
peak-signal power to the peak-quantization noise power (S/N )peak ≈ L2 , whenever
L 1.
3. In the compact disc (CD) digital audio system, an analog signal is digitized so that
the ratio of the peak-signal power to the peak-quantization noise power is at least
96 dB. The sampling rate is 44.1 kilosamples/s.
(a) How many quantization levels of the analog signal are needed for (S/N )peak =
96 dB. (Hint: see Question 1 above).
(b) How many bits/sample are needed for the number of levels found in part (a)
above.
(c) What is the data rate in bits/s?
4. Bipolar pulse signal, si (t) (i = 1, 2), of amplitude 1V, −1V are received in the
presence of AWGN that has a variance of 0.1 V2 . The minimum probability of error
decision making criterion is given by
p(z|s1 ) H1 P (s2 )
R .
p(z|s2 ) H2 P (s1 )
5. Unipolar RZ signalling constitutes a orthogonal signalling, see Figure 3.12 (a) of the
Sklar. In particular, the unipolar RZ signalling is as follows: