Electronic circuits comprising voltage detectors

11467196 · 2022-10-11

Assignee

Inventors

Cpc classification

International classification

Abstract

An electronic circuit for detecting a change in a property of interest, the circuit comprising a voltage detector having an input and a device for providing a bias current to the input of the voltage detector, wherein the circuit is arranged such that a change in the property of interest modifies the current received at the input of the voltage detector. A change in the property of interest may modify the current by adding or subtracting a current to the bias current. The property of interest may be a signal which is combined with the bias current thereby to alter the current at the input of the voltage detector. The signal may be capacitively coupled into the bias current. The signal may be provided by a sensor, which may be a voltage generating sensor and could be an antenna, rectenna, microphone or any other suitable sensor.

Claims

1. An electronic circuit for detecting a change in an input current, the electronic circuit comprising: a voltage detector having an input for receiving the input current, wherein the voltage detector is powered substantially or exclusively via the input, a pull up device for providing a bias current to the input of the voltage detector, the bias current being a leakage current, and a sensor for controlling the input current, wherein: a. the circuit is arranged such that the change in the input current modifies a total current received at the input of the voltage detector; b. the bias current is a positive current; c. the pull up device is a resistive component connecting a voltage to the input of the voltage detector; d. an impedance of the sensor, or an impedance of a medium the sensor is arranged to monitor, is operable to change with a sensed property; and e. the sensor is connected between the input of the voltage detector and ground or a common reference.

2. The electronic circuit as claimed in claim 1 wherein a change in the property of interest modifies the total current by adding or subtracting the input current to the bias current.

3. The electronic circuit as claimed in claim 1 wherein the property of interest is a signal which is combined with the bias current thereby to alter the current at the input of the voltage detector.

4. The electronic circuit as claimed in claim 3 wherein the signal is capacitively coupled into the bias current.

5. The electronic circuit as claimed in claim 3 wherein the signal is provided by a sensor.

6. The electronic circuit as claimed in claim 5 wherein the sensor is a voltage generating sensor.

7. The electronic circuit as claimed in claim 5 wherein the sensor is an antenna, rectenna or microphone.

8. The electronic circuit as claimed in claim 1 wherein the input current is controlled by a sensor the impedance of which, or the impedance of a medium the sensor is arranged to monitor, changes with a sensed property.

9. The electronic circuit as claimed in claim 1 wherein a change in the property of interest modifies the total current received at the input of the voltage detector by impeding the bias current.

10. The electronic circuit as claimed claim 1 wherein the device for providing the bias current controls the bias current and thereby controls the total current received at the input of the voltage detector.

11. The electronic circuit as claimed in claim 10 arranged such that following triggering of the voltage detector as a result of the change in the current the bias current is altered so as to reset the voltage detector to an original state.

12. The electronic circuit as claimed in claim 1 wherein the device for providing a bias current comprises a component with a conductivity which varies with temperature and is arranged so as to compensate for changes in temperature on the behaviour of the circuit or give a detection threshold of the voltage detector a desired temperature dependence.

13. The electronic circuit as in claim 1 wherein the voltage detector can operate when drawing power of less than 10 nW.

14. The electronic circuit as claimed in claim 1 wherein the voltage detector is capable of being powered up from the input which rises with no minimum gradient.

15. The electronic circuit as claimed in claim 1 wherein the voltage detector comprises a voltage reference circuit arranged to produce a reference voltage and a comparator arranged to compare the reference voltage with the input and produce an output which is pulled high or low in dependence on the relationship between the reference voltage and the input.

16. The electronic circuit as claimed in claim 15 wherein the voltage reference circuit comprises a standby input and, on receiving a signal at the standby input, is arranged to reduce the voltage of the output of the voltage reference circuit.

17. The electronic circuit as claimed in claim 16 wherein, on receiving the signal at the standby input, the voltage reference switches into a standby mode in which the power consumption of the voltage reference circuit is reduced.

18. The electronic circuit as claimed in claim 16 wherein the output of the comparator is connected to the standby input.

Description

DETAILED DESCRIPTION OF THE INVENTION

(1) In order that the invention may be more clearly understood one or more embodiments thereof will now be described, by way of example only, with reference to the accompanying drawings, of which:

(2) FIG. 1 is a schematic representation of a sensor system that is powered by intermittent sources;

(3) FIG. 2 illustrates the operation of a commercially available voltage detector as used in the circuit of FIG. 1;

(4) FIG. 3 illustrates the operation of a basic power on reset (POR) pulse generator circuit;

(5) FIG. 4 illustrates the ideal behaviour of a POR circuit;

(6) FIG. 5 shows a circuit diagram of an electronic circuit according to the present invention and a graph of input current against input voltage for the circuit;

(7) FIG. 6 is three circuit diagrams, each showing a different electronic circuit according to the present invention;

(8) FIG. 7 is a circuit diagram of an amplifier comprising an electronic circuit according to the present invention;

(9) FIG. 8 is a graph, for a voltage detector of the amplifier of FIG. 7, of input current against input voltage;

(10) FIG. 9 shows three circuit diagrams of reset circuits for voltage detectors comprising part of electronic circuits according to the present invention;

(11) FIG. 10 is a graph, for a voltage detector of the amplifier of FIG. 7 modified to be ‘normally-on’, of input current against input voltage;

(12) FIG. 11 is a circuit diagram of another embodiment of an electronic circuit according to the present invention;

(13) FIG. 12 is a circuit diagram of a further embodiment of an electronic circuit according to the present invention;

(14) FIG. 13 is a circuit diagram of an analogue to digital converter comprising a plurality of electronic circuits according to the present invention;

(15) FIG. 14 shows a circuit diagram of the analogue to digital converter of FIG. 13 and a chart of detector output versus output of converter;

(16) FIG. 15 is a schematic representation of a system architecture of a system incorporating a plurality of voltage detectors;

(17) FIG. 16 is a timing diagram illustrating the operation of the system of FIG. 15;

(18) FIG. 17 is a schematic representation of a power-gating circuit suitable for use in the architecture of FIG. 15;

(19) FIG. 18 is a schematic representation of a voltage reference circuit that forms a part of the architecture of FIG. 15;

(20) FIG. 19 is a functional block diagram of a voltage detector used in the system of FIG. 15;

(21) FIG. 20 is a conceptual schematic diagram illustrating an implementation of the subthreshold voltage reference of the voltage detector of FIG. 19;

(22) FIG. 21 is a conceptual schematic diagram illustrating a transistor implementation of the low voltage detector illustrated in FIG. 19;

(23) FIGS. 22 to 24 are timing diagrams illustrating the operation of the circuit of FIG. 21;

(24) FIG. 25 is a functional block diagram illustrating aspects of the operation of the voltage detector illustrated in FIG. 19;

(25) FIG. 26 is a schematic diagram showing the design of a high voltage-range voltage detector for use in the system of FIG. 21;

