14
Translation Loop: Passing GMSK Modulation December, 1999 1999 James A. Crawford 1 GMSK Modulation The GMSK waveform can be represented by the instantaneous frequency function () ( ) 1 1 data 4 o n n n f t f ag t nT a T = + [1] () 1 1 2 2 o o t t gt Q k BT Q k BT T T = [2] where the symbol rate Fsym = (270 + 5/6) k, and T = F -1 sym . Also, where ko = 7.546 and ( ) 2 /2 1 2 y x Qx e dy π = [3] This representation was used in the May design review materials. For GSM, BT = 0.30, and the modulation index h = 0.50 which results in the apparent peak frequency shift of F = (4T) -1 preceding the above summation over n. ( Note, h = 2 FT ). Since a type-2 PLL cannot track phase functions with parabolic and higher-order time dependencies without error, it is worthwhile computing the maximum rate of frequency change that can be seen by the PLL. It suffices to consider a single “frequency pulse” and compute 2 2 1 1 1 1 2 2 2 2 1 () () 4 1 4 2 2 1 1 2 2 4 2 o o t t k BT k BT T T o o o d dt gt dt T kB kB e e T kB t t T T T π π χ χ π = = = [4] where for convenience ( ) 2 1 2 () o k BTu u e χ = [5]

GMSK TRANSLATION LOOPS - AM1 LLC Loop: Passing GMSK Modulation December, 1999 1999 James A. Crawford 7 Type-3 PLL Behavior with GMSK Frequency Pulse Input

Embed Size (px)

Citation preview

Page 1: GMSK TRANSLATION LOOPS - AM1 LLC Loop: Passing GMSK Modulation December, 1999 1999 James A. Crawford 7 Type-3 PLL Behavior with GMSK Frequency Pulse Input

Translation Loop: Passing GMSK Modulation December, 1999

1999 James A. Crawford 1

GMSK Modulation

The GMSK waveform can be represented by the instantaneous frequency function

( ) ( )11 data

4o n nn

f t f a g t nT aT

= + − = ±∑ [1]

( ) 1 1

2 2o o

t tg t Q k BT Q k BT

T T

= − − − − [2]

where the symbol rate Fsym = (270 + 5/6) k, and T = F-1sym . Also,

where ko = 7.546 and ( ) 2 / 21

2y

x

Q x e dyπ

∞−= ∫ [3]

This representation was used in the May design review materials. For GSM, BT = 0.30, and the

modulation index h = 0.50 which results in the apparent peak frequency shift of ∆F = (4T)-1 preceding the above summation over n. ( Note, h = 2 ∆FT ).

Since a type-2 PLL cannot track phase functions with parabolic and higher-order time dependencies without error, it is worthwhile computing the maximum rate of frequency change that can be seen by the PLL. It suffices to consider a single “frequency pulse” and compute

2 21 1 1 12 2 2 2

1( ) ( )

4

1

4 2 2

1 1

2 24 2

o ot t

k BT k BTT To o

o

dd t g t

dt T

k B k Be e

T

k B t t

T TT

π π

χ χπ

− − − − −

= = −

= − − − −

[4]

where for convenience

( )212( )

ok BTuu eχ

−= [5]

Page 2: GMSK TRANSLATION LOOPS - AM1 LLC Loop: Passing GMSK Modulation December, 1999 1999 James A. Crawford 7 Type-3 PLL Behavior with GMSK Frequency Pulse Input

Translation Loop: Passing GMSK Modulation December, 1999

1999 James A. Crawford 2

In order to maximize d(t), we need to take the derivative and compute the time at which its value is equal to zero. In doing so, this leads to the required equality

2 21 1 1 1

2 2 2 21 1

2 2

o ot t

k BT k BTT Tt t

e eT T

− − − − − − − = − [6]

which can be easily reduced to simply

( ) 2

1212

ot

k BTT

t

T et

T

+=

− [7]

This result cannot be reduced further since it is transcendental in nature. For the case where ko= 7.546 and BT= 0.30, the solution for the maximum of d(t) occurs for t/T = ± 0.56009. Substituting this back into the original equation, the maximum frequency rate of change is then simply given by d( 0.56009T ) or

