Voltage reference circuit, voltage detector and voltage detector system
10914768 ยท 2021-02-09
Assignee
Inventors
- Bernard Stark (Bristol, GB)
- Guang Yang (Bristol, GB)
- Chunhong Zhang (Xi'an, CN)
- Plamen Proynov (Bristol, GB)
- Salah Adami (Clifton Bristol, GB)
Cpc classification
International classification
G01R19/165
PHYSICS
H03K17/22
ELECTRICITY
Abstract
A voltage detector (200) for monitoring an input signal and outputting a detection signal at an output when a voltage of the input signal meets a first threshold having: an input configured for receiving the input signal; a voltage reference circuit for receiving an input voltage and producing a reference voltage having a maximum value independent of the input voltage; and a trigger configured to compare the input signal and the reference voltage and to output a detection signal to the output when the voltage of the input signal reaches the first threshold. The voltage reference circuit comprises a reset input connected to either the input or the output and is configured to reduce the reference voltage when a predetermined reset signal is received. The voltage reference circuit may include: an input for receiving the input voltage; a first current controlling element (210), such as a diode, which allows current to flow as an increasing, non-linear function of voltage at least within a first range of voltages; a second current controlling element (240), such as a transistor, which allows current to flow as an increasing, non-linear function of voltage at least with a second range of voltages; and an output at which the output reference voltage is produced. The first current controlling element and the second current controlling element are connected in series between the input and a common reference, with the second current controlling element between the first current controlling element and a common reference, the output comprises a node between the two current controlling elements, the first and second range of voltages overlap and the second current controlling element is configured to vary the function by which it allows current to flow in dependence on the input voltage.
Claims
1. A voltage reference circuit for receiving an input and producing an output reference voltage having a maximum value independent of a voltage of the input, the voltage reference circuit comprising: an input for receiving the input voltage; a first current controlling element which allows current to flow as an increasing, non-linear function of voltage at least within a first range of voltages; a second current controlling element which allows current to flow as an increasing, non-linear function of voltage at least with a second range of voltages; and an output at which the output reference voltage is produced, wherein the first current controlling element and the second current controlling element are connected in series between the input and a common reference, with the second current controlling element between the first current controlling element and the common reference, the output comprises a node between the two current controlling elements, the first and second range of voltages overlap and the second current controlling element is configured to vary the function by which it allows current to flow in dependence on the input voltage; a reset input for receiving a reset signal; and a third current controlling element connected in series between the first current controlling element and the output, wherein the third current controlling element is configured to allow current to flow in dependence on a voltage received at the reset input.
2. A voltage reference circuit according to claim 1 wherein the second current controlling element has a control terminal connected to the input.
3. A voltage reference circuit as claimed in claim 1 wherein the reset input is connected to the input so that the third current controlling element is configured to allow current to flow in dependence on the input voltage.
4. A voltage reference circuit according to claim 1 wherein the third current controlling element has a control terminal connected to the reset input.
5. A voltage reference circuit according to claim 1 arranged to reduce the output reference voltage when a predetermined reset signal is received.
6. A voltage reference circuit according to claim 1 comprising a capacitance connected to the input via the first current controlling element.
7. A voltage reference circuit according to claim 1 comprising a bias-shifting element associated with the second current controlling element.
8. A voltage reference circuit according to claim 1 connected to a trigger configured to compare the input voltage with the output reference voltage and to output a detection signal when the voltage of the input meets a first threshold.
9. A voltage detector for monitoring an input signal and outputting a detection signal at an output when a voltage of the input signal meets a first threshold, the voltage detector comprising: an input configured for receiving the input signal; a voltage reference circuit for receiving an input voltage and producing a reference voltage having a maximum value independent of the input voltage; and a trigger configured to compare the input signal and the reference voltage and to output a detection signal to the output when the voltage of the input signal reaches the first threshold, wherein the voltage reference circuit comprises a reset input connected to either the input or the output and is configured to reduce the reference voltage when a predetermined reset signal is received.
10. A voltage detector according to claim 9 wherein the voltage reference circuit is according to claim 1.
11. A voltage detector according to claim 9 wherein the trigger is an inverter, the voltage reference circuit comprises a capacitance connected to the input via a first current controlling element, and the voltage reference circuit acts as a switch for selectively connecting an input of the inverter to the capacitance or to a common reference, wherein: the switch is operative to connect the input of the inverter to the capacitance during a period in which a voltage of the input signal rises from zero to the first threshold, such that no detection signal is output; the switch is operative to connect the input of the inverter to the common reference when the voltage of the input signal meets the first threshold, such that a detection signal is output while the voltage of the input signal is equal to or greater than the first threshold; and the switch is operative to connect the input of the inverter to the capacitance when the voltage of the input signal drops below a second threshold, such that no detection signal is output.
12. A voltage detector according to claim 9 configured to stop outputting a detection signal when a voltage of the input falls below a second threshold which is lower than the first threshold.
13. A voltage detector system for monitoring an input signal and outputting a detection signal when the voltage of the input signal meets a threshold, the voltage detector system comprising: a first voltage detector having a first reference generator and an input for receiving the input signal and an output for outputting a detection signal, wherein the first voltage detector is configured to output the detection signal when the voltage of the input signal meets a first rising input voltage threshold; a second voltage detector having a second reference generator and an input for receiving the input signal and an output for outputting a detection signal, wherein the second voltage detector is configured to output the detection signal when the voltage of the input signal meets a second rising input voltage threshold which is higher than the first rising input voltage threshold, wherein the output of the second voltage detector controls a connection between the input signal and the input of the first voltage detector such that when the voltage of the input signal meets the second rising input voltage threshold the connection between the input signal and input of the first voltage detector is restricted or disconnected.
14. A voltage detector system according to claim 13 further comprising: a third voltage detector having a third reference generator and an input for receiving the input signal and an output for outputting a detection signal, wherein the third voltage detector is configured to output the detection signal when the voltage of the input signal meets a third rising input voltage threshold which is higher than both the first rising input voltage threshold and the second rising input voltage threshold, wherein the output of the third voltage detector controls a connection between the input signal and the input of the second voltage detector such that when the voltage of the input signal meets the third rising input voltage threshold the connection between the input signal and the input of the second voltage detector is restricted or disconnected.
15. A voltage detector system according to claim 14, wherein the third voltage detector is configured to cease outputting a detection signal when the voltage of the input signal meets a third falling input voltage threshold, wherein the third falling input voltage threshold is lower than the third rising input voltage threshold.
16. A voltage detector system according to claim 14 wherein the first, second and/or third voltage detector comprises a voltage detector according to claim 9.
17. A voltage detector system according to claim 13, wherein the first voltage detector is configured to cease outputting a detection signal when the voltage of the input signal meets a first falling input voltage threshold, wherein the first falling input voltage threshold is lower than the first rising input voltage threshold.
18. A voltage detector system according to claim 13, wherein the second voltage detector is configured to cease outputting a detection signal when the voltage of the input signal meets a second falling input voltage threshold, wherein the second falling input voltage threshold is lower than the second rising input voltage threshold.
19. A voltage detector system according to claim 13 further comprising an open drain output stage, the open drain output stage comprising a plurality of MOSFET devices, each MOSFET device having: a gate terminal connected to the output of a respective one of the voltage detectors; a source terminal connected to a common reference; and a drain terminal connected to an output terminal of the open drain output stage.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1) Embodiments of the invention will now be described, strictly by way of example only, with reference to the accompanying drawings, of which:
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16)
(17)
(18)
(19)
DESCRIPTION OF THE EMBODIMENTS
(20)
(21) 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.
(22) 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
(23) 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.
(24) 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.
(25) 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.
(26) 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.
(27)
(28) 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.
(29) 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.
(30)
(31)
(32) 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.
(33) 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
(34)
(35) As can be seen from
(36) 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.
(37)
(38) 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.
(39) 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.
(40) 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.
(41) 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.
(42) 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).
(43)
(44) The operation of the circuit of
(45) 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
(46) 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 VB 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
(47) 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.
(48) 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=4thermal 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.
(49) V.sub.out then follows the rail voltage V.sub.IN of the inverter.
(50) 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.CV.sub.th230 (i.e. V.sub.cthe 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.
(51) The steady-state current consumption of the voltage detector circuit of
(52)
(53) 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.CV.sub.thP, where V.sub.C is the voltage across the capacitance and V.sub.thP is a positive value.
(54) The second and third voltage detectors 144, 146 both operate in the manner described above in relation to
(55) 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.
(56) 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
(57) The first voltage detector 142 operates as described above in relation to the circuits of
(58) Referring back to the schematic representation of
(59) Referring again to
(60) 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.
(61) 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.
(62) During an input voltage pulse, the three open-drain output transistors 162, 164, 166 (
(63) 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.
(64) The three-level detector architecture of
(65) 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
(66) The design of the second and third voltage detectors, 144, 146 will now be described, with reference to
(67)
(68) Thus, as can be seen in
(69) 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
(70) 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.
(71) 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.
(72) The detection threshold of the voltage detector 146 illustrated in
(73)
(74) The second (medium voltage range) voltage detector 144 of
(75) 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.
(76) 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.
(77) The above embodiments are described by way of example only. Many variations are possible without departing from the scope of the appended claims.