(26) FIG. 27 is a graph illustrating parameters of devices for use in implementing the voltage detector system disclosed herein;

(27) FIG. 28 is a schematic diagram showing the design of a low voltage-range voltage detector for use in the system of FIG. 21;

(28) FIG. 29 is a schematic diagram showing the design of a medium voltage-range voltage detector for use in the system of FIG. 21; and

(29) FIG. 30 provides a legend for the transistor symbols used in FIGS. 20, 22 and 23.

(30) FIG. 5 shows a voltage detector with adjustable detection threshold. The sensitivity of the detector is increased by injecting current from the VIN2 rail into the VIN1 input, in order to reduce the current required from the VIN1 rail. This has the advantage of allowing sensors to be connected to VIN1 whose output current is too low to trigger the detector, which requires a trigger current of around 1-5 nA. The bias current, and therefore sensitivity, is set by the pull-up device, which, along with the input impedance of the detector, determines the operating point during listening (when U1 is off) on the IV characteristic.

(31) The electronic circuit (in this case a sensor) can therefore be biased to an optimal voltage to obtain the required sensitivity. VIN2 and the pull-up device are chosen to provide the ideal bias for the sensor connected to VIN1.

(32) FIG. 6 shows three variants of a voltage detector with downwards adjusted detection threshold. The detector on the left shows a pull-up device R1 drawing bias current away from the input of the voltage detector U1. The detector in the centre shows an example of the pull-up device implemented as a diode, where a small leakage current flows through this reverse-biased diode (PiN, Zener, or Schottky). The detector on the right, shows the division of the input voltage, which also reduces the sensitivity and detection voltage threshold of the voltage detector U3. Again, these pull-up devices R31 and R32 can be realised by diodes, capacitors, diode-connected transistors or any other device with a leakage current.

(33) These circuits allow the detection threshold of detectors, particularly voltage detectors, to be adjusted. Leakage to ground can also be used to stop a sensor connected to the input to the detector from staying on, thereby avoiding the need for an active reset from another circuit. The diode D has the additional advantage that it absorbs any power from negative sensor pulses (e.g. from an AC sensor).

(34) The output of the detector can also be used to adjust the threshold. For example, the output can be used as an input to the threshold-adjusting circuit, to make the threshold dependent on the output. A simple example is to use the output to switch on a transistor and series resistor that adds or subtracts current from the input.

(35) FIG. 7 shows an amplifier comprising two voltage detectors that takes advantage of this lower trigger current at turn-off. During listening, the first detector U1 is biased on using pull-up devices that provide for example 10-20 pA to hold the U1 in its on-state. This holds the input of the second detector U2 low. This, in turn, allows the gate of the p-type transistor T1 to be pulled high keeping it off.

(36) The operating trajectory of the detectors of the amplifier is shown in FIG. 8. The detector listens in its off-state below the trigger voltage, and if sufficient input voltage and current is provided to its input, for example by a sensor, the detector switches into its on-state where the current drops to around 10 pA. This operation is referred to here as normally-off operation, as the detector is off in its listening mode. In this mode in some embodiments, in order to trigger, a peak current of approximately 1-5 nA at 0.6 V needs to be supplied to the detector. This equates to a temporary drop in input impedance of the detector to 300 MΩ If the sensor can overcome this hurdle, then the detector triggers.

(37) An important advantage of this circuit is that the listening mode can be adjusted to operate anywhere on the falling IV characteristic, for example at point On2 in FIG. 8. Therefore, only a small voltage drop at VIN1, for example 100 mV, is sufficient to trigger the amplifier.

(38) Certain embodiments of the electronic circuit allow a voltage detector to be held on via a bias current, and uses its highly sensitive turn-off capability to detect signals instead of its less sensitive turn-on capability. This is preferably achieved using at least some of the components that make it start up directly into its on state, and preferably with a circuit that allows it to be reset into the on-state from another sub-system, after it has detected a threshold. This may be a hold circuit configured to give the circuit that it is triggering enough time to start up.

(39) The advantage of embodiments of this Amplifier is that it switches at lower input voltages, and requires around 2 orders of magnitude less change in input current to change the state of U1. It can therefore provide an input powered detector that uses the toggling of two voltage detectors to achieve increased sensitivity.

(40) R4 and C4 form the hold circuit. R3 and C3 form an input noise low-pass filter. The pull-up devices R3, R5, R1, and R6 provide biasing for a sensor and sensitivity adjustment. R5 (around MΩ) and C1 (around 100 pF) form a start-up circuit that provides a temporary low-impedance path to switch U1 into its on-state when a voltage is applied to input VIN2. At this instant, the input of U1 follows VIN2, turning U1 on, and then falls to the required operating voltage for U1, as C1 is discharged through R1. The Reset input provides an AC-coupled path through C2 and C1 for a low-to-high transition from the supply powered domain to force U1 on again, in order to force the amplifier back into listening mode once the supply powered domain has finished its tasks.

(41) This AC-coupled method is one way of resetting normally-on and biased voltage detector. Detectors that require an active reset from a microcontroller in order to move the detector back to the desired listening operating point can use this or any other means of temporarily injecting current into the input of the detector, or by using one of the circuits shown in FIG. 9.

(42) The input current to most circuits that operate in sub-threshold is a strong increasing function of temperature. This can be taken advantage of A biased voltage detector, such as the U1 in FIG. 8, draws more current as the temperature increases, causing a larger voltage drop over the biasing component R1. This lowers VIN, moving the operating point from the listening point in FIG. 10 gradually to the left towards the trigger point. At a specific high temperature, when the trigger point is reached, U1 turns off. As the temperature drops, the input current to U1 decreases, until at a specific low temperature, U1 turns on. In this way, upper and lower temperature alerts are provided.

(43) The advantage of this circuit is that it does not require a separate temperature sensor, and where an appropriate voltage detector is employed, uses only nA of current. Indeed, the voltage detector preferably has some or all of the features discussed above in relation to voltage detectors or as disclosed in either of the Annexes The temperature trigger points are configured by the choice of pull-up devices (types and values) such as R1.

(44) Temperature sensitivity has been achieved by creating a bias current for a voltage detector which is a strong function of the temperature. Creating a temperature-dependent current flow through pull-up devices (e.g. diodes or diode-connected transistors) and into the voltage detector input changes the rising and falling voltage detection thresholds of the voltage detector with temperature. This can thus be used to sense temperature.

(45) In another embodiment, the input current of a voltage detector increases with temperature. This results in a detection threshold that increases with temperature.

(46) This can be compensated for with a temperature-dependent bias current, as shown in FIG. 11. Here the ‘resistor’ could be any component with a negative temperature coefficient of leakage, for example a diode or diode-connected transistor.

