Home / Math and Physics Files / Math / Spectral Theory Book / Work for Aug 2013 Update / new and old sections
old Chapter 36
DOCX · 205.4 KB
Open DOCX file
Chapter draft from Phil's Spectral Theory book, in the Aug 2013 update folder. It applies the earlier summary results (35.17) to uncorrelated statistical pulse trains. It derives average spectral power density, DC and AC power partition, and plots for unipolar NRZ, bipolar NRZ, unipolar RZ and Manchester codes, and compares results with Xiong's text. Only the first part of the chapter was seen.
AI-written summary; may contain errors.
Extracted text (machine-read; may contain errors)
36. Application to some Standard Non-Correlated Pulse Train Types (Line Codes)
Here we apply our boxed results (35.17) to statistical pulse trains of various types. When a pulse train is in fact a voltage on a pair of wires (transmission line, such as a telephone "line"), the way in which signals are encoded in the pulse train is called a line code. One could consider a random speed Morse code signal going down a wire as a line code, but the term usually refers to a sequence of equally spaced amplitude modulated pulses, meaning a pulse train. Often line codes get modulated onto an RF carrier, in which case the line code is thought of as the baseband signal prior to modulation. For this reason, line codes are often discussed in the "baseband chapter" of any digital communications text.
The line code names are a little strange due to their history. Here are the pulse shapes used for RZ and NRZ lines codes. In either case a 1 is (is coded as) a pulse and a 0 is no pulse.
Fig 36.1
On the left, since the signal returns to zero inside the pulse period, it is called a "return to zero" code RZ.
Since this does not happen on the right, that is a "non return to zero" code, NRZ.
(a) Unipolar NRZ line code
Pulse Shape. The pulse is a box of amplitude V and width τ = T1,
Fig 36.2
From (9.2) we know that
Xpulse(ω) = (VT1) sinc(ωT1/2)
(36.1)
Ppulse(ω) = = (VT1)2 sinc2(ωT1/2)/(2πT1) = (1/2π) V2T1 sinc2(ωT1/2)
Coding: NRZ is a normal binary signal, high for period T1 to indicate a 1, and low for T1 to indicate a 0. Sometimes this is called unipolar NRZ since the signal never goes negative.
Fig 36.3
Coefficients α and β: Looking at summary box (35.17), since A = 1 and B = 0 we have α = p2 and β = p.
Spectrum: The average spectral power density for the NRZ line code is :
<P(ω)> = Ppulse(ω) [(β-α) + α !Syntax Error, I2πδ(ωT1- 2πm) ] (35.11)
= (1/2π) V2T1 sinc2(ωT1/2) [ p(1-p) + p2!Syntax Error, I2π δ(ωT1- 2πm) ]
= (V2/ω1) sinc2(π ) [ p(1-p) + p2!Syntax Error, I δ( - m) ] .
But for all m≠0, the sinc function vanishes, so the discrete part of the spectrum collapses to a single term and we get
<P(ω)> = (V2/ω1) sinc2(π ) [ p(1-p) + p2 δ( ) ]
From now on we shall express <P(ω)> in terms of a dimensionless frequency x,
x ≡ ω1 ≡ 2π/T1 => πx = (ωT1/2) (36.2)
so the above becomes
<P(ω)> = (V2/ω1) sinc2(πx) [ p(1-p) + p2 δ(x) ]
= (V2/ω1) [p(1-p)sinc2(πx) + p2 δ(x)] // unipolar NRZ (36.3)
In order to express this (and later) results in the frequency domain, we use these relations
P(ω) = P(f)/2π // (34.4) bottom line
1/ω1 = T1/2π
x = ω/ω1 = fT1 // ω = 2πf
δ(x) = δ(f)/T1
to obtain
<P(f)> = V2 [p(1-p) T1sinc2(πfT1) + p2δ(f)] // unipolar NRZ, f (36.3a)
<P(f)> = (V2/4)[ T1 sinc2(πfT1) + δ(f) ] // unipolar NRZ , f, p=1/2 (36.3b)
This last result agrees with Xiong (2.25).
Plot: Ignoring the overall factor (V2/ω1) we make this plot of <P(ω)> given by (36.3):
Fig 36.4
The red curve should be scaled by the red factor shown on the left, and the blue delta line should be scaled by the blue factor on the right.
Power Partition: The total power in the continuous part of the spectrum is:
AC power = !Syntax Error, I ω1dx<P(xω1)> = p(1-p) V2 !Syntax Error, I dx sinc2(πx) = p(1-p) V2 .
The total power in the DC line at ω = 0 is
DC power = !Syntax Error, I ω1dx<P(xω1)> = V2!Syntax Error, I dx p2 δ(x) = p2V2
Thus we find that
total power = p2 V2 + p(1-p) V2 = pV2 (36.4)
DC AC
If p = 1/2, then
total power = (1/4) V2 + (1/4) V2 = (1/2)V2
DC AC
so half the power is in the DC line and half in the AC signal. The DC term is certainly reasonable since we know that with p = 1/2, the average voltage is (V/2).
If one wanted to reduce wasted power, it would be good to give this signal a DC offset of -V/2 and then there would be no DC line. This is in fact the next example if one takes V → V/2.
(b) Bipolar NRZ line code
Pulse Shape. The pulse shape is the same as for Unipolar NRZ
Fig 36.2
Ppulse(ω) = (1/2π) V2T1 sinc2(ωT1/2) = (V2/ω1) sinc2(ωT1/2) same as for unipolar NRZ (36.1)
Coding: 1 is coded as a positive box with amplitude V, and a 0 as a negative box having amplitude -V.
Fig 36.5
Coefficients α and β: From (35.17) we have
α = [pp] AA + [p(1-p)] AB + [(1-p)p]BA + [(1-p)(1-p)]BB
= [pp] (1)(1) + [p(1-p)] (1)(-1) + [(1-p)p] (-1)(1) + [(1-p)(1-p)] (-1)(-1)
= p2 - 2p(1-p) + (1-p)2 = 4p2 - 4p + 1 = (1-2p)2 // = μ2
β = [p]AA + [(1-p)] BB = [p] (1)(1) + [(1-p)] (-1)(-1) = p + 1 - p = 1
(β - α) = 1 - [4p(p-1)+1] = 4p(1-p) // = σ2 (36.5)
Spectrum: The average spectral power density for the NRZ line code is :
<P(xω1)> = Ppulse(ω) [ (β-α) + α!Syntax Error, I δ(x - m) ] (35.11) = (V2/ω1) sinc2(πx) [4p(1-p) + (1-2p)2!Syntax Error, I δ(x - m) ] .
As before the sinc function kills all the δ peaks except the DC peak, so in fact
<P(ω)> = (V2/ω1) sinc2(πx) [ 4p(1-p) + (1-2p)2δ(x) ] // bipolar NRZ (36.6)
<P(f)> = (V2T1) sinc2(πfT1) [ 4p(1-p) + (1-2p)2δ(f)/T1 ] // bipolar NRZ, f (36.6a)
<P(ω)> = (V2/ω1) sinc2(πx) = Ppulse(ω) // bipolar NRZ, p=1/2 (36.6b)
<P(f)> = (V2T1) sinc2(πfT1) // bipolar NRZ, f, p = 1/2 (36.6c)
This last result agrees with Xiong (2.20). The spectrum is all continuous when p = 1/2 since then the DC portion is killed off. As noted in the comment after (35.11a), a discrete spectrum cannot exist if the waveform amplitudes have zero mean μ = 0.
Notice that for p = 1/2, bipolar NRZ has <P(ω)> = Ppulse(ω), so the statistical pulse train spectrum is the same as that of the underlying pulse.
Plot: Ignoring the overall factor (V2/ω1) we make this plot of <P(xω1)> given by (36.6)
Fig 36.6
which is the same as the spectrum for unipolar NRZ except for the two scaling factors.
Power Partition: We can again compute the DC and AC power.
AC power = unipolar NRZ with p(1-p) → 4p(1-p), so AC = 4p(1-p) V2
DC power = unipolar NRZ with p2 → (2p-1)2, so DC = (2p-1)2 V2
total power = (2p-1)2V2 + 4p(1-p)V2 = V2 , independent of p. (36.7)
DC AC
The total power is independent of p because a pulse has the same AC power if it goes up or down. For p = 1/2 we get
total power = 0 + V2 = V2 // p = 1/2
DC AC
and now no power is wasted pushing DC through a line. If we take V→V/2 to have a comparable peak-to-peak amplitude, we find
AC power = (V/2)2
which is the same as the AC power in (36.5); it is not affected by a DC offset of -V/2.
(c) Unipolar RZ line code
Pulse Shape. Here the basic pulse is a box that fills only half the time interval T1.
Fig 36.7
We can use result (36.1) with T1→ T1/2 since the pulse only fills half the T1 period,
Xpulse(ω) = (VT1/2) sinc(ωT1/4)
Ppulse(ω) = = (VT1/2)2 sinc2(ωT1/4)/(2πT1) = (1/2π) (V/2)2T1 sinc2(ωT1/4)
= (V/2)2 (1/ω1) sinc2( ) (36.8)
Coding: 1 is coded as the presence of the pulse, 0 is coded as the absence of a pulse.
Fig 36.8
Coefficients α and β: Looking at summary box (35.17), since A = 1 and B = 0 we have α = p2 and β = p.
Spectrum: The average spectral power density for the unipolar RZ line code is :
<P(ω)> = Ppulse(ω) [(β-α) + α !Syntax Error, I2πδ(ωT1- 2πm) ]
= (V/2)2 (1/ω1) sinc2( ) [ p(1-p) + p2!Syntax Error, I δ( - m) ]
= (V/2)2 (1/ω1) sinc2( x) [ p(1-p) + p2!Syntax Error, I δ(x - m) ] .
We see here that the sinc function now kills off all m= even lines for m ≠0, so with x = ω/ω1,
<P(ω)> = (V/2)2 (1/ω1) sinc2( x) [ p(1-p) + p2 {δ(x) + !Syntax Error, I δ(x - m)} ] (36.9)
<P(f)> = (V/2)2T1 sinc2( fT1) [ p(1-p) + (p2/T1) {δ(f) + !Syntax Error, I δ(f - m/T1) } ] (36.9a)
where the sum includes positive and negative odd values of m. As noted above, one can formally include the even m terms but they vanish since sinc(mπ/2) = 0 for even m ≠ 0. For p = 1/2 one gets
<P(f)> = (V/4)2T1 sinc2( fT1) [ 1 + (1/T1) {δ(f) + !Syntax Error, I δ(f - m/T1) } ]
= (V/4)2T1 sinc2( fT1) [ 1 + (1/T1) !Syntax Error, I δ(f - m/T1) ] // p = 1/2 (36.9b)
This last result agrees with Xiong (2.31) in which Rb ≡ 1/T = our 1/T1.
Plot: Ignoring now the overall factor (V/2)2 (1/ω1) we get this power spectrum from (36.9),
Fig 36.9
We now have three pieces: a continuous part, the DC line, and a set of lines at odd m. The main peak is twice as wide as the NRZ peak since the underlying pulse is half as wide.
Power Partition: Once again, we can compute the total power for each of these three pieces.
odd lines power = !Syntax Error, I ω1dx<P(xω1)> = ω1 (V/2)2 (1/ω1) p2!Syntax Error, I dx sinc2( x) 2!Syntax Error, I δ(x - m)
= (V/2)2 2p2 !Syntax Error, Isinc2( m) = (V/2)2 2p2!Syntax Error, I = (V/2)2 2p2 (2/π)2 !Syntax Error, I
= (V/2)2 2p2 (2/π)2 (π2/8) = p2(V/2)2
where the sum Σodd(1/m2) = π2/8 from GR 0.234.2. Then
DC power = !Syntax Error, I ω1dx<P(xω1)> = (V/2)2p2 !Syntax Error, I dx sinc2( x) δ(x) = p2 (V/2)2
which is the same as the odd lines power. Finally,
continuum power = !Syntax Error, I ω1dx<P(xω1)> = (V/2)2 p(1-p) !Syntax Error, I dx sinc2( x) = 2p(1-p) (V/2)2
So the power partitioning is
total power = p2(V/2)2 + p2 (V/2)2 + 2p(1-p) (V/2)2
DC other lines continuum
= p2(V/2)2 + p(2-p) (V/2)2 = 2p(V/2)2 = (p/2)V2 . (36.10)
DC AC
This is half of the total power of unipolar NRZ (36.4), which seems reasonable since the pulses here are half as long.
Exercise for the Reader: Compute everything for the bipolar RZ waveform:
For p = 1/2, Xiong (2.30) gives <P(f)> = (V/2)2T1 sinc2( fT1).
(d) Manchester line code
This line code was developed at the University of Manchester probably in the World War II era. At that time Tom Kilburn, Alan Turing and others were building the world's first stored-program computer.
Pulse Shape: The pulse shape here is the biphase (biphasic, diphase) pulse,
Fig 36.10
We already computed Xpulse(ω) for this pulse in (19.2), so we now set τ = T1/2 and A/2 = V to get
Xpulse(ω) = (4iV/ω) sin2(ωT1/4) = (4iV/ω) sin(ωT1/4) [sin(ωT1/4) / (ωT1/4 )] (ωT1/4 )
= (iVT1) sin(ωT1/4) sinc(ωT1/4)
Ppulse(ω) = = (1/2π) V2 T1 sin2(ωT1/4) sinc2(ωT1/4) . (36.11)
This spectral pulse density is 4 sin2(ωT1/4) times that of the RZ pulse shown in (36.8). This extra factor kills off the spectrum near ω = 0.
Coding: 1 is coded as the above pulse, 0 is coded as the negative of the pulse (but some sources use the opposite polarity),
Fig 36.11
Coefficients α and β: From box (35.17) with A = 1 and B = -1,
α = [pp] AA + [p(1-p)] AB + [(1-p)p]BA + [(1-p)(1-p)]BB
= [pp] (1)(1) + [p(1-p)] (1)(-1) + [(1-p)p] (-1)(1) + [(1-p)(1-p)] (-1)(-1)
= p2 - 2p(1-p) + (1-p)(1-p) = (2p-1)2
β = [p]AA + [(1-p)] BB = [p] (-1)(-1) + [(1-p)] (1)(1) = 1
(β-α) = 1 - (2p-1)2 = 4p(1-p) (36.12)
Comment: Notice that the mean value of the waveform in Fig 36.11 is 0 regardless of p, whereas the mean value μ of the amplitudes yn is given by μ2 = α = (2p-1)2 as in (D.17).
Spectrum: The average spectral power density for the Manchester line code is :
<P(ω)> = Ppulse(ω) [(β-α) + α !Syntax Error, I2πδ(ωT1- 2πm) ]
= (1/2π) V2 T1 sin2(ωT1/4) sinc2(ωT1/4) [4p(1-p) + (2p-1)2!Syntax Error, I2πδ(ωT1- 2πm)
= V2 (1/ω1) T1 sin2( ) sinc2( ) [4p(1-p) + (2p-1)2!Syntax Error, I δ( - m) ]
= V2 (1/ω1) sin2( x) sinc2( x) [4p(1-p) + (2p-1)2!Syntax Error, I δ(x - m) ]
so that
<P(ω)> = V2 (1/ω1) sin2( x) sinc2( x) [4p(1-p) + (2p-1)2!Syntax Error, I δ(x - m) ] (36.13)
<P(f)> = V2T1 sin2( fT1) sinc2( fT1) [4p(1-p) + (2p-1)2(1/T1)!Syntax Error, I δ(f - m/T1 ] (36.13a)
<P(f)> = V2T1 sin2( fT1) sinc2( fT1) // p = 1/2 (36.13b)
For p≠1/2, the even lines are killed off by the sin2 factor including the DC line m = 0. For p = 1/2 the spectrum is fully continuous. The last result agrees with Xiong (2.38). Xiong refers to this Manchester code as Bi-Φ-L.
Plot: Ignoring the leading factor V2 (1/ω1) the spectrum for (36.13) has this plot,
Fig 36.12
Power Partition:
lines power = !Syntax Error, I ω1dx<P(xω1)> = V2 (2p-1)2!Syntax Error, I dx sin2( x) sinc2( x)!Syntax Error, I δ(x - m)
= V2 (2p-1)2!Syntax Error, I sin2( m) sinc2( m) = V2 (2p-1)2!Syntax Error, I sin4( m) ( m)-2
= V2 (2p-1)2(2/π)2!Syntax Error, I 1 /m2 = V2 (2p-1)2(2/π)2 2!Syntax Error, I 1 /m2
= V2 (2p-1)2(2/π)2 2 (π2/8) = (2p-1)2 V2
continuum power = !Syntax Error, I ω1dx<P(xω1)> = V2 4p(1-p) !Syntax Error, I dx sin2( x) sinc2( x) = V2 4p(1-p)
since the integral is just 1. Therefore,
total power = 0 + (2p-1)2 V2 + 4p(1-p) V2 = V2 (36.14)
DC lines continuum AC
In the case p = 1/2, the lines power vanishes leaving only continuum power = V2.
Since the power is kept away from DC, Manchester coding is useful for AC-coupled transmission lines, such as lines incorporating transformers. The down side compared to NRZ is that the first spectral hump goes out to ω = 2ω1, which reflects the fact that the minimum pulse width is T1/2 whereas in NRZ it is T1. So a transmission line must then have twice the bandwidth for Manchester relative to NRZ.
(e) Noise, ISI and Eye Patterns
In general, if some spectral components are filtered away in a transmission line (or in some general signal pathway), the corresponding pulse (by inverse Fourier Transform) has curved corners, meaning the pulse gets rounded and spread out. This effect along with noise can result in inter-symbol interference (ISI). The superposition of such pulses on an oscilloscope (triggered on a recovered T1 clock) for a random pulse train is called an eye pattern. This pattern must have a central clear area to allow the two (or more for some line codes) pulse levels to be distinguished by a receiving circuit. Here is a marginal eye pattern for NRZ on the left, and a better one for AMI on the right (see Section 37).
Fig 36.13