Power-on reset signal generating circuit

Abstract: The circuit (2) includes a generating stage (10) generating a POR pulse; a bump detector (8) detecting bump conditions on the common supply line (6) and enabling the generating stage (10) in the presence of a bump; and a bump supply line (4) connected to a holding capacitor (24) and to the common supply line (6) via an isolation stage (5), which connects the common supply line (6) and the bump supply line (4) in the absence of a bump, and isolates the bump supply line (4) in the presence of a bump. The bump detector (8) is connected to the common supply line (6) and to the bump supply line (4) to generate the POR pulse when the common supply line falls beyond a given level below the voltage of the bump supply line. The circuit is also enabled in the presence of a low supply voltage and when the device is turned off.

Description: The present invention relates to a power-on reset (POR) signal generating circuit. As is known, in integrated devices, and particularly in nonvolatile memories, POR signal generating circuits are frequently used to initialize the various parts of the device and ensure a definite start state. Known circuits only function correctly if activated by rising transitions in supply voltage, which is normally an acceptable condition in the case of devices with adequate protection against a sudden fall in supply. In some devices, however, featuring timed circuits or comprising flip-flops or latches, the above stability condition is impaired by any sudden noise on the power supply line resulting in a marked, rapid fall (bump) in supply, and which may result in errors, which are only recoverable by turning off and re-initializing the device possibly accompanied by a loss of data. PATENT ABSTRACT OF JAPAN vol. 8, no. 272 (E-284) [1709], 13 December 1984 & JP-A-59 141828 (MATSUSHITA DENKI SANGYO KK), 14 August 1984, describes a resetting circuit having the features of the preamble of claim 1. This circuit causes resetting of a protected device at each spike in the supply voltage, which is disadvantageous in some applications, such as in nonvolatile memories. It is an object of the present invention to provide a POR signal generating circuit, which, in addition to the usual pulse when the device is turned on, also provides for producing a further initialization pulse following a sudden variation in supply voltage. According to the present invention, there is provided a power-on reset signal generating circuit, as claimed in Claim 1. Two preferred, non-limiting embodiments of the present invention will be described by way of example with reference to the accompanying drawings, in which: Figure 1 shows a circuit diagram of a first embodiment of the present invention; Figure 2 shows a time plot of a number of electric quantities in the Figure 1 diagram; Figure 3 shows a circuit diagram of a second embodiment of the present invention. Number 2 in Figure 1 indicates a POR signal generating circuit to be integrated in a device 1, in particular a nonvolatile memory, such as an EPROM. Circuit 2 substantially comprises a flip-flop 3 intentionally unbalanced and presenting a weak grounding path; a bump supply line 4; an isolation transistor 5 interposed between bump supply line 4 and a common supply line 6 (at voltage V DD ) for supplying the whole of device 1; a threshold detector 7 connected to flip-flop 3 and to supply line 6; a bump detecting stage 8 connected to the output of flip-flop 3; a POR (power-on reset) signal generating stage 10 connected to the output of flip-flop 3; an inverter 11 connected to the output of generating stage 10; and a ground connection branch 12 connected to the output of inverter 11 and to flip-flop 3. More specifically, flip-flop 3 comprises a first and second PMOS transistor 15, 16, and a first and second NMOS transistor 17, 18. The first PMOS transistor 15 is a native type (with a high threshold, not modified during fabrication), and has the source terminal connected to common supply line 6, the gate terminal connected to an input node 20 (presenting a DW signal), and the drain terminal connected to an output node 21 of flip-flip 3 (presenting an UP signal). The second PMOS transistor 16 has the source terminal connected to common supply line 6, the gate terminal connected to output node 21, and the drain terminal connected to input node 20. The first NMOS transistor 17 has the drain terminal connected to output node 21, the gate terminal connected to input node 20, and the source terminal grounded. The second NMOS transistor 18 presents a low size ratio (W/L ≤ 1) and is therefore a resistive type, and has the drain terminal connected to input node 20, the gate terminal connected to output node 21, and the source terminal grounded. By virtue of its high resistivity, second NMOS transistor 18 defines a weak grounding path, i.e. even when turned on, transistor 18 fails to ensure effective grounding of input node 20 in the presence of voltages such as to bring node 20 to a different potential, as explained in more detail later on. Figure 1 also shows a diode 22 associated with (and deriving in known manner from the implementation of) first PMOS transistor 15, and which intervenes at a given operating step of circuit 2. A capacitor 23 is interposed between output node 21 of flip-flop 3 and the ground line. Bump supply line 4 is connected to a first terminal of a holding capacitor 24, the other terminal of which is grounded; and isolation transistor 5 is a diode-connected NMOS type (i.e. with shorted drain and gate terminals) with the source terminal connected to bump supply line 4, and the drain terminal connected to common supply line 6. Threshold detector 7 comprises a virgin memory cell 25 similar to the memory cells 31 forming a memory array 30 of device 1; an NMOS transistor 26; and a capacitor 27. More specifically, memory cell 25 (preferably surrounded by a number of other cells (not shown) to more closely simulate the operating conditions of cells 31 of memory array 30) has the source terminal grounded, the drain terminal connected to the source terminal of transistor 26, and the gate terminal connected to common supply line 6; transistor 26 also has the gate terminal connected to common supply line 6, and the drain terminal connected to input node 20 of flip-flop 3: and capacitor 27 is interposed between input node 20 and common supply line 6. Bump detecting stage 8 comprises an inverter 34 and an NMOS transistor 9. Inverter 34 comprises a PMOS transistor 35 and an NMOS transistor 36 with the gate terminals connected to each other and to output node 21 of flip-flop 3, and the drain terminals connected to each other and defining an output node 37 presenting a Br signal. The source terminal and the well region of PMOS transistor 35 are connected to bump supply line 4; the source terminal of NMOS transistor 36 is grounded; and node 37 is connected to the gate terminal of transistor 9, the drain terminal of which is connected to output node 21 of flip-flop 3, and the source terminal of which is grounded. Output node 21 of flip-flop 3 is also connected to one input of a NOR gate 45 forming part of generating stage 10, and which presents a second input receiving a disabling signal DIS generated by a logic unit 40 of device 1 for disabling generation of the POR signal. The output of NOR gate 45 is connected to common supply line 6 via a capacitor 46, and to the gate terminals of a PMOS transistor 47 and NMOS transistor 48 defining an inverter. Transistor 47 is a native type with a high threshold for slightly delaying 0-to-1 switching of the output of inverter 47, 48 and the end of the bump pulse (as explained in more detail later on). The connected drain terminals of transistors 47, 48 are connected to an inverter 49, the output of which defines the output 50 of circuit 2, and supplies the POR signal to logic unit 40 to initialize the various parts of device 1. Inverter 11 comprises a PMOS transistor 52 and NMOS transistor 53 with the gate terminals connected to each other and to output 50 of circuit 2. Transistor 52 is a native type with a high threshold for slightly delaying 0-to-1 switching of inverter 11 like transistor 47 and for the reasons explained later on; and the connected drain terminals of transistors 52, 53 define a node 54 to which is connected one terminal of a capacitor 55 (the other terminal of which is grounded). Ground connection branch 12 comprises two NMOS transistors 58, 59 connected in series between input node 20 of flip-flop 3 and ground. More specifically, transistor 58 has the gate terminal connected to node 54, the source terminal grounded, and the drain terminal connected to the source terminal of transistor 59; and transistor 59 has the gate terminal connected to output node 21 of flip-flop 3, and the drain terminal connected to input node 20 of flip-flop 3. With reference also to Figure 2, circuit 2 in Figure 1 operates as follows. When device 1 is turned on and supply voltage V DD starts to rise from zero to the steady-state value, the unbalanced condition of flip-flop 3, due to native transistors 17, 22 and the weak ground connection of input 20 via transistor 18, sets flip-flop 3 with output node 21 low and input node 20 high, so that the UP signal is zero, and the DW signal increases alongside V DD . As the DIS signal is low (circuit 2 disabled), the POR signal is high and follows the increase in V DD ; the output of inverter 11 is low; transistor 58 is off; and ground locking branch 12 is disabled. At this point, threshold detector 7 is also off, by virtue of supply voltage V DD being lower than the threshold value of cell 25; and transistor 5 provides for gradually charging capacitor 24 and pulling up isolated supply line 6, the voltage V B of which increases alongside V DD , less the voltage drop across diode-connected transistor 5. Upon voltage V B reaching the threshold value of transistor 35, this is turned on to bring node 37 to voltage V B , so that transistor 9 is turned on and keeps node 21 of flip-flop 3 grounded. The above condition continues until voltage V DD of common supply line 6 reaches a level ensuring sufficient conductivity of cell 25. In this condition, cell 25 conducts a high current; capacitor 27 is charged; node 20 switches to low; the DW signal switches to low and the UP signal to high; transistor 35 is turned off; transistor 36 is turned on to ground node 37 and the Br signal; transistor 9 is turned off; and NOR gate 45 switches to switch the POR signal to zero with a small delay due to the charging of capacitor 46, thus terminating the power-on reset pulse used in known manner for initialization by the other circuits of device 1 (including logic unit 40, as shown in Figure 1). With a slight delay due to native transistor 52 and the charging of capacitor 55, zero switching of the POR signal also switches node 54 to high and turns on transistor 58 and ground locking branch 12, so that node 20 of flip-flop 3 is firmly grounded, thus consolidating the logic condition of flip-flop 3 and preventing any spurious switching in the event of interference. In the event of a sudden fall in supply voltage V DD (bump situation), bump supply line 4 is immediately isolated from common supply line 6 by diode-connected transistor 5, which is now biased indirectly and maintains its value for a long period of time by virtue of capacitor 24. In the event of a sharp bump (considerable fall in voltage V DD ), circuit 2 switches to generate a further POR pulse. That is, the fall in voltage V DD produces a corresponding fall in the UP signal latched to it; and if the fall in the UP signal is sufficient to turn on transistor 35 (the source terminal of which is connected to isolated supply line 6, which maintains its former level), node 37 switches to high (V B value), and the Br signal switches to high to turn on transistor 9, which grounds node 21. Node 21 may be grounded rapidly by capacitor 23 discharging initially via diode 22 to the momentary value of V DD and then via turned-on transistor 9. Switching of the UP signal switches generating stage 10 to generate the POR pulse, which, even though low in view of the low level of V DD , is capable of switching output 54 of inverter 11 to low, turning off transistor 58, and cutting off the ground connection of node 20, which therefore remains only weakly grounded by resistive transistor 18. At the end of the bump condition, node 20, connected to V DD via capacitor 27 and only weakly grounded, is therefore the fastest in following the increase in supply voltage V DD , and brings the DW signal to the value of V DD to confirm the low state of the UP signal. When the level of supply voltage V DD is sufficient to ensure a significant conductivity of cell 25, threshold detector 7 switches the flip-flop (DW signal low, UP signal high), turns off transistors 35 and 9, and switches generating stage 10, thus terminating the POR pulse, as described above for initialization of the device. Ground locking branch 12 is also enabled once more to provide firmer grounding of node 21. If the bump is not sufficient to turn on transistor 35 and generate the POR pulse as described above, especially in the case of a low supply voltage V DD , a POR pulse is nevertheless generated, only this time differently. That is, in the event of a fall in voltage on common line 6, capacitor 27, previously charged to voltage V DD , tends to bring node 20 below ground. In actual fact, node 20 is not lowered greatly (at most it is lowered by a junction threshold - about 0.6 V - due to the diode associated with each directly biased PN junction) and capacitor 27 is partly discharged. Consequently, when voltage V DD returns to its normal value shortly after (assuming a fast bump condition), capacitor 27 latches node 20 to V DD , so that node 20 switches to high, flip-flop 3 switches, node 21 is grounded, and a short POR pulse is generated. This mode is particularly useful in the case of a low supply voltage V DD (e.g. 3 V, with V B at 2 V), in which case, a considerable bump (a fall in V DD practically to. ground level) would be required to turn on transistor 35 and generate the POR pulse as described in the first mode. With the mechanism described, on the other hand, the POR pulse is also generated even in the event of a low supply voltage. The POR pulse generated in either one of the above two modes is supplied to the circuits (not shown) for generating an address transition detecting pulse ATD, to determine a further read cycle of the device, and so correct any errors caused by the bump situation and prevent malfunctioning of the device. Circuit 2 also provides for generating a POR pulse when device 1 is turned off, in which case, the reduction in supply voltage V DD turns on transistor 35 and enables generating stage 10. Though low, the POR pulse obtained in this case may nevertheless be used by device 1 to prevent spurious conditions, such as spurious programming of the device. Circuit 2' in Figure 3 is used in the presence of a first read supply voltage BSW greater than V DD , and a second programming supply voltage VPC. Voltage BSW, corresponding to the voltage of the word lines in read mode (as stated, greater than V DD due, for example, to device 1 featuring a voltage booster circuit) is equal to VPC in read mode, and is isolated from VPC in programming mode (when VPC is brought to the programming value of, say, 12 V). Circuit 2' therefore differs from circuit 2 in Figure 1 by presenting, in addition to common supply line 6, a read supply line 59 at voltage BSW; a high-voltage supply line 60 at voltage VPC; a switching stage 61; and a power-off structure 62 for turning off threshold detector 7 at the end of the bump to prevent any high voltage reaching circuit 2' from damaging cell 25. More specifically, switching stage 61 comprises two PMOS transistors 63, 64 with the source and well terminals connected to high-voltage supply line 60. Transistor 63 has the gate terminal (node 68) connected to the drain terminal of transistor 64, and the drain terminal (node 66) connected to the gate terminal of cell 25 and to the drain terminal of an NMOS transistor 65, which has the source terminal grounded and the gate terminal connected to node 54. Transistor 64 has the gate terminal connected to node 66, and the drain terminal connected to the drain terminal of an NMOS transistor 67, which has the source terminal grounded and the gate terminal connected to node 50. Power-off structure 62 comprises two NMOS transistors 70, 71 with the gate terminals connected to each other and to an input node 72 of circuit 2' presenting a BDIS signal for disabling the bump detecting and POR pulse generating function when programming device 1. More specifically, transistor 70 has the drain terminal connected to input node 20 of flip-flop 3, and the source terminal grounded; and transistor 71 has the source terminal grounded and the drain terminal connected to the gate terminals of cell 25 and transistor 26 (node 66). In circuit 2', isolation transistor 5 is no longer diode-connected, and has the gate terminal connected to node 68, and the drain terminal connected to read supply line 59; and a capacitor 76 is provided between node 66 and ground. Circuit 2' operates in the same way as the Figure 1 circuit, with the following exceptions. When circuit 2' is turned on, flip-flop 3 is set in exactly the same way as described above. Upon generation of the POR pulse, node 50 is high and node 54 low, so that transistor 65 stays off, and transistor 67 is turned on to ground node 68 and turn on transistor 63; node 66 is latched to high-voltage supply line 60 at voltage VPC, now equal to BSW, so that the cell read voltage is transferred to the gate terminal of cell 25; and the low level of node 68 maintains a low gate terminal of isolation transistor 5, which is therefore off and cuts off the connection between line 59 and bump supply line 4. At this point, therefore, voltage V B of circuit 2' remains low, and the BDIS signal is low to keep structure 62 off. As in circuit 2, when voltage VPC reaches a level ensuring sufficient conductivity of cell 25, flip-flop 3 switches to terminate the POR pulse. As soon as the POR pulse is terminated, transistor 67 is turned off and transistor 65 turned on to switch switching stage 61; node 68 switches to high, to voltage VPC, still equal to BSW, so as to diode connect isolation transistor 5, which provides for rapidly charging bump supply line 4 to voltage BSW, less the voltage drop across transistor 5; and node 66 is grounded to disconnect cell 25 from high-voltage line 60, which, during programming, reaches such voltage levels as to alter the characteristics and subsequently prevent correct operation of cell 25. In the event of a bump, generation of the POR pulse (in either one of the two modes described above relative to circuit 2) switches switching stage 61, and supplies cell 25 with voltage VPC to monitor it as described. To safely prevent the high VPC voltage from reaching threshold detector 7 when programming device 1, cell 25 and node 20 are forcibly grounded by transistors 70, 71 driven by the now high BDIS signal. This is also accompanied by switching stage 61 cutting off the path between high-voltage supply line 60 and cell 25, as described above. The advantages of the circuit described are as follows. In particular, it provides for generating a POR pulse, not only when device 1 is turned on, but also in the event of a bump. The POR pulse is generated by virtue of bump supply line 4, which is precharged during normal operation of the device, and is completely isolated in the bump condition, so as to form a source of energy for resetting generating stage 10 and generating the POR pulse. The circuit described also provides for generating the POR pulse in the event of a minor bump, and in particular in the event of a low supply voltage, thus ensuring device 1 is reset even in the worst conditions, as well as when the device is turned off, to ensure correct operation of the device. By monitoring the read voltage of the cells by means of an element structurally and functionally equivalent to the device cells, the circuit described ensures the POR pulse is only terminated when conditions are such as to ensure correct reading of the cells and hence correct operation of the device. The circuit described presents no static consumption, and no elements involving consumption on bump supply line 4, thus ensuring effective operation of line 4. The presence of a modulatable grounding line provides for rapid response of the circuit at the end of the bump condition, with no impairment in the operation of the circuit itself, and with no danger of POR pulses being generated erroneously during normal operation of the device. Clearly, changes may be made to the circuit as described and illustrated herein without, however, departing from the scope of the present invention.

