CIRCUIT FOR VOLTAGE LEVEL DETECTION

Abstract: A voltage level detection circuit (1) with a threshold level which is dependent on the manufacturing process. The circuit comprises a first current generator (4) which generates a monitoring current (I>M<) derived from the voltage (V>M<) to be monitored. This monitoring current (I>M<) is compared with a reference current (I>ref1<). A switchable reference current (I>ref2<) provides for hysteresis. The first current generator (4) comprises an element, the resistance of which depends on the manufacturing process.

Description: Circuit for voltage level detection The present invention relates in general to monitoπng a voltage level at a specified detection point such as a pin of an integrated circuit More particularly, the present invention relates to monitoπng the supply voltage of an integrated circuit, and to inhibit such integrated circuit duπng power up However, the present invention is not limited to application in integrated circuits Further, the present invention is not limited to monitoπng a supply voltage, but the present invention can be utilized for monitoπng any voltage level In the following, however, the present invention will be explained in the context of a power-up situation of an integrated circuit When an electronic circuit such as an integrated circuit is initiated or powered- up, l e that the supply voltage to such circuit is switched on, the supply voltage will πse from zero to an operational supply voltage within a certain amount of time Duπng a first stage of the πsing of the supply voltage, the supply voltage will be less than a certain minimum voltage at which the circuit is designed to function properly The functioning of the circuit for a supply voltage below such minimum voltage is undefined, therefore, it is desirable to inhibit any functioning of the circuit until the supply voltage reaches such minimum voltage Further, it is desirable to assure that the components of the integrated circuit are in a well- defined initial state when the circuit starts to function Therefore, in general there is a need for a voltage detection circuit generating a signal that is indicative for whether or not the voltage at a detection point has reached a certain threshold level The output signal generated by such circuit can be applied to other circuitry for inhibiting the functioning thereof Such voltage detection circuits are known per se For instance, EP-A- 0 433 696 discloses a voltage detection circuit compπsing a load for creating a voltage drop and generating a reduced voltage, which is compared with a reference voltage An output voltage is HIGH as long as the voltage to be detected is lower than a tπp point When the voltage to be detected exceeds such tπp point, the output voltage becomes LOW For obtaining a desired amount of hysteresis, a feedback signal which is associated with the output voltage controls a switch which shorts at least part of said load in order to reduce said voltage drop and to increase said reduced voltage A general disadvantage of conventional supply voltage detection circuits is that the threshold level is fixed and predefined. As a consequence, in view of the fact that in practice the threshold levels in individual chips will show a certain spread, such fixed threshold level must be chosen well above the minimum supply voltage necessary for a correct functioning of the chip This means that a valid supply voltage range is relatively small. Further, it is considered a disadvantage that the pπor art circuitry operates on voltage signals A circuit for summing or subtracting signals is relatively complicated when implemented in voltage domain, and will consume relatively much power which results in relatively fast exhaustion of a battery A general objective of the present invention is to provide a voltage level detection circuit without the above-mentioned disadvantages More particularly, it is an objective of the present invention to provide a voltage level detection circuit where the threshold level for each chip can be set and individually adjusted after manufactuπng the chip Further, it is an objective of the present invention to provide a voltage level detection circuit where the threshold level is depending on the manufactuπng process of the individual chip. Further, it is an objective of the present invention to provide a voltage level detection circuit having only a very small power consumption, especially after power-up. These and other aspects, characteπstics and advantages of the present invention will be further claπfied by the following descπption of a preferred embodiment of a power-on-reset circuit in accordance with the invention, with reference to the drawings, in which same reference numerals indicate equal or similar parts, and in which: Figure 1 is a block diagram illustrating the functioning of an adaptive power- on-reset (POR) circuit according to the present invention; Figure 2 illustrates in more detail a preferred embodiment of the POR circuit according to the present invention; Figures 3A-B show embodiments of a process sensitive resistor for use in an adaptive POR circuit according to the present invention; and Figure 4 shows schematically a programmable current source Figure 1 is a block diagram of an adaptive power-on-reset (POR) circuit 1, illustrating the basic pπnciples of the present invention The POR circuit 1 has a monitoring input 2 for receiving a voltage V M to be monitored. The POR circuit 1 comprises three current sources 4, 5, 6, and a current comparator 10, having two current inputs 11 and 12, a signal output 13, and a control output 14. A first current source 4 generates a monitoring current I M that is representative for the voltage V M to be monitored; preferably, the monitoring current I M is proportional to the voltage V M to be monitored, or at least the characteristic of I M as a function of V is monotonic. The monitoring current I M is input into the second current input 12 of the current comparator. A second current source 5 generates a first reference current I re π . Preferably, the first reference current I re π is constant. The second current source 5 may receive its power from a separate power line, but it is also possible that the second current source 5 receives its power from the voltage V M to be monitored, as shown. The first reference current I re π is input into the first current input 11 of the current comparator. A third current source 6 generates a second reference current I re 2 . Preferably, the second reference current I ref2 is constant. The third current source 6 may receive its power from a separate power line, but it is also possible that the third current source 6 receives its power from the voltage V M to be monitored, as shown. The third current source 6 is a controllable current source which has its output coupled to the first current input 11 of the current comparator 10 through a controllable switch 7, which is controlled by a control signal Sc generated by the comparator 10 at its control output 14. Thus, the occurrence of the second reference current I re β is controlled by the control signal Sc. As an alternative, the third current source 6 itself may be a controllable current source. The comparator 10 generates an output signal S at its output 13, which is coupled to the output 3 of the circuit 1. The comparator 10 is adapted to compare the currents received at its two inputs 11 and 12, and to generate the output signal S and the control signal Sc depending on the result. If the magnitude of the current at its first input 11 is higher than the magnitude of the current at its second input 12, the output signal of the current comparator 10 has a first value, and the control signal Sc has a switch closing value. If the magnitude of the current at its first input 11 is less than the magnitude of the current at its second input 12, the output signal of the current comparator 10 has a second value differing from the first value, and the control signal Sc has a switch opening value. Preferably, the output signal S is a voltage signal, and the first value is HIGH while the second value is LOW so that the output signal S is directly applicable as inhibit signal for integrated circuits, which usually expect an inhibit Λ 4 signal HIGH. Further, preferably, the controllable switch 7 is of such type that the switch closing value of the control signal Sc is LOW while the switch opening value is HIGH. The operation of the circuit 1 is as follows. As long as the voltage V M to be monitored is relatively low, the monitoring current I M from the first current source 4 will be lower than the first reference current I re π from the second current source 5. Then, the output signal S of the current comparator 10 will have the first value (HIGH). Further, the control signal Sc from the current comparator 10 will be such (LOW) that the controllable switch 7 is closed (conductive state); hence, the current comparator 10 receives a current I ref i + I ref2 at its first input 11. If V M rises such that the monitoring current I M from the first current source 4 will be higher than the combined cuπents I re π + l κ n at the first input 11, the output signal S of the current comparator 10 will have the second value (LOW). In other words, the output signal S of the comparator 10 will switch from first value to second value when I M passes a first threshold level I TH ι = Irefi + I.erc in a rising direction. Further, the control signal Sc from the current comparator 10 will be such (HIGH) that the controllable switch 7 is opened (non- conductive state); hence, the current comparator 10 now receives only the first reference current I ref i at its first input 11. Consequently, the output signal S of the comparator 10 will switch back from second value to first value only when I M passes a second threshold level I TH2 = Irefi in a downward direction. The first threshold level I TH ι corresponds to a V DD level at which a POR signal is expected. The difference I TH I - IT Ή2 = I .e β consitutes a hysteresis of the circuit 1. Normally, such hysteresis is desirable for proper operation. However, if no hysteresis is necessary or desired, the third current source 6 and the controllable switch 7 may be omitted, and the comparator 10 does not need to provide a control signal Sc. Figure 2 illustrates in more detail a preferred embodiment of the POR circuit 1. In this embodiment, the voltage to be monitored is the power supply line V DD - The second current source 5 is implemented as a second PMOS transistor 50 having its source connected to the power supply line V DD and having its drain connected to an input 81 of a first inverter 80. The third current source 6 is implemented as a third PMOS transistor 60 having its source connected to the power supply line V DD - The controllable switch 7 is implemented as a fourth PMOS transistor 70 having its source connected to the drain of transistor 60 and having its drain connected to the input 81 of the first inverter 80. The gate of transistor 70 is connected to the output 82 of the first inverter 80. The POR circuit 1 of Figure 2 further comprises a second inverter 83 having an input 84 and an output 85. The input 84 of the second inverter 83 is connected to the output 82 of the first inverter 80. The output 85 of the second inverter 83 is connected to the output 3 of the circuit 1 for providing the POR-signal of the circuit 1. The first current source 4 is implemented as a process sensitive current source 40 comprising a primary current source 41 implemented as first PMOS transistor, a secondary current source 42 implemented as first NMOS transistor, and a process sensitive resistor (PSR) 49 comprising a resistive block 43 connected in series with a second NMOS transistor 44. First PMOS transistor 41 has its source connected to the power supply line V DD and its drain connected to a first terminal of the PSR 43. First NMOS transistor 42 has its source connected to ground and its drain connected to the input 81 of the first inverter 80. Second NMOS transistor 44 has its source connected to ground and its drain connected to a second terminal of the resistive block 43. The gates of NMOS transistors 42 and 44 are connected together and to the drain of second NMOS transistor 44, such as to form a current mirror configuration. Herein, the secondary current source 42 delivers a current I that is proportional to the current Ip in the second NMOS transistor 44 according to I M = cdp, being the current gain of the current mirror constituted by the NMOS transistors 42 and 44; in the circuit as shown, α = 2. In this embodiment, the current comparing function of the comparator 10 is provided by the fact that the first current source 4 generates a current I M of opposite sign with respect to the currents I re π and I re f2, while further these three currents are fed to one node. The transistors 50, 60 and 42 in combination constitute a current comparator with voltage output; said one node is the input 81 of inverter 80. PMOS transistors 41, 50 and 60 have their respective gates coupled in common to receive a bias voltage V b i as from a bias voltage source not illustrated in the drawing. For instance, the bias voltage source can be provided by a current reference circuit, or any other suitable reference source for providing a constant voltage V b i as * When V DD is zero or starts to rise from zero, the PMOS transistors 41, 50 and 60 are OFF. When V DD has risen above V bias , the PMOS transistors 41, 50 and 60 are switched ON. Herein, the PMOS transistors 50 and 60 are acting as constant current sources, providing respective currents I re π and I ref2 . Similarly, PMOS transistor 41 acts as current source, generating a current I p the magnitude of which being, however, not constant but depends on V DD in view of the PSR 49 connected in series with PMOS transistor 41. PSR 49 has a monotonic current-voltage characteristic: the larger the voltage drop over PSR 49, the larger the magnitude of the currect flowing through it. As long as V DD is relatively low, the primary current I p from transistor 41 will be relatively low. Consequently, monitoring current I M will be relatively low, i.e. smaller than I re π + I ref2. hence the output of the first inverter 80 will be LOW, and the POR output will be HIGH. When VQ D rises, the primary current I p will increase, as will the monitoring current I M , whereas I re π and I re f 2 will, at least substantially, remain constant. At a certain value of V DD , the monitoring current I M will be equal to I re π + I re f ; this certain value of V DD will be indicated as "switching level". When V DD rises further, the magnitude of the monitoring current I M becomes larger than the magnitude of I re fi + I r ef2, and the POR output switches to LOW. Since the impedance of the resistive block 43 of the PSR 49 depends on the manufacturing process, the voltage drop over the resistive block 43 of the PSR 49 also depends on the manufacturing process. Therefore, the voltage at the gate of first NMOS transistor 42 depends on the process. Consequently, the exact magnitude of the monitoring current I M generated by first NMOS transistor 42 depends on the manufacturing process. As indicated earlier, the POR output signal may be applied to other circuitry, indicated hereinafter as "target circuitry", for inhibiting the functioning thereof during power-up. The POR output signal may also be applied to other circuitry as a reset signal. Such target circuitry will have a certain Reset Threshold Level RTL. The present circuit will be designed in such a way, that the switching level thereof corresponds to RTL of the target circuitry, i.e. the POR output switches from HIGH to LOW when V DD reaches RTL. When manufacturing integrated circuits on a wafer, the transistors within one IC will only have an insignificant parameter spread whereas the transistors in different ICs may have a relatively large parameter spread. This means that in some ICs, the transistors may have a relatively low RTL, whereas in other ICs, the transistors may have a relatively high RTL. Now, it is advantageous to have the POR circuit of the present invention implemented on the same chip. Then, in an IC with a relatively low RTL, the PSR 49 will already "allow" a certain current I P to flow at a relatively low value of V DD . Similarly, in an IC with a relatively high RTL, the PSR 49 will "need" a relatively high value of V DD for the same magnitude of primary current I P . In other words, the POR switching level is automatically and individually adapted to the RTL of the target circuitry. Examples of embodiments of the resistive block 43 of the PSR 49 are shown in Figures 3A and 3B. In the embodiment of Figure 3A, a resistive block 43A is implemented by a fifth PMOS transistor 46 having its gate terminal connected to its drain terminal and to the drain terminal of the second NMOS transistor 44. The source terminal of PMOS transistor 46 functions as input terminal for receiving the output current Ip of the first PMOS transistor 41. In the embodiment of Figure 3B, a resistive block 43B comprises the fifth PMOS transistor 46 as described above, and a combination of two cascaded transistors, i.e. PMOS transistor 47 and NMOS transistor 48, connected in series between the fifth PMOS transistor 46 and the second NMOS transistor 44. Transistor 47 has its source terminal connected to the drain terminal of transistor 46. Transistor 48 has its source terminal connected to the drain terminal of transistor 44. Transistor 48 has its drain terminal connected to the drain terminal of transistor 47, and the gate terminals of transistors 47 and 48 are connected to this node. It is possible to have two or more of such combinations of cascaded transistors coupled in series between transistors 46 and 45. Thus, is easily possible to select a suitable switching threshold. It should be clear to a person skilled in the art that the scope of the present invention is not limited to the examples discussed in the above, but that several amendments and modifications are possible without departing from the scope of the invention as defined in the appending claims. For instance, other types of configuration may implement the PSR 49. Also, any suitable type of switch can implement the controllable switch 7. The switch may be of a type that is to be controlled by the output of the second inverter 83. Further, a current mirror may be implemented by other means than the two transistors 42, 44. If the circuit is used to monitor a voltage different from the supply voltage, it may be desirable to use a level shifter to deliver proper logic levels because the voltage to be monitored is generally lower than supply voltage. Further, it is not necessary for the three PMOS transistors 41, 50 and 60 to have their gates biased by the same bias voltage, although such is preferred. In the foregoing, the invention is described in relation to three fixed current sources 4, 5 and 6. Herein, the second current source 5 generates a first reference current I re π which determines the switching level of the circuit and which is, in principle, constant, while the third current source 6 generates a second reference current I re β which determines the hysteresis of the circuit and which is also, in principle, constant. As an alternative, any of the said current sources can be implemented as programmable current source. Figure 4 shows schematically a possible embodiment for such programmable current source 90, comprising a plurality of N series combinations of a fixed current source 91 and a controllable switch 92 connected in parallel. The controllable switches 92, (i=l ...N) are controlled by a control unit 93, which receives an output signal from the current comparator 10 as input signal. The control unit can be implemented in any known per se manner. The control unit can be adapted after manufacture, in order to establish which of the controllable switches 92, are actually controlled by the control unit 93 and which are not. As a consequence, the magnitude of the current generated by the programmable current source 90 in response to the output signal from the current comparator 10 can be set after manufacture. When the third current source 6 is implemented as such a programmable current source, the hysteresis of the circuit can be set after manufacture. When the second current source 5 is implemented as such a programmable current source, the switching level of the circuit can be set after manufacture.

