<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearch/1.1/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0' gd:etag='W/&quot;C0UMRH86fCp7ImA9WhRbFkQ.&quot;'><id>tag:blogger.com,1999:blog-1981268996686642854</id><updated>2012-02-08T00:54:45.114-08:00</updated><title>Refresh your Telecom Knowledge</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://mytelecomlearnings.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1981268996686642854/posts/default?redirect=false&amp;v=2'/><link rel='alternate' type='text/html' href='http://mytelecomlearnings.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Author</name><uri>http://www.blogger.com/profile/11001220531932110767</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry gd:etag='W/&quot;C0YNRHw6eCp7ImA9WhRbFkQ.&quot;'><id>tag:blogger.com,1999:blog-1981268996686642854.post-2183583973799748099</id><published>2012-02-07T23:15:00.000-08:00</published><updated>2012-02-08T00:53:15.210-08:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2012-02-08T00:53:15.210-08:00</app:edited><title>Companding - Compressing + Expanding</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;link href="file:///C:%5CDOCUME%7E1%5Cissac%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml" rel="File-List" style="color: black;"&gt;&lt;/link&gt;&lt;style&gt;
&lt;!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
 {mso-style-parent:"";
 margin:0in;
 margin-bottom:.0001pt;
 mso-pagination:widow-orphan;
 font-size:12.0pt;
 font-family:"Times New Roman";
 mso-fareast-font-family:"Times New Roman";}
h3
 {mso-margin-top-alt:auto;
 margin-right:0in;
 mso-margin-bottom-alt:auto;
 margin-left:0in;
 mso-pagination:widow-orphan;
 mso-outline-level:3;
 font-size:13.5pt;
 font-family:"Times New Roman";}