Claims: A power-on reset signal generating circuit comprising a first line (6) at a first reference potential (V DD ), a generating stage (10) for generating a power- on- reset or POR pulse, and bump detecting means (8) for detecting a voltage fall or bump on said first line (6) and including enabling means for enabling said generating stage (10) in the presence of a bump, characterized by a second line (6; 59) at a second reference potential (V DD ; BSW) correlated to the first reference potential (V DD ); a third line at a third reference potential (ground); a bump supply line (4) including 1 voltage holding means (24); an isolation stage (5) interposed between said second line (6; 59) and said bump supply line (4), and for connecting said second line (59) and said bump supply line (4) in the absence of a bump, and for cutting off the connection in the presence of a bump; and further characterized in that said bump detecting means (8) present a first input (21) connected to said first line (6); and a second input connected to said bump supply line (4) and to an enabling output connected to said generating stage (10). A circuit as claimed in Claim 1, characterized by end-of-bump detecting means (7) connected to said first line (6) and generating a disabling signal (DW) for disabling said generating stage (10) at the end of the bump. A circuit as claimed in Claim 2, characterized by memory means (3) connected to said first line (6) and presenting an input (20) connected to said end-of-bump detecting means (7), and an output (21) connected to said bump detecting means (8). A circuit as claimed in Claim 2 or 3, characterized by a fourth line (60) at a fourth reference potential (VPC); and switching means (61) interposed between said fourth line and said end-of-bump detecting means (7), and connected to said generating stage (10) to disconnect said fourth line (60) from said end-of-bump detecting means (7) in the absence of said POR pulse. A circuit as claimed in any one of the foregoing Claims , characterized in that said isolation stage comprises a first diode-connected transistor (5). A circuit as claimed in Claim 4, characterized in that said isolation stage comprises a MOS transistor (5) having a first and second terminal connected to said second line (6; 59) and to said bump supply line (4), and a control terminal connected to said fourth line (60) via said switching means (61). A circuit as claimed in any one of the foregoing Claims , characterized in that said bump detecting means (8) comprise a second (35) and third (9) transistor; said second transistor (35) having a first terminal connected to said bump supply line (4), a control terminal connected to said input (21) of said bump detecting means (8), and a second terminal; and said third transistor (9) having a first terminal connected to said input (21) of said bump detecting means, and a control terminal connected to said second terminal of said second transistor (35). A circuit as claimed in one of Claims 2, 3 and 5 to 7, characterized in that said end-of-bump detecting means (7) comprise a nonvolatile memory cell (25)-having a first terminal connected to said first line (6) via connecting means (26, 27), a second terminal connected to said third line, and a control terminal connected to said first line (6). A circuit as claimed in Claim 8, characterized in that said connecting means comprise a fourth MOS transistor (26) and a capacitive element (27). A circuit as claimed in any one of Claims 3-9, characterized in that said memory means (3) comprise a naturally unbalanced flip-flop having an input (20) connected to an output of said generating stage (10) and to an output of said end-of-bump detecting means (7), and an output (21) connected to an input of said bump detecting means (8) and of said generating stage. A circuit as claimed in Claim 10, characterized in that said flip-flop comprises a fifth and sixth transistor (15, 16) of PMOS type, and a seventh and eighth transistor (17, 18) of NMOS type; said fifth transistor (15) being interposed between said first line (6) and said output (21) of said flip-flop (3), and being a native type; said seventh transistor (17) being interposed between said output of said flip-flop and said third line, and being a native type; said sixth transistor (16) being interposed between said first line (6) and said input (20) of said flip-flop (3); and said eighth transistor (18) being interposed between said input (20) of said flip-flop and said third line, and being a resistive type. A circuit as claimed in Claim 11, characterized by a connection stage (12) interposed between said input (20) of said flip-flop (3) and said third line; said connection stage comprising a disabling input (54) connected to said generating stage (10) and receiving said POR impulse from said generating stage (10) to connect said input (20) of said flip-flop (3) to said third line in the absence of said POR pulse. A circuit as claimed in Claim 12, characterized in that said connection stage (12) comprises a connection transistor (59) having a first terminal connected to said input (20) of said flip-flop (3), a control terminal connected to said output (21) of said flip-flop, and a second terminal connected to said third line via a switching element (58) having a control terminal connected to the output of said generating stage (10).

Inventors: PASCUCCI LUIGI, PASCUCCI, LUIGI
Applicants: ST MICROELECTRONICS SRL, STMICROELECTRONICS S.R.L.
Application year: 1996
Main classification: G11C5
IPC codes: G11C5, H03K17