(47) Using the temperature sensing and temperature compensation methods, the detection threshold voltages (both rise and fall-thresholds) can be made to rise or fall with temperature as desired. For example, the amplifier discussed above has a falling detection voltage with temperature, and an input-biased voltage detector as in FIG. 11 but with a standard resistor as the pull-up device has a detection threshold that rises with temperature.

(48) In the above embodiments, input current and detection threshold voltage of electronic circuits may vary significantly from device to device. After processing, the blowing of polyfuses can be used to bring outlier devices back into specification. For example, diode-connected transistors, coupled to polyfuses, provide the opportunity to retrospectively adjust the bias current or IV characteristics of the input stage of the voltage reference of a voltage detector.

(49) The state of embodiments of previously described circuits is a function of threshold-adjusting pull-up devices and bias currents. This can be taken advantage of to measure current through a current sense zone, pictured in FIG. 12. Here, U1 is held on in listening mode, due to the bias current through R1. If current flows in the current sense zone, it reduces the current flowing into the input of U1, thereby bringing it closer to turning-off. At a specific current level in the current sense zone, U1 turns off, thus having signalled a certain current threshold.

(50) The advantage of this concept is that the input current of U1 may be of the order of picoamps to nanoamps, and extremely low current levels can be sensed. This can be used to detect humidity, water, leakage of chemicals, ingress, or any changes in material properties that affect their current carrying characteristics such as resistivity. It also allows continuous monitoring for liquids with sub-ms response times, using only nA of current. The two contacts in the current sense zone of FIG. 36 could, for example, be conductors or wires or plates on a substrate. As an example of humidity sensing: if moisture appears on the substrate, its resistivity drops. The current driven by VIN1 rises to a certain threshold level, turning U1 off, thus signalling the presence of moisture.

(51) This approach uses current leakage from or into the input of a voltage detector as the measurand. As leakage currents down to 10s of pA can be sensed with low-cost electronics, this brings extreme power savings and improved sensitivity for conductivity based sensing, as the system only needs to provide extremely low bias currents (the current driven into the system from VIN through R1).

(52) FIG. 13 shows an analogue to digital converter with a series connection of N pull-up devices, whose connection nodes are monitored by N voltage detectors. As the input voltage rises, first Output 1 switches, then Output 2, and so forth. This functionality could also be achieved with a parallel array of N voltage detectors, each having a different threshold. This limit currents to nA or less, which is useful since conventional analogue to digital converters use significant current.

(53) FIG. 14 shows a similar analogue to digital converter, for clarity now just for the example of 3 stages and 4 levels. The voltage detectors (which may also be those having some or all of the features discussed above in relation to voltage detectors or as disclosed in either of the Annexes) are arranged to provide a coded output, here 4 levels are coded into a 2-bit parallel output. If needed, the pull-up devices can be chosen so that the voltage resolution of the analogue to digital converter is constant, as illustrated in FIG. 14, where a set of design equations is provided for a 4-level converter.

(54) The number of output bits can be extended to any number. The number of voltage detectors in this coding topology increases with N*2N/2, where N is the number of detectable input voltage intervals.

(55) The coding stage is carried out with any known combination of logic gates. The embodiment may be adjusted such that the resolution of analogue to digital converter is increased to any number by adding more series or parallel stages. Further to this, Pull-up devices can be used to create outputs that pull-high when active, or inverters used to invert the output states.

(56) The resulting picoamp level input current of the voltage detectors results in the following advantages: individual detectors do not significantly influence the measurement, making the measurement more accurate, pull-up devices can be chosen to conduct of the order of nA or less, thereby making the whole converter use only nA-levels of current, and the current draw on the source is minimised, thereby making the measurement less invasive.

(57) Where the voltage detectors have a low threshold and a high-input voltage range that the input voltage range can be large, e.g. 0.5 to 15V.

(58) A non-constant resolution over the input voltage range can be useful in some cases. For example, if different actions or supply powered domains, or other input powered or low power domains need to be activated at specific voltages to provide different functions and alerts. This is useful, for example in a capacitor or battery management system that isolates a cell below a certain low voltage, and discharges the cell weakly above a first high voltage, and discharges strongly above a second higher voltage as well as activating an alert or logger circuit.

(59) The voltage detector of the electronic circuit of one or more of the above embodiments comprises a voltage detector system. FIG. 15 illustrates the voltage detection system, which combines all the desired properties of voltage detectors, namely high maximum input voltage, a low voltage detection threshold and low quiescent power consumption. The system, shown generally at 100 in FIG. 15, includes a power gating stage 120, a voltage detection stage 140 and an output stage 160.

(60) The voltage detection stage 140 includes a first voltage detector 142 which is configured to detect input voltages in a high voltage range (e.g. in the range 2.8 volts to 20 volts), a second voltage detector 144 which is configured to detect input voltages in a medium voltage range (e.g. 0.6 volts to 2.8 volts) and a third voltage detector 146 which is configured to detect input voltages in a low voltage range (e.g. 0.45 volts to 0.6 volts). This arrangement of three voltage detectors ensures that the voltage detection system 100 is able to operate in a wide input voltage range, therefore facilitating the capture of energy from pulses with a wide power range.

(61) The power gating stage 120 is configured to prevent potentially damaging input voltages from reaching the second and third voltage detectors 144, 146, and is arranged such that the first voltage detector 142 gates the second and third voltage detectors 144, 146 and the second voltage detector 144 gates the third voltage detector 146. As can be seen in FIG. 15, the voltage input V.sub.IN of the system 100 is connected to an input V.sub.IN(H) of the first voltage detector 142. An output V.sub.OUT(H) of the first voltage detector 142 is connected to the gate terminal of a first P-channel MOSFET 122. The source terminal of the first P-channel MOSFET is connected to the voltage input V.sub.IN and the drain terminal of the first P-channel MOSFET 122 is connected to an input V.sub.IN(M) of the second voltage detector 144, and, via a second P-channel MOSFET 124, to an input V.sub.IN(L) of the third voltage detector 146.

(62) When the first voltage detector 142 detects an input voltage in the high voltage range, its output V.sub.OUT(H) goes high, causing the first P-channel MOSFET 122 to switch off, thereby restricting or preventing the input voltage from reaching the second voltage detector 144 or the third voltage detector 146.

(63) Similarly, the gate terminal of the second P-channel MOSFET 124 is connected to an output V.sub.OUT(M) of the second voltage detector 144, such that when the second voltage detector 144 detects an input voltage in the medium voltage range, its output V.sub.OUT(M) goes high, causing the second P-channel MOSFET 124 to switch off, thereby restricting or preventing the input voltage from reaching the third voltage detector 146.

