This invention relates generally to phase locked loops, and more specifically to prevention of runaway in a phase locked loop.
A phase-locked loop (PLL) is a closed-loop feedback control system that generates and outputs a signal in relation to the frequency and phase of an input signal. The PLL responds to both the frequency and the phase of the input signal and automatically raises or lowers the frequency of a controlled oscillator until it matches the input signal in both frequency and phase.
The PLL 100 may operate in a steady-state (locked) or transient (unlocked) condition. When the PLL is in steady-state operation, the PLL output 110 from VCO 109 has a frequency that is N times higher than the frequency of the input clock signal 101 received by the PFD. The multiple N is the divisor used by divider 111. Thus, in lock, the feedback signal 112 input to the PFD 102 should have about the same frequency as the input clock signal 101; minor adjustments may be made using UP signal 103 and DOWN signal 104 accordingly.
Generally, the PLL 100 may operate in the transient state when the PLL 100 is powering up and acquiring lock. The PLL 100 also may operate in transient state if a disturbance, such as a supply glitch or other noise, causes the PLL 100 to lose lock. In transient state, the PLL output 110 may have any value, either above or below the frequency of the input clock signal 101. To attempt to bring the PLL 100 into the locked state, the PLL 100 may adjust the operation of the VCO 109 in a direction that will bring the PLL into lock.
The VCO 109 may not start at a low frequency because the control voltage 108 is initialized to a low value, which may be below the oscillator threshold of the VCO 109. When the PLL 100 starts, the control voltage 108 is ramped up past the oscillator threshold, and a noise event is relied upon to start the VCO 109. However, if the VCO 109 has low loop gain, it may not receive a noise event sufficient to start the VCO 109 in time, causing the control voltage 108 to ramp all the way to the power rail before the PFD 102 receives a feedback signal 112. If the noise event that starts VCO 109 occurs after the control voltage 108 ramps up to the power rail, the VCO 109 starts out running as fast as it can, and the PLL 100 may be in a runaway state. Runaway occurs when the frequency of the signal at PLL output 110 from VCO 109 is so high that the divider 111 fails to respond to it correctly, causing the PLL 100 to malfunction. Divider 111 may output a feedback signal 112 that is either a corrupted signal or no signal at all. In this situation, the PFD 102 may see signal transitions in input clock signal 101, but few or not transitions in feedback signal 112 from divider 111. The PFD 102 may mistakenly interpret this situation to be one in which the frequency at PLL output 110 is too low instead of too high. Consequently, instead of activating DOWN signal 104 to charge pump 105 to decrease the frequency of VCO 109, the PFD may actually activate the UP signal 103 to the charge pump 105, causing the frequency of VCO 109 to increase further until it plateaus at the maximum possible operating frequency.
An embodiment is a voltage controlled oscillator (VCO) for a phase locked loop (PLL) including a startup oscillator, the startup oscillator comprising a first plurality of inverters; a primary oscillator, the primary oscillator comprising a second plurality of inverters, wherein a number of the second plurality of inverters is fewer than the number of the first plurality of inverters; and a control module connected to the startup oscillator and the primary oscillator.
Another exemplary embodiment is a method of operating a voltage controlled oscillator (VCO) in a phase locked loop (PLL), the VCO comprising a startup oscillator and a primary oscillator includes sending an enable signal to the startup oscillator; waiting a predetermined number of startup oscillator clock cycles; and when the predetermined number of startup oscillator clock cycles has elapsed, sending a disable signal to the startup oscillator, and an enable signal to the primary oscillator.
Additional features and advantages are realized through the techniques of the present invention. Other embodiments and aspects of the invention are described in detail herein and are considered a part of the claimed invention. For a better understanding of the invention with advantages and features, refer to the description and to the drawings.
Referring now to the drawings wherein like elements are numbered alike in the several FIGURES:
An exemplary embodiment of the present invention provides a phase locked loop (PLL) with a voltage controlled oscillator (VCO) comprising a startup oscillator and a primary oscillator. Technical effects and benefits include prevention of runaway conditions in the PLL. PLL runaway may be corrected by detecting when a runaway occurs and then taking remediative corrective action. Corrective action may take the form of directly adjusting the UP signal 103, DOWN signal 104, charge pump voltage 106, or control voltage 108, or may include resetting the entire PLL 100. However, none of these types of action prevent a runaway from occurring in the first place. Additionally, complex circuitry may need to be added to critical nodes inside the PLL 100 to detect and correct the runaway, which may slow the PLL down, consume extra power, and cause additional noise in the PLL. Therefore, it is desirable to have a VCO configuration that prevents the occurrence of a runaway in a PLL.
The startup oscillator and the primary oscillator each contain an odd number of inverter delay stages; these delay stages provide the oscillation that determine the frequency of the signal output at VCO/PLL output 110 of
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the singular forms “a”, “an” and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms “comprises” and/or “comprising,” when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
The corresponding structures, materials, acts, and equivalents of all means or step plus function elements in the claims below are intended to include any structure, material, or act for performing the function in combination with other claimed elements as specifically claimed. The description of the present invention has been presented for purposes of illustration and description, but is not intended to be exhaustive or limited to the invention in the form disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the invention. The embodiment was chosen and described in order to best explain the principles of the invention and the practical application, and to enable others of ordinary skill in the art to understand the invention for various embodiments with various modifications as are suited to the particular use contemplated.
As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or computer program product. Accordingly, aspects of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, micro-code, etc.) or an embodiment combining software and hardware aspects that may all generally be referred to herein as a “circuit,” “module” or “system.” Furthermore, aspects of the present invention may take the form of a computer program product embodied in one or more computer readable medium(s) having computer readable program code embodied thereon.
Any combination of one or more computer readable medium(s) may be utilized. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like and conventional procedural programming languages, such as the “C” programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider).
Aspects of the present invention are described below with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer readable medium that can direct a computer, other programmable data processing apparatus, or other devices to function in a particular manner, such that the instructions stored in the computer readable medium produce an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Number | Name | Date | Kind |
---|---|---|---|
5389898 | Taketoshi et al. | Feb 1995 | A |
5864572 | Bhagwan | Jan 1999 | A |
6020781 | Fujioka | Feb 2000 | A |
6140880 | Moyal et al. | Oct 2000 | A |
6177843 | Chou et al. | Jan 2001 | B1 |
6369660 | Wei et al. | Apr 2002 | B1 |
6747519 | Jaehne et al. | Jun 2004 | B2 |
6781470 | Rogerson | Aug 2004 | B2 |
6853254 | Li | Feb 2005 | B2 |
7391275 | Jordy | Jun 2008 | B2 |
7791420 | Chen et al. | Sep 2010 | B2 |
20080036543 | Bazes | Feb 2008 | A1 |
Number | Date | Country | |
---|---|---|---|
20110316593 A1 | Dec 2011 | US |