A discretetime pll with a pi loop filter and an nco consisting of a. This circuit uses the behavioral elements to implement inverters, 2, 3, and 4 input nand gates. The phase detector is a key element of a phase locked loop and many other circuits. Phaselocked loops are commonly used to measure the frequency of a sinusoid in the presence of noise and to track the frequency of this signal as it changes. This document describes the development of a software phaselocked loop and an algorithm to automate the selection of pll parameters based upon measurements of the input signal. The phase locked loop or pll is a particularly useful circuit block that is widely used in radio frequency or wireless applications. This chapter discusses about the block diagram of pll and ic 565 in detail. The text establishes a thorough foundation of continuoustime analysis techniques and maintains a consistent notation as discretetime and nonuniform sampling are presented.
The pll can be used in various applications such as timing extraction from data streams, jitter mitigation and frequency synthesis. I have been considering what to do next with the software pll. Functional blocks are implemented by software rather. Designing and simulating an optimized phaselocked loop. Introduction to phaselocked loop system modeling introduction phaselocked loops plls are one of the basic building blocks in modern electronic systems. The final model can serve a starting point for code generation both ansi c or synthesizable hdl. The phaselocked loop pll is one of the key building blocks in many communication systems. Introduction to phaselock loop system modeling by wen li, senior system engineer, advanced analog product group and jason meiners, design manager, mixedsignal product group, texas instruments incorporated 1. The fm demodulator is done with the help of a circuit called phase locked loop pll. Phase locked loop operating principle and applications. Smallarea and lowvoltage designs are mandated by market requirements. Digitial, analog and optical implementations, second edition presents a complete tutorial of phaselocked loops from analog implementations to digital and optical designs. This paper shows an approach for a pll that only uses digital cell libraries.
So all integration advantages of pure digital chips are preserved, there is no design effort for a new chip generation and the pll also can be used in a fpga. Phaselocked loops plls have been around for many years1, 2. The adisimpll software is a complete pll design package which can be. It is useful in communication systems such as radars, satellites, fms, etc. Flipflop counter pd this phase detector counts the number of highfrequency clock periods between the phase difference of v1 and v2. The output of a phase detector is applied as an input of active low pass. Here i show how to simulate phase locked loops plls with matlab. The theory and mathematical models used to describe plls are of two types. It is the most important part of the phase locked loop system. As we have studied in lecture, a phaselocked loop has three blocks within. It needs about 100 cpu cycles per input sample per pll on the atom cpu in my netbook. Introduction r ecent advances in integrated circuit ic technology make fabrication processes very suitable for digital designs. Do i go the simple low pass filter and move on or spend more time optimising. Theres one signal processing component that has always felt like a black art to me, and that is a phase locked loop or pll.
Spectral contents of baseband fmradio, the mpx signal. The 567 tone decoder is perhaps most famous phase locked loop pll chip. The range over which the loop system will follow changes in the input frequency is called the lock range. The most common kind of pll phase detector is very simple it multiplies the. Plls and dlls cmos vlsi designcmos vlsi design 4th ed. A tutorial or overview about the basic concepts of a phase locked loop, pll, detailing how it works and how they may be designed. A phaselocked loop is a feedback system combining a voltage controlled oscillator vco and a phase comparator so connected that the oscillator maintains a constant phase angle relative to a reference signal. A phaselocked loop or phase lock loop pll is a control system that generates an output. If you arent familiar with plls, a pll is a closed loop control system designed to match an incoming sine wave with a reconstructed sine wave that tracks both the phase and optionally the frequency of an incoming sine wave. For some pds, you may need a lpf, but keep in mind that any lpf is part of the loop and increases the loop order. A pll is an automatic control system that adjusts the phase of a local signal to match the phase of the received signal. Software pll design using c2000 mcus single phase grid. Introduction phaselock loops plls have been one of the basic building blocks in modern electronic systems.
The phaselocked loop pll circuit is widely used in communication and control systems. The phaselocked loop approach turned out to be vastly superior to the other methods, to the degree that i want to describe the method in detail, so others wont pass up this terrific approach. A lowpass filter is used to control the dynamic characteristics of the phase locked. On the other hand, the frequency range in which the loop acquires phase lock is the capture range, and is never greater than the lock range. Such a pll must track the phase and frequency of a reference input signal to which it locks. Through elaboration it ends at a model of an all digital and fixedpoint phaselocked loop. Pll stands for phaselocked loop and is basically a closed loop frequency control system, which functioning is based on the phase sensitive detection of phase difference between the input and output signals of the controlled oscillator co. Chargepump phaselocked loopa tutorialpart i ee times. Parameter derivation of type2 discretetime phaselocked. The root locus for a typical loop transfer function is found as follows.
Overview of phaselocked loops and integern frequency synthesizers. Fundamentals of phase locked loops plls fundamental phase locked loop architecture. Digital phase detectors with a parallel output all of the phase detectors so far had only a 1bit or analog output. Used to synchronize the phase of two signals, the phaselocked loop pll is employed in a wide array of electronics, including microprocessors and communications devices such as radios, televisions, and mobile phones. Using a phase locked loop design phase detector using multiinput nand gates. Basically the phase detector is a comparator that compares the input frequency fi through the feedback frequency fo. Phase locked loop pll in a software defined radio sdr. The golfed version above is reduced from a much more readable example of a software phaselocked loop in c that i wrote today, which does do lock detection but does not sweep. They have been widely used in communications, multimedia and many other applications. Software phase locked loop design using c2000 microcontrollers for single phase grid connected inverter as discussed in section 1, with the addition of the notch filter, the pi tuning can be done solely based on dynamic response of the pll. One of my recent projects is a softwarebased receiverprocessor of slowscan. A pll is an interesting system, in my opinion, and im glad that we have the opportunity to take a detailed look at this topic.
In the demodulator circuit the vco generates a frequency which matches the original carrier frequency and compares the phase of that with received fm wave using the. Modeling and simulating an alldigital phase locked loop. A typical pll circuit consists of three main components. For more information on plls in general i suggest checking out my video simulating an analog phase locked loop.
This tutorial starts with a simple conceptual model of an analog phaselocked loop pll. How to optimize the transient response of a phaselocked loop perhaps youve noticed that lately ive been writing articles about phaselocked loops. One of the most astonishing feature is the possibility to check the whole functionality with a pure digital simulator. A pll consists of a phase detector, a lowpass filter, a variable frequency oscillator, and a divider figure 1. Index termsalldigital phaselocked loop pll, bilinear transform, digital loop. Phase locked loop tutorial file exchange matlab central. There are several types ranging from digital to analogue mixer and more. Ill have more to say about the jwx project at the end of this article, but first lets discuss phaselocked loops. The design uses a phase detector that has zero output when the loop is locked. The oscillator generates a periodic signal, and the phase detector compares the. Phaselocked loop design fundamentals application note, rev.
The phase locked loop or pll is a particularly flexible circuit building block. However, a software radio based approach allows some relaxation as explained later in. Design of a software phase locked loop the goal of this exercise is to model, implement and test a phase locked loop pll subsystem for fpga control applications of 3phase power systems. Phase locked loop pll is one of the vital blocks in linear systems. Index terms phase locked loops, delay effects, reduced order systems, dominant poles i. Fractionalinteger n pll basics edited by curtis barrett wireless communication business unit abstract phase locked loop pll is a fundamental part of radio, wireless and telecommunication technology. A 10 mhz reference frequency might be used, with the r. Introduction to phase locked loop pll digitavid, inc. The input signal vi with an input frequency fi is conceded by a phase detector. Perrott 32 closed loop pll design approach classical open loop approachindirectly design gf using bode plots of af proposed closed loop approachdirectly design gf by examining impact of its specifications on phase noise and settling time solve for af that will achieve desired gf implemented in pll design assistant software lau and perrott. A phaselocked loop or phase lock loop pll is a control system that generates an output signal whose phase is related to the phase of an input signal. A pll should have basic functional blocks like voltage controlled oscillator vco, phase comparator, low pass filter lpf and source follower. Introduction with the advent of the software radio and other modern.
Theory, design, and applicationsbook and disk best, roland e. In view of its usefulness, the phase locked loop or pll is found in many wireless, radio, and general electronic items from mobile phones to broadcast radios, televisions to wifi routers, walkie talkie radios to professional communications systems and vey much more. The phaselocked loop consists of a phase detector, a voltage controlled oscillator and, in between them, a low pass filter is fixed. Phaselocked loops can be used, for example, to generate stable output high. A phaselocked loop pll, when used in conjunction with other components, helps synchronize the receiver. The figure shows the block diagram of the phase locked loop system in fm transmitter that consists of different blocks such as a crystal oscillator, phase detector, loop filter, voltage controlled oscillator vco, and frequency divider.
1065 362 1278 166 1093 706 1047 1239 352 634 804 240 930 952 723 937 1614 1463 106 753 1488 673 877 827 108 717 606 1331 957 365 690 1383 1341 1550 1189 1501 934 1109 17 1050 223 130 157 1425 110 1365 609