(64) The output stage 160 of the voltage detection system 100 includes (in the illustrated example) first, second and third N-channel MOSFETS 162, 164, 166. The gate terminal of the first N-channel MOSFET 162 is connected to the output V.sub.OUT(H) of the first voltage detector 142, whilst the gate terminal of the second N-channel MOSFET 164 is connected to the output V.sub.OUT(M) of the second voltage detector 144 and the output of the third N-channel MOSFET 166 is connected to the output V.sub.OUT(L) of the third voltage detector 146. The drain terminals of the first, second and third N-channel MOSFETs 162, 164, 166 are all connected to an open-drain output terminal V.sub.OD of the output stage 160, whilst the source terminals of the first, second and third N-channel MOSFETs 162, 164, 166 are all connected to ground. Accordingly, if any one of the first, second or third voltage detectors 142, 144, 146 is triggered, the open drain output V.sub.OD of the output stage 160 will be activated.

(65) FIG. 16 is a timing diagram illustrating the operation of the circuit of FIG. 15. The input voltage V.sub.IN is shown as a trapezoidal pulse. As the rising edge of this pulse reaches the voltage detection threshold of the third (low voltage range) voltage detector 146, the third voltage detector 146 turns the third N-channel MOSFET 166 on, activating the system's output V.sub.OD. When the input voltage V.sub.IN reaches the voltage detection threshold of the second (medium voltage range) voltage detector 144, the second voltage detector 144 switches on the second N-channel MOSFET 164, and power-gates off the third voltage detector 146, thus protecting it from a further rise in V.sub.IN, and causing the third N-channel MOSFET 166 to be switched off. As V.sub.IN reaches the voltage detection threshold of the first (high voltage range) voltage detector 142, the first N-channel MOSFET 162 is switched on, and both the second and third voltage detectors 144, 146 are disconnected from the input (or at least the connection restricted), resulting in the turning off of the second N-channel MOSFET 164. The first voltage detector 142 remains active until the input voltage drops below its voltage detection threshold, which leads to the second voltage detector 144 being powered on. A further fall in the input voltage activates the third voltage detector 146.

(66) The thresholds at which the voltage detectors 142, 144, 146 switch on in response to a rising input voltage may be different from (higher than) the thresholds at which the voltage detectors 142, 144, 146 switch off in response to a falling input voltage, in order to provide hysteresis and thus avoid system oscillation. The overall result is a continuous activation of the open-drain output V.sub.OD for the duration of the input pulse. To ensure seamless operation of the voltage detection system 100, the threshold voltage of each MOSFET device 162, 164, 166 should be lower than the detection thresholds at which the respective voltage detectors 142, 144, 146 switch on in response to a rising input voltage and the thresholds at which the respective voltage detectors 142, 144, 146 switch off in response to a falling input voltage.

(67) This illustrates the reason for using an open-drain output. When activated, the voltage outputs V.sub.OUT(H), V.sub.OUT(M) and V.sub.OUT(L) of the voltage detectors 142, 144, 146 are at the same potential as their corresponding inputs V.sub.IN(H), V.sub.IN(M) and V.sub.IN(L). Since the voltage detector system 100 will interface to other CMOS devices with much lower maximum allowable voltages, V.sub.OUT(H) and V.sub.OUT(M) cannot be used as the output of the overall system. The open drain output stage allows the voltage detector system 100 to output a signal that is usable by, and not damaging to, an external device.

(68) FIG. 16 also illustrates the profile of the total quiescent current I.sub.IN of the voltage detector system 100. I.sub.IN is zero when the input voltage V.sub.IN is zero, and on a rising input voltage the current increases from 42 pA at 0.2V (below the voltage detection threshold of the third voltage detector 146) to 83 pA at V.sub.IN=1V (above the detection threshold of the second voltage detector 144), and to around 236 pA at V.sub.IN=5V (above the detection threshold of the first voltage detector 142), with current surges occurring at the activation points of each of the three voltage detectors 142, 144, 146. The measured total energy loss per transition caused by static current when an input voltage rises from 0 to 2.8V, a voltage slightly higher than the high detection threshold (2.8V) with two typical gradients of 1V/s and 100V/s respectively are 788 pJ and 7.9 pJ respectively. This is lower than prior art voltage detection circuits, which contain circuits that, for a given rail voltage, continuously consume quiescent current. An alternative version of the voltage detector system 100 in which the third voltage detector 144 is disabled draws 1.2 pA at 0.2V, around 6 pA at 1V and 111 pA at 5V. Its total energy consumption at 1V/s and 100V/s transition from 0 to 2.8V of the input voltage is 229 pJ and 23 pJ respectively.

(69) FIG. 17 is a schematic representation of a power-gating circuit 120 suitable for use in the voltage detection system 100 of FIG. 15. The power-gating transistor 122 should be a medium-gate-oxide (5.5 V breakdown) PMOS transistor because its source-gate voltage can be as high as 2.8 V (corresponding to the threshold of the first voltage detector 142) before its gate-drive signal goes high. By contrast, the power-gating transistor 124 can be a thin-gate-oxide PMOS transistor because its source-gate voltage does not exceed 0.6 V (corresponding to the threshold of the second voltage detector 144) and its low gate-threshold voltage helps the third (low voltage range) detector 146 start to operate at a low input voltage.

(70) Ideally, the input voltage V.sub.IN(L) of the third detector 146 will drop after the transistor 122 is switched off for protecting this detector. However, in some thin-gate-oxide CMOS process technologies, the leakage current through the transistor 124 (when ‘OFF’) can be sufficiently high so that V.sub.IN(L) can continue to rise and follow the input voltage V.sub.IN(M) of the second (medium voltage range) detector 144. This may cause overvoltage damage to the third detector 146 especially when V.sub.IN(M) has a slow voltage gradient.

(71) A simple but efficient protection solution is to add a route to ground (or a common reference) for the leakage current. In the power gating circuit 120 of FIG. 17, this is implemented with a diode-connected NMOS transistor 126 (labelled MN0), which is a thick-gate-oxide (high gate-threshold) transistor. When the second voltage detector 144 output V.sub.OUT(M) goes high, which switches off the transistor 124 (zero gate-source voltage), the two transistors 124 and 126 are configured as an ultra-low-power two-transistor voltage reference consisting of two stacked transistors 124, 126 with different gate thresholds V.sub.TH as shown in FIG. 18. The first one 410 of the stacked transistors has a lower V.sub.TH and zero gate-source voltage, whilst a second one 420 of the stacked transistors has higher V.sub.TH and is configured as a diode-connected transistor. The reference circuit clamps V.sub.IN(L) to a fixed voltage (seen as a voltage plateau in the graph of FIG. 17) while consuming pico-amperes current only, and by adjusting the W/L ratios of transistors 124 and 126, V.sub.IN(L) can be set at a safe voltage for the third voltage detector 146. Before transistor 124 is switched off and while the third voltage detector 146 is operating normally, transistor 126 draws negligible current from the input V.sub.IN(L) because its gate-threshold is much higher than V.sub.IN(L) and thus this transistor operates in its deep subthreshold region.

