Professional Documents
Culture Documents
Pemodulatan Digit
4.0 Introduction
•In the early 90’s, telecommunication networks is changing towards
digital world. With the rapid advancement in the fields of VLSI and
microprocessor, several telecommunication components such as
transmission line and switching has been using digital signals in
their operation.
– Regeneration
– Easy to measure
– Enables encryption
– Data from several sources can be integrated and transmitted using
the same digital communication system
– Error correction detection can be utilized
• Disadvantages :
– Requires a bigger bandwidth
– Analog signal need to be changed to digital first
– Not compatible to analog system Voice : Analog : 4 kHz
– Need synchronization Digit : 2 x 4 kHz x 8 bit = 64 kb/s
BWmin 32 kHz
Pemodulatan Digit
4.2 TRANSMISSION METHOD FOR ANALOG &
DIGITAL SIGNALS
Analog Analog channel Analog
input Baseband output
Analog Analog De Analog
input Modulator
channel modulator output
Less susceptible to
noise
Less susceptible to
noise compared to
PAM
Easily effected by
noise
4.3 Sampling Theorem
m (t)
m(t) s
m(t) X ms(t)
t t
s(t)
Digital signal
s(t) t
fs 2 fm
Fourier series for impulse train : Ts
1
s t 1 2 cos s t 2 cos 2 s t 2 cos 3 s t ..... Nyquist theorem
Ts states that:
2 1
s 2f s where T s
Ts fs
Therefore :
ms t m t s t
1
m t 2m t cos s t 2m t cos 2s t 2m t cos 3s t .....
Ts
Pemodulatan Digit
Time domain Frequency domain
m(t ) M ( )
t
0 m 0 m
s (t ) S ( )
2
Ts
t
6Ts 0 Ts 6Ts s 0 s
ms (t ) M s ( )
1
Ts
s m s m
t
6Ts 0 Ts 6Ts s m 0 m s
s m s m
Pemodulatan Digit
Reconstruction
TX RX
M ( ) M r ( )
1 ms(t) 1
m(t) X h(t) mr(t)
m 0 m m 0 m
Low pass filter
M s ( )
Pulse signal 1
H ( )
s(t) Ts
Ts
s m s m
s m 0 m s
s m s m
n 0 n
Pemodulatan Digit
• Sampling process shown previously uses an ideal pulse signal
• However, it is quite difficult to generate an ideal pulse signal practically
• The usual pulse signal generated is as shown below:
s(t)
A
t
Ts
- pulse width
A 2 A
2 nt
Ts – pulse period s (t )
Ts
Ts
n 1
cn kos
Ts
di mana
n
sin
Ts n
cn sinc
n Ts
Ts
Pemodulatan Digit
m(t)
Information signal
t
s(t)
Pulse signal
t
Ts
Sampled signal (PAM)
ms(t) ms(t)
Ts
t t
Ts Ts
Pemodulatan Digit
4.3.1 Difference in Sampling Methods
ms(t)
Natural Sampling
Pemodulatan Digit
Mathematical analysis:
m(t) ms(t)
m(t) X ms(t)
t t
s(t)
Pulse signal
s(t) t
2
n 2nt
s (t )
Ts
Ts
n 1
sinc
Ts
cos
Ts
Therefore, the sampled signal:
ms (t ) m(t ) s (t )
Pemodulatan Digit
2 2nt
ms (t ) m(t ). cn cos
Ts Ts n 1 Ts
m(t ) m(t )2 2nt
ms (t )
Ts
Ts
n 1
c n cos
Ts
For n = 1, 2 , 3 …..
m(t ) m(t ) 2 2t m(t ) 2 4t
ms (t ) c1 cos c2 cos
Ts Ts Ts Ts Ts
m(t )2 6t
c3 cos ....
Ts Ts
f
fs-fm fs fs+fm 2fs-fm 2fs+fm 3fs-fm3f 3fs 3fs+fm
0 2s 2fs
The choice of sampling frequency, fs must follow the sampling theorem
to overcome the problem of aliasing and loss of information
Shannon sampling
(a) Sampling frequency=> fs1 < 2fm (max) theorem=> fs 2fm
ms(f) Aliasing
Nyquist frequency
fs = 2fm= fN
f A bandlimited signal that
fm fs1 2fs1 3fs1 has a maximum
frequency, fmax can be
regenerated from the
(b) Sampling frequency=> fs2 > 2fm (max) sampled signal if it is
ms(f) sampled at a rate of at
least 2fmax .
f
fm fs2 2fs2 3fs2
4.4 Detection of Sampled Signal
By using LPF to the sampled signal, ms(t)
• Eventhough the sampled signal can be detected easily at fs = 2fm , but usually
fs > 2fm . The main reason is to have a ‘guardband’ .
• Therefore, the maximum frequency that can be processed by the sampled
data using sampling frequency, fs (without aliasing) is:
=> fm = fs / 2 = 1 / 2Ts
Mathematical analysis:
Taking: m t 1 cos m t
replacing m t 1 cos m t
m(t ) m(t )2
2nt
inside m s (t )
Ts
Ts
n 1
cos
Ts
2
m s t 1 cos m t 1 cos m t cos n s t
Ts Ts n 1
1 cos m t 1 cos m t 2 cos n s t
Ts Ts n 1
1 cos m t
1 2 cos n t
s
Ts n 1
1 cos m t 1 2 cos t 2 cos 2 t 2 cos 3 t ....
Ts
s s s
1 cos m t 2 cos s t 2 cos s t cos m t
Ts 2 cos 2 s t 2 cos 2 s t cos m t ...
1 cos m t 2 cos s t cos s m t cos s m t
Ts 2 cos 2 s t cos 2 s m t cos 2 s m t .........
It can be shown that the output sampled signal is the same as the output
PAM signal when :
Ts => ms(t) = VPAM
that is, the pulse width is much smaller compared to the pulse
period Ts .
Voltage
vm(t) translator vPAM(t)
vd(t)
(a) PAM generation
LPF
vPAM(t) vm(t)
PCM process:
S/H : Sample and hold
circuit
Analog
signal LPF S/H ADC PCM
Anti aliasing
filter ADC : analog to digital converter
fs
4.6.1 Sampling
• An analog signal must be sampled at Nyquist rate to avoid
aliasing
1.25 V
V0 5 V 4.375 V
2
+5.0V
Leve l 7 : 111 4.375V 4.3V
-mp 1 11
Sign bit
value
PCM code 000 001 011 011 011 010 001 100 110 111 111 110 100 001 010 010 010 000
Pemodulatan Digit
4.6.3.2 Quantization error
Quantization error (Qe) is also called Quantization noise (Qn) . And its
maximum magnitude is one half of the voltage of the minimum step
size .
(a) No of levels: 26 = 64
(b) LSB voltage, : 31.5/64 = 0.492 V
(c) Maximum quantization level, /2 = 0.25 V
(d) Voltage value for 001101 ; +(13 x 0.492) = +6.4 V
(e) Voltage value for 111001 ; –(25 x 0.492) = -12.3 V
(f) Code for input +13.62 V
= 13.62/0.492 = 27.68 28 => 111100
(g)Code for input –9.37 V
= 9.37/0.492 = 19.04 19 => 010011
4.6.4 Non uniform quantization
nonuniform: to improve SNR (SQR)
Pemodulatan Digit
Companding => Compress - Expanding
A method used to produce a uniform SNR for all input signal range is
compression-expansion (Companding).
Input signal is compressed at the transmitter and expanded at the
receiver
Companding => Compress - Expanding
=> Analog – Compression process is done on the input signal
before sampling and coding
=> Digital – compression process is done after the signal is
sampled
analog signal To digital channel
analog ADC
(input) compressor
1 log( Ax ) 1
1 log A for x1
y A
Ax 1
for 0 x
1 log A A
Pemodulatan Digit
USA/NORTH AMERICA => - Law
log(1 x )
y
log1
Ei Eo
x y
Ei (mak ) Eo ( mak )
Pemodulatan Digit
Example 4.3 :
A compress-expand system using Law ( = 255) is used for a signal with
range 0 to 10V. Determine the output of the system if the input is 0 and
7.5V.
Solution :
Given = 255 and Ei(mak)= 10 V
For Ei = 7.5 V
For Ei = 0 V Ei 7.5
x ; x 0.75
Ei 0 Ei (mak ) 10
x ; x 0
Ei (mak ) 10 Output :
Output : log(1 x)
y
log(1 x ) log(1 255(0)) log1
y ;y
log1 log1 255 y
log(1 255(0.75))
log1 255
y0
y 0.948
Example 4.4 :
A random signal has gone through a 256 level quantization process.
Determine the quantization signal to noise ratio for this system.
Solution :
From the above statement, the number of sampling bits is not known.
But, given L=256
L = 2n
therefore, n = 8
Given SNRq
SDH 2.5Gb/s
North American standard (NAS) : -Law
8 bits per
time slot
3.9 s
3.9 s
30 signal + 2 control = 32 channels = 1 frame
125 s
125 s Signalling & synchronization
2 ms
Duration of multiframe 16 frames = 1 multiframe
(a) bits per time slot (b) time slots per frame (c) frames per multiframe
CEPT system – 32 channels (30 signals + 2 control)
Frame structure and timing
Number of channel = 32
Number of bits in one time slot = 8
32 channels = 1 frame
Number of bits in a frame = 32 x 8 = 256 bits
This frame must be transmitted within the sampling period
and thus 8 x 103 frames are transmitted per second.
Therefore :
Transmission rate = 8 x 103 x 256 = 2.048 Mb/s
Bit duration = 1 / 2.048 x 106 = 488 ns
Duration of a time slot = 8 x 488 ns = 3.9 s
Duration of a frame = 32 x 3.9 s = 125 s => (= 1 / 8 kHz = 125 s)
Duration of a multi frame = 16 x 125 s = 2 ms
CEPT telephone system hierarchy
. E1 line
30 .
2.048 Mbps
Voice . MUX
.
channels . 1
.
E2 line
E1 MUX 8.448 Mbps
E1 2
E1
E3 line
E2 MUX 34.368 Mbps
E2 3
E2
E4 line
E3 MUX 139.264 Mbps
E3 4
E3
4.7 Delta Modulation (DM)
Pulse signal
s(t)
comparator
+Δ
e(t) d(t)
m(t) ∑ X xDM(t)
+ -Δ
-
~ (t )
m
integrator
• There are 2 main components in the DM generator circuit, i.e comparator and
integrator.
Pemodulatan Digit
• Comparator will compare the error signal e(t), where
~ (t )
e(t ) m(t ) m
• Output signal from comparator has the following function:
e(t ) 0
d (t ) sgn[e(t )]
e(t ) 0
• The output from the comparator will be sampled with a pulse signal at a rate of
1/Ts.
• Next, DM signal will be generated with the equation below:
xDM (t ) sgn[e(t )] (t nTs )
n
sgn[e(nTs )] (t nTs )
n
• The DM signal will be feed back, but before that this signal will be integrated
first ~
m(t ) sgn[e(nTs )]
n
Pemodulatan Digit
4.7.1 Delta Modulation (DM) signal
m(t )
~ (t ) Effects of steep
m slope
Δ
Ts
t
0001010111111101100010000000
dm(t )
mak
Ts dt
Pemodulatan Digit
4.8 Line Coding
• Binary 1 and 0 in PCM signal can be represented by several formats
known as line coding.
1. Synchronization
2. Error detection
3. Error correction
Pemodulatan Digit
4.8.1 Line code format A. NRZ (Non Return to Zero)
- Popular method
- easy
- Data does not return to 0 in one
clock interval
- No synchronization. Can use ‘start
bit’ for synchronization purposes
1. NRZ-L (NRZ-Level)
1 => High level
0 => Low level
2. NRZ-M (NRZ-Mark)
1 => transition at the starting interval
0 => no transition
3. NRZ-S (NRZ-Space)
1 => no transition
0 => transition at the starting interval
Digital Signal Encoding Formats
B. RZ (Return to Zero)
• Return to 0 at the half bit interval
• The same
advantages/disadvantages with
NRZ
• Overcome by using bipolar signal
and alternating pulse for
synchronization
4. RZ (Unipolar)
1 => High level
0 => Low level
5. RZ (Bipolar)
1 => Alternately +ve
0 => Alternately –ve
6. RZ (AMI – Alternately Mark Inversion)
1 => Alternately +ve and -ve
Digital Signal Encoding Formats
0 => Low level
C. Bi phase
• Used in optical communication
system, satellite and video
recorder
• Self synchronizing
7. Bi phase M
1 => transition at the middle of the
interval
0 => no transition at the middle of the
interval
8. Bi phase L (Manchester Coding)
1 => transition from HI to LO at the
middle of the interval
0 => transition from LO to HI at the
middle of the interval
used in Ethernet IEEE 802.3 standard in
LAN
9. Bi phase S – inverse of Bi phase M
Digital Signal Encoding Formats
1 => no transition in the middle of the
interval
0 => transition in the middle of the