Stability controlled high frequency chopper-based oscillator
09543972 ยท 2017-01-10
Assignee
Inventors
Cpc classification
H03K3/027
ELECTRICITY
H03L7/24
ELECTRICITY
H03K3/02
ELECTRICITY
H03L7/00
ELECTRICITY
H03K3/011
ELECTRICITY
International classification
H03L7/00
ELECTRICITY
H03K3/02
ELECTRICITY
H03L7/24
ELECTRICITY
Abstract
Circuitry for providing an oscillating output signal. This circuitry includes a transconductance circuit having a first input, a second input, an output. The transconductance also includes a first transistor, a second transistor, and chopping circuitry. The chopping circuitry is for alternatively connecting, in a first clock cycle phase, a first node to a first terminal of the first transistor and a second node to a first terminal of the second transistor and, in a second clock cycle phase, following the first clock cycle phase, the first node to the first terminal of the second transistor and the second node to a first terminal of the first transistor. An oscillator circuit is also included and coupled to receive voltage from the output of the transconductance circuit, wherein the oscillating output signal is responsive to an output of the oscillator circuit. Further connected to the transconductance circuit are circuitry for providing a first voltage to its first input and a frequency controlled circuit for providing a second voltage to its second input.
Claims
1. Circuitry for providing an oscillating output signal, comprising: a transconductance circuit having a first input, a second input, an output, and comprising: a first transistor, wherein the first transistor comprises a first transistor in an input stage of the transconductance circuit; a second transistor, wherein the second transistor comprises a second transistor in the input stage of the transconductance circuit; a first capacitor connected from a gate of the first transistor to a drain of the second transistor; and a second capacitor connected from a gate of the second transistor to a drain of the first transistor; and chopping circuitry for alternatively connecting, in a first clock cycle phase, a first node to a first terminal of the first transistor and a second node to a first terminal of the second transistor and, in a second clock cycle phase following the first clock cycle phase, the first node to the first terminal of the second transistor and the second node to the first terminal of the first transistor; an oscillator circuit coupled to receive voltage from the output of the transconductance circuit, wherein the oscillating output signal is responsive to an output of the oscillator circuit; circuitry for providing a first voltage to the first input of the transconductance circuit; and a frequency controlled circuit for providing a second voltage to the second input of the transconductance circuit.
2. The circuitry of claim 1 wherein the frequency of operation of the frequency controlled circuit is responsive to feedback derived from the output of the oscillator circuit.
3. The circuitry of claim 1 wherein the frequency controlled circuit comprises: a plurality of capacitors; and selection circuitry for selecting selected capacitors among the plurality of capacitors to tune a total capacitance provided by the frequency controlled circuit.
4. The circuitry of claim 3 wherein the oscillating output signal has a frequency in response to the total capacitance.
5. The circuitry of claim 3 and further comprising a resistance circuit coupled to the second input of the transconductance circuit.
6. The circuitry of claim 5 wherein the resistance circuit comprises an integrated resistance.
7. The circuitry of claim 5 wherein the resistance circuit comprises an off-chip resistance.
8. The circuitry of claim 5 wherein the resistance circuit comprises a selectable resistance from an integrated resistance and an off-chip resistance.
9. The circuitry of claim 3 and further comprising two-phase circuitry for coupling the plurality of capacitors to a voltage supply during a first phase and coupling the selected capacitors to the first input of the transconductance circuit during a second phase.
10. The circuitry of claim 1 wherein the oscillating output signal is operable up to at least 50 MHz.
11. The circuitry of claim 1 wherein the chopping circuitry is for alternatively connecting, in a first clock cycle phase, a first node to a gate of the first transistor and a second node to a gate of the second transistor and, in a second clock cycle phase following the first clock cycle phase, the first node to the gate of the second transistor and the second node to the gate of the first transistor.
12. The circuitry of claim 11 wherein the chopping circuitry is further for alternatively connecting, in the first clock cycle phase, a drain of the first transistor to a first conductive path and a drain of the second transistor to a second conductive path and, in a second clock cycle phase following the first clock cycle phase, the drain of the first transistor to the second conductive path and the drain of the second transistor to the first conductive path.
13. The circuitry of claim 1: wherein the first capacitor has a capacitance equal to or greater than a gate-to-source capacitance of the first transistor; and wherein the second capacitor has a capacitance equal to or greater than a gate-to-source capacitance of the second transistor.
14. The circuitry of claim 1 wherein the transconductance circuit further comprises: a first current path, responsive to a first amount of current conducted by the first transistor, and comprising a first plurality of transistors and a first node for providing the output; and a second current path, responsive to a second amount of current conducted by the second transistor, and comprising a second plurality of transistors and a second node; and circuitry coupled to the second node for maintaining the second plurality of transistors in a saturation region of operation.
15. The circuitry of claim 14: wherein the first current path comprises a first p-channel transistor and a first n-channel transistor and the first node comprises a drain of the first p-channel transistor and a drain of the first n-channel transistor; and wherein the second current path comprises a second p-channel transistor and a second n-channel transistor and the second node comprises a drain of the second p-channel transistor and a drain of the second n-channel transistor.
16. The circuitry of claim 15 and further comprising: chopping circuitry for alternatively connecting, in the first clock cycle phase, a source of the first p-channel transistor to a second terminal of the first transistor and a source of the second p-channel transistor to a second terminal of the second transistor and, in the second clock cycle phase, the source of the first p-channel transistor to a second terminal of the second transistor the a source of the second p-channel transistor to a second terminal of the first transistor.
17. The circuitry of claim 1 wherein the first node comprises the first input and wherein the second node comprises the second input.
18. Circuitry for providing an oscillating output signal, comprising: a transconductance circuit having a first input, a second input, an output, and comprising: a first transistor; a second transistor; chopping circuitry for alternatively connecting, in a first clock cycle phase, a first node to a first terminal of the first transistor and a second node to a first terminal of the second transistor and, in a second clock cycle phase following the first clock cycle phase, the first node to the first terminal of the second transistor and the second node to the first terminal of the first transistor; a first current path, responsive to a first amount of current conducted by the first transistor, and comprising a first plurality of transistors and a first node for providing the output; and a second current path, responsive to a second amount of current conducted by the second transistor, and comprising a second plurality of transistors and a second node; and circuitry coupled to the second node for maintaining the second plurality of transistors in a saturation region of operation; an oscillator circuit coupled to receive voltage from the output of the transconductance circuit, wherein the oscillating output signal is responsive to an output of the oscillator circuit; circuitry for providing a first voltage to the first input of the transconductance circuit; and a frequency controlled circuit for providing a second voltage to the second input of the transconductance circuit.
19. A method of operating circuitry for providing an oscillating output signal, the circuitry comprising a transconductance circuit having a first input, a second input, an output, and comprising: a first transistor, wherein the first transistor comprises a first transistor in an input stage of the transconductance circuit; a second transistor, wherein the second transistor comprises a second transistor in the input stage of the transconductance circuit; a first capacitor connected from a gate of the first transistor to a drain of the second transistor; and a second capacitor connected from a gate of the second transistor to a drain of the first transistor; and the method comprising: alternatively connecting, in a first clock cycle phase, a first node to a first terminal of the first transistor and a second node to a first terminal of the second transistor and, in a second clock cycle phase following the first clock cycle phase, the first node to the first terminal of the second transistor and the second node to the first terminal of the first transistor; receiving a voltage from the output of the transconductance circuit by an oscillator circuit, wherein the oscillating output signal is responsive to an output of the oscillator circuit; providing a first voltage to the first input of the transconductance circuit; and providing a second voltage to the second input of the transconductance circuit from a frequency controlled circuit.
Description
BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWING
(1)
(2)
(3)
(4)
(5)
DETAILED DESCRIPTION OF EMBODIMENTS
(6)
(7) Looking to feedback frequency-controlled current source 110 in additional detail, it includes a supply voltage V.sub.DDLDO, which may be provided by a low dropout voltage source (e.g., regulator), which is well-known in the voltage supply art. The actual value of V.sub.DDLDO may be based on various considerations, where a contemporary value of 1.5 volts is representative. Supply voltage V.sub.DDLDO is connected to a first node of a switch S.sub.1, the second node of which is connected to a first node of a switch S.sub.2. The second node of switch S.sub.1 and first node of switch S.sub.2 are connected through a capacitor C.sub.F to a node 111, which is connected through a switch S.sub.3 to ground and through a switch S.sub.4 to V.sub.DDLDO. Capacitor C.sub.F is shown as variable because, as detailed below, in a preferred embodiment, capacitor C.sub.F may be implemented as a selectable capacitance, such as by a segmented capacitor array. Switch S.sub.1 (and switch S.sub.3) opens and closes in response to phase signal .sub.1 of CLKGEN 160, and switch S.sub.2 opens and closes in response to phase signal .sub.2 of CLKGEN 160 (and switch S.sub.4 opens and closes in response to a signal .sub.2.sub._.sub.del, which as detailed later is delayed in its start after the start of .sub.2). More particularly, since .sub.1 and .sub.2 are non-overlapping, then when switch S.sub.1 is closed, switch S.sub.2 is open, thereby providing charge to capacitor C.sub.F, and when switch S.sub.1 is open, switch S.sub.2 is closed, thereby moving charge from capacitor C.sub.F to node 122in these operations, therefore, a current I.sub.F is supplied by the switched capacitor configuration. This current, I.sub.F, is compared with resistance based current source 120 and, more particularly, this current passes I.sub.F through a resistor R.sub.F connected between ground and the first input (e.g., non-inverting) of transconductance circuit 130. In a preferred embodiment, resistor R.sub.F may be implemented as either an on-chip (i.e., integrated) or off-chip (i.e., discrete) resistor, or alternatively both may be implemented with each switchable so that in an on-chip mode the on-chip resistor is selected or in the off-chip mode the off-chip resistor is selected, based on various considerations. The selection of one resistor over the other may depend on temperature considerations, as implementing resistor R.sub.F as an off-circuit discrete element reduces or removes the temperature-dependence its resistance would have if it also were integrated with the circuit elements of oscillator 100; indeed, on-chip resistor temperature-dependence may be somewhat unpredictable. In any event, current I.sub.F passing through resistor R.sub.F creates the frequency-controlled voltage V.sub.inm. A capacitor C.sub.LPF is also connected between node 122 and ground. In a preferred embodiment, the capacitance of capacitor C.sub.LPF is selected so as to provide a low pass filter, or stated alternatively, to attenuate or connect any high frequency signals to ground. Such a capacitor is also sometimes referred to as a decoupling capacitor and, as detailed later, also reduces ripple effects arising from feedback frequency-controlled current source 110.
(8) Looking to voltage divider circuit 140 in more detail, it includes a resistor voltage divider with a first dividing resistor R.sub.D1 connected between V.sub.DDLDO and node 142 and a second dividing resistor R.sub.D2 connected between ground and node 142. Node 142 provides the output voltage V.sub.ref of voltage divider circuit 140 which, as discussed above, is connected to a second input (e.g., inverting) of transconductance circuit 130. A capacitor C.sub.CM is connected between node 142 and ground. Like capacitor C.sub.LPF described above, capacitor C.sub.CM is selected so as to provide a low pass filter, that is, to decouple high frequency signals to ground.
(9) Also in oscillator 100, in one preferred embodiment, a PTAT bias block 144 and current controls 146 and 148 may be used to adjust temperature coefficient and effects of capacitor C.sub.F, because in a preferred embodiment, this device (and for resistor R.sub.F when it is selected on-chip) is integrated with other circuit elements of oscillator 100. Due to this integration, the temperature dependence of such devices are more predictable and, therefore, PTAT bias block 144 and current controls 146 and 148 are included, so as to compensate either upward by sourcing current from control 148, or downward by sinking current from control 146, to counterbalance temperature dependence and thereby achieve improved oscillator performance.
(10) Transconductance circuit 130 is extensively detailed later, so by way of introduction at this point note it is constructed for converting a differential input voltage to a current. By way of example, therefore, the schematic includes an operational amplifier 132 with the above-mentioned non-inverting and inverting inputs, and as detailed later a preferred embodiment includes chopping structure and operation in operational amplifier 132 so as to support an RC oscillator supporting a wide frequency range (e.g., 11-53 MHz) having low drift with temperature variations. The analog output of operational amplifier 132 is connected to provide a control voltage V.sub.ctrl to the gate of a p-channel transistor 134. The source of p-channel transistor 134 is connected to V.sub.DDLDO, and the drain of p-channel transistor 134 provides the output of circuit 130, which as mentioned above is connected to ring oscillator 150. Circuit 130 also preferably includes a series connection of a resistor R.sub.Z and a capacitor C.sub.Z connected between V.sub.DDLDO and the gate of p-channel transistor 134. In a preferred embodiment, resistor R.sub.Z and a capacitor C.sub.Z create a zero into oscillator 100, in addition to dominant poles created by R.sub.F and C.sub.F, and another dominant pole at the amplifier output pole due to C.sub.z. There are non-dominant poles created by resistor R.sub.Z and various capacitances including parasitics, and as detailed later resistor R.sub.Z also is chosen with consideration to reducing ripple. As a result, therefore, oscillator 100 has a second order feedback so as to suppress potential DC errors.
(11) Ring oscillator 150 may be constructed using various configurations as known in the art. In general, ring oscillator 150 includes an odd number of cascaded inverters, with the last inverter in the cascade having an output for providing an oscillating signal that is fed back to the first inverter in the cascade, and the output is typically also connected to a buffer, which thereby provides the ultimate ring oscillator output. In this regard, therefore, an input signal state to the cascade will propagate through the odd number of inverters to appear at the cascade output in a state complementary to the state that was input to the first inverter in the cascade. With this feedback (i.e., the completion of the ring), such an oscillator will continue to toggle its output state back and forth, so long as the oscillator is provided a sufficient biasing power (i.e., voltage/current) from transconductance circuit 130.
(12) CLKGEN 160 may be constructed using various configurations as known in the art, using circuitry to provide the two non-overlapping phase signals, .sub.1 and .sub.2, from the single phase of the output clock signal, f.sub.CLKO. For reasons detailed below, CLKGEN 160 in a preferred embodiment also provides a delayed version of .sub.2, hereafter indicated as .sub.2.sub._.sub.del, which starts after a small delay following the start of .sub.2 and which ends when .sub.2 ends. As also discussed below, the delay between .sub.2 and .sub.2.sub._.sub.del is sufficient in duration to minimize a charge disturbance that otherwise could occur based on the changing of states of switches S.sub.1 and S.sub.2 as well as the movement of charge with respect to the capacitors that form capacitor C.sub.F, as further described below with respect to
(13) The operation of oscillator 100 is now described in general, followed by a more detailed analysis of various circuit attributes to enhance an understanding of novel aspects as well as favorable performance. Starting in general, at power-up, f.sub.CLKO initially is not operable so the switches S.sub.1 and S.sub.2 in feedback frequency-controlled current source 110 do not alternate open/closed, current I.sub.F is not created through resistance based current source 120, and the voltage V.sub.inm across resistor R.sub.F is low or zero. Voltage divider circuit 140, however, divides V.sub.DDLDO according to a ratio (based on the relative resistance of R.sub.D1 and R.sub.D2), so that V.sub.ref is an amount of voltage of times V.sub.DDLDO. Thus, initially the inverting input of operational amplifier 132 is greater than its non-inverting input, thereby driving the output operational amplifier 132 low, which is applied to the gate of p-channel transistor 134. P-channel transistor 134 is therefore enabled and supplies current to ring oscillator 150, which begins to oscillate and provides an output oscillating signal to produce the corresponding output clock signal, f.sub.CLKO, which begins to oscillate. In response to f.sub.CLKO, CLKGEN 160 begins to provide non-overlapping phase signals, .sub.1 and .sub.2, which are fed back to frequency-controlled current source 110. In response to this feedback, frequency-controlled current source 110 begins to provide current I.sub.F, so as to raise the voltage V.sub.inm across resistor R.sub.F, and that voltage V.sub.inm is input to the non-inverting input of amplifier 132. In other words, the combination of frequency-controlled current source 110 and resistance based current source 120 effectively provide a frequency-controlled voltage, V.sub.inm. Further, as is known, the closed loop feedback system will thereafter operate or stabilize toward establishing an equilibrium between the inverting and non-inverting inputs of amplifier 132, thereby adjusting the output of amplifier 132 and the current provided by transconductance circuit 130, so as to stabilize f.sub.CLKO at a steady-state frequency. One skilled in the art will understand that this steady-state frequency is therefore defined by the values of C.sub.F, R.sub.F, and , and it is independent of V.sub.DDLDO. Thus, one skilled in the art may select each of these three values so as to achieve a desired f.sub.CLKO. In other words, f.sub.CLKO responds to the capacitance of C.sub.F and R.sub.F, and the voltage divider a from the values of R.sub.D1 and R.sub.D2 provide an additional trim of f.sub.CLKO. Moreover, below are described additional aspects that may further improve the performance of oscillator 100, such as its insensitivity to temperature changes and various potential non-idealities.
(14)
(15) In operation, during signal phase .sub.1, the entire capacitance of C.sub.F is charged by V.sub.DDLDO, thereby providing a constant load capacitance (e.g., 0.55 fF) to the LDO during that phase irrespective of the 10-bit Tune signal. Note that this significantly and favorably relaxes the LDO load regulation specification. Moreover, the capacitor area reduces by 16 compared to the case where segmentation is not used. When signal phase .sub.2 starts, the switches S.sub.1 and S.sub.2 take the position shown in
(16) Given the preceding, the configuration of
(17) 1) Load capacitance for V.sub.DDLDO in phase .sub.1 is constant (0.55 fF) for all Tune codesthis significantly relaxes the LDO load regulation specification.
(18) 2) The capacitor area reduces by 16 compared to the case where segmentation is not used.
(19) Also in a preferred embodiment, oscillator 100 is constructed to operate in two frequency ranges. In the lower frequency range (e.g., 11 to 36 MHz), two identical capacitor arrays, such as illustrated in
(20) The general operation of controlled current source 110, given the programmable capacitor array of
I=C*V.sub.DDLDO*f.sub.CLKO(*C*(1)+(1)*C*)*V.sub.DDLDO*f.sub.CLKO Equation 1
Equating the results of Equation 1 to (V.sub.DDLDO)/R.sub.F provides the frequency f.sub.CLKO, as shown in the following Equation 2:
f.sub.CLKO=/(R.sub.F*C(1+)Equation 2
(21)
(22) Continuing with respect to other connections of n-channel transistors MN1 and MN2, the source of n-channel transistor MN1 is connected to the drain of an n-channel transistor MN3, which has its gate connected to receive a bias signal NBIAS and its drain connected to a node ND1, which preferably is connected to a low reference voltage (e.g., ground). The source of n-channel transistor MN2 is connected to the drain of an n-channel transistor MN4, which has its gate also connected to receive bias signal NBIAS and its drain connected to node ND1. A resistor Rd is connected between the sources of n-channel transistors MN1 and MN2. The drain of n-channel transistor MN1 is connected to a node ND2, and the drain of n-channel transistor MN2 is connected to a node ND3. In connection with a preferred embodiment, it is recognized that each of n-channel transistors MN1 and MN2 has a respective parasitic capacitance between its gate and its drain; for sake of discussion, therefore,
(23) Operational amplifier 132 also includes a p-channel transistor MP1 and a p-channel transistor MP2, both of which have a respective source connected to a node ND4, which is connected to receive the voltage V.sub.DDLDO. The gates of p-channel transistors MP1 and MP2 are connected to a node ND5. Each drain of p-channel transistors MP1 and MP2 is chopper connected to a respective source of a p-channel transistor MP3 and MP4, as shown by chopper connection enclosure CC2. Thus, for a first phase of a clock cycle of f.sub.CLKO, the drain of p-channel transistor MP1 is connected to the drain of p-channel transistor MP3 and the drain of p-channel transistor MP2 is connected to the drain of p-channel transistor MP4, while for a second successive phase following the first phase of that clock cycle, then the drain of p-channel transistor MP1 is connected to the drain of p-channel transistor MP4 and the drain of p-channel transistor MP2 is connected to the drain of p-channel transistor MP3, switching alternatively in this manner for each phase pair in each successive clock cycle. Also with respect to p-channel transistors MP3 and MP4, the gate of each device is connected to receive a p-channel transistor bias signal pcas. Further, the drain of p-channel transistor MP3 is connected to node ND5, and the drain of p-channel transistor MP4 is connected to a node ND6.
(24) Operational amplifier 132 also includes a p-channel transistor MPLoad1 and a p-channel transistor MPLoad2, both of which have a source connected to node ND4 and a gate connected to node ND6. The drain of p-channel transistor MPLoad1 is connected to node ND2, and the drain of p-channel transistor MPLoad2 is connected to node ND3. Each of p-channel transistor MPLoad1 and p-channel transistor MPLoad2 has a respective parasitic source-to-drain capacitance, again shown in phantom.
(25) Node ND2 is chopper connected to a source of a p-channel transistor MPcas1, and node ND3 is chopper connected to a source of a p-channel transistor MPcas2, as shown by a chopper connection enclosure CC3. Thus, for a first phase of a clock cycle of f.sub.CLKO, node ND2 is connected to the source of p-channel transistor MPcas1 and node ND3 is connected to the source of p-channel transistor MPcas2, while for a second phase in that same clock cycle following the first phase in that clock cycle, then node ND2 is connected to the source of p-channel transistor MPcas2 and node ND3 is connected to the source of p-channel transistor MPcas1, switching alternatively in this manner for each phase pair in each successive clock cycle. Further in this regard, note also that CC1 and CC3 are preferably switched together, that is, when CC1 is switched to the position shown in
(26) The drain of p-channel transistor MPcas1 is connected to a node ND7, and the drain of p-channel transistor MPcas2 is connected to a node ND8. An n-channel transistor MN5 has its drain connected to node ND6, its source connected to node ND7, its gate to V.sub.DDLDO, and a capacitor C5 between its drain and source.
(27) Node ND7 is also connected to a drain of an n-channel transistor MNcas1, and node ND8 is also connected to a drain of an n-channel transistor MNcas2. The gates of n-channel transistors MNcas1 and MNcas2 both are connected to receive an n-channel transistor bias ncas. The source of n-channel transistor MNcas1 is chopper connected to a drain of an n-channel transistor MNLoad1, and the source of n-channel transistor MNcas2 is chopper connected to a drain of an n-channel transistor MNLoad2, as shown by a chopper connection enclosure CC4. Thus, for a first phase of a clock cycle of f.sub.CLKO, the source of n-channel transistor MNcas1 is connected to a drain of n-channel transistor MNLoad1 and the source of n-channel transistor MNcas2 is connected to a drain of n-channel transistor MNLoad2, while for a second successive phase of that clock cycle following the first phase, then the source of n-channel transistor MNcas1 is connected to a drain of n-channel transistor MNLoad2 and the source of n-channel transistor MNcas2 is connected to a drain of n-channel transistor MNLoad1, switching alternatively in this manner for each phase pair in each successive clock cycle. The gates of n-channel transistors MNLoad1 and MNLoad2 are connected to receive NBIAS, and the sources of n-channel transistors MNLoad1 and MNLoad2 are connected to node ND1.
(28) Operational amplifier 132 also includes a current mirroring configuration that includes an n-channel transistor MNmirr1 and an n-channel transistor MNmirr2, both of which have a respective source connected to node ND1 and a gate connected to receive NBIAS. Each of n-channel transistor MNmirr1 and n-channel transistor MNmirr2 also has a respective parasitic source-to-drain capacitance, again shown in phantom. The drain of n-channel transistor MNmirr1 is chopper connected to a source of an n-channel transistor MN6, and the drain of n-channel transistor MNmirr2 is chopper connected to a source of an n-channel transistor MN7, as shown by a chopper connection enclosure CC5. Thus, for a first phase of a clock cycle of f.sub.CLKO, the drain of n-channel transistor MNmirr1 is connected the source of re-channel transistor MN6 and the drain of n-channel transistor MNmirr2 is connected to the source of n-channel transistor MN7, while for a second successive phase in that clock cycle following the first phase, then the drain of n-channel transistor MNmirr1 is connected the source of n-channel transistor MN7 and the drain of re-channel transistor MNmirr2 is connected to the source of n-channel transistor MN6, switching alternatively in this manner for each phase pair in each successive clock cycle.
(29) The operation of operational amplifier 132 in general should be understood given the preceding and the skill in the artgenerally, initially the inverting input of operational amplifier 132 is greater than its non-inverting input, thereby causing n-channel transistor MN2 to conduct considerably more current than n-channel transistor MN1, and with the current path of n-channel transistor MN2 thereby also including p-channel transistor MPLoad2, causing Vctrl at node ND8, that is the output of operational amplifier 132, to go low which, as described earlier, causes p-channel transistor 134 to conduct current to ring oscillator 150. In more detail, p-channel transistors MPLoad1 and MPLoad2 source current to nodes ND2 and ND3, respectively. As a result, the sourced current from p-channel transistor MPLoad1 splits between the source-to-drain path of n-channel transistor MN1 and the source-to-drain path of n-channel transistor MNLoad1, while the sourced current from p-channel transistor MPLoad2 splits between the source-to-drain path of re-channel transistor MN2 and the source-to-drain path of n-channel transistor MNLoad2. The amount of split for each of these paths will depend on the differential signal between V.sub.inm and V.sub.ref, thereby ultimately adjusting the signal at node ND8, that is, supplying Vctrl and thereby biasing the gate of a p-channel transistor 134, which in turn supplies current to ring oscillator 150 so as to increase f.sub.CLKO with the increase of supplied current. Similarly, if frequency f.sub.CLKO is initially too high, then V.sub.inm will exceed V.sub.ref and n-channel transistor MN1 will conduct more current than n-channel transistor MN2, in which case Vctrl will rise and reduce the current provided by p-channel transistor 134, thereby reducing f.sub.CLKO. Thus, ultimately with the feedback described earlier in connection with
(30) Also in connection with operational amplifier 132, note that p-channel transistors MP1 and MP2, n-channel transistors MNmir1 and MNmir2, and re-channel transistor MN5 are used to provide a level shifter loop for biasing node ND7. Particularly, n-channel transistor MN5 level shifts node ND7 by V.sub.DDLDO minus the gate-to-source voltage across n-channel transistor MN5, with capacitor C5 across its source to drain used for compensation of this loop. In this manner, note that n-channel transistor MN5 maintains a relatively stable voltage at node ND7, relative to the node ND8 voltage of Vctrl, thereby also maintaining a proper margin to maintain p-channel transistor MPcas1 and n-channel transistor MNcas1 in proper operation, that is, keeping those devices in their respective saturation regions, and thereby preventing those devices from operating in their respective linear regionsin this manner, the difference (vd) between the source nodes of the p-channel transistor pair MPcas1 and MPcas2, and between the source nodes of the n-channel transistor pair MNcas1 and MNcas2, is kept relatively low, so as to also contribute to reducing frequency error.
(31) Note also with respect to the preferred embodiment that the temperature coefficient (TC) of the output frequency f.sub.CLKO, besides being dependent on the variations in R and C, is also affected by the TC of the amplifier's input referred offset. Silicon results show that, when chopping is disabled, the output clock f.sub.CLKO has +/100 ppm/ C. variation in off-chip R (Zero TC) mode. This varies from device to device due to temperature drift of random offset of the amplifier. The preferred embodiment implementation of chopping, therefore, reduces or eliminates the effect of offset drift.
(32) While chopping provides the benefits stated above, note also that non-idealities in chopping may cause degradation. Specifically, in the preferred embodiment, f.sub.CLKO may be as high as 53 MHz, and as noted above chopping is used for various transistor pairs, which thereby modulates static mismatch errors to chopping frequency. The effectiveness of chopping, however, is limited by the parasitic capacitances Cpar at the drain of the chopped devices, and recall the chopper switches connect the drain nodes alternatively to two source terminals of the cascode transistors (or, in the case on the input n-channel transistor pair MN1 and MN2, the gates are also chopped to restore the negative feedback loop of the overall loop because the drain terminals are also chopped). Any systematic voltage difference (vd) between the source nodes of a cascode pair will get converted by the parasitic cap as a dc error current. This gets divided by the gain (g.sub.min) of the input pair and appears as input referred residual offset (V.sub.os) given by the following Equation 3:
V.sub.os=Cpar*vd*(f.sub.CLKO/2)/g.sub.minEquation 3
where in Equation 3, Cpar is the sum of all the parasitic capacitance associated with that cascode node where the chopper switches are in operation.
(33) V.sub.os/V.sub.DDLDO changes in Equation 2, thereby changing the output frequency. To minimize temperature drift in frequency, variation of vd with temperature needs to be minimized. This requires 1) high gain from the cascode to minimize the variation of vd as Vctrl changes with temperature 2) the gate of MPLoad1 in
(34) V.sub.os can also be minimized by increasing gain g.sub.min. The maximum value of g.sub.min, however, is limited by the amount of voltage ripple at Vctrl. Ripple leads to frequency modulation, resulting in duty cycle degradation of f.sub.CLKO (including after divide by two). The input pair MN1/MN2 is degenerated by resistor Rd to limit the amount of ripple current and Rz is kept to a lowest possible value without affecting stability. The duty cycle degradation of <+/2% is achieved by proper choice of resistors Rd and Rz.
(35) The preferred embodiment operation of operational amplifier 132 as shown in
(36) Further to the above,
(37) From the above, various embodiments provide numerous improvements to integrated circuit oscillators. Such benefits include the use of chopping in a high frequency oscillator, thereby enabling lower chip area and reducing cost, and further including cross-coupled amplifier input stage capacitors to inject charges to counteract the undesirable charge injections that may be provided by the chopped input pair, thereby improving loop recovery. The low area chopper based implementation therefore makes feasible very high output frequencies, such as 50 MHz or above. Moreover, with the reduced possibility of the loop becoming stuck or undesirably delaying recovery, startup may occur rapidly by pre-charging the oscillator with less possibility of undesirable sticking or lockup. As yet another benefit, various embodiments permit additional trimming of the oscillator output frequency via a capacitor array and either on on-chip or off-chip resistance. Still further, frequency accuracy in response to changes in temperature is improved over the prior art. In implementing the present teachings, a 9-bit linear RC oscillator supporting a wide frequency range of 11-53 MHz may be implemented, with DNL of <+/0.8 LSB achieved at 9 bit level of frequency tuning. Frequency stability is +/25-ppm/deg C. for the temperature range between 40 to 85 deg C. in off-chip resistor mode. Further, the oscillator may be implemented in a 90 nm CMOS process technology, occupying 0.1 mm.sub.2 area and consuming 5 A/MHz. Yet still further, while one preferred embodiment implements oscillator 100 into a microcontroller, related preferred embodiment devices such as microprocessors, digital signal processors, and other devices that incorporate the inventive oscillator may be readily developed or ascertained by one skilled in the art. Various aspects have been described, and still others will be ascertainable by one skilled in the art from the present teachings. Given the preceding, therefore, one skilled in the art should further appreciate that while some embodiments have been described in detail, various substitutions, modifications or alterations can be made to the descriptions set forth above without departing from the inventive scope, as is defined by the following claims.