(72) FIG. 19 is a schematic block diagram illustrating the desired functionality of the voltage detectors 142, 144, 146 used in the system 100.

(73) As can be seen from FIG. 19, each of the voltage detectors 142, 144, 146 comprises a subthreshold voltage reference, a trigger circuit and optional output buffers. The subthreshold voltage reference seeks to generate a fixed output V.sub.REF, in this example 0.22 V. The trigger comprises an inverter with input V.sub.REF and its supply the varying detector input voltage V.sub.IN. The trigger switches its output to high as the supply voltage V.sub.IN reaches the detection threshold V.sub.TH. Its input V.sub.REF is sufficiently low to ensure that the trigger is still in subthreshold mode when it switches.

(74) The optional output buffers sharpen the response of the detector and feed the output back to the Reset input of the subthreshold voltage reference. On triggering the detector, the low-to-high transition of the output activates the Reset input of the subthreshold voltage reference. This has three beneficial effects. First, it cuts off or at least substantially reduces the static quiescent current draw of the subthreshold voltage reference. Second, the reference output is pulled to the common reference, which virtually eliminates static current in the trigger, as its input is no longer at an intermediate voltage. Third, with a lower (or grounded) input, the trigger switches its output back at a lower V.sub.IN threshold, which inherently provides the detector with hysteresis.

(75) FIG. 20 is an illustrative circuit implementation of the functionality of the subthreshold voltage reference in FIG. 19. It comprises a first current controlling element, diode D, and a capacitance C connected in series between the input terminal and a common reference V.sub.COM such that the capacitance is charged (though the diode) by the input signal. The capacitance may be a parasitic capacitance (e.g. of a transistor gate), or may be provided by a separate component such as a capacitor. The common reference may be ground.

(76) The source of a PMOS transistor 230 is connected to a node between the diode D and capacitance C. Its drain is connected to the drain of an NMOS transistor 240, with its source connected to a common reference. A node in the connection between the drain of the PMOS transistor and the NMOS transistor provides the reference voltage output V.sub.REF of the reference generator. The gate of the PMOS transistor provides the reset input to the reference generator. The gate of the NMOS transistor is connected (directly) to the input terminal.

(77) In operation, with a rising input voltage V.sub.IN, the voltage at the node between the diode D and capacitance C (V.sub.C) follows V.sub.IN minus the diode forward drop voltage across the diode D. With no, or a low, voltage at the Reset input the PMOS transistor 230 is on more strongly than the NMOS transistor 240 so V.sub.REF follows V.sub.C closely.

(78) As V.sub.IN rises further, being connected to the gate of the NMOS transistor 240, it increases the (leakage) current in the NMOS transistor 240 which begins to draw an increased current resulting in V.sub.REF and V.sub.C reaching a plateau and ceasing to rise.

(79) If an input is provided to the Reset terminal of sufficient voltage the PMOS transistor 230 is turned off, causing V.sub.REF to be shorted to the common reference via the NMOS transistor and eliminating or significantly reducing the static current path in the voltage reference, effectively putting it into a low power mode.

(80) The two transistors in the voltage reference serve two functions, depending on the state of the reference generator. Prior to resetting the NMOS transistor 240 operates in subthreshold and thus helps generate a reference voltage together with the diode D. When in subthreshold both components allow current to flow generally exponentially with voltage. After resetting the PMOS transistor 230 power-gates off the quiescent current, and so helps reset the reference voltage to zero (or a common reference voltage).

(81) FIG. 21 is an illustrative circuit implementation 200 of the functionality of the circuit shown in FIG. 19 with the voltage reference circuit implemented as shown in FIG. 20 save that, in this implementation, the diode D of FIG. 20 is a diode-connected transistor 210. As indicated above, the purpose of the diode D is simply to control current flow and so provide a voltage drop between V.sub.IN and V.sub.C. A diode (or diode-connected transistor 210) offers a convenient way of providing a voltage drop, but it will be appreciated by those skilled in the art that any other component or circuit that provides an appropriate voltage drop could equally be employed. The capacitance of FIG. 20 is implemented by a capacitor 220 (though this need not be a separate component; as indicated above, the capacitance may be provided by parasitic capacitance in the circuit 200). The trigger is an inverter implemented by a transistor pair consisting of a PMOS transistor 250 and an NMOS transistor 260. The output of the inverter V.sub.OUT is connected to the gate of the PMOS transistor 230 which forms the reset input of the voltage reference circuit of which it forms a part.

(82) The operation of the circuit of FIG. 15 will now be described with reference to FIGS. 22 to 24, which are timing diagrams illustrating the operation of the circuit of FIG. 15. FIGS. 13 and 14 show expanded views of sections of FIG. 16. FIG. 17 shows the section between times a and b and FIG. 18 the section between times c and d, of FIG. 16, and show detail around the triggering of the inverter for rising and falling input voltages respectively.

(83) The input voltage pulse V.sub.IN from an external voltage source V.sub.IN is assumed to follow a trapezoidal profile, as shown in FIG. 16. The capacitance of the capacitor 220 is two or more orders of magnitude lower than the source's parasitic capacitance. The capacitor is charged via the diode-connected transistor 210, resulting in V.sub.C (the voltage at the node between the transistor 210 and the capacitor 220) generally being a diode forward voltage drop V.sub.Fwd1 below V.sub.IN during the rise and the plateau of the input voltage. During the fall of V.sub.IN, the capacitor 220 discharges into the V.sub.IN rail through the antiparallel parasitic diode of the transistor 210, resulting in V.sub.C generally being a diode forward voltage drop V.sub.Fwd2 above V.sub.IN.

(84) At the start of the pulse, V.sub.OUT is zero, and therefore the PMOS transistor 230 that is controlled by V.sub.OUT connects V.sub.C through to the input V.sub.B of the inverter formed by transistors 250, 260, forcing V.sub.REF to follow V.sub.C. As discussed above, as V.sub.IN rises further the NMOS transistor 240 begins to draw increased current resulting in V.sub.REF reaching a plateau (this plateau being visible in FIG. 17) and ceasing to rise and thus determining the voltage threshold at which the trigger circuit switches.

(85) The trigger is an inverter whose input is V.sub.REF. The supply voltage V.sub.IN at which the inverter flips its output high is the detection threshold V.sub.TH of the detector. In the described implementation, on a rising V.sub.IN, V.sub.REF is 0.22 V, providing a detection threshold of 0.46 V. Upon triggering, V.sub.REF is reset to V.sub.COM (which may be zero or ground), which lowers (to 0.29 V where V.sub.COM is zero) the threshold at which the trigger flips back, thereby providing hysteresis.

