Sie sind auf Seite 1von 15

PCM PRINCIPLE

1.0 INTRODUCTION

A long distance or local telephone conversation between two persons could be provided by using a pair of open wire lines or underground cable as early as early as mid of 19th century. However, due to fast industrial development and increased telephone awareness, demand for trunk and local traffic went on increasing at a rapid rate. To cater to the increased demand of traffic between two stations or between two subscribers at the same station we resorted to the use of an increased number of pairs on either the open wire alignment, or in underground cable. This could solve the problem for some time only as there is a limit to the number of open wire pairs that can be installed on one alignment due to headway consideration and maintenance problems. Similarly increasing the number of open wire pairs that can be installed on one alignment due to headway consideration and maintenance problems. Similarly increasing the number of pairs to the underground cable is uneconomical and leads to maintenance problems. It, therefore, became imperative to think of new technical innovations which could exploit the available bandwidth of transmission media such as open wire lines or underground cables to provide more number of circuits on one pair. The technique used to provide a number of circuits using a single transmission link is called Multiplexing. 2.0 MULTIPLEXING TECHNIQUES There are basically two types of multiplexing techniques i. ii 2.1 Frequency Division Multiplexing (FDM) Time Division Multiplexing (TDM)

Frequency Division Multiplexing Techniques (FDM)

The FDM techniques is the process of translating individual speech circuits (300-3400 Hz) into pre-assigned frequency slots within the bandwidth of the transmission medium. The frequency translation is done by amplitude modulation of the audio frequency with an appropriate carrier frequency. At the output of the modulator a filter network is connected to select either a lower or an upper side band. Since the intelligence is carried in either side band, single side band suppressed carrier mode of AM is used. This results in substantial saving of bandwidth mid also permits the use of low power amplifiers. Please refer Fig. 1.

FDM techniques usually find their application in analogue transmission systems. An analogue transmission system is one which is used for transmitting continuously varying signals.

Fig. 1 FDM Principle 2.2 Time Division Multiplexing Basically, time division multiplexing involves nothing more than sharing a transmission medium by a number of circuits in time domain by establishing a sequence of time slots during which individual channels (circuits) can be transmitted. Thus the entire bandwidth is periodically available to each channel. Normally all time slots1 are equal in length. Each channel is assigned a time slot with a specific common repetition period called a frame interval. This is illustrated in Fig. 2.

Fig. 2 Time Division Multiplexing

Each channel is sampled at a specified rate and transmitted for a fixed duration. All channels are sampled one by, the cycle is repeated again and again. The channels are connected to individual gates which are opened one by one in a fixed sequence. At the receiving end also similar gates are opened in unision with the gates at the transmitting end. The signal received at the receiving end will be in the form of discrete samples and these are combined to reproduce the original signal. Thus, at a given instant of time, onty one channel is transmitted through the medium, and by sequential sampling a number of channels can be staggered in time as opposed to transmitting all the channel at the same time as in EDM systems. This staggering of channels in time sequence for transmission over a common medium is called Time Division Multiplexing (TDM). 3.0 Pulse Code Modulation

It was only in 1938, Mr. A.M. Reaves (USA) developed a Pulse Code Modulation (PCM) system to transmit the spoken word in digital form. Since then digital speech transmission has become an alternative to the analogue systems. PCM systems use TDM technique to provide a number of circuits on the same transmission medium viz open wire or underground cable pair or a channel provided by carrier, coaxial, microwave or satellite system. Basic Requirements for PCM System To develop a PCM signal from several analogue signals, the following processing steps are required Filtering Sampling Quantisation Encoding

3.1

FILTERING Filters are used to limit the speech signal to the frequency band 300-3400 Hz.

3.2

SAMPLING

