This invention relates to relaxation oscillators, particularly those suited to applications where fast switching, low noise and low current consumption is of importance.
Relaxation oscillators, usually implemented with a feedback loop and a switching device (e.g. a comparator or a relay), generate a periodic output signal. These devices produce a non-linear output signal such as a square wave. The principle is that the feedback loop and switching device are used to charge an energy storage device such as a capacitor or an inductor to a threshold level, before discharging it and repeating the charging and discharging cycle. The charging and discharging behaviour produces a periodic, discontinuous waveform that can then be taken as an output.
There are often trade-offs between current consumption and switching speed, and between current consumption and noise in conventional relaxation oscillators. Maintaining a fast switching speed and low noise are important for low jitter operation of a relaxation oscillator (i.e. with only small deviations from the desired frequency) yet typically require higher currents. This conflicts with the requirements of modern battery powered devices, where reducing current consumption is very important. The present invention aims to address this problem.
From a first aspect, the present invention provides a relaxation oscillator comprising:
It will be seen by those skilled in the art that in accordance with the invention a relaxation oscillator can be operated at a first, low static current when charging the energy storage device, before enabling a second, dynamic high current source before the comparator triggers the charging or discharging. This temporarily higher current can advantageously provide more accurate timing, reduce the effect of noise and have lower overall current consumption when compared to conventional relaxation oscillators.
The invention may be implemented with a single energy storage component, However in a set of embodiments a plurality of energy storage components is provided—e.g. two. In such embodiments the output signal may be used to switch between energy storage components so that one may be charging whilst another is discharging. This allows for higher frequency outputs.
The static or dynamic current sources may take any form that is known per se in the art. However, in a set of embodiments, either or both of the current sources is a current mirror. The Applicant has appreciated that it is particularly advantageous to use current mirrors in this context as they are power efficient, and will give a more accurate output frequency, wherein the output frequency is proportional to the current divided by the capacitance.
In a set of embodiments the oscillator is arranged to use a voltage across the energy storage component(s) to enable the dynamic current source. This may facilitate the dynamic current source being enabled just prior to the triggering of the charging/discharging, or switching between energy storage components where a plurality is provided. In a set of embodiments the dynamic current source comprises at least one switching transistor arranged to enable and disable the dynamic current source. In a set of embodiments a gate lead of said switching transistor is connected to the energy storage component. Where a plurality of energy storage components is provided separate switching transistors may be provided, each of which may have a gate lead connected to a respective energy storage component. Providing a transistor with its gate connected to the energy storage device and its source lead connected such that it enables or disables the dynamic current source, may advantageously cause the dynamic current source to switch on at a time just before the comparator triggers any charging or discharging.
There are a number of different transistor technologies that are available for the fabrication of semiconductor devices. However, for low power applications, field effect transistors (FETs) are the most suitable technology due to their low current operating requirements. In a set of embodiments therefore the differential pair and/or the switching transistor(s) comprise field effect transistors.
The invention may be implemented using any energy storage component that is known per se in the art. Preferably however, the or each energy storage component comprises a capacitor. Capacitors are particularly well suited for use in applications where switching speed and power consumption are important.
The output signal from the comparator can be used to control which of a plurality of energy storage components is being charged at any given moment. In some sets of embodiments the relaxation oscillator comprises an energy storage charging control module, which switches between the energy storage components when an appropriate signal is received from the comparator.
When viewed from a second aspect, the invention provides a battery powered integrated circuit comprising a relaxation oscillator as described above.
An embodiment of the present invention will now be described, by way of example only, with reference to the accompanying drawings, in which:
The comparator 4 is a three input comparator wherein the three inputs are the capacitor voltages 20, 22 and a reference voltage 24. The comparator produces an output signal 26 that is taken as an input by the charging control module 6. The charging control module produces two actuation signals 28, 30 that control the switches 10, 12, 16, 18.
A first current source 32 produces a constant current through a fixed resistor 34, which due to Ohm's law produces a fixed potential difference across the resistor 34. This potential difference is taken as the voltage reference 24 that is then used as one of the inputs to the comparator 4 as outlined above.
A second current source 36 produces a constant current that is used to charge either the first capacitor 8 or the second capacitor 14, depending on the state of the circuit and which of the switches 10, 12, 16, 18 are closed at any given time.
The comparator 4 compares the two capacitor voltages 20, 22 to the reference voltage 24, and determines if either one of the two capacitor voltages 20, 22 is greater than the reference voltage 24. If one of the capacitor voltages 20, 22 exceeds the reference voltage 24, the output voltage 26 is set to logic high; else it remains at logic low.
The charging control module 6 is arranged so that at any given time one of the first actuation signal 28 and the second actuation signal 30 is high and the other is low. The control module 6 monitors the output signal 26 and whenever a positive edge arises on it, the charging control module 6 swaps which one of the signals 28, 30 is high and which one is low.
When the first actuation signal 28 goes high, the first switch pair 10, 12 is closed and the second switch pair 16, 18 is opened, connecting the first capacitor 8 to the second current source 36, and short-circuiting the second capacitor 14. When the second actuation signal 30 goes high, the first switch pair 10, 12 is opened and the second switch pair 16, 18 is closed, connecting the second capacitor 14 to the second current source 36, and short-circuiting the first capacitor 8.
Basic operation of the oscillator will now be described with reference to
Once the second capacitor voltage 22 exceeds the reference voltage 24, the comparator output signal 26 changes to logic high. Subsequently, the charging control unit 6 detects the logic high on the output signal 26, changes the state of the two switch pairs 10, 12, 16, 18 such that the first capacitor 8 begins to charge and the second capacitor 14 discharges. As a result, the first capacitor voltage 20 begins to rise, while the second capacitor voltage 22 rapidly declines. Once the second capacitor voltage 22 no longer exceeds the reference voltage 24, the comparator output voltage 26 changes back to logic low.
The cycle continues, with each capacitor 8, 14 charging until it exceeds the reference voltage 24 before the output signal 26 is pulsed high and the roles of the capacitors swap. This repetitive pattern of charging and discharging cycles gives rise to a periodic, non-linear output signal 26.
The comparator of
The differential pair comprising the capacitor- and reference-connected transistors 140, 142, 144 is arranged as a long tailed pair. The tail of the long tailed pair that provides a bias current is provided in this arrangement by the tail transistor 150. This tail transistor 150 provides a constant, static current source for the operation of the differential pair.
A single sided output is taken from the differential pair and connected to the gate lead of a PMOS transistor 152 that forms a push-pull output stage with an NMOS transistor 154. This push-pull output stage causes the comparator output signal 126 to saturate to logic high or logic low at all times, depending on the single sided output from the differential pair at any given time.
Two NMOS dynamic current source transistors 60, 62 are arranged in parallel with their respective source and drain leads connected together, with the drain leads further connected to the source leads of the differential pair transistors 40, 42, 44, and the source leads of the dynamic current source transistors 60, 62 connected to the second tail transistor 64. The gate leads of the dynamic current source transistors 60, 62 are each connected to the first and second capacitor voltages 20, 22 respectively.
This advantageous arrangement allows for a second dynamic current source, comprising the dynamic current source transistors 60, 62 and the second tail transistor 64, to be selectively enabled and disabled to provide additional current to the differential pair when required. When either one of the capacitor voltages 20, 22 is sufficiently high, the respective dynamic current source transistor 60, 62 will be switched on and connect the differential pair to the additional tail transistor 64 that provides additional current just before the comparator will change the output signal 26 to a logic high. This ensures a clean pulse with accurate timing and reduces the effect of noise, while maintaining low average power consumption.
Thus it will be seen that a relaxation oscillator particularly suited to applications where timing, noise and power considerations are particularly important has been described. Although a particular embodiment has been described in detail, many variations and modifications are possible within the scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
1422713.6 | Dec 2014 | GB | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/GB2015/053863 | 12/11/2015 | WO | 00 |