Docsity

Line coding Line coding, Study notes of Electrical and Electronics Engineering

Partial preview of the text

Download Line coding Line coding and more Study notes Electrical and Electronics Engineering in PDF only on Docsity!

Digital Communication 2-59 Digital Baseband Transmission Next part shows the comparison for voice encoding. Sr.No. Parameter PCM DM ADM DPCM 9 Sampling rate kHz | 8 64-128 48-64 8 10 Bits/sample 7-8 4 ie 46 1 Bit rate 56-64 64-128 46-64 32-48 Review Questions 1. Explain DPCM. How is it different from PCM? 2. Compare PCM, DM, ADM and DPCM. 2.5 Data Formats or Line Coding The analog waveforms are converted to digital signals by PEM, DM, ADM, DPCM etc. techniques. This digital data can be represented by different formats or waveforms. These waveforms are commonly known as digital data formats or their tepresentaton is called as line coding. i Digital symbols can amplitude modulate some carrier to generate amplitude modulated pulse train. Such signal may be represented as, x) = Ya, p(t-nD) ws 2.5.1) Here a,, is the modulating amplitude. It is the n/t symbol in the message sequence. p(t) is the carrier signal. It's pulses are modulated by a,,. D is the maximum duration (time period) allowed for the carrier pulse. The unmodulated pulse p (f) is’ the rectangular pilse and it can take ‘variable duty cycle. It can be represented as, pi) = 1 fort=0 = 0 fort=+D,+2D os (2.5.2) X(f) is the baseband signal and continuous in time. To recover the original digital signal, we have to sample x() at some fixed intervals and check the signal in these intervals. This checking is the detection of the transmitted symbols. From equation 2.5.1 we see that when p (f) is zero’ x(t) is zero. Therefore it is preferable to sample x(t) when p(t) is zero. That is at this time {P() =0] no digital information is present/transmitted in the baseband signal. Therefore x(t) can be sampled periodically att=nD where n=0.1,+2, ... etc. p(t) is the rectangular pulse and can be written as, Digital Communication 2-60 Digital Baseband Transmission p® = ree{ =| (253) Since the pulse to pulse interval is 'D', the width of the pulse t should be less than or equal to D. He: eral DE The signaling rate will be given as, 1 125 a oe If 'D' represents the duration of one Bit, then D=T, and signaling rate will be, i ap va (2.5.5) Various PAM formats are shown in Fig. 2.5.1. All the formats are shown for a binary message 10110100. 2.5.1 Unipolar RZ and NRZ In Unipolar Format the waveform does have’a single polarity. The waveform can have +5 or +12 volts when high. The waveform is simple on-off, In the unipolar RZ form, the waveform has zero value when symbol '0' is transmitted and waveform has ‘A! volts when '1' is transmitted. In RZ form, the 'A' volts is present for T, / 2 period if symbol '1' is transmitted and for remaining 7, / 2 waveform returns to zero value, ie. for unipolar RZ form, If symbol '1' is transmitted, x() = A for O Example 2.5.1 : Represent the data 100111010 using following digital data formats. i) Unipolar RZ ii) Split phase manchester ii) M-ary system where m= 4. Solution : will use Table 2.5.4. It gives the message bits combination for levels. reproduced below for convenience. Fig. 2.5.5 shows various digital data formats. For the M-ary system we The table is Message bits Amplitude level 00 -3A 2 01 ee 2 = £ 10 A 2 4 3A 2 Table 2.5.4 Amplitude levels of M-ary system (with M = 4) Digital Communication 2-71 Digital Baseband Transmission f | i eer] ] T T i } : pe He es Ure aoe pau x ooh ae | / | \ i et a-0 0 A ead |= Oe tare H f : ape ia He real i men eee PNRZ iu t aa -A/2 4 4 1 0 Osi 1 0 ee 4 a is i Pome ene fs |_ Polar z RZ fash =A? |S 1 4 $: . i % 4. | a 0 esis Oe 1 i i i i i 10 01 40 at i { i 3A/2 +— i | ees: 2 : | Gray code} i ‘ 1 | NRZ Opal | i ; if of example 2.5.2 mae tea ‘ eset : Bipolar RZ Fig. 2.5.7 Waveforms of example 2.5.3 Digital Communication 2-72 Digital Baseband Transmission => Example 2.5.4 : Draw the following line code formats for bit stream: 11001001 (i) Bipolar NRZ (ii) Split phase manchester (iii) Polar RZ (iv) AMI Sketch power spectral density functions for (i) and (iii) formats and compare them with respect to their suitability to line. Solution :. Fig. 2.5.8 shows the waveforms of various line codes for given bit stream. Observe that bipolar NRZ is basically AMI. Hence first and last waveforms are same. = saaneee saneeae sels eeee ||. Bipolar | i Sees BS is i T NRZ i Eee oo au Ls \ / A2 opera ] : + \ Split phase jel . “" manchester ~|~ ee lal Bae / N2 i Polar C1 al RZ ce t -N2 . 3 : t A - af ! m + os i AML | i | (Bipolar NRZ) r : ~ =i “A | | ' L ee zt = j Fig. 2.5.8 Waveforms of line codes of Ex. 2.5.4