It is the most basic requirement for TDM. Suppose we have an analogue signal Fig. 3 (b), which is applied across a resistor R through a switch S as shown in Fig. 3 (a) . Whenever switch S is closed, an output appears across R. The rate at which S is closed is called the sampling frequency because during the make periods of S, the samples of the analogue modulating signal appear across R. Fig. 3(d) is a stream of samples of the input signal which appear across R. The amplitude of the sample is depend upon the amplitude of the input signal at the instant of sampling. The duration of these sampled pulses is equal to the duration for which the switch S is closed. Minimum number of samples are to be sent for any band limited signal to get a good approximation of the original analogue signal and the same is defined by the sampling Theorem.

Fig. 3: Sampling Process 3.2.1 Sampling Theorem A complex signal such as human speech has a wide range of frequency components with the amplitude of the signal being different at different frequencies. To put it in a different way, a complex signal will have certain amplitudes for all frequency components of which the signal is made. Let us say that these frequency components occupy a certain bandwidth B. If a signal does not have any value beyond this bandwidth B, then it is said to be band limited. The extent of B is determined by the highest frequency components of the signal.

Sampling Theorem States "If a band limited signal is sampled at regular intervals of time and at a rate equal to or more than twice the highest signal frequency in the band, then the sample contains all the information of the original signal." Mathematically, if fH is the highest frequency in the signal to be sampled then the sampling frequency Fs needs to be greater than 2 fH. i.e. Fs>2fH Let us say our voice signals are band limited to 4 KHz and let sampling frequency be 8 KHz. Time period of sampling Ts = or Ts = 125 micro seconds If we have just one channel, then this can be sampled every 125 microseconds and the resultant samples will represent the original signal. But, if we are to sample N channels one by one at the rate specified by the sampling theorem, then the time available for sampling each channel would be equal to Ts/N microseconds. 1 sec 8000

FIG. 4: Sampling and combining Channels Fig. 4 shows how a number of channels can be sampled and combined. The channel gates (a, b ... n) correspond to the switch S in Fig. 3. These gates are opened by a series of pulses called "Clock pulses". These are called gates because, when closed these actually connect the channels to the transmission medium during

the clock period and isolate them during the OFF periods of the clock pulses. The clock pulses are staggered so that only one pair of gates is open at any given instant and, therefore, only one channel is connected to the transmission medium. The time intervals during which the common transmission medium is allocated to a particular channel is called the Time Slot for that channel. The width of.this time slot will depend, as stated above, upon the number of channels to be combined and the clock pulse frequency i.e. the sampling frequency. In a 30 channel PCM system. TS i.e. 125 microseconds are divided into 32 parts. That is 30 time slots are used for 30 speech signals, one time slot for signalling of all the 30 chls, and one time slot for synchronization between Transmitter & Receiver. The time available per channel would be Ts/N = 125/32 = 3.9 microseconds. Thus in a 30 channel PCM system, time slot is 3.9 microseconds and time period of sampling i.e..the interval between 2 consecutive samples of a channel is 125 microseconds. This duration i.e. 125 microseconds is called Time Frame. The signals on the common medium (also called the common highway) of a TDM system will consist of a series of pulses, the amplitudes of which are proportional to the amplitudes of the individual channels at their respective sampling instants. This is illustrated in Fig. 5

i Fig 5 : PAM Output Signals

The original signal for each channel can be recovered at the receive end by applying gate pulses at appropriate instants and passing the signals through low pass filters. (Refer Fig. 6).

Fig. 6 : Reconstruction of Original Signal 3.3 Quantization