(86) Due to the low V.sub.REF, the trigger circuit operates in subthreshold prior to triggering. The topology of the trigger stage uses PMOS transistor 250 as a common-gate amplifier, whose gate bias is V.sub.REF, whose input is V.sub.IN and whose active load is NMOS transistor 260 due to its gate being biased to V.sub.REF. The trigger output voltage is also the V.sub.DS of the NMOS transistor 260. Therefore, as the V.sub.DS of 260 exceeds 4.sub.VT (˜100 mV=4×thermal voltage), this transistor enters saturation. Now, with both transistors 250 and 260 in saturation, the increased output impedance results in a large gain of the amplifier, seen by an increase in the gradient of the trigger output voltage. This increase turns off the PMOS transistor 230 forming part of the voltage reference with the result that very soon after the trigger output voltage begins to increase the subthreshold voltage reference circuit begins to reset, and this positive feedback leads to a sharp rise in output voltage. Also, as V.sub.IN reaches the gate threshold V.sub.thS2 of the transistor 240, V.sub.REF is pulled to the common reference, also causing V.sub.out to go high, and minimising leakage through the inverter.

(87) V.sub.out then follows the rail voltage V.sub.IN of the inverter.

(88) On the falling edge the gate voltage of transistor 240 drops, weakening its driving strength. When V.sub.IN reaches the threshold V.sub.thS2 of the transistor 240, it loses capacity to hold V.sub.REF low. Subthreshold leakage through the transistor 230 (stemming from charge stored by the capacitance C) causes V.sub.REF to rise, and therefore V.sub.OUT to begin falling. As V.sub.REF reaches 100 mV transistor 230 is conducting enough current to pull up V.sub.REF rapidly to V.sub.C. This process is accelerated by positive feedback from the output. Once V.sub.OUT has fallen to V.sub.C−V.sub.th230 (i.e. V.sub.c—the threshold of the transistor 230), the transistor 230 turns on, pulling V.sub.REF up to beyond the rail voltage V.sub.IN, which in turn causes the inverter to pull V.sub.OUT to the common reference. Once the pulse is over, the remaining charge in the capacitor 220 leaks to the common reference through the transistor 210. In this manner a hysteresis is created between the rising and falling detection thresholds.

(89) The steady-state current consumption of the voltage detector circuit of FIG. 15 is reduced in comparison to prior art systems by means of two features. First, the inverter's input is always pulled either high or low via the two-way switch consisting of the transistors 230, 240, which reduces the inverter's static current leakage (shown as I.sub.inv in FIG. 15) flowing through the transistors 250, 260. Second, the rise and fall input voltage thresholds (i.e. the voltage threshold at which the voltage detector switches on the open-drain output stage 160 in response to a rising input voltage and the voltage threshold at which the voltage detector switches off the open-drain output stage 160 in response to a falling input voltage) are provided by a circuit that draws negligible current in steady state. The rise threshold is a function of the gate voltage threshold of the NMOS transistor 240. The fall threshold is a function of the device parameters of the transistors 230, 240, 250 and 260.

(90) FIG. 25 is an alternate schematic block diagram of the voltage detector of FIG. 19, without the optional buffers, which illustrates an aspect of the operation of the detector. Here, as with FIG. 19, the subthreshold voltage reference is implemented by a diode D, and a capacitance C connected in series between the input terminal and a common reference such that the capacitance is charged (though the diode) by the input signal.

(91) The capacitance may be a parasitic capacitance (e.g. of a transistor gate of the switch), or may be provided by a separate component such as a capacitor. The difference to FIG. 19 is that the two transistors 230 and 240 are visualised as a switch S.

(92) The operation of the switch S is such that the input of the inverter is connected to a common reference (or another low-voltage source suitable for causing the inverter to output a voltage that is sufficiently high as to switch on the open-drain output 160) when the input voltage V.sub.IN to the voltage detector system 100 is greater than a voltage V.sub.thN, which is the voltage detection threshold at which the voltage detectors 144, 146 switch on the open-drain output 160 in response to a rising input voltage. The input of the inverter is connected to the node between the voltage reducing element and the capacitance during a period in which the input voltage rises from 0 to V.sub.thN, and when the output voltage V.sub.OUT of the voltage detector 144, 146 is less than a voltage V.sub.C−V.sub.thP, where V.sub.C is the voltage across the capacitance and V.sub.thP is a positive value.

(93) The second and third voltage detectors 144, 146 both operate in the manner described above in relation to figures to 9 to 15, only that the thresholds are lower for the third voltage detector 146 than the second voltage detector 144, and the plateau is lower while the third voltage detector 146 is power-gated off by the higher-voltage second voltage detector 144. Assuming the transient current surges during the switching events are small, and since there is no static current flow during the detection process, this architecture provides a low power consumption.

(94) The first voltage detector 142 may have the same topology as the second and third voltage detectors 144, 146. Alternatively, the first voltage detector 142 could be parametrically redesigned to trade off speed for reduced static power consumption, since the first voltage detector 142 experiences the highest voltage of all detector levels.

(95) However, a further alternative arrangement, which is a conceptual variant of the second and third detectors, may be employed in the first voltage detector 142, as will now be described with reference to FIG. 26, which is a schematic representation of the first (high voltage range) voltage detector 142, with the relevant design parameters (component values and width/length ratios of the transistors used in the circuit) shown.

(96) The first voltage detector 142 operates as described above in relation to the circuits of FIGS. 15 and 15, with two differences. First, the transistor, which selectively connects the input of the inverter to the capacitance is not controlled by the output signal V.sub.Out, but is instead controlled by the input signal V.sub.in. In FIG. 26, this is seen by the gate of transistor 1432 being connected to the V.sub.in rail. Second, transistor 1432 is connected in series with a voltage reducing element (represented in FIG. 26 by a diode-connected transistor 1434), which shifts the potential relative to the common reference at which the gate of transistor 1432 switches.

(97) Referring back to the schematic representation of FIG. 15, assume that the gate threshold voltage of PMOS transistor 250 is a few hundreds of millivolts higher than the gate threshold of the NMOS switch 240. The aim is to stop an unwanted current path through transistors 210, 230 and 240 from occurring. This short circuit occurs on a rising V.sub.IN, starting at the time when transistor 240 switches on and pulls V.sub.REF down. At this point V.sub.IN is not yet high enough for V.sub.IN−V.sub.REF to have equalled the gate threshold of transistor 250. Therefore V.sub.Out is still low, and thus transistor 230 still on. This short circuit is only removed once 230 turns off.