Claims: CLAIMS: 1. Voltage level monitoring circuit, comprising: - a first reference current source (5) for generating a first reference current (I ref i); - a monitoring current source (4) for generating a monitoring current (I M ) derived from a voltage (V M ) to be measured; - a comparator device (10) comprising a first current input (11) coupled for receiving the first reference current (I re fi) and a second current input (12) coupled for receiving the monitoring current (I M ), and at least one measuring signal output (13), the comparator being arranged for comparing the currents received at its two current inputs (11, 12) and for generating at the measuring signal output (13) a measuring signal (S) with a first value when the current received at its second current input (12) is less than the current received at its first current input (11), and with a second value when the current received at its second current input is more than the current received at its first current input. 2. Voltage level monitoring circuit according to claim 1, wherein the first reference current source (5) comprises a PMOS transistor (50) having its source coupled for receiving the voltage (V DD ) to be measured, having its gate coupled for receiving a bias voltage (V bias ), and having its drain coupled to the first current input (11) of the comparator device (10). 3. Voltage level monitoring circuit according to claim 1 or 2, further comprising a second reference current source (6) for generating a second reference current (I re f2), a current output of the second reference current source (6) being coupled to the comparator device (10) through a controllable switch (7). 4. Voltage level monitoring circuit according to claim 3, wherein the controllable switch (7) is controlled by a control signal (Sc) generated by the comparator device (10). 5. Voltage level monitoring circuit according to claim 4, wherein the control signal (Sc) renders the controllable switch (7) conductive when the magnitude of the current received at the first input (11) of the comparator device (10) is higher than the magnitude of the current received at the second input (12) of the comparator device (10), and renders the controllable switch (7) non-conductive when the magnitude of the current received at the first input (11) of the comparator device (10) is lower than the magnitude of the current received at the second input (12) of the comparator device (10). 6. Voltage level monitoring circuit according to claim 3, 4 or 5, wherein the second reference current source (6) comprises a PMOS transistor (60) having its source coupled for receiving the voltage (V DD ) to be measured, having its gate coupled for receiving a bias voltage (V bias ), and having its drain coupled to the controllable switch (7). 7. Voltage level monitoring circuit according to claim 3, 4, 5, or 6, wherein the controllable switch (7) comprises a PMOS transistor (70) having its source coupled the current output of the second reference current source (6), having its drain coupled to the first current input (11) of the comparator device (10), and having its gate coupled to a control output (14) of the comparator device (10). 8. Voltage level monitoring circuit according to claim 1, 2, 3, 4, 5, 6, or 7, wherein the comparator device (10) comprises: a first inverter (80) having an input (81) and an output (82); a second inverter (83) having an input (84) and an output (85); the output (85) of the second inverter (83) being connected to the output (13) of the comparator device (10); the input (84) of the second inverter (83) being coupled to the output (82) of the first inverter (80); and the input (81) of the first inverter (80) being coupled to both the first and second current inputs (11; 12) of the comparator device (10). 9. Voltage level monitoring circuit according to claim 8, as far as depending on claim 7, wherein the output (82) of the first inverter (80) is coupled to the control output (14) of the comparator device (10). 10. Voltage level monitoring circuit according to claim 1, 2, 3, 4, 5, 6, 7, 8, or 9, wherein the monitoring current source (4) comprises: a primary current source (41) for generating a primary current (I P ), a secondary current source (42) for generating the monitoring current (I M ), and a process sensitive resistor (49) connected in series with said primary current source (41). 11. Voltage level monitoring circuit according to claim 10, wherein the primary current source (41) comprises a PMOS transistor having its source connected to the voltage (V DD ) to be monitored, having its gate coupled for receiving a bias voltage (V bιas ), and having its drain connected to a first terminal of the process sensitive resistor (49). 12. Voltage level monitoring circuit according to claim 10 or 11, wherein the secondary current source (42) comprises a first NMOS transistor having its source connected to ground and its drain coupled to the second current input (12) of the comparator device (10); a second NMOS transistor (44) having its source connected to ground and its drain connected to a resisitive block (43) of the process sensitive resistor (49); the gates of the first and second NMOS transistors (42; 44) being connected together and to the drain of the second NMOS transistor (44). 13. Voltage level monitoring circuit according to claim 10, 11 or 12, wherein the process sensitive resistor (49) comprises a further PMOS transistor (46) having its gate terminal connected to its drain terminal in a gate/drain node and having its source terminal coupled to the current output of the primary current source (41) for receiving the primary current (Ip). 14. Voltage level monitoring circuit according to claim 13, the process sensitive resistor (49) further comprising at least one combination of two cascaded transistors (PMOS 47, NMOS 48) connected in series with said gate/drain node, a first one of said cascaded transistors (47) having its source terminal coupled to the drain terminal of the further PMOS transistor (46), a second one of said cascaded transistors (48) having drain terminal connected to the drain terminal of said first one of said cascaded transistors (47), and the gate terminals of said cascaded transistors (47, 48) being connected to each other and to the respective drain terminals of said cascaded transistors (47, 48). 15. Voltage level monitoring circuit according to any of the previous claims, wherein any of the monitoring current source (4), the first reference current source (5), and the second reference current source (6) comprises a programmable current source (90).

Inventors: WANG ZHENHUA, WANG, ZHENHUA
Applicants: KONINKL PHILIPS ELECTRONICS NV, KONINKLIJKE PHILIPS ELECTRONICS N.V.
Application year: 2000
Main classification: G01R19
IPC codes: G01R19, H01L21, H01L27