In FDM systems we convey the speech signals in their analogue electrical form. But in PCM, we convey the speech in discrete form. The sampler selects a number of points on the analogue speech signal (by sampling process) and measures their instant values. The output of the sampler is a PAM signal as shown in Fig. 3; The transmission of PAM signal will require linear amplifiers at trans and receive ends to recover distortion less signals. This type of transmission is susceptible to all the disadvantages of AM signal transmission. Therefore, in PCM systems, PAM signals are converted into digital form by using Quantization Principles. The discrete level of each sampled signal is quantified with reference to a certain specified level on an amplitude scale. The process of measuring the numerical values of the samples and giving them a table value in a suitable scale is called "Quantising". Of course, the scales and the number of points should be so chosen that the signal could be effectively reconstructed after demodulation. Quantising, in other words, can be defined as a process of breaking down a continuous amplitude range into a finite number of amplitude values or steps. A sampled signal exists only at discrete times but its amplitude is drawn from a continuous range of amplitudes of an analogue signal. On this basis, an infinite number of amplitude values is possible. A suitable finite number of discrete values can be used to get an. approximation of the infinite set. The discrete value of a sample is measured by comparing it with a scale having a finite number of intervals and identifying the interval in which the sample falls. The finite number of amplitude intervals is called the "quantizing interval". Thus, quantizing means to divide the analogue signal's total amplitude range into a number of quantizing intervals and assigning a level to each. intervals. For example, a 1 volt signal can be divided into 10mV ranges like 10-20mV, 30-40mV and so on. The interval 10-20 mV, may be designated as level 1, 20-30

mV as level 2 etc. For the purpose of transmission, these levels are given a binary code. This is called encoding. In practical systems-quantizing and encoding are a combined process. For the sake of understanding, these are treated separately. Quantizing Process Suppose we have a signal as shown in Fig. 7 which is sampled at instants a, b, c, d and e. For the sake of explanation, let us suppose that the signal has maximum amplitude of 7 volts. In order to quantize these five samples taken of the signal, let us say the total amplitude is divided into eight ranges or intervals as shown in Fig. 7. Sample (a) lies in the 5th range. Accordingly, the quantizing process will assign a binary code corresponding to this i.e. 101, Similarly codes are assigned for other samples also. Here the quantizing intervals are of the same size. This is called Linear Quantizing.

FIG. 7: QUANTIZING-POSITIVE SIGNAL Assigning an interval of 5 for sample 1, 7 for 2 etc. is the quantizing process. Giving, the assigned levels of samples, the binary code are called coding of the quantized samples. Quantizing is done for both positive and negative swings. As shown in Fig.6, eight quantizing levels are used for each direction of the analogue signal. To indicate whether a sample is negative with reference to zero or is positive with reference zero, an extra digit is added to the binary code. This extra digit is called the "sign bit". In Fig. 8. positive values have a sign bit of ' 1 ' and negative values have sign bit of'0'.

FIG. 8: QUANTIZING - SIGNAL WITH + Ve & - Ve VALUES 3.1.1 Relation between Binary Codes and Number of levels. Because the quantized samples are coded in binary form, the quantization intervals will be in powers of 2. If we have a 4 bit code, then we can have 2" = 16 levels. Practical PCM systems use an eight bit code with the first bit as sign bit. It means we can have 2" = 256 (128 levels in the positive direction and 128 levels in the negative direction) intervals for quantizing. 3.1.2 Quantization Distortion Practically in quantization we assign lower value of each interval to a sample falling in any particular interval and this value is given as: Table-1: Illustration of Quantization Distortion Analogue Signal Quantizing Amplitude Interval Range (mid value) 0-10 mv 10-20mv 20-30 mv 30-40 mv 5 mv 15mv 25 mv 35 mv Quantizing Level Binary Code

0 1 2 3

1000 1001 1010 1011

40-50 mv

45 mv

1100