(98) Referring again to FIG. 26, the first modification is that transistor 1426, which corresponds to the NMOS switch 230 of FIG. 15, is now controlled by the detector input V.sub.in instead of the inverter output V.sub.OUT. This prevents the occurrence of the short-circuit path through transistors 210, 230, and 240 in FIG. 15, by ensuring that transistor 230 is off all the time. The equivalent of transistor 230 of FIG. 15 in the arrangement shown in FIG. 26 is transistor 1426, which is now controlled by V.sub.in rather than V.sub.OUT as in the lower voltage-level detectors 144, 146, which keeps transistor 1426 off because it has a negative source-gate voltage. However, V.sub.REF does need to rise and follow V.sub.IN for correct operation. Therefore, transistor 1426 is designed with a large W/L ratio 50/0.2, in order to provide sufficient leakage current I.sub.leak to charge the node V.sub.REF in the initial phase of a V.sub.IN rise, as illustrated in FIG. 16 (before ti). This ensures that the inverter output V.sub.OUT(H) is initially held low as the detector input V.sub.in rises from 0V. Careful design ensures that the equivalent resistance of transistor 1426 is high enough to sufficiently limit the charging current.

(99) The second modification to counteract large gate-threshold differences, e.g. between the NMOS transistor 1432 and the PMOS transistor 1428, is the addition of the diode-connected transistor 1434. The diode-connected transistor 1434 acts as a bias-shifting element, by adding a small bias V.sub.d to the source terminal of the transistor 1432, thus raising the input voltage level at which transistor 1432 pulls V.sub.REF down. This reduces the aforementioned time during which a short-circuit path through 1422, 1426, and 1432 can occur. This speeds up the pulling-up of the inverter output V.sub.OUT(H), since V.sub.in is roughly one gate-threshold (of transistor 1434) higher by the time transistor 1432 turns transistor PMOS 1428 on. This determines the detection threshold of the first (high voltage range) detector 142. This threshold can be increased by adding more diode-connected transistors in series with the NMOS transistor 1432.

(100) Each of the detectors 142, 144, 146 must only trigger when a rising Vin is high enough to actually be able to switch the respective output open-drain transistor. Equally, a falling Vin must trigger the detectors 142, 144, 146 for which the respective open drain transistors are still on.

(101) During an input voltage pulse, the three open-drain output transistors 162, 164, 166 (FIG. 15) need to operate seamlessly to avoid any dead time in which none of the open drain output transistors are on. Seamless operation is achieved by setting both the rising and falling detection thresholds of each internal detector to exceed the gate threshold voltages of their respective open-drain output transistors: both the rising and falling thresholds of the first detector 142 are higher than the gate threshold voltage of the output transistor 162; both the rising and falling thresholds of the second detector 144 are higher than the gate threshold voltage of the output transistor 164; both the rising and falling thresholds of the second detector 146 are higher than the gate threshold voltage of the output transistor 166.

(102) At the rising edge of the input, these parameter settings prevent, for instance, the second detector 144 output from being pulled up to an input voltage that is lower than the gate-threshold of the open-drain transistor 164 when this detector triggers; at this point, the open-drain transistor 164 is still not switched on, but the power-gating transistor 124 and hence the third detector 146 has been switched off, which results in dead time between the transistors 166 and 164. At the falling edge of the input, these parameter settings prevent, for instance, the second detector 144 output from going low too late while the input voltage has dropped below the gate-threshold of the open-drain transistor 164; at this point, the power-gating transistor 124 and hence the third detector 146 is switched on late after the open-drain transistor 164 has been switched off, which results again in dead time between the transistors 166 and 164. Similarly, these parameters avoid undesired switching between the first and second detector 142 and 144, which eliminates dead time between the transistors 162 and 164.

(103) The thresholds of the voltage detector can be individually adjusted within the voltage detector structure. In an alternative embodiment, MP3 can been replaced by a device MP10 with lower leakage for a given drain-source voltage, and MN5 can be replaced by a device MN9 with a higher gate threshold voltage.

(104) This turn-off threshold can be individually adjusted by adjusting the reference voltage that is generated after the sub-detector has switched. This is adjusted by adding in series with MN5 or MN9 respectively, pull-up devices that may, for example, consist or comprise of resistors, or a series connected stack of diode-connected transistors, or a diode-connected transistor with a different leakage to drain-source voltage ratio. These additional devices can be located on the drain or source side of MN5 or MN9.

(105) This has the advantage of not requiring external adjustment of the detection thresholds. It would, for example be useful in battery or capacitor cell management tasks, where the detection voltage should be where protective actions need to be taken, such as between 3 and 4 V for a Lithium cell. It also allows the turn-on and turn-off thresholds to be spaced apart, so that for example capacitors can be monitored with one detector that turns on at the maximum allowable cell voltage (e.g. 2.3 V) and turns off at a very low voltage of a few 100 mV.

(106) The three-level detector architecture of FIG. 15 places a number of demands on the fabrication process. These are illustrated in FIG. 27, which shows the nominal gate threshold and device voltage ratings of transistors chosen for the third (low voltage range), second (medium voltage range), and first (high voltage range) voltage detectors 146, 144, 142.

(107) There are a number of reasons for choosing these transistor variants. The detector system 100 cannot be designed with only low threshold, 20 V devices of the kind indicated by the bottom-right circle in FIG. 27, as the maximum allowed voltage on the low-threshold gate is less than 5 V. In principle, the detector system 100 could be designed with 20 V devices using all thresholds, however the die size would be significantly larger, and the quiescent current would increase. Equally, the detector could be designed with the three devices shown as filled circles in FIG. 27, however the static and dynamic power consumption would increase. Therefore, in addition to these three devices, the design described here uses the other two devices enclosed by the dashed lines. The reason that three device voltage ratings are required, and why a voltage detector for medium range voltages is needed, is that the absolute maximum gate voltage of the lowest threshold gates is below the gate threshold voltage of the 20 V devices. Without a voltage detector for medium range voltages detector there would be an input voltage range that is destructive to the low threshold transistors' gates, but not able to switch the high threshold transistors to trigger a protection circuit.

(108) The design of the second and third voltage detectors, 144, 146 will now be described, with reference to FIGS. 22 and 23, and to FIG. 30, which provides a legend of transistor symbols used in used in FIGS. 20, 22 and 23 giving transistor gate threshold options and maximum voltage ratings for an example HV CMOS fabrication process.

(109) FIG. 28 is a schematic diagram showing the design of the third (low voltage range) voltage detector 146 with the relevant design parameters (component values and width/length ratios of the transistors used in the circuit). The operation of the third voltage detector 146 is as described above in relation to the circuit of FIG. 15. The circuit of FIG. 28 differs from that of FIG. 15 only by the presence of two additional buffers made up of pairs of transistors in the output stage.

(110) Thus, as can be seen in FIG. 28, the third voltage detector 146 includes a diode-connected transistor 1462 (also labelled MP3 in FIG. 28) having a width/length ratio of 1.5/0.38 connected in series with a capacitor 1464 having a value of 1.7 picofarads between the input terminal of the third voltage detector 146 and a the common reference terminal of the third voltage detector 146.