1 10.56009 0.56009

2 24 2ok B

Tχ χ

π − − − −

[8] where equates to approximately 2.785 1011 Hz/sec2. At first glance, this appears to be a very large number indeed, but if we think in terms of changing (Fsymbol/4) Hz in one-half symbol interval, this equates to 3.67 1010 Hz/sec2 so we have reasonably parity. If a Type-2 PLL is subjected to a linear frequency range that is changing at a constant rate of ∆ω radians/sec2, the steady-state stress imposed on the PLL is given by

2ssn

ωθω∆=

[9]

Simple substitution for different loop natural frequencies leads to the results shown here in tabular form.

Table 1 Loop Stress for Type-2 PLL Subjected to Linear Frequency Sweep

Loop Natural Frequency, Hz Loop Stress, deg. 100 k 254 120 k 176 140 k 130

Obviously, the translation loop is not subjected to this frequency sweep rate except on symbol transitions, but this does provide some insight into the degree to which the PLL is being pushed when fairly small loop natural frequencies are employed.

Page 3: GMSK TRANSLATION LOOPS - AM1 LLC Loop: Passing GMSK Modulation December, 1999 1999 James A. Crawford 7 Type-3 PLL Behavior with GMSK Frequency Pulse Input

Translation Loop: Passing GMSK Modulation December, 1999

1999 James A. Crawford 3

A Closer Look at the Type-2 Case It is worthwhile looking at the behavior of an ideal Type-2 PLL when it is asked to pass the GMSK modulation. We will focus on the PLL’s response to a single “frequency pulse” as before. For the Type-2 case,

2

2

2 2

2

2 2

2( ) 1

21

( ) ( )

( ) 1 ( ) 2

( ) 1

( ) 1 ( ) 2

nOL

n

nno OL

in OL n n

e

in OL n n

sG s

s

s

s G s

s G s s s

s s

s G s s s

ω ζω

ζωωθ

θ ζω ωθθ ζω ω

= +

+

= =+ + +

= =+ + +

[10]

Here, θe is the phase tracking error as seen at the phase detector of the PLL. Focusing first on θe:

( )2 2 2

2

2

2

n n e in

ee n e n in

s s s

s ss

ζω ω θ θ

θθ ζω θ ω θ

+ + =

+ + = [11]

We now let dθin/dt = 2π fin(t) which leads to the following assignment of state variables:

0

1

2

( )

( )

( )

in in

ee

e

du s t

dt

u t dts

u t

θ θ

θ θ

θ

= ⇒

= ⇒

=

∫ [12]

This set of integro-differential equations can be numerically integrated in order to examine the behavior of θe(t) for different PLL loop parameters. A plot of the phase error behavior at the phase detector for a single frequency pulse is shown here in Figure 1 for several closed-loop bandwidth cases. For the behavior of the output phase with time, we have

2 2 2 22o n o n o in n in

n

ss s

ζθ ζω θ ω θ θ ω θω

+ + = + [13]

which for computational purposes is better expressed as

Page 4: GMSK TRANSLATION LOOPS - AM1 LLC Loop: Passing GMSK Modulation December, 1999 1999 James A. Crawford 7 Type-3 PLL Behavior with GMSK Frequency Pulse Input

Translation Loop: Passing GMSK Modulation December, 1999

1999 James A. Crawford 4

22

2 2

2 1 21 n n

o in nns s s s

ζω ω ζθ θ ωω

+ + = +

[14]

In state-variable form, it is convenient to choose the following:

0

1

2 1

2 22 1 3 4

3

4 3

22

in

in

o n n nn

o

u

u dt

u u dt

u u u u

u dt

u u dt

θ

θ

ζθ ω ζω ωω

θ

=

=

=

= + − −

=

=

∫∫

∫∫

[15]

This set of equations can be numerically integrated for the same frequency pulse input to show the output phase response of the Type-2 PLL as shown in Figure 2.

Page 5: GMSK TRANSLATION LOOPS - AM1 LLC Loop: Passing GMSK Modulation December, 1999 1999 James A. Crawford 7 Type-3 PLL Behavior with GMSK Frequency Pulse Input

Translation Loop: Passing GMSK Modulation December, 1999