If a sample has an amplitude of say 23 mv or 28 mv, in either case it will be assigned \he \eve\ "2". This Is represented in binary code 1010. When this is decoded at the receiving end, the decoder circuit on receiving a 1010 code will convert this into an analogue signal of amplitude 25 mv only. Thus the process' of quantization leads to an approximation of the input signal with the detected signal having some deviations in amplitude from the actual values. This deviation between the amplitude of samples at the transmitter and receiving ends (i.e. the difference between the actual value & the reconstructed value) gives rise to quantization distortion. If V represent the step size and 'e' represents the difference in amplitude fe' must exists between - V/2 & + V/2) between the actual signal level and its quantized equivalent then it can be proved that mean square quantizing error is equal to (V2). Thus, we see that the error depends upon the size of the step. In linear quantization, equal step means equal degree of error for all input amplitudes. In other words, the signal to noise ratio for weaker signals will be poorer. To reduce error, we, therefore, need to reduce step size or in other words, increase th,e number of steps in the given amplitude range. This would however, increase the transmission bandwidth because bandwidth B = fm log L. where L is the number of quantum steps and fm is the highest signal frequency. But as we knows from speech statistics that the probability of occurrence of a small amplitude is much greater than large one, it seems appropriate to provide more quantum levels (V = low value) in the small amplitude region and only a few (V = high value) in the region of higher amplitudes. In this case, provided the total number of specified levels remains unchanged, no increase in transmission bandwidth will be required. This will also try to bring about uniformity in signal to noise ratio at all levels of input signal. This type of quantization is called nonuniform quantization. In practice, non-uniform quantization is achieved using segmented quantization (also called companding). This is shown in Fig. 9 (a). In fact, there is equal number of segments for both positive and negative excursions. In order to specify the location of a sample value it is necessary to know the following: 1. 2. 3. The sign of the sample (positive or negative excursion) The segment number The quantum level within the segment

Fig. 9 (a) Segmented coding curve As seen in Fig. 9 (b), the first two segment in each polarity are collinear, (i.e. the slope is the same in the central region) they are considered as one segment. Thus the total number of segment appear to be 13. However, for purpose of analysis all the 16 segments will be taken into account. 3.4 Encoding Conversion of quantised analogue levels to binary signal is called encoding. To represent 256 steps, 8 level code is required. The eight bit code is also called an eight bit "word". The 8 bit word appears in the form

P Polarity bit 1 encoding for + ve 'O' for - ve.

ABC Segment Code

WXYZ Linear in the segment

The first bit gives the sign of the voltage to be coded. Next 3 bits gives the segment number. There are 8 segments for the positive voltages and 8 for negative voltages. Last 4 bits give the position in the segment. Each segment contains 16 positions. Referring to Fig. 9(b), voltage Vc will be encoded as 1 1 1 1 0101.

FIG. 9 (b) : Encoding Curve with Compression 8 Bit Code The quantization and encoding are done by a circuit called coder. The coder converts PAM signals (i.e. after sampling) into an 8 bit binary signal. The coding is done as per Fig. 9 which shows a relationship between voltage V to be coded and equivalent binary number N. The function N = f(v) is not linear. The curve has the following characteristics. It is symmetrical about the origins. Zero level corresponds to zero voltage to be encoded. It is logarithmic function approximated by 13 straight segments numbered 0 to 7 in positive direction and 'O' to 7 in the negative direction. However 4 segments 0,

1, 0, 1 lying between levels + vm/64 -vm/64 being colinear are taken as one segment. The voltage to be encoded corresponding to 2 ends of successive segments are in the ratio of 2. That is vm, vm/2, vm/4, vm/8, vm/16, vm/32, vm/64, vm/128 (vm being the maximum voltage). There are 128 quantification levels in the positive part of the curve and 128 in the negative part of the curve. In a PCM system the channels are sampled one by one by applying the sampling pulses to the sampling gates. Refer Fig. 10. The gates open only when a pulse is applied to them and pass the analogue signals through them for the duration for which the gates remain open. Since only one gate will be activated at a given instant, a common encoding circuit is used for all channels. Here the samples are quantized and encoded. The encoded samples of all the channels and signals etc are combined in the digital combiner and transmitted.

Fig. 10 The reverse process is carried out at the receiving end to retrieve the original analogue signals. The digital combiner combines the encoded samples in the form of "frames". The digital separator decombines the incoming digital streams into individual frames. These frames are decoded to give the PAM (Pulse Amplitude Modulated) samples. The samples corresponding to individual

channels are separated by operating the receive sample gates in the same sequence i.e. in synchronism with the transmit sample gates.

Das könnte Ihnen auch gefallen