(111) A node V.sub.C at the connection between the transistor 1462 and the capacitor 1464 connects to the drain terminal of a PMOS transistor 1466 (also labelled MP4 in FIG. 28). As shown, this transistor has a width/length ratio of 4/0.18. The gate terminal of the transistor 1466 is connected to an output V.sub.OUT(L) of the third voltage detector 146, whilst the source terminal of the transistor 1466 is connected to a node V.sub.REF which connects together the gate terminals of a PMOS transistor 1468 (labelled MP5, having a width/length ratio of 0.4/0.2) and an NMOS transistor 1470 (labelled MN6, having a W/L ratio of 2/0.2) which together form an inverter.

(112) A further NMOS transistor 1472 (labelled MN5, having a W/L ratio of 1/1) is provided, to pull the gate terminals of each of the transistors 1468, 1470 to the common reference when the input voltage is above the V.sub.thN threshold. Thus, the gate terminal of the transistor 1472 is connected to the input V.sub.IN of the third voltage detector 146, whilst its source terminal is connected to the common reference and its drain terminal is connected to the gate terminals of the transistors 1468, 1470.

(113) As indicated above, the transistors 1468, 1470 form an inverter, whose output provides, via first and second additional output buffers (the first output buffer being formed of a transistor pair comprising a PMOS transistor 1474 and an NMOS transistor 1476 connected so as to form an inverter and the second output buffer each formed by a transistor pair comprising a PMOS transistor 1478 and an NMOS transistor 1480 connected so as to form an inverter), the output V.sub.OUT(L) of the third voltage detector 146.

(114) The detection threshold of the voltage detector 146 illustrated in FIG. 28 is defined by the gate threshold voltage of the transistor 1472. The transistors 1466 and 1472 are scaled (transistor 1466 has a greater width/length ratio than transistor 1472) such that on a rising input voltage pulse when the output V.sub.OUT(L) is zero and both devices are in the subthreshold region, the transistor 1466 remains stronger for a while in order to allow V.sub.REF to rise. The threshold could be lowered by using a low-threshold device here, however this would require a much longer channel length in order to obtain the correct switch-over between transistor 1466 (‘on’ at the onset of an input pulse) and transistor 1472 (off at the start of a pulse). Transistors 1470 and 1468 (MN6 and MP5) are scaled (transistor 1470 has a greater W/L ratio than transistor 1468) so that transistor 1470 is strong enough to hold the output V.sub.OUT(L) low until V.sub.REF starts to decrease, whilst still allowing the output to be pulled up cleanly as soon as V.sub.IN reaches the gate threshold of transistor 1472. This is important in order to minimise the switching duration of the third voltage detector 146 and thus minimise dynamic current. The result is a rapid turn-on of the open-drain transistor 166 (FIG. 15). The output's two-stage buffer (formed by the transistor pairs 1474, 1476 and 1478, 1480) has a taper factor so that it can drive the large open-drain transistor 166 (whose width/length ratio W/L=50 μm/2 μm). The diode connected transistor 1462 (labelled MP3 in FIG. 28) is sized to allow V.sub.C to follow V.sub.IN and is a function of the value of the capacitor 1464, which in turn requires a minimum capacitance in order that leakage through the transistor 1466 does not discharge it during a typical input pulse.

(115) In an alternative embodiment, the subthreshold voltage detector can be modified to set a new higher turn-on threshold voltage by replacing MP3 by a pull-up device that may, for example, consist or comprise of resistors, or a series connected stack of diode-connected transistors, or a diode-connected transistor with a lower leakage to drain-source voltage ratio. The turn-on threshold an also be increased by increasing the gate threshold voltage of MN5. In order to raise the turn-on threshold, the main requirement is that the new circuit achieves a given leakage current at a higher input voltage. Similarly, the turn-on threshold can be reduced by reducing the voltage drop over MP3 for a given leakage, for example by changing the scaling of MP3, or reducing the gate threshold voltage of MN5.

(116) FIG. 29 is a schematic representation of the second (medium voltage range) voltage detector 144, again with the relevant design parameters (component values and width/length ratios of the transistors used in the circuit) shown. The operation of the second voltage detector 144 is as described above in relation to the circuit of FIG. 15. Again, the circuit of FIG. 29 differs from that of FIG. 15 only by the presence of two additional buffers made up of pairs of transistors in the output stage.

(117) The second (medium voltage range) voltage detector 144 of FIG. 29 is designed in the same manner as the third voltage detector 146 of FIG. 28. The capacitance 1444 (labelled C2 in FIG. 29) is however larger (at 3.2 picofarads) than the capacitance 1464 of FIG. 28, as the transistor 1446 (labelled MP8 in FIG. 29, having W/L ratio 8/0.5) has higher leakage than the equivalent transistor 1466 in FIG. 28. The transistors 1446 and 1442 (MP8 and MP7, W/L ratio 50/1), in turn, are wider than their equivalents (transistors 1466 and 1462) in the third (low voltage range) voltage detector circuit of FIG. 28. They operate in subthreshold mode with a lower effective gate threshold, whilst having a medium thickness gate oxide in order to withstand the higher voltage of the medium voltage range detector 144. The transistors 1448 and 1450 (MP9, W/L ratio 0.5/4 and MN8, W/L ratio 5/0.2) which make up the inverter are scaled (transistor 1450 has a greater W/L ratio than transistor 1448) so that transistor 1448 pulls the inverter output to the common reference and therefore turns the power gating transistor 124 (labelled MP1 in FIG. 15) on, before the input voltage reaches the threshold of the third (low voltage range) voltage detector 146.

(118) The widths of the transistors 1460, 1488 of the output stage of the second (medium voltage range) voltage detector 144 are asymmetrically scaled (i.e. the PMOS transistor 1488 has smaller W/L ratio than the NMOS transistor 1460) in order to speed up the pulling-down of the output V.sub.out(M). This is important during the falling-edge detection, as the power gating transistor 124 needs to be switched on as soon as the input drops below the threshold of the second (medium voltage range) detector 144 to avoid bounce in the open-drain system output V.sub.OD.

(119) The voltage detector system described herein combines ultra-low power consumption, low detection threshold and wide operating range. It is useful for a wide variety of applications including high- and low-side signal monitoring and power-gating, but also for low power control components such as oscillators, gate-drives, and switching devices in low-power converters. For example, due to the voltage detector system's low quiescent input current, capacitive or resistive divider circuits using 100-1000 MΩ resistors can be used to adjust the detection threshold, for example to operate a load only over a desired rail voltage band, commonly referred to as Under-Voltage Lockout. Similarly, high value MΩ pull-up resistors can be used to convert the output into a 2-level output, for example for use in ring oscillators, timers, clocks, wake-up circuits, and pulse generating circuits. This ability to use high-impedance (capacitive or resistive) peripheral components leads to control circuits that use only a few nA of current, which is important for the miniaturisation of wireless sensor nodes, wearable medical health sensors, and internet of things devices.

(120) The one or more embodiments are described above by way of example only. Many variations are possible without departing from the scope of protection afforded by the appended claims.