0% found this document useful (0 votes)
19 views

SEATWORK

The document contains solutions to 5 questions about PCM coding: 1) The minimum number of bits required for a 80 dB dynamic range is 15 bits, with a coding efficiency of 95.25%. 2) Sample voltages are calculated for various 7-bit sign magnitude PCM codes with a quantization interval of 0.04 V. 3) The SQR for a 2-V rms signal with a 0.2 V quantization interval is 30.8 dB. 4) An 8-bit linear PCM code for a maximum voltage of 1.27 V has a resolution of 0.01 V and quantization noise of 0.005 V (5 mV). 5) Calculations are shown

Uploaded by

paulpanlaque24
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views

SEATWORK

The document contains solutions to 5 questions about PCM coding: 1) The minimum number of bits required for a 80 dB dynamic range is 15 bits, with a coding efficiency of 95.25%. 2) Sample voltages are calculated for various 7-bit sign magnitude PCM codes with a quantization interval of 0.04 V. 3) The SQR for a 2-V rms signal with a 0.2 V quantization interval is 30.8 dB. 4) An 8-bit linear PCM code for a maximum voltage of 1.27 V has a resolution of 0.01 V and quantization noise of 0.005 V (5 mV). 5) Calculations are shown

Uploaded by

paulpanlaque24
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Questions:

1. Determine the minimum number of bits required in a PCM code for a dynamic range of 80 dB. What is
the coding efficiency?
Solution:
DR=2n−1
DR(dB) =20 log ⁡( DR )
DR(dB) =20 log ⁡( 2 n−1)
80 dB=20 log ( 2n−1 )
n=13.288+ 1 signbit
n=14.288minimum no . of bits
n=14+1 sign bit
n=15 actual no . of bits

minimum no . of bits
Coding efficiency= ×100
actual no . of bits

m
14.288 bits
Coding efficiency= × 100

er as
15 bits

co
Coding efficiency=95.25 %

eH w
o.
2. For a resolution of 0.04 V, determine the voltages for the following 7-bit sign magnitude PCM codes.
a. 0110101 rs e
ou urc
b. 0000011
c. 1000001
o

d. 0111111
aC s

e. 1000000
vi y re

Solution:
a . 0110101
V =−( 25+ 24 +0+22 +0+ 20 ) ( 0.04 )=−2.12V
ed d

b . 0000011
ar stu

V =−( 0+0+0+ 0+21 +20 ) ( 0.04 ) =−0.12 V


c .1000001
V =+ ( 0+0+0+ 0+0+20 ) ( 0.04 )=0.04 V
is

d .0111111
Th

V =−( 25+ 24 +23 +22+ 21+ 20 ) ( 0.04 )=−2.52V


e . 100000
V =+ ( 0+ 0+0+ 0+0+0 )( 0.04 )=0 V
sh

3. Determine the SQR for a 2-V rms signal and a quantization interval of 0.2 V.
Solution:
v
SQR (db)=10.8+20 log ⁡
q ()
2
=10.8+20 log (
0.2 )
SQR (db)
This study source was downloaded by 100000833030783 from CourseHero.com on 11-08-2021 22:36:04 GMT -06:00

https://www.coursehero.com/file/98479418/SEATWORKdocx/
SQR (db)=30.8 dB

4. Determine the resolution and quantization noise for an 8-bit linear sign-magnitude PCM code for a
maximum decoded voltage of 1.27 V.
Solution:
V
Resolution= n−1max
2 −1
1.27 V
Resolution= 7
2 −1
Resolution=0.01V

resolution
Qe =
2
0.01V
Qe =
2
Qe =0.005 V ∨5 mV

m
er as
co
5. A 12 bit linear PCM code is digitally compressed into 8 bits. The resolution = 0.03 V. Determine the

eH w
following for an analog input voltage of 1.465 V.

o.
a. 12-bit linear PCM code
b. 8-bit compressed code rs e
ou urc
c. Decoded 12-bit code
d. Decoded voltage
o

e. Percentage error
aC s

Solution:
vi y re

a. 12-bit linear PCM code


sample voltage
=12−bit linear code ∈decimal
resolution
ed d

1.465 V
=48.83=+ 49
ar stu

0.03 V
12−bit linear PCM code=+ 49=100000110001
is

b. 8-bit compressed code


Th

1 000001 10001
S (7-5=2 or 010) ABCDX
1 010 1000↑
sh

(+) (segment 2) truncated


8−bit compressed code=10101000

c. Decoded 12-bit code

1 010 1000
S (7-2=5 leading 0s) ABCDX
1 000001 10001
This study source was downloaded by 100000833030783 from CourseHero.com on 11-08-2021 22:36:04 GMT -06:00

https://www.coursehero.com/file/98479418/SEATWORKdocx/
↑ ↑
(+)
inserted inserted
Decoded 12−bit code=100000110001
d. Decoded voltage
sample voltage
=12−bit linear code ∈decimal
resolution
decoded voltage
=+ 49
0.03V
decoded voltage=1.47 V
e. Percentage difference
|(12−bit encoded voltage)−(12−bit decoded voltage )|
Percentage difference= ×100
(12−bit decoded voltage)
|1.465−1.47|
Percentage difference= ×100
1.47
Percentage difference=0.34 %

m
er as
co
eH w
o.
rs e
ou urc
o
aC s
vi y re
ed d
ar stu
is
Th
sh

This study source was downloaded by 100000833030783 from CourseHero.com on 11-08-2021 22:36:04 GMT -06:00

https://www.coursehero.com/file/98479418/SEATWORKdocx/
Powered by TCPDF (www.tcpdf.org)

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy