1 / 67

Phase Locked Loop

Phase Locked Loop. 2008 년 11 월 7 일 전북대학교 전자정보공학부 정항근. Analogy to Spinning Tops. Reference. Tracking. Synchronized: same rpm & same facets. Analogy to motor speed control. Duty cycle of PWM signal. Switch setting. Control. Error. Set Point. Action. +. Motor. Controller. _.

thao
Download Presentation

Phase Locked Loop

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Phase Locked Loop 2008년 11월 7일 전북대학교 전자정보공학부 정항근

  2. Analogy to Spinning Tops Reference Tracking Synchronized: same rpm & same facets

  3. Analogy to motor speed control Duty cycle of PWM signal Switch setting Control Error Set Point Action + Motor Controller _ PID controller Measured Speed

  4. Rotating phasor Imaginary Real

  5. Instantaneous angular frequency

  6. Basic Structure of a PLL • Phase Detector : generates a voltage proportional to the phase difference between the input and the output • Loop Filter : filters out undesirable frequency components • VCO (Voltage Controlled Oscillator): generates a periodic signal whose frequency is proportional to the control voltage

  7. Basic operation of PLL • Negative feedback system: the phase of the input clock is compared to that of the VCO and the resulting phase error is filtered and drives the VCO to maintain an almost fixed phase error. • Phase lock means the frequencies of the input and VCO are the same, when the PLL is in lock.

  8. What are PLLs for? Note that the PLL doesn’t just produce an exact duplicate of the input clock. We can accomplish some processing of the input clock signal. • Filtering : jitter reduction, clock recovery • Frequency scaling : frequency synthesis • Synchronization : skew reduction

  9. Filtering • With LPF for the loop filter, high frequency fluctuation is blocked. • But the LPF allows the PLL to track the input frequency drift. • The PLL can be thought of as a tracking BPF.

  10. Data regeneration in digital communication Amplifier & Equalizer Decision Circuit. Clock Recovery Clock recovery reduces the timing jitter in the retiming clock.

  11. Frequency synthesis With a divider inserted between VCO and PD, we can generate harmonics of the input clock. Thus the PLL can be used to generate multiple channel frequencies based on a very stable reference oscillator.

  12. Phase synchronization Clocks with proper phase alignment are critical to high speed data transfers. The PLL is useful for reducing skews. chip PLL clk clk Pclk Pclk clk clk Pclk Pclk

  13. PLL as an FM demodulator PD LPF FM modulated signal with frequency fin VCO input voltage proportional to the frequency deviation from the VCO free running frequency ffr → FM demodulation VCO

  14. Types of PLL • LPLL (Linear PLL): analog phase detector (multiplier), analog loop filter, analog VCO • DPLL (Digital PLL): digital phase detector, analog loop filter, analog VCO • All digital PLL: digital phase detector, digital loop filter, DCO

  15. LPLL Analog Multiplier X Analog LPF VCO

  16. DPLL Digital phase (frequency) detector Analog LPF VCO

  17. Phase detectors • Generates a voltage whose average value is proportional to the phase difference between the two clocks • Averaging is done by the subsequent low pass filter block • Characterized by the conversion gain whose unit is in V/rad

  18. y(t) x1(t) x2(t) Multiplier-type phase detector Quadrature nature of the multiplier-type PD can be taken into account for convenience. When the PLL is in lock,

  19. Multiplier-type PD (cont’d) 1 . 0 0 . 8 0 . 6 0 . 4 0 . 2 - - 0 . 2 - 0 . 4 - 0 . 6 - 0 . 8 - 1 . 0

  20. Exclusive OR-type PD The phase difference determines the duty cycle of the output pulse whose average is proportional to the phase difference. Note that the useful range is ±p/2 around ±p/2.

  21. Exclusive-OR type PD (cont’d) • Exclusive-OR type of detectors exhibit the same quadrature phase relationship between the input and VCO as the multiplier type PDs. • Advantage of simple hardware • Two drawbacks • phase error limit of ± 90 degrees • Sensitive to the duty cycle, not just to the phase difference

  22. Loop filter Suppresses the unwanted frequency components in the output of the PD before it reaches the VCO input Normally passes only slowly varying components and blocks the fast fluctuating components Also serves the averaging function needed for the PD

  23. R C Loop filter (cont’d) Lag type It is the simplest filter, but has only one parameter for handling the conflicting requirements of the PLL.

  24. Loop filter (cont’d) Lag-Lead type R1 R2 ,where t1=R1C, t2=R2C,z=1/t2 and p=1/(t1+t2). Thus we have one more parameter to vary to satisfy the specifications for the PLL. C

  25. C R2 R1 - A + Loop filter (cont’d) Active PI type We now have DC gain. When the gain is infinite, the filter performs PI (Proportional-Integral) function.

  26. VCO

  27. Mathematical model for VCO Accounting for only the excess phase due to the control voltage change

  28. Sweeping search in open loop condition

  29. Acquisition process

  30. Another look at acquisition

  31. Four frequency ranges Four ranges are defined for PLLs: • Hold range: the input frequency range in which a PLL can maintain the lock • Pull-in range: the input frequency range within which a PLL will eventually achieve the lock • Pull-out range: the maximum value of a frequency step in the input signal which causes the PLL to lose the lock • Lock range: the input frequency range within which a PLL achieves the lock within a single-beat note

  32. Four frequency ranges (cont’d) ± DwL: lock range ± DwPO : pull-out range ± DwPI : pull-in range ± DwH : hold range

  33. Kd F(s) Kv/s Loop modeling Linearized modeling in phase lock condition qe + qi qo - High frequency components of input jitter are reduced.

  34. Transfer functions For the passive lag filter,

  35. Transfer functions (cont’d) • Limitations of PLL with passive lag LPF: • Coupling between z, wn, and K=KdKv • If K is increased to reduce static phase error, then z decreases. • If wLPF (= 1/t) is decreased to reduce high-frequency jitter, then z decreases. • Finite DC loop gain causes large static phase error.

  36. Transfer functions (cont’d) For the passive lag-lead filter, Note that one additional variable relaxes the tradeoff relationship.

  37. Transfer functions (cont’d) For the active PI filter,

  38. qe + qi qo - Kd F(s) Kv/s Phase error responses Phase error response Steady state phase error Inputs • - Phase step input • - Frequency step input • - Frequency ramp input

  39. Transient response for phase step input Note that the linearized PLL model accounts for only the excess phase.

  40. Transient phase error for phase step input For PI LPF,

  41. Transient response for phase step input

  42. Steady state phase error for phase step Since the frequency remains the same, there will be no change in the VCO control voltage, thus no change in the phase error after the transient settles down.

  43. Transient response for frequency step input Note that the linearized PLL model accounts for only the excess phase.

  44. Transient phase error for frequency step input For PI LPF,

  45. Transient response for frequency step input

  46. qi + F(s) Kd qe - Kv qo wo --> wo +Dw Steady state phase error for frequency step

  47. R C R2 C R1 - A + Steady state phase error: passive vs. active filters Passive filter Active filter A ~ large

  48. qo qi G(s) - |G(jw)| dB wT wp log w G.M. -90o P.M. -180o System stability Negative feedback system In PLLs, G(s)=KdKvF(s)/s Gain margin and phase margin

  49. + qo qi - Kd Kv/s |G(jw)| Slope= -20dB/dec wT=K=KdKv -90o Bode plot: 1st order PLL Phase margin : 90o ==> stable

  50. Kd Kv/s Bode plot: 2nd order PLL with PI-type LPF qe + qo qi (1+st2)/st1 - |G(jw)| |G(jw)| -40dB/dec -40dB/dec -20dB/dec 1/t2 1/t2 -20dB/dec -90o -90o -135o P.M. -135o -180o P.M. -180o Enough P.M. : stable Low P. M. : unstable

More Related