1999 James A. Crawford 5

Figure 1 Type-2 Transient Phase Error Response to GMSK Frequency Pulse for the Type-2 PLL

0 1 2 3 4 5 6 7 80.15

0.1

0.05

0

0.05

0.1

0.15

Fn= 100 kHzFn= 120 kHzFn= 140 kHzFn= 180 kHzFn= 250 kHz

Translational PLL Phase Error at Detect

Time, Symbols

Phas

e E

rror

at D

etec

tor,

rad

.

Page 6: GMSK TRANSLATION LOOPS - AM1 LLC Loop: Passing GMSK Modulation December, 1999 1999 James A. Crawford 7 Type-3 PLL Behavior with GMSK Frequency Pulse Input

Translation Loop: Passing GMSK Modulation December, 1999

1999 James A. Crawford 6

Figure 2 Output Phase Response to the Frequency Pulse for the Type-2 PLL

0 1 2 3 4 5 6 70

0.2

0.4

0.6

0.8

1

1.2

1.4

1.6

1.8

Fn= 100 kHzFn= 120 kHzFn= 140 kHzFn= 180 kHzFn= 250 kHzFn= 650 kHz

Translational PLL Output Phase

Time, Symbols

Out

put P

hase

, rad

.

General Comments The phase trajectories shown in Figures 1 and 2 reveal loop strain for the lower bandwidth cases. From Figure 1, the worst-case peak phase error is about 0.15 radians, or approximately 8.6 degrees. For a 4 MHz phase-locked loop comparison frequency, this phase error is equivalent to a pulse width change at the phase detector of only about (8.6/360) 250 nsec ≈ 6 nsec which is negligible as far as the reference-related spur levels are concerned.

Page 7: GMSK TRANSLATION LOOPS - AM1 LLC Loop: Passing GMSK Modulation December, 1999 1999 James A. Crawford 7 Type-3 PLL Behavior with GMSK Frequency Pulse Input

Translation Loop: Passing GMSK Modulation December, 1999

1999 James A. Crawford 7

Type-3 PLL Behavior with GMSK Frequency Pulse Input The primary motivation for looking at the translational loop right now were based upon earlier comments made pertaining to trading-off PLL bandwidth for performance. At the time, it appeared that the PLL was being over stressed by the modulation, but the results shown in Figures 1 and 2 tend to suggest otherwise. The root issue (as far as phase accuracy is concerned) may well be the length of the (presumably FIR) equalizer or another matter entirely that is interfering with obtaining the desired results, but determination of the underlying problem will require additional time. Before leaving this first glance at the translational PLL for GMSK, it is worthwhile to consider whether a Type-3 architecture can provide some benefit over the classical Type-2. Admittedly, the type-3 route poses some new issues over the Type-2 approach, so the examination here will be strictly mathematical rather than circuit-oriented. It is hoped that the Type-3 architecture will produce an additional degree of freedom whereby the PLL’s natural loop frequency can be traded-off for a smaller value without sacrificing phase accuracy. There is not much immediately available literature on Type-3 PLLs, so some review of the basic tenants is appropriate. The general open-loop gain transfer function for a Type-3 PLL is given by

( ) ( )( )2 3

2

1

1 1( )OL

s sG s K

s s

τ ττ

+ +=

[16]

Generally, the time constants τ2 and τ3 are chosen to be equal, so this simplifies the open-loop gain function as

2

2

1

1( )OL

K sG s

s s

ττ

+= [17]

The phase of the open-loop gain function is clearly given by

( )12

3( ) 2 tan

2OLG sπ ωτ−∠ = − + [18]

Obviously, ∠GOL(s) = -π for ωτ2 = 1 which means that this situations occurs for ω= τ2

-1. The gain at this critical frequency is given by

2

22

1

2MG Kτττ

= [19]

A positive gain margin results if and only if GM > 1. For frequencies ω > τ2

-1, the control loop looks very similar to a classical Type-2 loop. (This same equivalence may translate into a negligible advantage for the GSM translational loop application.) To first-order, for ω > τ2

-1,

2

2

1

( )OL

KG s

s

ττ

[20]

so the unity-gain cross-over frequency ( ωc ) is approximately given by

