This application claims priority from Japanese Patent Application No. 2011-166073 filed on Jul. 28, 2011, the entire contents of which are incorporated herein by reference.
Embodiments described herein relate generally to a phase-locked loop (PLL).
PLLs are used to accurately obtain various frequencies needed in systems. PLLS are necessarily mounted on general digital large-scale integration (LSI) circuits, such as a central processing unit (CPU) processor, a microcomputer, a digital system-on-chip (SoC), a baseband-processor, and a field programmable gate array (FPGA). The uses of PLLs include keeping generating a constant frequency as in the case of the clock of a microcomputer, and frequently changing frequencies as in the case of wireless communication.
Conventionally, PLLs have been able to substantially meet required specifications only by stably being operated. It has been sufficed that PLLs can obtain high-precision output with less frequency variation and less error. However, in recent years, there has been increased a demand for high-speed response, in addition to a demand for appropriate spectrum purity, i.e., less spurious-signal and less phase noise. More specifically, in digital communication/broadcast, high-speed frequency switching PLLs are required. In the case of the use of frequently switching frequencies, a response characteristic on the time axis, which is difficult to perceive from a frequency characteristic, becomes problematic.
In addition, in order to reduce the electric-power consumption of LSIs, a normally-off type computer has been proposed. In the normally-off type computer, electric-power supplied to each circuit is frequently interrupted. When electric-power is interrupted, a PLL loses a stable operation state. When the PLL is powered again, a time-delay at least in the order of several milliseconds (ms) is caused until an operation of the PLL is stabilized. Although it can be considered to exclude the PLL from targets of the interruption of the supply of electric-power thereto, the consumption electric-current of the PLL is in the order of 10 milliamperes (mA). Thus, if the PLL is excluded from targets of the interruption of the supply of electric-power, the power consumption thereof cannot sufficiently be reduced. If the PLL is designed by placing importance only on the speed-up of the PLL, an output frequency thereof is unstable. Thus, it is difficult to apply the PLL in applications. Consequently, a PLL with stability and fast response capability has been desired.
A general architecture that implements the various features of the present invention will now be described with reference to the drawings. The drawings and the associated descriptions are provided to illustrate embodiments and not to limit the scope of the present invention.
One embodiment provides a phase-locked loop (PLL), including: a phase detector configured to detect a phase difference between a reference signal and a feedback signal and output a first signal based on the phase difference; a charge pump configured to generate electric-current based on the first signal; a loop filter connected to the charge pump and output a second signal converted from the electric current, the loop filter having a first resistance change device; a voltage-controlled oscillator (VCO) configured to control an output frequency thereof according to the second signal input thereto from the loop filter; a frequency divider configured to perform frequency-dividing of an output signal of the VCO and to generate a feedback signal to be input to the phase detector; and a sequencer configured to control the loop filter, wherein the sequencer controls the loop filter such that, when a signal indicating turning-off of a power supply of the PLL is input thereto, or when a signal indicating turning-on of the power supply of the PLL is input thereto, a resistance value of the first resistance change device is a first resistance value, and that, after the PLL is stabilized, the resistance value of the first resistance change device is a second resistance value which is higher than the first resistance value.
Hereinafter, an embodiment is described with reference to the drawings.
The PLL generates a signal fvco having a frequency which is N-times that of a reference signal fref. A reference signal fref and a feedback signal fdiv are input to the phase detector 10 that compares the phases of the reference signal fref and the feedback signal fdiv with each other. Then, if the phase of the feedback signal fdiv advances, the phase detector 10 outputs a voltage drop signal to the charge pump 20 via the multiplexer 70. If the phase of the feedback signal fdiv lags, the phase detector 10 outputs a boost signal to the charge pump 20 via the multiplexer 70.
The charge pump 20 is driven, based on a signal output from the phase detector 10 and input thereto via the multiplexer 70, and supplies electric-current in a boost direction or a voltage drop direction. Electric-current generated in the charge pump 20 is input to the loop filter 30.
The loop filter 30 converts electric-current generated at the charge pump 20 into a power-supply voltage to be applied to the VCO 40. Then, the loop filter 30 inputs the power-supply voltage to the loop filter 30. The detailed configuration of the loop filter 30 is described below with reference to
The frequency divider 50 outputs a signal input thereto by changing the frequency of the input signal into an integral multiple thereof. Generally, the frequency division number of the frequency divider 50 is variable. For example, if the frequency division number of the frequency divider 50 is changed from 250 to 300 during an operation thereof in which the frequency of the reference signal fref is 1 mega-hertz (MHz), the frequency of the output signal fvco changes from 250 MHz to 300 MHz.
A delay caused until a PLL is stabilized is due to the fact that the PLL includes a feedback loop. The transfer function of the closed loop of the PLL is expressed by the following function H(s).
where KVCO represents the gain [radians/seconds/volts (rad/s/V)] or [Hz/V], KPD denotes the gain [V/rad] of the phase detector 10, A represents a gain (steady-state value), ωn denotes a natural frequency [rad], ωLPF denotes the cutoff frequency [rad] of the loop filter, ζ represents a damping constant (damping factor), and N denotes the frequency division number of the frequency divider 50.
Time taken to stabilize the frequency of an output signal fvco of the PLL is influenced by the time constant of the loop filter 30. The change ωout (=2πfvco) of the angular frequency of an output signal fvco of the PLL is given by the following expressions.
A frequency step-response is a function that oscillates with a period given by the following expression, and attenuates at a time constant of (ζωn)−1.
ωn√{square root over (1−ζ2)} [Expression 3]
To reduce the lock-up time of the PLL, it is advisable to maximize a value of ζωn. The value of ζωn is given by the following expression. Thus, the filter time constant of the loop filter 30 affects the lock-up time of the PLL.
However, if the damping constant ζ is simply increased, the cutoff frequency ωLPF d of the loop filter becomes high, so that phase noise in an output signal fvco of the PLL is increased. In addition, a spurious-phenomenon occurs, in which a frequency component of the reference signal fref is mixed into the output signal fvco. Accordingly, a stable output that is a basic requirement specific of the PLL cannot be achieved.
Thus, when the PLL is unlocked, or when the power supply of the PLL is turned on, the time constant of the loop filter 30 is set to be small. After the PLL is locked up, the time constant of the loop filter 30 is set to be large. That is, when the PLL is unlocked, or when the power supply of the PLL is turned on, the resistance of the loop filter 30 is set to be low. After the PLL is locked up, the resistance of the loop filter 30 is set to be high. Incidentally, the following description is made by assuming that when the power supply of the PLL is turned on, the time constant of the loop filter 30 is set to be small (that is, the resistance of the loop filter 30 is set to be low). However, the PLL can be configured such that, in the case of turning off the power supply of the PLL, the turning-off of the power supply is performed after the time constant of the loop filter 30 is set to be small, so that when the PLL is activated, the PLL is put into a state in which the time constant is small.
According to the present embodiment, not only when the unlocked state of the PLL including the loop filter 30 is detected, but when the turning-on (or turning-off) of the power supply of the PLL is detected, the resistance of the loop filter 30 is set to be small. Thus, the PLL can be configured such that after the power supply of the PLL is turned on, the time constant of the loop filter 30 is set at a small value before the difference between the frequency of the output signal of the PLL and the target frequency is compared with the predetermined range. Consequently, after the power supply is turned on, the PLL can be brought into a lockup state more quickly.
Thus, in order to control the time constant of the loop filter 30, the sequencer 60, the multiplexers 70, and the switches 80 are provided in the PLL. The loop filter 30 is configured, as illustrated in
A signal Control is input to the sequencer 60 in a case where an unlocked state occurs (i.e., the reference frequency is changed, or the frequency division number of the frequency divider 50 is changed) when an external control circuit (not shown) makes a power-off request, or where the lockup state of the PLL is detected. The detection of the lockup state is performed by a lockup detector (not shown). Information represented by the signal Control includes the reference frequency, the frequency division number, and other setting items. The sequencer 60 transmits control signals to the loop filter 30, the multiplexers 70, and the switches 80, based on the signal Control. Thus, the time constant of the loop filter 30 is adjusted. In an example illustrated in
As illustrated in
Each of the switches 32a to 32e is a switch configured using an n-metal-oxide-semiconductor (nMOS) and a p-metal-oxide-semiconductor (pMOS). The switches 32a and 32c are connected to the charging side of the charge pump 20. The switches 32b and 32d are connected to the discharging side of the charge pump 20. In addition, the switches 32a and 32b are connected to each other. The switches 32c and 32d are connected to each other. Incidentally, in
The resistance change type device 31 is, e.g., a magnetic tunnel junction (MTJ) of a spin torque transfer random access memory (STT-RAM), a phase change material of a phase change memory (PCM), a resistance change element of a resistance random access memory (ReRAM), a resistance change memory utilizing resistance change due to a field effect, or an ion memory. Hereinafter, a description is made by assuming that the resistance change type device 31 is implemented according to an electric-current writing method. The resistance change type device 31 has one terminal connected to the switches 32a and 32b, and the other terminal connected to the switches 32c and 32d.
The resistance change type device according to the electric-current writing method is a device whose resistance value is set by applying a predetermined electric-current between the terminals of the device. The resistance change type device according to the electric-current writing method is put into a low-resistance state or a high-resistance state, according to the direction of electric-current applied to the device. This embodiment is described by assuming that when electric-current flows from the terminal of the resistance change device 31, which is connected to the switches 32c and 32d, to the terminal thereof connected to the switches 32a and 32b, the resistance change device 31 is put into the low-resistance state, and that when electric-current flows to the terminal of the resistance change device 31, which is connected to the switches 32c and 32d, from the terminal thereof connected to the switches 32a and 32b, the resistance change device 31 is put into the high-resistance state.
When the PLL is unlocked, or when the power supply of the PLL is turned on, the sequencer 60 sets the levels of the signals Normal, Write “H”, and Write “L” at “L”, “L”, and “H”, respectively. The signals Write “H” and Write “L” are passed through delay devices, ORed with the signal Normal, and input to the switches 32a and 32b, respectively. The signal Write “H” is input to the switch 32c via the delay device. The signal Write “L” is input to the switch 32d via the delay device. The signal Normal is input to the switch 32e.
Then, the switches 32b and 32c are turned on, while the switches 32a, 32d, and 32e are turned off. Thus, as indicated by a dashed line in
On the other hand, when the PLL is locked up, the sequencer 60 sets the levels of the signals Normal, Write “H”, and Write “L” at “L”, “H”, and “L”, respectively. Then, the switches 32a and 32d are turned on, while the switches 32b, 32c, and 32e are turned of Thus, as indicated by a dashed line in
If the resistance change device 31 is in the low-resistance state, the time constant of the loop filter 30 is small, as compared with that thereof in the high-resistance state. The cutoff frequency ωLPF which is the reciprocal of the time constant of the loop filter 30 is large. Thus, the damping constant becomes large. Accordingly, in the low-resistance state, the PLL can quickly be converged, as compared with that in the high-resistance state. However, in the high-resistance state, the PLL can stably be operated by suppressing phase noise and spurious signals, as compared with that in the low-resistance state.
In the normal state in which the resistance value of the resistance change device 31 is not changed, the sequencer 60 sets the levels of the signals Normal, Write “H”, and Write “L” at “H”, “L”, and “L”, respectively. Then, the switches 32a, 32b, and 32e are turned on, while the switches 32c and 32d are turned off. Thus, as indicated by dashed lines in
At that time, the charge pump 20 performs only charging or discharging. Thus, the electric-current caused to flow to the resistance change device 31 is less in magnitude than the programmed electric-current that is used to write a resistance value to the resistance change device 31. Accordingly, no resistance value is written to the resistance change device 31 normally. Sometimes, charging and discharging occur instantaneously, i.e., substantially at the same time due to the skew of an output of the phase detector 10. Thus, through-electric-current flows therethrough. However, at that time, no electric current flows in the resistance change device 31. Electric-current flows only through the charge pump 20, and the switches 32a and 32b. Thus, no erroneous writing to the resistance change device 31 occurs.
However, if a pulse to the charge pump 20 from the phase detector 10 is accidentally lengthened, e.g., just after the activation of the power supply to the PLL, erroneous writing to the resistance change may be performed. Thus, switches 32f and 32g and each inrush resistance 34 are inserted into the loop filter 30, as illustrated in
The sequencer 60 also controls the multiplexers 70 and the switches 80 shown in
The switches 80 are provided at the preceding stage of the frequency divider 50 and at that of the phase detector 10, respectively. When the resistance value of the resistance value change device 31 is changed, the sequencer 60 inputs control signals to the switches 80 to turn off the switches 80. The turning-off of the switches 80 can also interrupt the feedback loop of the PLL. Incidentally, each switch 80 can be either a complementary-MOS (CMOS) switch or a resistance change type device whose resistance becomes infinitive.
Thus, the influence of noise due to outputs of the VCO 40 and the phase detector 10 is avoided by interrupting the feedback loop of the PLL when the resistance value of the resistance change device 31 is changed.
In addition, although the feedback loop of the PLL can be interrupted only by the multiplexers 70, the power consumption of the PLL at the time of changing the resistance value of the resistance change device 31 can be reduced using the switches 80 in addition to the multiplexers 70 to interrupt the feedback loop of the PLL. This is because of the fact that the operations of the phase detector 10 and the frequency divider 50, which digitally operate, are stopped.
Hereinafter, an appropriate method for determining the damping constant of the loop filter 30 is described. In order to maximize the value of ζωn given by Expression 4, it is advisable to make the loop filter 30 show high-speed response.
The resistance value of the resistance change device 31 is set to be increased so that as the PLL approaches a lockup state, the damping constant ζ of the loop filter 30 is reduced. Consequently, phase noise and spurious signals can be suppressed from signals output therefrom to the phase detector 10. Accordingly, the PLL operates more stably.
Thus, when the PLL is unlocked, or when the power supply is turned on, the resistance value of the resistance change device 31 is set to be low. When the PLL is locked up, the resistance value of the resistance change device 31 is set to be high. Consequently, a PLL with stability and readiness can be provided. In addition, because the PLL according to the present embodiment uses the resistance change device, the resistance value thereof can be changed by the single device between the low-resistance state and the high-resistance state.
(Modification 1)
In the description made with reference to
An input signal input to the loop filter 130 from the sequencer 60 shown in
When the PLL is locked up, the sequencer 60 sets the signal-levels of the signals Normal, Write “H”, and Write “L” at “L”, “H”, and “I,”, respectively. Then, the switches 132a and 132d are turned on, while the switches 132b and 132c are turned off. Thus, the resistance change device 31 is brought into a high-resistance state similar to the state described with reference to
In the normal state, the sequencer 60 sets the signal-levels of the signals Normal, Write “H”, and Write “L” at “H”, “L”, and “L”, respectively. Then, the switches 132a, 132b and 32e are turned on, while the switches 132c and 132d are turned off. Thus, the resistance change device 31 is brought into a state similar to the state described with reference to
(Modification 2)
A three-terminal device can be used as the resistance change device. The three-terminal resistance change device has a terminal for writing a resistance value. A resistance value to be written to the resistance change device is determined according to the value input to this terminal.
Thus, in the case of using the three-terminal resistance change device, the loop filter 230 doesn't need to be provided with the switches 32a to 32d needed in the loop filter 30 illustrated in
(Modification 3)
The loop filter can be configured as illustrated in
In the foregoing description, the present embodiment and the modifications thereof have been described. The present embodiment can appropriately be changed to modifications other than the above Modifications 1 to 3 without departing from the spirit of the invention. For example, switches and an inrush resistance can be provided in each of Modifications 1 to 3, as illustrated in
The present embodiment is an embodiment in the case of provided plural resistance change devices in the loop filter.
It can be selected by these switches whether electric-current is applied to the first resistance change device 31a, and whether electric-current is applied to the second resistance change device 31b. Hereinafter, a state in which the switches 32i and 32j provided at both ends of the resistance change device 31a are turned off, and a state in which the switches 32k and 32m provided at both ends of the resistance change device 31b are turned off, are referred to as a state in which the resistance change device is turned off. On the other hand, a state in which the switches 32i and 32j provided at both ends of the resistance change device 31a are turned on, and a state in which the switches 32k and 32m provided at both ends of the resistance change device 31b are turned on, are referred to as a state in which the resistance change device is turned on.
If all the resistance values in the high-resistance state and the low-resistance state of the first resistance change device 31a and the second resistance change device 31b differ from one another, the resistance values respectively corresponding to eight conditions (i.e., Condition 1 to 8 shown in
Utilizing this, the resistance value of the loop filter 530 can be set to be low when the PLL is unlocked, or when the power supply of the PLL is turned on, and to increase step by step as the PLL approaches a stable state.
For example, a time elapsed since the PLL is unlocked, or since the power supply of the PLL is turned on is measured by counting clock-cycles from the reference frequency of a signal input to the PLL. Then, as illustrated in
An output of the phase detector 10 can be input to the sequencer 560. In addition, the resistance value of the loop filter 530 can be changed step by step according to temporal variation of phase difference output by the phase detector 10.
In the cases of detecting the unlocked state of the PLL, and requesting the activation of the PLL from a state in which the power supply is turned off, the initial value of the resistance value of the loop filter 530 can be changed. For example, the state in which the unlocked state of the PLL is detected is considered to be closer to the stable state than that in which the activation of the PLL is requested. Thus, if the unlocked state of the PLL is detected, the initial value of the resistance value of the loop filter 530 is set to be high (e.g., Condition 5 shown in
Thus, according to the second embodiment, the resistance of the loop filter can finely be changed. In addition, according to the present embodiment, the resistance change devices are used. Thus, as compared with the case of using resistances each having a fixed resistance value, the resistance value of the loop filter can be controlled at finer levels.
(Modification 1)
In the description made with reference to
Also in the present embodiment, other various alterations thereof can be made. The modifications described in the first embodiment can be applied thereto. In the second embodiment, the example using the two resistance change devices has been described. However, three or more resistance change devices can be used. Incidentally, if the number of resistance change devices is increased, the number of switches provided at both ends of each of the resistance change devices increases. Thus, the junction capacitance of transistors configuring the switches may affect the gain of the loop filter. Therefore, preferably, the number of the resistance change devices connected in parallel with one another is equal to or less than 4.
The invention is not limited to the above embodiments. The embodiments will be appropriately changed without departing from the scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
2011-166073 | Jul 2011 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
7015735 | Kimura et al. | Mar 2006 | B2 |
Number | Date | Country |
---|---|---|
7-131340 | May 1995 | JP |
2000-341117 | Dec 2000 | JP |
Number | Date | Country | |
---|---|---|---|
20130027093 A1 | Jan 2013 | US |