a:link, span.MsoHyperlink
 {color:blue;
 text-decoration:underline;
 text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
 {color:purple;
 text-decoration:underline;
 text-underline:single;}
@page Section1
 {size:8.5in 11.0in;
 margin:1.0in 1.25in 1.0in 1.25in;
 mso-header-margin:.5in;
 mso-footer-margin:.5in;
 mso-paper-source:0;}
div.Section1
 {page:Section1;}
--&gt;
&lt;/style&gt;

&lt;br /&gt;
&lt;div class="MsoNormal" style="color: black; text-align: justify;"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Companding algorithms reduce the &lt;a href="http://en.wikipedia.org/wiki/Dynamic_range" title="Dynamic range"&gt;dynamic
range&lt;/a&gt; of an audio signal. In analog systems, this can
increase the &lt;a href="http://en.wikipedia.org/wiki/Signal-to-noise_ratio" title="Signal-to-noise ratio"&gt;signal-to-noise ratio&lt;/a&gt; (SNR) achieved during
transmission, and in the digital domain, it can reduce the &lt;a href="http://en.wikipedia.org/wiki/Quantization_error" target="_blank"&gt;quantization error&lt;/a&gt;
(hence increasing signal to quantization noise ratio). The &lt;b&gt;µ-law algorithm&lt;/b&gt;
(PCMU) is a companding
algorithm, primarily used in the digital telecommunication
systems of North America and Japan. And &lt;b&gt;A-law
algorithm (PCMA)&lt;/b&gt; is the standard companding
algorithm, used in European
digital communications
systems to optimize, &lt;i&gt;i.e.,&lt;/i&gt; modify, the dynamic
range of an analog signal for digitizing.&lt;/div&gt;
&lt;div class="MsoNormal" style="color: black; text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="color: black; text-align: justify;"&gt;
&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;b&gt;PCMU for Digitized Signals&lt;/b&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="color: black; text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="color: black; text-align: justify; text-indent: 0.5in;"&gt;
PCMU digital implementation
takes a maximum sine wave amplitude of ±8159 equal to 3.17 &lt;a href="http://en.wikipedia.org/wiki/DBm" target="_blank"&gt;dBm&lt;/a&gt; in
power representation. The front-end analog circuit and ADCs (Analog-to-Digital
Converters) are calibrated to take a (maximum of) 3.17 dBm sine wave and give ±8159
amplitude in digital number representation. The numbers 8159 and above are
clipped to 8158 in the process of quantization. In the process of compression, the
input range is broken into &lt;b&gt;segments&lt;/b&gt;, and each segment will use different
&lt;b&gt;intervals&lt;/b&gt;. Most segments contain 16 intervals, and the interval size doubles
from segment to segment as shown in Figure 1. Large signals use a big
quantization step and small signals use a small quantization step. This type of
non uniform quantization gives a signal-to-noise ratio (SNR) of 38 to 40 dB for
most of the useful signal amplitude range. For full-scale amplitude of 3.17
dBm, signal to quantization is shown as 39.3 dB. &lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-f0xAtix96I8/TzISDqlbeiI/AAAAAAAAABw/wu_8UPGiLH0/s1600/untitled1.bmp" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="289" src="http://4.bp.blogspot.com/-f0xAtix96I8/TzISDqlbeiI/AAAAAAAAABw/wu_8UPGiLH0/s320/untitled1.bmp" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Figure 1&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; A PCM 14–bit (±8159 amplitude) input is split into eight amplitude segments represented
with 3 bits. Each segment is quantized uniformly into 16 levels using 4 bits.
The polarity of the input is represented using 1 bit. A sign bit is represented
as “1″ for positive numbers and as “0″ for negative numbers. In a two’s
complement number format, sign bit-1 is used for negative numbers. After
framing 8 bits, the last 7 bits except the sign bit are inverted in PCMU. This
bit inversion increases the one’s bit density in transmission systems that help
timing and clock recovery circuits in the receiver. Ideal channel noise makes
bits, toggle between 01111111 (0x7F) and 11111111 (0xFF), which allows clock
recovery to be better even under ideal channel conditions. Bit inversion is
achieved by simple exclusive OR (XOR) operation of the encoded output with
value 0x7F. This inversion is applied on both positive and negative values of
input. At the decoder, the same operation of 7-bit inversion can retrieve the
original decoded compressed byte.&lt;/div&gt;
&lt;div class="MsoNormal" style="color: black; text-align: justify; text-indent: 0.5in;"&gt;
&lt;/div&gt;
&lt;div class="MsoNormal" style="color: black; text-align: justify; text-indent: 0.5in;"&gt;
&lt;link href="file:///C:%5CDOCUME%7E1%5Cissac%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C05%5Cclip_filelist.xml" rel="File-List"&gt;&lt;/link&gt;&lt;style&gt;
&lt;!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
 {mso-style-parent:"";
 margin:0in;
 margin-bottom:.0001pt;
 mso-pagination:widow-orphan;
 font-size:12.0pt;
 font-family:"Times New Roman";
 mso-fareast-font-family:"Times New Roman";}
@page Section1
 {size:8.5in 11.0in;
 margin:1.0in 1.25in 1.0in 1.25in;
 mso-header-margin:.5in;
 mso-footer-margin:.5in;
 mso-paper-source:0;}
div.Section1
 {page:Section1;}
--&gt;
&lt;/style&gt;

&lt;br /&gt;
&lt;div class="MsoNormal" style="text-align: justify;"&gt;
&amp;nbsp;PCMU has eight segments (both on the positive side and negative side),
numbered from 1 to 8. The intervals are 2,4,8,16,32,64,128 and 256. In PCMU, the maximum interval size is 256, and the corresponding
segment number is 8. However, encoded output has only 3 bits for representing
the segment number, which means only numbers from 0 to 7, can be used for
segment coding. Therefore, in PCMU, maximum and minimum segment numbers are
coded as 111(7) and 000(0), respectively.Table 1 lists PCMU encoded and
decoded output values for positive numbers and Table 2 lists the output values for some of the negative numbers.&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-8MOFC-eiQaQ/TzIi9b0XpYI/AAAAAAAAADI/YgxcMEKku4w/s1600/untitled.bmp" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/-8MOFC-eiQaQ/TzIi9b0XpYI/AAAAAAAAADI/YgxcMEKku4w/s1600/untitled.bmp" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Table 1&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;/div&gt;
&lt;div class="MsoNormal" style="text-align: justify;"&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-9YosuU2N0Jc/TzIjZ9uAuJI/AAAAAAAAADQ/D8dQLzYGkQ4/s1600/untitled.bmp" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/-9YosuU2N0Jc/TzIjZ9uAuJI/AAAAAAAAADQ/D8dQLzYGkQ4/s1600/untitled.bmp" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Table 2&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;/div&gt;
&lt;link href="file:///C:%5CDOCUME%7E1%5Cissac%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C12%5Cclip_filelist.xml" rel="File-List"&gt;&lt;/link&gt;&lt;style&gt;
&lt;!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
 {mso-style-parent:"";
 margin:0in;
 margin-bottom:.0001pt;
 mso-pagination:widow-orphan;
 font-size:12.0pt;
 font-family:"Times New Roman";
 mso-fareast-font-family:"Times New Roman";}
h3
 {mso-margin-top-alt:auto;
 margin-right:0in;
 mso-margin-bottom-alt:auto;
 margin-left:0in;
 mso-pagination:widow-orphan;
 mso-outline-level:3;
 font-size:13.5pt;
 font-family:"Times New Roman";}
@page Section1
 {size:8.5in 11.0in;
 margin:1.0in 1.25in 1.0in 1.25in;
 mso-header-margin:.5in;
 mso-footer-margin:.5in;
 mso-paper-source:0;}
div.Section1
 {page:Section1;}
--&gt;
&lt;/style&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;PC&lt;b&gt;MA&lt;/b&gt;&lt;/b&gt;&lt;b&gt;&lt;o:p&gt;&lt;/o:p&gt; for Digitized Signals&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 12pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PCMA takes a maximum input of ±4096 equal to 3.14dBm
in power representation. The front–end analog circuit and analog–to–digital
converters (ADCs) are calibrated to take 3.14 dBm and to give ±4096 amplitude
in digital number representation. The quantization procedure is the same as
with PCMU with few deviations in quantization steps. The step values (intervals) are
128, 64, 32, 16, 8, 4, and 2 (for the last two 16 intervals), which means the last two
segments use the same interval 2. Of the 16 total segments for positive and
negative numbers, four segments from -63 to 63 use a step size of 2. Hence,
PCMA is referred to as 13-segment quantization. PCMA encodes a 13-bit sample
number to an 8-bit compressed sample. Unlike in PCMU, where the last 7 bits are
inverted, PCMA encoder uses even bits inversion (EBI)., where in, the actual bits in the position 2,4,6 and 8 are inverted. In the A-law tables, (Table 3 and Table 4)
bits before inversion and after EBI are also included in separate columns. EBI
is performed in software by XOR operation of the encoded output with 0×55. EBI
is applied on both positive and negative values of input. At the decoder, the
same operation of even bit inversion can retrieve the original decoded
compressed byte. EBI in PCMA once again helps clock recovery mechanisms during
ideal channel or near zero amplitude signals. Table 3 shows the &lt;/span&gt;&lt;link href="file:///C:%5CDOCUME%7E1%5Cissac%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C13%5Cclip_filelist.xml" rel="File-List"&gt;&lt;/link&gt;&lt;style&gt;
&lt;!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
 {mso-style-parent:"";
 margin:0in;
 margin-bottom:.0001pt;
 mso-pagination:widow-orphan;
 font-size:12.0pt;
 font-family:"Times New Roman";
 mso-fareast-font-family:"Times New Roman";}
@page Section1
 {size:8.5in 11.0in;
 margin:1.0in 1.25in 1.0in 1.25in;
 mso-header-margin:.5in;
 mso-footer-margin:.5in;
 mso-paper-source:0;}
div.Section1
 {page:Section1;}
--&gt;
&lt;/style&gt;&lt;b&gt;&lt;span style="font-weight: normal;"&gt;PCMA Quantization Example for Positive Inputs
and&amp;nbsp; Table 4 shows the same output for a few Segments of Negative Inputs.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://1.bp.blogspot.com/-bXQPamMIiaI/TzIfSKPpaEI/AAAAAAAAACw/tskNec3GbLs/s1600/untitled.bmp" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="223" src="http://1.bp.blogspot.com/-bXQPamMIiaI/TzIfSKPpaEI/AAAAAAAAACw/tskNec3GbLs/s400/untitled.bmp" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Table 3&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;br /&gt;
&lt;a href="http://2.bp.blogspot.com/-uV30ZLAD-5Q/TzIgb4nDAgI/AAAAAAAAADA/BkMMmavUWWU/s1600/untitled.bmp" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="167" src="http://2.bp.blogspot.com/-uV30ZLAD-5Q/TzIgb4nDAgI/AAAAAAAAADA/BkMMmavUWWU/s400/untitled.bmp" width="415" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Table 4 &lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/b&gt;Therefore, Companding is a process which helps to transmit and reproduce a high-fidelity voice information in an effective manner (in terms of bandwidth as well as cost).

&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1981268996686642854-2183583973799748099?l=mytelecomlearnings.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mytelecomlearnings.blogspot.com/feeds/2183583973799748099/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mytelecomlearnings.blogspot.com/2012/02/companding-compressing-expanding.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1981268996686642854/posts/default/2183583973799748099?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1981268996686642854/posts/default/2183583973799748099?v=2'/><link rel='alternate' type='text/html' href='http://mytelecomlearnings.blogspot.com/2012/02/companding-compressing-expanding.html' title='Companding - Compressing + Expanding'/><author><name>Author</name><uri>http://www.blogger.com/profile/11001220531932110767</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-f0xAtix96I8/TzISDqlbeiI/AAAAAAAAABw/wu_8UPGiLH0/s72-c/untitled1.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;DU8ERnwzfyp7ImA9WhRbFUU.&quot;'><id>tag:blogger.com,1999:blog-1981268996686642854.post-7011059610812031107</id><published>2012-02-03T04:33:00.002-08:00</published><updated>2012-02-06T20:10:07.287-08:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2012-02-06T20:10:07.287-08:00</app:edited><title>Analog to Digital Coversion</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;link href="file:///C:%5CDOCUME%7E1%5Cissac%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C05%5Cclip_filelist.xml" rel="File-List"&gt;&lt;/link&gt;&lt;link href="file:///C:%5CDOCUME%7E1%5Cissac%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C05%5Cclip_editdata.mso" rel="Edit-Time-Data"&gt;&lt;/link&gt;&lt;style&gt;
&lt;!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
 {mso-style-parent:"";
 margin:0in;
 margin-bottom:.0001pt;
 mso-pagination:widow-orphan;
 font-size:12.0pt;
 font-family:"Times New Roman";
 mso-fareast-font-family:"Times New Roman";}
@page Section1
 {size:8.5in 11.0in;
 margin:1.0in 1.25in 1.0in 1.25in;
 mso-header-margin:.5in;
 mso-footer-margin:.5in;
 mso-paper-source:0;}
div.Section1
 {page:Section1;}
--&gt;
&lt;/style&gt;&lt;link href="file:///C:%5CDOCUME%7E1%5Cissac%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C06%5Cclip_filelist.xml" rel="File-List"&gt;&lt;/link&gt;&lt;style&gt;
&lt;!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
 {mso-style-parent:"";
 margin:0in;
 margin-bottom:.0001pt;
 mso-pagination:widow-orphan;
 font-size:12.0pt;
 font-family:"Times New Roman";
 mso-fareast-font-family:"Times New Roman";}
@page Section1
 {size:8.5in 11.0in;
 margin:1.0in 1.25in 1.0in 1.25in;
 mso-header-margin:.5in;
 mso-footer-margin:.5in;
 mso-paper-source:0;}
div.Section1
 {page:Section1;}
--&gt;
&lt;/style&gt;

&lt;br /&gt;
&lt;div class="MsoNormal" style="text-align: justify; text-indent: 0.5in;"&gt;
&lt;span lang="EN"&gt;The voice frequency&lt;/span&gt;&lt;span lang="EN"&gt; (VF) or voice band ranges from approximately 300 Hz to 3.30 kHz. After adding
the guard bands (a guard band is an unused part of the radio spectrum between
radio bands, for the purpose of preventing interference) of 0-300 Hz and&amp;nbsp; 3.3kHz-4kHz , the net bandwidth
that is required for voice transmission will be 4 kHz. Now we need to convert
this signal into a digitized one. And the concept behind digitizing a sound
signal is Nyquist theorem. Working at Bell Labs, Harry Nyquist discovered that
it was not necessary to capture (or send) the entire analog waveform. Only the samples
of the wave taken at various points need to be captured to recreate the
original one. He also found that in order to reconstruct the original waveform
with enough information as the original one, the sampling rate must be at least
twice the signal bandwidth.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="text-align: justify;"&gt;
&lt;/div&gt;
&lt;div class="MsoNormal" style="text-align: justify; text-indent: 0.5in;"&gt;
&lt;span lang="EN"&gt;This concept became the foundation
for PCM (Pulse Code Modulation). PCM is the fundamental thing for any digital
transmission or switching technology. As I previously mentioned, the highest
frequency content in the voice sample is 4 kHz (4000 samples per second). According
to Nyquist criterion, the &lt;b&gt;&lt;i&gt;sampling&lt;/i&gt;&lt;/b&gt;
rate should be at least twice the highest frequency content of the selected
signal. So here the sampling rate will be 8000 samples per second. After this,
the amplitude of each sample is measured based on a logarithmic scale. This measurement
process is called &lt;b&gt;&lt;i&gt;Quantization. &lt;/i&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="text-align: justify;"&gt;
&lt;/div&gt;
&lt;div class="MsoNormal" style="text-align: justify; text-indent: 0.5in;"&gt;
&lt;link href="file:///C:%5CDOCUME%7E1%5Cissac%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C08%5Cclip_filelist.xml" rel="File-List"&gt;&lt;/link&gt;&lt;o:smarttagtype name="country-region" namespaceuri="urn:schemas-microsoft-com:office:smarttags"&gt;&lt;/o:smarttagtype&gt;&lt;o:smarttagtype name="place" namespaceuri="urn:schemas-microsoft-com:office:smarttags"&gt;&lt;/o:smarttagtype&gt;&lt;style&gt;
&lt;!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
 {mso-style-parent:"";
 margin:0in;
 margin-bottom:.0001pt;
 mso-pagination:widow-orphan;
 font-size:12.0pt;
 font-family:"Times New Roman";
 mso-fareast-font-family:"Times New Roman";}
@page Section1
 {size:8.5in 11.0in;
 margin:1.0in 1.25in 1.0in 1.25in;
 mso-header-margin:.5in;
 mso-footer-margin:.5in;
 mso-paper-source:0;}
div.Section1
 {page:Section1;}
--&gt;
&lt;/style&gt;

&lt;/div&gt;
&lt;div class="MsoNormal" style="text-align: justify; text-indent: 0.5in;"&gt;
There are two PCM algorithms defined within &lt;a href="http://en.wikipedia.org/wiki/G.711" target="_blank"&gt;CCITT G.711&lt;/a&gt;, called "A-Law" and "Mu-Law". Mu-Law PCM is used in
North America and &lt;st1:country-region w:st="on"&gt;&lt;st1:place w:st="on"&gt;Japan&lt;/st1:place&gt;&lt;/st1:country-region&gt;,
and A-Law used in most other countries. In both A-Law and Mu-Law PCM, 8 bit codewords are used to represent each sample's amplitude (voltage value of the voice sample at the sampling instance) To attain this 8 bit quantization, a logarithmic scale is used. The y-axis of this scale is divided into 16 segments called &lt;b&gt;chords &lt;/b&gt;( 8 on the positive side &amp;amp; 8 on the negative side).&amp;nbsp; Within each chord are 16 uniform quantization intervals, or &lt;b&gt;steps&lt;/b&gt;. The length of the steps depend on the chord number. For example, chord 1 has 16 steps having a length of Δ each. Chord 2 has 16 steps having a length of 2Δ each. In general, the step size in the n-th chord is 2n−1Δ.(as shown in Figure below)&lt;/div&gt;
&lt;div class="MsoNormal"&gt;
&lt;/div&gt;
&lt;div class="MsoNormal" style="text-align: justify;"&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://3.bp.blogspot.com/-EoSRbTWqoxo/TyvSVArOXBI/AAAAAAAAABQ/HvDiFy0pzCU/s1600/untitled.bmp" imageanchor="1"&gt;&lt;img border="0" height="361" src="http://3.bp.blogspot.com/-EoSRbTWqoxo/TyvSVArOXBI/AAAAAAAAABQ/HvDiFy0pzCU/s400/untitled.bmp" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style="color: black;"&gt;Now the representation of the 8 bits is as shown below.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-mOVJzhWKmtA/Ty_CDoaJ4rI/AAAAAAAAABg/6M2JUrVtWLc/s1600/untitled.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="100" src="http://2.bp.blogspot.com/-mOVJzhWKmtA/Ty_CDoaJ4rI/AAAAAAAAABg/6M2JUrVtWLc/s320/untitled.bmp" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style="color: black;"&gt; &amp;nbsp; &lt;/span&gt;&lt;link href="file:///C:%5CDOCUME%7E1%5Cissac%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C03%5Cclip_filelist.xml" rel="File-List"&gt;&lt;/link&gt;&lt;style&gt;
&lt;!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
 {mso-style-parent:"";
 margin:0in;
 margin-bottom:.0001pt;
 mso-pagination:widow-orphan;
 font-size:12.0pt;
 font-family:"Times New Roman";
 mso-fareast-font-family:"Times New Roman";
 color:windowtext;}
p
 {mso-margin-top-alt:auto;
 margin-right:0in;
 mso-margin-bottom-alt:auto;
 margin-left:0in;
 mso-pagination:widow-orphan;
 font-size:12.0pt;
 font-family:"Times New Roman";
 mso-fareast-font-family:"Times New Roman";
 color:red;}
@page Section1
 {size:8.5in 11.0in;
 margin:1.0in 1.25in 1.0in 1.25in;
 mso-header-margin:.5in;
 mso-footer-margin:.5in;
 mso-paper-source:0;}
div.Section1
 {page:Section1;}
--&gt;
&lt;/style&gt;

&lt;br /&gt;
&lt;div style="text-align: justify; text-indent: 0.5in;"&gt;
&lt;span style="color: black;"&gt;The
left-most bit is known as the "sign" bit or "polarity" bit,
and is a 1 for positive values and a 0 for negative values (both PCM types).
This is the Most Significant Bit (MSB) and is transmitted first. The next three
bits indicates the chord value, and the final four bits denotes the step
value.(as shown in Figure 1). This way of defining an 8 bit pattern for a
sample value is called &lt;b&gt;&lt;i&gt;encoding&lt;/i&gt;&lt;/b&gt;. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="text-align: justify; text-indent: 0.5in;"&gt;
Now why do you want to use a
logarithmic scale for the quantization process? Dividing the amplitude of the
voice signal up into equal positive and negative steps is not an efficient way to encode voice into PCM. This does not take advantage
of a natural property of human voice &lt;b&gt;:-&lt;/b&gt; voices create low amplitude
signals most of the time (people seldom shout on the telephone). That is, most
of the energy in human voice is concentrated in the lower end of voice’s
dynamic range. To create the highest-quality voice reproduction from PCM, the
quantization process must take into account this fact that most voice signals
are typically of lower amplitude. To do this the voice coder adjusts the chords
and steps so that most of them are in the low-amplitude end of the total
encoding range. In this modified scheme, all step sizes are not equal. Step
sizes are smaller for lower-amplitude signals. Quantization levels (chords)
distributed according to a logarithmic function, instead of linear function
gives finer resolution, or smaller quantization steps, at lower signal amplitudes
(as shown in Figure 3). Therefore, higher-fidelity reproduction of voice is
achieved.&lt;/div&gt;
&lt;div style="text-align: justify; text-indent: 0.5in;"&gt;
And finally, as each sample is
represented using 8 bits, the total bits that&amp;nbsp; needs to be transmitted per
second (for the recreation of the original 4kHz band sample) is 8000
samples/sec * 8 bits/sample = 64000 bits transmitted per second or 64Kbps.
And&amp;nbsp; therefore the minimum bandwidth required to convey your voice (in
digital terms) is 64Kbps.&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;link href="file:///C:%5CDOCUME%7E1%5Cissac%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C07%5Cclip_filelist.xml" rel="File-List"&gt;&lt;/link&gt;&lt;link href="file:///C:%5CDOCUME%7E1%5Cissac%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C07%5Cclip_editdata.mso" rel="Edit-Time-Data"&gt;&lt;/link&gt;&lt;style&gt;
&lt;!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
 {mso-style-parent:"";
 margin:0in;
 margin-bottom:.0001pt;
 mso-pagination:widow-orphan;
 font-size:12.0pt;
 font-family:"Times New Roman";
 mso-fareast-font-family:"Times New Roman";}
@page Section1
 {size:8.5in 11.0in;
 margin:1.0in 1.25in 1.0in 1.25in;
 mso-header-margin:.5in;
 mso-footer-margin:.5in;
 mso-paper-source:0;}
div.Section1
 {page:Section1;}
--&gt;
&lt;/style&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 12pt;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1981268996686642854-7011059610812031107?l=mytelecomlearnings.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mytelecomlearnings.blogspot.com/feeds/7011059610812031107/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mytelecomlearnings.blogspot.com/2012/02/analog-to-digital-coversion.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1981268996686642854/posts/default/7011059610812031107?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1981268996686642854/posts/default/7011059610812031107?v=2'/><link rel='alternate' type='text/html' href='http://mytelecomlearnings.blogspot.com/2012/02/analog-to-digital-coversion.html' title='Analog to Digital Coversion'/><author><name>Author</name><uri>http://www.blogger.com/profile/11001220531932110767</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-EoSRbTWqoxo/TyvSVArOXBI/AAAAAAAAABQ/HvDiFy0pzCU/s72-c/untitled.bmp' height='72' width='72'/><thr:total>0</thr:total></entry><entry gd:etag='W/&quot;CkAFQH0yfyp7ImA9WhRbFU4.&quot;'><id>tag:blogger.com,1999:blog-1981268996686642854.post-1042980957606961000</id><published>2012-02-02T23:19:00.000-08:00</published><updated>2012-02-06T04:18:31.397-08:00</updated><app:edited xmlns:app='http://www.w3.org/2007/app'>2012-02-06T04:18:31.397-08:00</app:edited><title>Lets start with a PSTN call</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;link href="file:///C:%5CDOCUME%7E1%5Cissac%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C03%5Cclip_filelist.xml" rel="File-List"&gt;&lt;/link&gt;&lt;style&gt;
&lt;!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
 {mso-style-parent:"";
 margin:0in;
 margin-bottom:.0001pt;
 mso-pagination:widow-orphan;
 font-size:12.0pt;
 font-family:"Times New Roman";
 mso-fareast-font-family:"Times New Roman";}
@page Section1
 {size:8.5in 11.0in;
 margin:1.0in 1.25in 1.0in 1.25in;
 mso-header-margin:.5in;
 mso-footer-margin:.5in;
 mso-paper-source:0;}
div.Section1
 {page:Section1;}
--&gt;
&lt;/style&gt;

&lt;br /&gt;
&lt;link href="file:///C:%5CDOCUME%7E1%5Cissac%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C04%5Cclip_filelist.xml" rel="File-List"&gt;&lt;/link&gt;&lt;style&gt;
&lt;!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
 {mso-style-parent:"";
 margin:0in;
 margin-bottom:.0001pt;
 mso-pagination:widow-orphan;
 font-size:12.0pt;
 font-family:"Times New Roman";
 mso-fareast-font-family:"Times New Roman";}
@page Section1
 {size:8.5in 11.0in;
 margin:1.0in 1.25in 1.0in 1.25in;
 mso-header-margin:.5in;
 mso-footer-margin:.5in;
 mso-paper-source:0;}
div.Section1
 {page:Section1;}
--&gt;
&lt;/style&gt;

&lt;br /&gt;
&lt;div class="MsoNormal" style="color: black; text-align: justify; text-indent: 0.5in;"&gt;
&lt;span lang="EN"&gt;The PSTN or the &lt;b&gt;public switched telephone
network&lt;/b&gt; (&lt;b&gt;PSTN&lt;/b&gt;) is the network of the world's circuit-switched telephone
networks. You can think of it as a network where each Telephone switch in the
network is connected to another switch, either directly or in an indirect way
(through other switches). Also the switches are intelligent enough to route
your call to a destination switch near to your friend’s or relative’s house, be
it a national or an international call. Each of these switches uses the
telephone number that you dial, to find the switch where your friend belongs
to. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="color: black; text-align: justify; text-indent: 0.5in;"&gt;
&lt;span lang="EN"&gt;Now when you want to talk to some one over a
telephone, you will first dial his/her telephone number. Then the other end’s
phone started ringing and if somebody lifts the phone, you will get an answer.
Do you know what happened during that tiny gap between the “end of dialing” and
“Ringing”?&amp;nbsp; This is the duration where
the switches are trying to establish a physical connection between you and the
person you dialed through the PSTN network. This physical connection is used to
convey your voice data (speech) to the other person and vice versa. Now what
does this physical connection looks like? Is it the physical wires that we are
talking about? You might have seen only one or two optical cables or electrical
cables between the telephone switch boxes, but still it supports thousands of
users from your locality. How is this possible? There comes the technology
called TDM (Time division multiplexing).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="MsoNormal" style="color: black; text-align: justify; text-indent: 0.5in;"&gt;
&lt;span lang="EN"&gt;Multiplexing is the method of combining many
smaller units of signals carried via separate channels on to a bigger and
single channel. Or in other words multiplexing helps to carry multiple users
information simultaneously. The unit can be a time slice or a frequency. When
it is frequency, that method is called FDM (Frequency division multiplexing)
and if it is time, then it is called TDM. Consider your link has a carrying
capacity (bandwidth) of 2Mbps or 2 Mega bits per second (i.e. it can carry 2
Megabits every 1 sec), and you want to carry “n” users data simultaneously
through this link How do you achieve this? The TDM multiplexer will do the job
for you. Each user will be allocated 1/n sec duration of the bandwidth out of
this 2Mbps. All users will send there data to the Multiplexer in a parallel
fashion. The multiplexer will buffer this information and will arrange them in
a serial manner to make the 2Mb of information and sent these data chunks every
second. And at the other end a de-multiplexer will separate the information and
forward it to multiple destinations. Now you can see, how a single high
capacity link can me equipped to carry multiple users data simultaneously.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="color: black; text-align: justify;"&gt;
&lt;span lang="EN" style="font-family: &amp;quot;Times New Roman&amp;quot;; font-size: 12pt;"&gt;Same thing is happening in a switch (Digital switch). Your telephones
will be wired separately to a switch. The switch will do the multiplexing for
you and send your information, as if separate cables are laid for you between
the switches.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1981268996686642854-1042980957606961000?l=mytelecomlearnings.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mytelecomlearnings.blogspot.com/feeds/1042980957606961000/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://mytelecomlearnings.blogspot.com/2012/02/lets-start-with-pstn.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1981268996686642854/posts/default/1042980957606961000?v=2'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1981268996686642854/posts/default/1042980957606961000?v=2'/><link rel='alternate' type='text/html' href='http://mytelecomlearnings.blogspot.com/2012/02/lets-start-with-pstn.html' title='Lets start with a PSTN call'/><author><name>Author</name><uri>http://www.blogger.com/profile/11001220531932110767</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>