Page 8: GMSK TRANSLATION LOOPS - AM1 LLC Loop: Passing GMSK Modulation December, 1999 1999 James A. Crawford 7 Type-3 PLL Behavior with GMSK Frequency Pulse Input

Translation Loop: Passing GMSK Modulation December, 1999

1999 James A. Crawford 8

2

2

1c K

τωτ

≈ [21]

Figure 3 Open-Loop Gain Characteristic for Type-3 PLL

-18 dB/octave-12 dB/octave

-6 dB/octave

Gol(s)

log(f)

τ -12

ωc

−π

π- 32

π-12

φ

From earlier, the gain margin was given by [19] and therefore,

22M

c

Gωτ

≈ [22]

The exact result for ωc can be found by solving

Page 9: GMSK TRANSLATION LOOPS - AM1 LLC Loop: Passing GMSK Modulation December, 1999 1999 James A. Crawford 7 Type-3 PLL Behavior with GMSK Frequency Pulse Input

Translation Loop: Passing GMSK Modulation December, 1999

1999 James A. Crawford 9

2

2

1

2

3 222

1 1

11

0

K j

j j

or

KK

ωτω ωτ

τω ωτ τ

+ =

− − ≡

[23]

Given an initial estimate for the true solution (denoted by ωx), a root-polishing recursion can be easily found as

2

3 222

1 12

2 2

1

3 2

x x

x x

x x

d

where

KK

d

K

ω ω ω

τω ωτ τ

ωτω ωτ

′ = +

− + +

=

[24]

Comment: Use of K and τ1 is redundant. If we simply assign Kx = K/τ1

2, then the equation to be solved simplifies to

( )232 0x xK Kω τ ω− − ≡

Page 10: GMSK TRANSLATION LOOPS - AM1 LLC Loop: Passing GMSK Modulation December, 1999 1999 James A. Crawford 7 Type-3 PLL Behavior with GMSK Frequency Pulse Input

Translation Loop: Passing GMSK Modulation December, 1999

1999 James A. Crawford 10

Near Equivalence for the Type-3 PLL with the Classical Type-2 PLL For a given value of ωc, a Type-3 PLL behaves very similarly to a Type-2 PLL having a damping factor of ζ given by

( )1

2 21

2

1 1

2 2 cwhereαζ α ω τα

− −≈ = [25]

Assuming that we have a pre-specified value of ωc, we need to know how to select τ2. From [25], we obtain that

2 48 64 4

2

ζ ζα − ± += [26]

In order to have α > 0, it is simple to show that the only acceptable solution from [26] is

1 4 22 16 1 4cτ ω ζ ζ− = + −

[27]

Page 11: GMSK TRANSLATION LOOPS - AM1 LLC Loop: Passing GMSK Modulation December, 1999 1999 James A. Crawford 7 Type-3 PLL Behavior with GMSK Frequency Pulse Input

Translation Loop: Passing GMSK Modulation December, 1999

1999 James A. Crawford 11

Frequency Pulse Response of the Type-3 PLL For the Type-3 PLL, the transfer function between the phase error and the applied input phase function is given by

( )3

232 2

( )

( ) 2e

in x x x

s s

s s K s K s K

θθ τ τ

=+ + + [28]

and similarly for the output phase,

( )( )

2

223

2 2

1( )

( ) 2xo

in x x x

K ss

s s K s K s K

τθθ τ τ

+=

+ + + [29]

We are interested in comparing θo and θe with the results obtained earlier for the Type-2 PLL case. For the phase error process, we let

0

1

2 1

3 2

4 3

in

e

e

e

e

du

dtd

udt

u u dt

u u dt

u u dt dt

θ

θ

θ

θ

θ

=

=

= =

= =

= =

∫∫ ∫∫ ∫∫

[30]

which leads to the state-equations given by

0

21 0 2 2 2 3 4

2 1

3 2

4 3

2 ( )

2

in

x

u f t

u u K u u u

u u dt

u u dt

u u dt

π

τ τ

=

= − + +

=

=

=

∫∫∫

[31]

