Professional Documents
Culture Documents
Experiment No. 3
Pulse Code Modulation
Submitted by:
Briones, Jaimecah P.
Rating:
Experiment No.3
Pulse Code Modulation
OBJECTIVES:
This experiment will enable the students to investigate on quantization and binary
encoding and observe the magnitude of the quantization intervals of linear quantization;
magnitudes of the quantization intervals of non-linear quantization of compressor,
expander and transmission characteristics. This also intend to familiarize the PCM as a
transmission method.
INSTRUMENTS AND MATERIALS NEEDED:
1 PAM modulator
1 PAM demodulator
1 PCM modulator
1 PCM demodulator
1 Function generator 0200 Hz
1 Frequency counter 0-10Mhz
736.061
736.071
736.101
736.111
726.95
726.99
Additionally required:
1 Power Supply + 15V, 3A
1 Digital Storage oscilloscope
1 10 bridging plugs, black
2 Cable pairs, black 100cm
1 Probe 1oMhz, 1:1/10:1
726.86
531 292
501 511
501 461
575 231
Additionally recommended:
1 CASSY interface
1 Measuring and evaluating
1 XY recorder
524 111
575 663
PROCEDURE:
1. Use the experiment set-up according to Fig. Ex5.2-1.
2. By pressing the MODE button several times switch to the operating mode: PCM,
linear quantization (recognizable when the appropriate LEDs light up).
Enable all of the bits. For this press the PCM modulator indicate ACTIVE.
3. The toggle switch on the PCM demodulator must be set to CH2.
5.2 Experiment on quantization and binary encoding
1. Linear Quantization
Set to -9.5V on the 10 stage potentiometer.
Alternately measure U1 and U2 using the multimeter and note down the
voltages together with the binary coded bit sequence of the PCM
modulator in Table 5.2-1 . The bit sequence of the PCM modulator is
displayed by LEDs whereby the least significant bit (LSB) is at the top.
Now increase the input voltage U1 in steps of approx. 1V and repeat the
recording of the measurement value until the upper modulation limit of the
PCM modulation is reached.
2. NonLinear
U1/V
-9.5
-9
-8
0
1
2
quantization
a) Compressor characteristics
b)
c)
d) U
1/
V
f) 9.
of the quantization
interval 5 bit
Characteristic
U2-U1 = U/mV
-9.6+9.5 = 0.1
-9+9 = 0
-8+8 = 0
0-0 = 0
1-1 = 0
2-2 = 0
e) U
2
/
V
g) 7
5
h) -9
j) -8
l) -7
i) 9
.
6
k) 9
.
4
m) 9
n) -6
o) at) 9.
au)9
8
5
.
.
7
8
av)
p) -5
q) aw)
a) Diagram
5.2-4:
Non-Linear
8
ax) Expander
cn) Diagram 5.2-3: Non-Linear
Quantization
Expander
.
Quantization Compressor
Characteristic
Characteristic
6
b) c) d) e) f) g) h) i) j) k)
co) cp) cq) cr) cs) ct)
cu) cv) cw) cx)
r) -4
s) l) m) n) o) p) q) r) s) t) u)
cy) cz) da) db) dc) dd) de) df) dg) dh) 8
v) w) x) y) z) aa) ab) ac) ad) ae)
di) dj) dk) dl) dm)dn) do) dp) dq) dr) .
af) ag) ah) ai) aj) ak) al) am)an) ao)
ds) dt) du) dv) dw)dx) dy) dz) ea) eb) 1
ap) aq) ar)
t) -3
u) as)
- at) au) av) aw)ax) ay)
ec) ed) ee) ef) eg) eh)
ei) ej) ek) el)
az) ba) bb) bc)
bd) be) bf) bg)bh) bi)
em)en) eo) ep) eq) er) es) et) eu) ev) 7
bj) bk) bl) bm)bn) bo) bp) bq)br) bs)
ew) ex) ey) ez) fa) fb) fc) fd) fe) ff) .
bt) bu) bv) bw)bx) by) bz) ca) cb) cc)
fg) fh) fi) fj) fk) fl) fm) fn) fo) fp) 6
cd) ce) cf)w) cg)
v) -2
- ch) ci) cj) ck) cl) cm)
fq) fr) fs) ft) fu) fv)
fw) fx) fy) fz)
Characteristics
6
.
ay) Table 5.2-4: Non8
Linear Quantization
x) -1
y) Expander
Characteristic
5
az) U1
ba)U
.
/V
2
3
/
z) 0
aa)V
2
bb)bc) ab)1
ac) 5
9.
9
.
5
2
bd)-9
be)ad)2
ae)6
6
.
.
7
9
af) 3
ag)7
bf) -8
bg).
3
6
.
ah)4
ai) 8
7
.
bh)-7
bi) 1
2
aj) 5
ak) 8
.
.
3
6
bj) -6
bk) al) 6
am)
1
8.8
.
an)7
ao)9
3
ap)8
aq)9
bl) -5
bm)
.
-0.8
2
bn)-4
bo)ar) 9
as) 9
0
.
.
6
bp)-3
br) -2
bt) -1
bv) 0
bx) 1
5
bq)0
.
3
bs) 0
.
2
bu)0
.
1
bw)
0
by) 0
bz) 2
cb) 3
cd) 4
cf) 5
ch) 6
.
2
ca) 0
.
3
cc) 0
.
4
ce) 0
.
5
cg) 0
.
9
ci) 1
.
4
cj) 7
ck) 2
.
2
cl) 8
cn) 9
cm)
3.8
co) 6
.
6
cp) 9.
5
cr)
cq) 8
.
4
cu) U1
/V
cw) 9.5
cy) -9
da)-8
dc) -7
cv) U
2/
V
cx) 9.
4
cz) -9
db)7.
8
dd)6.
9
df) -6
dh)-5
dj) -4
dl) -3
dn)-2
de)-6
dg)-5
di) -4
dk) -3
dm) 2
do)-1
dp)-1
dq)0
dr) 0
ds) 1
dt) 1
du)2
dv) 2
dw) 3
dx) 3
dy) 4
dz) 4
ga)
Diagram
ea)5
eb)55.2jn) Diagram 5.2-5: Non-Linear
5: NonTransmission Characteristic
ec) 6
ed)6
Linear
8 bit
ee)7
ef) 7
Transmission
jo) jp) jq) jr) js) jt) ju) jv) jw) jx) eg)8
eh)7.
jy) jz) ka) kb) kc) kd) ke) kf) kg) kh)
9
ki) kj) kk) kl) km)kn) ko) kp) kq) kr)ei) 9
ej) 9
ks) kt) ku) kv) kw) kx) ky) kz) la) lb)ek) 9.5
el) 9.
lc) ld) le) lf) lg) lh) li) lj) lk) ll)
6
lm) ln) lo) em)
lp) lq) lr) ls) lt) lu) lv)
lw) lx) ly)en)lz) ma)mb)mc)md)me)mf)
mg)mh)mi)
eo)mj) mk)ml) mm)mn)mo)mp)
mq)mr) ms)mt) mu)mv)mw)mx)my)mz)
Characteristic 5 bit
ep)
gb) gc) gd) ge) gf) gg) gh) gi) gj) gk)
eq)
gl) gm)gn) go) gp) gq) gr) gs) gt) gu)
gv) gw)gx) gy) gz) ha) hb) hc) hd) he)
er)
hf) hg) hh) hi) hj) hk) hl) hm)hn) ho)
hp) hq) hr) hs) ht) hu) hv) hw)hx) hy)
es)
hz) ia) ib) ic) id) ie) if) ig) ih) ii)
ij) ik) il) im) in) io) ip) iq) ir) is)
et)
it) iu) iv) iw) ix) iy) iz) ja) jb) jc)
jd) je) jf) jg) jh) ji) jj) jk) jl) jm)
eu)
ev)
ew)
ex)
ey)
ez)
fa)
d) Magnitudes of Quantization intervals
fb)
fc) Table 5.2-6: The magnitudes of the
quantization intervals
fd) Interval
fe)
ff)
fg)
U
fh) 10V5V
fl) -5V2.5V
fi)
-
fj)
-
fk)
80
fm)
-
fn)
-
fo)
50
fp) 2.5V...1.25V
ft) 1.25V
0.625V
fx) 0.625V
0.312V
gb)0.312V
0.156V
gf) 0.156V
+0.156
V
gj) +0.156
V
0.312V
gn)0.312V
0.625V
gr) 0.625V
1.25V
fq)
-
fr)
-
fs)
10
fu)
-
fv)
-
fw)
0
fy)
-
fz)
-
ga)
10
gc)
-
gd)
-
ge)
10
gg)
0
gh)
0
gi)
0
gk)
0
gl)
0
gm)
-
go)
0
gp)
0
gq)
-
gs)
1
gt)
0
gu)
-
gv) 1.5V...
2.5V
gw)
2
gx)
1
gy)
-
gz) 2.5V
5V
ha)
3
hb)
2
hc)
-
hd)5V
10V
he)
8
hf)
7
hg)
-
hh)
hi)
hk)
hl)
qe)
qo)
qy)
ri)
rs)
sc)
sm)
sw)
qf)
qp)
qz)
rj)
rt)
sd)
sn)
sx)
qg)
qq)
ra)
rk)
ru)
se)
so)
sy)
qh)
qr)
rb)
rl)
rv)
sf)
sp)
sz)
qi)
qs)
rc)
rm)
rw)
sg)
sq)
ta)
qj)
qt)
rd)
rn)
rx)
sh)
sr)
tb)
qk)
qu)
re)
ro)
ry)
si)
ss)
tc)
ql)
qv)
rf)
rp)
rz)
sj)
st)
td)
qm)
qw)
rg)
rq)
sa)
sk)
su)
te)
qn)
qx)
rh)
rr)
sb)
sl)
sv)
tf)
nb)
nl)
nv)
of)
op)
oz)
pj)
pt)
nc)
nm)
nw)
og)
oq)
pa)
pk)
pu)
nd)
nn)
nx)
oh)
or)
pb)
pl)
pv)
ne)
no)
ny)
oi)
os)
pc)
pm)
pw)
nf)
np)
nz)
oj)
ot)
pd)
pn)
px)
ng)
nq)
oa)
ok)
ou)
pe)
po)
py)
nh)
nr)
ob)
ol)
ov)
pf)
pp)
pz)
ni)
ns)
oc)
om)
ow)
pg)
pq)
qa)
nj)
nt)
od)
on)
ox)
ph)
pr)
qb)
nk)
nu)
oe)
oo)
oy)
pi)
ps)
qc)
hm)
hn) DISCUSSIONS AND OBSERVATIONS:
ho) This experiment, entitled Pulse Code Modulation, aims to study on
quantization and binary encoding of both linear and non-linear as well as
their magnitude and transmission characteristics. This also intend to
familiarize the PCM as a transmission method. This experiment was made
possible by using the necessary instruments given above and by cautiously
following the procedure. For the first part, the linear quantization was
observed by getting the measured value of U2 (in volts) with given values of
U1 for both 8 and 5 bit characteristics. To shift from 8 to 5 bit, the three LSB
was turned off. As it was shown on the yielded data for the 8 bit
characteristic, the values of U2 were just the same with the value of U1 and
only differs diminutively. The size of the quantization was perceived through
a given range and as it was shown on the given data, it is observed that the
linear quantization has a uniform quantization levels. This is very
contradicting to the values acquired in non-linear quantization, where
quantization levels vary as a function of amplitude. For the non-linear, the
quantizing intervals does not acquire an equal size. Small quantizing intervals
are assigned to small signal values (samples) and large quantization intervals
to large samples so that the signal-to-quantization distortion ratio is nearly
independent of the signal level. By looking at the acquired values of
commanding properties for non-linear quantization, it was observed that it is a
process in which compression is followed by expansion. The character
however, the values acquired for both transmission functions lead to distortion.
Although, both are active at the same time in standard operation. For this
matter, only two of the devices is in non-linear and the other is in linear mode
depending on what is required, contradicting to measuring the transmission
line, both are set to non-linear mode.
hp) CONCLUSION:
hq)
After conducting the experiment, the student was able to perform the
following objectives. Form the gathered data, it can be concluded generally that PCM is
a method of converting an analog signal into a digital signal and can be done by
sampling and quantizing. For quantizing, we limit the amplitude to a range of variable (x, x) and the quantized samples are coded and transmitted as binary pulses . Here, the
characteristic for linear and non-linear were observed and as we compared the
gathered data, the theoretical concept was satisfied and therefore, the objectives of this
experiment were successfully attained.
hr)