Low power electronic oscillator
By introducing bias current circuits and electronic switches into the relaxation oscillator to store and regenerate internal voltage values, the problem of relaxation oscillator restart delay and current consumption is solved, and fast and accurate clock output and low power consumption is achieved. .
Patent Information
- Application Number
- CN202080096214.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-12-11
- Filing Date
- 2020-12-11
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2040-12-11
AI Technical Summary
Existing relaxation oscillators require significant stabilization time after restart to provide accurate clock signals, increasing power-on time and limiting the chance of clock power-down, especially in power-sensitive applications.
An oscillator device is designed, including a relaxation oscillator with active and inactive states, a bias current circuit and an electronic switch to generate bias by storing internal voltage values in an inactive state and using these values at restart. Set current and reference voltage for fast start-up and accurate clock output.
The device allows the relaxation oscillator to restart quickly, providing accurate clock signals without the need for stable time delays in traditional devices, and consumes extremely low or no current in inactive states, saving power.
Smart Images

Figure CN115104257B_ABST
Abstract
Description
[0001] The present invention relates to electronic oscillators, particularly but not exclusively for use in low power integrated circuits, such as those comprising radio transceivers.
[0002] Many electronic circuits require a clock source. While for many purposes this would be a high frequency crystal oscillator, such a high frequency crystal oscillator consumes a large amount of current. Therefore, for power sensitive applications, it may be desirable to use a relatively low power, lower frequency clock source additionally or alternatively to implement some timing functions. An example of such a clock source is a relaxation oscillator circuit. In many cases, the use of a fully integrated relaxation oscillator circuit is preferred over the use of a crystal because it does not occupy chip pins and avoids the need for external components. It is also much cheaper than a crystal and can have a low current consumption similar to a crystal oscillator.
[0003] However, while the relaxation oscillator can have relatively low power requirements, it still makes a significant contribution to the current consumption in the integrated circuit. Ideally, any clock source should be powered down when not needed, but in practice this may not always be practical because the relaxation oscillator typically has a significant "settling time" after it is restarted before it can provide an accurate clock signal. This increases the amount of time it must be powered up, and can also limit the number of opportunities to power down the clock if it is likely to be needed again soon.
[0004] The present invention seeks to address the above problems and, when viewed from a first aspect, provides an oscillator device comprising:
[0005] a relaxation oscillator having an active state and an inactive state;
[0006] a bias current circuit portion arranged to provide a bias current to the relaxation oscillator during the active state; and
[0007] an electronic switch arranged to isolate the relaxation oscillator from the bias current circuit portion when in the inactive state;
[0008] wherein the oscillator arrangement is arranged to store an internal voltage value associated with the bias current, and the bias current circuit portion is arranged to use the stored internal voltage value to generate the bias current when the oscillator is started from the inactive state to the active state.
[0009] The invention extends to a method of operating an oscillator arrangement comprising a relaxation oscillator having an active state and an inactive state, a bias current circuit portion and an electronic switch, the method comprising:
[0010] The bias current circuit portion provides a bias current to the relaxation oscillator during the active state;
[0011] the oscillator changes to the inactive state;
[0012] The electronic switch partially isolates the relaxation oscillator from the bias current circuit;
[0013] storing an internal voltage value associated with the bias current; and
[0014] The bias current circuit portion uses the stored internal voltage value to generate the bias current when the oscillator starts up from the inactive state to the active state.
[0015] The invention also extends to an integrated circuit comprising an oscillator device as described above.
[0016] Thus, those skilled in the art will appreciate that, in accordance with the present invention, the relaxation oscillator may be started using a bias current generated from a value stored by the bias current circuit portion when the relaxation oscillator was previously operating. Such an arrangement may advantageously allow rapid start-up of the relaxation oscillator to provide an accurate clock output signal without the stabilization time required in conventional arrangements, since an accurate bias circuit may be provided directly. This may be the case even if the inactive state consumes very little or no current when the oscillator is not operating in that state.
[0017] Although other arrangements are contemplated, in one set of embodiments, the bias current circuit portion comprises a transistor through which the bias current is passed. In one set of such embodiments, the transistor comprises a field effect transistor (FET) comprising a gate; and the internal voltage value comprises a voltage value at the gate. Preferably, the voltage value is stored in a capacitor connected to the gate. The skilled person will appreciate that such a capacitor will provide additional capacitance to the inherent gate capacitance of the transistor. The gate voltage may be stored in a capacitor connected to the fixed voltage (e.g., ground). Such an arrangement may allow the bias current through the transistor to be quickly reestablished when the switch is closed, which will allow the correct gate-source voltage to be quickly reestablished.
[0018] In one set of embodiments, the oscillator arrangement further comprises a reference voltage circuit portion arranged to provide a reference voltage to the relaxation oscillator during the active state. In one set of such embodiments, the reference voltage circuit portion is arranged to store a second internal voltage value associated with the reference voltage, and to use the stored second internal voltage value to generate the reference voltage when the oscillator is started up from the inactive state to the active state. The second internal voltage value may be the reference voltage itself, but this is not necessary. According to such embodiments, a further improvement in the start-up speed and accuracy of the oscillator may be achieved when starting up from the inactive state, since an accurate reference voltage may be provided directly to the relaxation oscillator.
[0019] In one set of embodiments, the reference voltage circuit portion comprises a differential amplifier arranged to control the bias current circuit portion - for example by driving the gate of the FET thereof (if provided). In one set of such embodiments, the differential amplifier is configured to receive an external voltage reference at its first input and to receive at its second input a voltage value resulting from the bias current through a bias resistor or resistor network.
[0020] The electronic switches mentioned above help to reduce the current consumption of the oscillator device during the inactive state. In one set of embodiments, one or more further electronic switches are arranged to stop current flow during the inactive state in one or more of the following locations (if provided): between a power supply rail and the relaxation oscillator; between the transistor of the bias current circuit part and the power supply rail; between the differential amplifier and the power supply rail; between the differential amplifier and the transistor of the bias current circuit part; between the differential amplifier and a voltage reference source external to the oscillator device; and between a bias current source and the differential amplifier.
[0021] The present invention can be applied to any suitable relaxation oscillator. The output of the relaxation oscillator can be used to provide a clock signal for any suitable downstream circuit part, such as a charge pump, a DC-DC converter or any synchronous digital design that requires a clock, which can be stopped for power consumption optimization. The present invention will typically be implemented on a battery-powered integrated circuit, but this is not necessary.
[0022] Embodiments of the invention will now be described, by way of example only, with reference to the accompanying drawings, in which:
[0023] Figure 1 is a schematic circuit diagram of an oscillator device according to the present invention;
[0024] Figure 2 yes Figure 1 A more detailed schematic circuit diagram of a relaxation oscillator;
[0025] Figure 3 Is a description Figure 1 A flowchart of the operation of the circuit;
[0026] Figure 4 are output traces of various signals in a typical prior art relaxation oscillator arrangement; and
[0027] Figure 5 is the output trace of the same signal in an oscillator arrangement according to the invention.
[0028] Figure 1 An oscillator arrangement embodying the invention is shown. This may be provided, for example, as a clock source for a module forming part of a radio transceiver system-on-chip (SoC). At the heart of the arrangement is an oscillator arrangement which is shown schematically here but is not shown in FIG. Figure 2 2 shows a relaxation oscillator 2 in more detail. The oscillator 2 is connected to a positive voltage rail VDD by means of an electronic switch 4 (typically a transistor), and to ground via another electronic switch 6. Although the analog circuitry inside the oscillator 2 is set to a "floating" mode, the logic gates are connected to ground. The oscillator 2 provides a clock output 7, which is used by circuits requiring a clock source.
[0029] The oscillator 2 has an input 8 for an oscillator reference voltage and another input 10 for an "enable" signal. The "enable" signal may come from, for example, a central processing unit or a power and clock gate management system (not shown). Also connected to the oscillator 2 by another electronic switch 12 is a bias current sink 14 provided by a bias current circuit portion 16, which in turn is connected to ground by another electronic switch 18.
[0030] The bias current circuit portion 16 comprises an NMOS transistor 20 having its drain connected to the oscillator 2 and its source connected to a resistor 22 which is connected to the ground isolation switch 18. A capacitor 24 is connected between the gate of the transistor 20 and ground, the purpose of which will be explained later.
[0031] The gate of the bias current transistor 20 is also connected to a single-ended differential amplifier 28 - for example, the output of an operational amplifier - via a further electronic switch 26. The differential amplifier 28 is connected to VDD and ground respectively via two further electronic switches 30, 32. A very small bias current (on the order of a few nanoamperes) is provided by a current source 34 (which may be external to the oscillator device) via another electronic switch 36. The inverting input of the differential amplifier 28 is connected to the source of the bias current transistor 20, and the non-inverting input is connected to the voltage reference input 8 of the oscillator 2. However, this is not required: the operational amplifier positive input sampling voltage and the oscillator sampling reference voltage may be different. In this case, additional switches and capacitors may be provided.
[0032] These are connected to an external voltage reference (not shown) via a final electronic switch 38. A second capacitor 40 is provided between the non-inverting input and ground, the purpose of which will again be explained later.
[0033] Figure 2 shows further details of a typical relaxation oscillator 2, which can be used with Figure 1 8, however other types may be used. The operation of the relaxation oscillator will be familiar to those skilled in the art and will therefore not be described in detail here except that it should be noted that it is based on a differential comparator 42 and that the common mode voltage for it is provided by a reference voltage 8. Inverters 44, 46 providing the inputs of comparator 42 are biased by bias current 14. Although not shown, an "enable" signal 10 is used to drive one of the input capacitors on the differential comparator 42 high and one low to stop oscillations, as described below.
[0034] Now further reference will be made to Figure 3 To describe Figure 1 Operation of the circuit begins at step 50 with the oscillator 2 in its normal active state. In this state, the "enable" signal is high, which means that all electronic switches 4, 6, 12, 18, 26, 30, 32, 36, 38 are closed. The bias current circuit 16 therefore provides the bias current 14 to the oscillator 2. The differential amplifier 28 drives the bias transistor 20 to set the bias current to a value determined by the reference voltage 8 divided by the value of the bias resistor 22. By providing a stable, accurate bias current and reference voltage to the oscillator 16, the clock output signal from the oscillator will be stable and accurate.
[0035] At step 52, when it is desired to power down the oscillator 2, for example because the clock signal 7 is not needed temporarily, the "enable" signal is driven low, which stops the operation of the oscillator 2 by driving one of the differential comparator input capacitors high and one low. The internal nodes of the differential comparator 42 are allowed to float and its output voltage is forced into such a state that the oscillator output is in a known state. When re-enabled, the oscillator will therefore continue from this known stopped state.
[0036] It also turns off all electronic switches 4, 6, 12, 18, 26, 30, 32, 36, 38 (step 54). This immediately stops any current flowing through the oscillator 2, the bias current circuit part 16 and the differential amplifier 28, and thus causes the oscillator 2 to enter a completely inactive state and the entire circuit consumes no current at all (step 56). However, in this state, the capacitors 24, 40 remain charged to the voltage to which they were charged immediately before the oscillator 2 was turned off, and thus they effectively act to store the gate voltage of the bias current transistor and the reference voltage, respectively. Since the capacitors 24, 40 are completely disconnected and have extremely low self-leakage, these values can be effectively maintained throughout the period that the oscillator is turned off.
[0037] When it is necessary to restart the oscillator 2, the "enable" signal is set high (step 58) and all switches 4, 6, 12, 18, 26, 30, 32, 36, 38 are closed (step 60). The relaxation oscillator 2 will thus be restarted. However, since the previous gate voltage of the bias current transistor 20 is stored in the capacitor 20 of the bias current circuit part, the correct level of the bias current is effectively restored immediately.
[0038] Similarly, because the reference voltage is stored in the other capacitor 40, the correct level of the reference voltage is effectively restored immediately. This means that the oscillator 2 can return to its active state at step 62 and will produce a stable and accurate clock signal 7 as soon as it is started (e.g., within nanoseconds). This is in contrast to a conventional relaxation oscillator which has a significant start-up delay before the signal it produces is accurate and stable. This Figure 4 and Figure 5 More clearly shown in .
[0039] Figure 4 shows the operation of a typical conventional relaxation oscillator, which does not include Figure 1The capacitors 24, 40 or electronic switches shown. The top trace 64 shows the "enable" signal used to turn the oscillator on and off. The next trace 66 shows the voltage reference value. The third trace 68 shows the oscillator bias current, and the fourth trace 70 shows the clock output signal. As will be noted, when the "enable" signal 64 goes high, the voltage reference value 66 and the oscillator bias current 68 begin to rise, but only asymptotically approach their final values when the oscillator stabilizes. This results in a significant delay period 72 after the "enable" signal 64 goes high, during which delay period 72 no clock signal 70 is output because it is unstable.
[0040] In contrast, Figure 5 The corresponding traces for an oscillator arrangement according to the invention are shown - for example, Figure 1 As can be seen, as soon as the "enable" signal 64' goes high, the voltage reference value 66' and the oscillator bias current 68' directly reach their stable values, which means that the clock signal 70' can be effectively provided immediately. This enables power to be saved because the oscillator does not need to be powered on during the start-up delay. This also makes it feasible to shut down the oscillator for a shorter period of time.
[0041] Those skilled in the art will appreciate that the foregoing provides only one particular example of how the invention may be implemented and that many variations and modifications are possible within the scope of the invention.
Claims
1. An oscillator device, comprising: a relaxation oscillator having an active state and an inactive state; a bias current circuit portion arranged to provide a bias current to the relaxation oscillator during the active state; a reference voltage circuit portion arranged to provide a reference voltage to the relaxation oscillator during the active state; as well as an electronic switch arranged to isolate the relaxation oscillator from the bias current circuit portion when in the inactive state; wherein the oscillator arrangement is arranged to store an internal voltage value associated with the bias current, and the bias current circuit portion is arranged to use the stored internal voltage value to generate the bias current when the relaxation oscillator is started up from the inactive state to the active state; Wherein the reference voltage circuit portion comprises a differential amplifier arranged to control the bias current circuit portion. 2 . The oscillator device according to claim 1 , wherein the bias current circuit portion includes a transistor that passes the bias current. 3 . The oscillator device of claim 2 , wherein the transistor comprises a field effect transistor, the field effect transistor comprises a gate, and the internal voltage value comprises a voltage value at the gate.
4. The oscillator device of claim 3, wherein the voltage value is stored in a capacitor connected to the gate.
5. An oscillator arrangement according to claim 1 , wherein the reference voltage circuit portion is arranged to store a second internal voltage value associated with the reference voltage, and to generate the reference voltage using the stored second internal voltage value when the relaxation oscillator is started from the inactive state to the active state.
6. An oscillator arrangement according to claim 1, wherein the differential amplifier is configured to receive an external voltage reference at a first input thereof and to receive a voltage value resulting from the bias current through a bias resistor or resistor network at a second input thereof.
7. An oscillator device according to claim 2, comprising one or more additional electronic switches, which are arranged to stop current flow during the inactive state in one or more of the following positions: between a power supply rail and the relaxation oscillator; between the transistor of the bias current circuit part and the power supply rail; between the differential amplifier and the power supply rail; between the differential amplifier and the transistor of the bias current circuit part; between the differential amplifier and a voltage reference source external to the oscillator device; and between a bias current source and the differential amplifier.
8. An integrated circuit comprising an oscillator device as claimed in claim 1, 2, 3 or 4.
9. A method of operating an oscillator device, the oscillator device comprising a relaxation oscillator having an active state and an inactive state, a bias current circuit portion, a reference voltage circuit portion including a differential amplifier, and an electronic switch, the method comprising: The bias current circuit portion provides a bias current to the relaxation oscillator during the active state; The reference voltage circuit portion provides a reference voltage to the relaxation oscillator during the active state; the relaxation oscillator changes to the inactive state; The electronic switch partially isolates the relaxation oscillator from the bias current circuit; storing an internal voltage value associated with the bias current; the bias current circuit portion using the stored internal voltage value to generate the bias current when the relaxation oscillator starts up from the inactive state to the active state; as well as The bias current circuit portion is controlled by the differential amplifier.
10. The method of claim 9, wherein the bias current circuit portion comprises a transistor that passes the bias current. 11 . The method of claim 10 , wherein the transistor comprises a field effect transistor, the field effect transistor comprises a gate, and the internal voltage value comprises a voltage value at the gate.
12. The method of claim 11, comprising storing the voltage value in a capacitor connected to the gate.
13. The method of claim 9, comprising the reference voltage circuit portion storing a second internal voltage value associated with the reference voltage, and using the stored second internal voltage value to generate the reference voltage when the relaxation oscillator is started from the inactive state to the active state.
14. The method of claim 9, comprising the differential amplifier receiving an external voltage reference at a first input thereof and receiving at a second input thereof a voltage value resulting from the bias current through a bias resistor or resistor network.
15. The method of claim 10, comprising one or more additional electronic switches stopping current flow during the inactive state in one or more of the following locations: between a power rail and the relaxation oscillator; between the transistor of the bias current circuit portion and a power rail; between the differential amplifier and a power rail; between the differential amplifier and the transistor of the bias current circuit portion; between the differential amplifier and a voltage reference source external to the oscillator device; and between the bias current source and the differential amplifier.