Page 12: GMSK TRANSLATION LOOPS - AM1 LLC Loop: Passing GMSK Modulation December, 1999 1999 James A. Crawford 7 Type-3 PLL Behavior with GMSK Frequency Pulse Input

Translation Loop: Passing GMSK Modulation December, 1999

1999 James A. Crawford 12

The phase error response at the phase detector for the Type-3 case is shown in Figure 4. The time duration of the error is particularly concerning because it stretches over several symbol intervals thereby causing intersymbol interference which could only be corrected using a fairly long equalizer. In making comparisons between the Type-2 and Type-3 systems, we should not equivalence ωc with ωn because the ωc corresponds to approximately the unity open-loop gain for the Type-3 system which is quite different.

Figure 4 Phase Error Response of the Type-3 PLL to a Single Frequency Pulse

0 1 2 3 4 5 6 7 80.3

0.2

0.1

0

0.1

0.2

0.3

Fc= 100 kHzFc= 120 kHzFc= 140 kHzFc= 180 kHzFc= 250 kHz

Type-3 Error Response

Time, Symbols

Phas

e E

rror

at D

etec

tor,

rad

.

For the Type-2 system, the unity open-loop gain frequency occurs at

2 42 2 4 1unity nω ω ζ ζ= + + [32]

which equals approximately 1.554 ωn for a Type-2 system having ζ= 0.707.

Page 13: GMSK TRANSLATION LOOPS - AM1 LLC Loop: Passing GMSK Modulation December, 1999 1999 James A. Crawford 7 Type-3 PLL Behavior with GMSK Frequency Pulse Input

Translation Loop: Passing GMSK Modulation December, 1999

1999 James A. Crawford 13

For the output phase of the loop when subjected to the frequency pulse, we have the transform relationship

2 22 22 22 2

2 1 2x xo x x in

K Ks K K

s s s s

τ τθ τ θ τ + + + = + + [33]

If we now make the following state-variable assignments of

0

1 0

2 1

3

4 3

5 4

( )in

in

o

u t

u u dt dt

u u dt

u

u u dt

u u dt

θ

θ

θ

=

= =

=

=

=

=

∫ ∫∫

∫∫

[34]

then the state-variable equations that must be integrated are

0

1 0

2 1

3

4 3

5 4

2 22 2 1 2 0 2 3 2 4 5

( )

( )

2 2

in

o

ox x

u t

u u dt

u u dt

u t

u u dt

u u dt

dK u u u K u u u

dt

θ

θ

θ τ τ τ τ

=

=

=

=

=

=

= + + − + +

∫∫

∫∫

[35]

The output phase response for the frequency pulse input to the Type-3 PLL is shown in Figure 5 for the same PLL bandwidth cases as used in Figure 4. The step responses are disappointingly poor, particularly the very long tail response that would all but invalidate an FIR-type equalizer like that which can be used with the Type-2 PLL.

Page 14: GMSK TRANSLATION LOOPS - AM1 LLC Loop: Passing GMSK Modulation December, 1999 1999 James A. Crawford 7 Type-3 PLL Behavior with GMSK Frequency Pulse Input

Translation Loop: Passing GMSK Modulation December, 1999

1999 James A. Crawford 14

Figure 5 Output Phase Response to an Input Frequency Pulse for the Type-3 PLL Case

0 1 2 3 4 5 6 7 80

0.5

1

1.5

2

Fc= 100 kHzFc= 120 kHzFc= 140 kHzFc= 180 kHzFc= 250 kHz

Type-3 Error Response

Time, Symbols

Phas

e at

Loo

p O

utpu

t, ra

d.

Summary As far as the ideal Type-2 and Type-3 cases are concerned, the Type-2 (presently anticipated for the design) is far superior to the Type-3 PLL. There is no benefit in considering the Type-3 PLL case any further in regard to a translational role with GSM. There is no doubt but that an ‘optimal’ choice of damping factor and natural frequency for the Type-2 PLL can be identified, but no attempt has been made here to arrive at that recommended solution. The stress imposed at the Type-2 phase detector when modulation is applied does not appear to be excessive so long as a reasonable loop bandwidth is used. The primary purpose of this short investigation was to explore whether a Type-3 architecture could ease bandwidth choices for the translational PLL; clearly it cannot.