Ring frequency divider
09595971 ยท 2017-03-14
Assignee
Inventors
Cpc classification
G04F10/02
PHYSICS
H03L7/0891
ELECTRICITY
International classification
H03L7/089
ELECTRICITY
H03L7/099
ELECTRICITY
G04F10/02
PHYSICS
Abstract
A circuit for a divider or counter may include a frequency divider having multiple rings for dividing an input frequency to obtain an output frequency. The first and second rings may include an odd-numbered plurality of elements, such as inverters, wherein each inverter of a ring is coupled to another inverter of the ring in a circular chain. An input frequency may be input to a power supply input of inverters of the first ring. The second ring inverters may be coupled at a power supply input to output nodes of the first ring inverters, which results in the second ring operating at a divisional rate of the first frequency given by (N1), where N is the number of inverters in the ring. The circuits may be used in frequency dividers and counters, such as in phase-locked loops (PLLs) and analog-to-digital converters (ADCs).
Claims
1. A ring divider, comprising: a first master ring oscillator configured to oscillate at a first frequency determined by an applied signal; and a second slave ring oscillator interconnected to the first ring oscillator, wherein the second ring oscillator is configured by the interconnection with the first ring oscillator to operate at a second frequency that is the first frequency divided by an integer.
2. The ring divider of claim 1, wherein the first ring oscillator comprises a first plurality of latches configured in a chain such that an input of each of the plurality of latches is an output of a different one of the first plurality of latches, and wherein the second ring oscillator comprises a second plurality of latches configured in a chain such that an input of each of the second plurality of latches is an output of a different one of the second plurality of latches.
3. The ring divider of claim 2, further comprising a plurality of enable switches, wherein each of the second plurality of latches is coupled to a power supply through one of the plurality of enable switches, and wherein each of the plurality of enable switches is coupled to and toggled by an output of one of the first plurality of inverters.
4. The ring divider of claim 1, wherein the plurality of enable switches consists of n-channel metal-oxide-semiconductor (NMOS) devices.
5. The ring divider of claim 1, further comprising a decoder coupled to the first ring oscillator and the second ring oscillator.
6. The ring divider of claim 5, wherein the first ring oscillator and the second ring oscillator generate an output based, at least in part, on a redundant numbering system, and wherein the decoder converts the output to a non-redundant numbering system.
7. The ring divider of claim 5, wherein the first ring oscillator, the second ring oscillator, and the decoder are coupled together to form a ring divider-based counter.
8. The ring divider of claim 1, further comprising a stuck state eliminator circuit coupled to at least one element of the second ring oscillator, wherein the stuck state eliminator circuit is configured to correct an error in at least one element of the second ring oscillator.
9. The ring divider of claim 1, wherein at least one element of the second ring oscillator comprises a latch configured to provide integrated stuck state elimination.
10. The ring divider of claim 9, wherein the latch configured to provide integrated stuck state elimination comprises a gated buffer followed by an inverter.
11. The ring divider of claim 9, wherein the latch configured to provide integrated stuck state elimination comprises an element with three inputs comprising a first input coupled to an output of a previous element of the second ring oscillator, a second input coupled to an output of an element of the second ring oscillator prior to the previous element, and a third input coupled to an inverted output of the first element of the second ring oscillator.
12. The ring divider of claim 1, further comprising a third ring oscillator interconnected to the second ring oscillator, wherein the third ring oscillator is configured to operate at a third frequency that is the second frequency divided by an integer multiple.
13. A method, comprising: causing a first master ring oscillator to oscillate at a first frequency determined by an applied signal; and dividing the first frequency in a second slave ring oscillator by driving the second ring oscillator from outputs of the first ring oscillator at a second frequency that is the first frequency divided by an integer.
14. The method of claim 13, wherein the step of causing the first ring oscillator to oscillate comprises applying a signal to a power supply input of a first plurality of elements of the first ring oscillator such that an output of each element of the first plurality of elements drives an input of a next element of the first plurality of elements to switch at the first frequency, and wherein the step of driving the second ring oscillator comprises applying a plurality of outputs of the plurality of elements of the first ring oscillator to a power supply input of a second plurality of elements of the second ring oscillator.
15. The method of claim 14, wherein the step of applying the plurality of outputs of the plurality of elements of the first ring oscillator to the power supply input of the second plurality of elements of the second ring oscillator comprises applying the plurality of outputs to a plurality of enable switches coupled between a power supply rail and the power supply input of the second plurality of elements.
16. The method of claim 13, further comprising decoding outputs of the first ring oscillator and the second ring oscillator to obtain a value.
17. The method of claim 16, wherein the steps of causing the first ring oscillator and driving the second ring oscillator generate a redundant numbering system, and wherein the step of decoding the outputs comprises converting the redundant numbering system to a non-redundant numbering system.
18. The method of claim 13, wherein the step of driving the second ring oscillator comprises driving at least one element of the second ring oscillator out of a stuck state.
19. The method of claim 18, wherein the step of driving the at least one element of the second ring oscillator out of the stuck state comprises correcting an error in a state of the at least one element.
20. The method of claim 18, wherein the step of driving the at least one element of the second ring oscillator out of the stuck state comprises comparing an output of the at least one element to an output of a previous element in the second ring oscillator.
21. The method of claim 13, further comprising driving a third ring oscillator from outputs of the second ring oscillator at a third frequency that is the second frequency divided by an integer.
22. An analog-to-digital converter (ADC), comprising: an input node configured to receive an input analog signal; a current-controlled oscillator configured to receive the input analog signal, the current-controlled oscillator comprising: a first master ring oscillator configured to be driven at a first frequency determined by the input analog signal; and a second slave ring oscillator interconnected to the first ring oscillator, wherein the second ring oscillator is configured by the interconnection with the first ring oscillator to operate at a second frequency that is the first frequency divided by an integer such that the second ring oscillator and the first ring oscillator form a ring divider, wherein the first ring oscillator comprises a first plurality of latches configured in a chain such that an input of each of the plurality of latches is an output of a different one of the first plurality of latches, and wherein the second ring oscillator comprises a second plurality of latches configured in a chain such that an input of each of the second plurality of latches is an output of a different one of the second plurality of latches; and a decoder coupled to an output of the current-controlled oscillator and configured to output digital bits representing the input analog signal.
23. The ADC of claim 22, wherein the decoder comprises: a sampling circuit coupled to an output of the current-controlled oscillator; a phase decoder coupled to an output of the sampling circuit; and a differentiator coupled to an output of the phase decoder.
24. The ADC of claim 22, wherein the current-controlled oscillator further comprises a plurality of enable switches, wherein each of the second plurality of latches is coupled to a power supply through one of the plurality of enable switches, and wherein each of the plurality of enable switches is coupled to and toggled by an output of one of the first plurality of inverters.
25. The ADC of claim 22, wherein the first ring oscillator and the second ring oscillator generate an output based, at least in part, on a redundant numbering system, and wherein the decoder converts the output to a non-redundant numbering system.
26. The ADC of claim 22, wherein the current-controlled oscillator further comprises a stuck state eliminator circuit coupled to or integrated with at least one element of the second ring oscillator, wherein the stuck state eliminator circuit is configured to correct an error in at least one element of the second ring oscillator.
27. A phase-locked loop (PLL) system, comprising: an input node configured to receive an input signal of a first frequency; a phase frequency detector coupled to the input node; a charge pump coupled to the phase frequency detector; a low-pass filter coupled to the charge pump; a voltage-controlled oscillator configured to receive an output of the low-pass filter, the voltage-controlled oscillator comprising: a first master ring oscillator configured to be driven at a first frequency determined by the low-pass filter; and a second slave ring oscillator interconnected to the first ring oscillator, wherein the second ring oscillator is configured by the interconnection with the first ring oscillator to operate at a second frequency that is the first frequency divided by an integer such that the second ring oscillator and the first ring oscillator form a ring divider, wherein an output of the second ring oscillator is coupled to the phase frequency detector, wherein the first ring oscillator comprises a first plurality of latches configured in a chain such that an input of each of the plurality of latches is an output of a different one of the first plurality of latches, and wherein the second ring oscillator comprises a second plurality of latches configured in a chain such that an input of each of the second plurality of latches is an output of a different one of the second plurality of latches; and an output node coupled to the first ring oscillator of the voltage-controlled oscillator and configured to generate an output signal of a second frequency that is an integer multiple of the first frequency.
28. The PLL system of claim 27, wherein the voltage-controlled oscillator further comprises a plurality of enable switches, wherein each of the second plurality of latches is coupled to a power supply through one of the plurality of enable switches, and wherein each of the plurality of enable switches is coupled to and toggled by an output of one of the first plurality of inverters.
29. The PLL system of claim 27, wherein the voltage-controlled oscillator further comprises a stuck state eliminator circuit coupled to or integrated with at least one element of the second ring oscillator, wherein the stuck state eliminator circuit is configured to correct an error in at least one element of the second ring oscillator.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) For a more complete understanding of the disclosed system and methods, reference is now made to the following descriptions taken in conjunction with the accompanying drawings.
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16)
(17)
(18)
(19)
(20)
(21)
DETAILED DESCRIPTION
(22) A divider that is suitable for ring oscillators with one or more outputs is provided by embodiments of the present disclosure. The rings of the oscillator may be described as a master ring that receives an input signal from an input node, and one or more slave rings that receive input from the master ring or other slave rings. The master-slave ring divider may implement a redundant numbering system. Example redundant numbering systems include, but are not limited to: 1) Carry-Save Adders; 2) Booth-Encoded Multipliers; and 3) Biquinary Numbering Systems. The master-slave ring divider may have inverting latches that form a (first) slave ring, with latch enables that are tied to the master ring oscillator outputs (e.g., m.sub.0-m.sub.N-1 as shown in
(23)
(24) The outputs of each of the elements 112A to 112N of the first ring oscillator 110 and elements 122A to 122N of the second ring oscillator 120 may be measured and decoded to provide a counter output.
(25) Although only two ring oscillators are shown in
(26) The first and second slave rings 220 and 230 (e.g., second and third rings) may be driven by a fixed supply voltage V.sub.DD. The fixed supply voltage V.sub.DD may drive an odd-number of elements 222A to 222N and 232A to 232N. The fixed supply voltage V.sub.DD may be gated by enable switches 226 that couple the elements 222A-N and 232A-N to the supply voltage V.sub.DD. The enable switches 226 for each of the elements 222A-N may be toggled by the outputs m.sub.0 to m.sub.N-1 of the master ring 210. The outputs of each of the elements 222A-N may be denoted s.sub.0 to s.sub.N-1. Additional slave rings, such as second slave ring 230, may be attached to a previous slave ring, such as first slave ring 220, in a similar manner as the first slave ring 220 is coupled to the master ring 210. For example, the enable switches 236 for each of the elements 232A-N of the second ring 230 may be toggled by the outputs s.sub.0 to s.sub.N-1 of the first slave ring 220. One embodiment of an element of the slave rings 220 and 230 is shown including complimentary metal-oxide-semiconductor (CMOS) logic circuitry, such as transistors 224A and 224B coupled together and to fixed supply voltage V.sub.DD and the enable switch 236, respectively. Likewise, elements of the master ring 210 may include CMOS logic transistors 214A and 214B. In one embodiment, each of the enable switches 226 and/or 236 may include only n-channel metal-oxide-semiconductor (NMOS) logic circuitry. The benefit of NMOS-only enabled controls of the elements of slave rings is that the need for level shifting between two supply domains is eliminated.
(27) One method of operating embodiments of the frequency ring divider is shown in
(28) At block 304, a second (or slave) ring oscillator may be driven from outputs of the first ring oscillator, wherein the second ring oscillator is driven at a second frequency that is equal to approximately the first frequency divided by an integer value N. The integer value N may correspond to the number of elements in the first ring oscillator and second ring oscillator. The second ring oscillator may be driven from the first ring oscillator when outputs of elements in the first ring oscillator change that subsequently toggles on and off elements in the second ring oscillator. In some embodiments, this driving of the second ring oscillator may be obtained by using the outputs of the elements of the first ring oscillator to toggle enable switches for the elements of the second ring oscillator.
(29) During the driving of the first and second ring oscillators at blocks 302 and 304, the outputs of the elements from each ring may be monitored and decoded by a decoding circuit, such as may be part of an integrated circuit (IC). At block 306, the method 300 may include decoding outputs of the first ring oscillator and the second ring oscillator to generate a value. The value may be used to count a number of signal edges, and subsequently obtain a counter value or to generate an output signal with a frequency that is a divided value from the first frequency.
(30) To visualize the transitions in a single-slave master/slave frequency divider, an example output map is shown in
(31) The output map of
(32) The present disclosure also provides methods of using ring oscillator dividers, such as shown in
(33) The block diagram shown in
(34) One example truth table for a ring frequency divider with N=5 usable to generate counts from the output of the divider is shown in Table 1. The decoder 626 of
(35) TABLE-US-00001 TABLE 1 A truth table for a N = 5 stage master/slave ring divider according to one embodiment of the disclosure. Master Slave Decoded Decoded Add 2N 0 1 2 3 4 0 1 2 3 4 Master Slave Multiple Count 1 0 0 0 0 1 0 0 0 0 0 0 0 0 1 1 0 0 0 1 0 0 0 0 1 1 1 1 1 0 0 1 0 0 0 0 2 2 1 1 1 1 0 1 0 0 0 0 3 3 1 1 1 1 1 1 1 0 0 0 4 1 4 0 1 1 1 1 1 1 0 0 0 5 5 0 0 1 1 1 1 1 0 0 0 6 6 0 0 0 1 1 1 1 0 0 0 7 7 0 0 0 0 1 1 1 1 0 0 8 2 8 0 0 0 0 0 1 1 1 0 0 9 9 1 0 0 0 0 1 1 1 0 0 0 1 10 1 1 0 0 0 1 1 1 0 0 1 11 1 1 1 0 0 1 1 1 1 0 2 3 12 1 1 1 1 0 1 1 1 1 0 3 13 1 1 1 1 1 1 1 1 1 0 4 14 0 1 1 1 1 1 1 1 1 0 5 15 0 0 1 1 1 1 1 1 1 1 6 4 16 0 0 0 1 1 1 1 1 1 1 7 17 0 0 0 0 1 1 1 1 1 1 8 18 0 0 0 0 0 1 1 1 1 1 9 19 1 0 0 0 0 0 1 1 1 1 0 5 2 20 1 1 0 0 0 0 1 1 1 1 1 21 1 1 1 0 0 0 1 1 1 1 2 22 1 1 1 1 0 0 1 1 1 1 3 23 1 1 1 1 1 0 0 1 1 1 4 6 24 0 1 1 1 1 0 0 1 1 1 5 25 0 0 1 1 1 0 0 1 1 1 6 26 0 0 0 1 1 0 0 1 1 1 7 27 0 0 0 0 1 0 0 0 1 1 8 7 28 0 0 0 0 0 0 0 0 1 1 9 29 1 0 0 0 0 0 0 0 1 1 0 3 30 1 1 0 0 0 0 0 0 1 1 1 31 1 1 1 0 0 0 0 0 0 1 2 8 32 1 1 1 1 0 0 0 0 0 1 3 33 1 1 1 1 1 0 0 0 0 1 4 34 0 1 1 1 1 0 0 0 0 1 5 35 0 0 1 1 1 0 0 0 0 0 6 9 36 0 0 0 1 1 0 0 0 0 0 7 37 0 0 0 0 1 0 0 0 0 0 8 38 0 0 0 0 0 0 0 0 0 0 9 39
(36) One example embodiment of a gate-level schematic for the decoder 626 for decoding a ring frequency divider with N=5 is shown in
(37) One example embodiment for a ring frequency divider according to the embodiments described herein is in a current-controlled oscillator (CCO)-based quantizer as shown in
(38) Another example embodiment for a ring frequency divider is in a phase-locked loop (PLL) system as shown in
(39) The above disclosure generally focused on an example master-slave ring divider where N=5. However, for master-slave ring dividers where N>5, there is a chance that the divider ring may be initialized to values that result in extra narrow-width pulses (even in steady-state) or a stuck state.
(40) To remedy the problem of bad initial states, the slave ring may be configured to eliminate pulses that are shorter than half of the ring. This elimination of bad initial states may be achieved by gating at least one of the elements (e.g., latches) in the slave ring with a feed-forward combinational logic that ensures N/2 previous odd stages have the same outputs. In some embodiments, this combinational logic may implement a runt-pulse eliminator or other stuck state eliminator. Although stuck states and bad initial states are described herein, the stuck state eliminator circuits described herein may correct other errors within the ring divider that may be corrected with combinational logic or other circuitry coupled in or to the ring divider.
(41)
(42) To improve the circuit performance of the ring divider, the NMOS-gated inverter may be replaced with a gated buffer followed by an inverter as shown in
(43) Another embodiment of a circuit for eliminating stuck states is shown in
(44) Another embodiment of a ring frequency divider with stuck state elimination is shown in
(45) The schematic flow chart diagram of
(46) Although the present disclosure and certain representative advantages have been described in detail, it should be understood that various changes, substitutions and alterations can be made herein without departing from the spirit and scope of the disclosure as defined by the appended claims. Moreover, the scope of the present application is not intended to be limited to the particular embodiments of the process, machine, manufacture, composition of matter, means, methods and steps described in the specification. For example, although analog-to-digital converters (ADCs) are described throughout the detailed description, aspects of the invention may be applied to the design of other converters, such as digital-to-analog converters (DACs) and digital-to-digital converters, or other circuitry and components based on delta-sigma modulation. Further, although ones (1s) and zeros (0s) are given as example bit values throughout the description, the function of ones and zeros may be reversed without change in operation of the processor described in embodiments above. As one of ordinary skill in the art will readily appreciate from the present disclosure, processes, machines, manufacture, compositions of matter, means, methods, or steps, presently existing or later to be developed that perform substantially the same function or achieve substantially the same result as the corresponding embodiments described herein may be utilized. Accordingly, the appended claims are intended to include within their scope such processes, machines, manufacture, compositions of matter, means, methods, or steps.