LOW POWER VOLTAGE SENSING CIRCUIT
Technical Field
The present invention relates to a voltage sensing circuit, and more particularly to a low power voltage sensing circuit for use with a single integrated circuit module having an electrically non¬ volatile memory array storing data and an electrically volatile memory array for receiving some of the data from the non-volatile memory array.
Background of the Invention
Voltage sensing circuits are well known in the art. Typically, they are circuits used in an integrated circuit device. In one mode of operation termed "power up" mode, they receive the input voltage signal and generate an output voltage signal when the input voltage signal has exceeded a minimal threshold. Prior to that, when the input voltage signal is below the threshold level, the voltage sensing circuit does not generate the output voltage signal. The output voltage signal can be used to disable certain critical portion of the circuit to prevent it from causing uncertain status due to either voltage level or system noise. In many applications where the integrated circuit module comprises a memory array, this is crucial to protect the integrity of the data that is stored in the memory array.
A voltage sensing circuit also operates in a "power down" mode. In a power down mode, when the input voltage signal falls below a minimal threshold level, then the voltage sensing circuit would decrease its output voltage signal to zero, thereby assuring that when the power supply voltage goes
below the minimal threshold level, certain critical portion of the circuit is disabled, preventing it from causing uncertainty in the state of the memory stored in the memory array due to low voltage level or system noise.
Although voltage sensing circuits are well known in the art, they have typically consumed too much power in their operation. As the level of integration increases and as integrated circuits find increasing usage in low power consumption applications, such as battery powered notebook computers, it is desirable to have the voltage sensing circuit consume less power.
Summary of the Invention Accordingly, in the present invention, a voltage sensing circuit is disclosed. The voltage sensing circuit receives an input voltage signal and generates an output voltage signal. The circuit has a sensing node. A first P-type MOS transistor has two ends and a gate. One end of the first transistor is connected to receive the input voltage signal. The other end of the first transistor is connected to the sensing node to provide a sensing signal thereto. The circuit also has means for receiving the input voltage signal and for generating a first voltage signal where the first voltage signal is lower in voltage than the input voltage signal. A second P- type MOS transistor also has two ends and a gate with one of its ends connected to receive the first voltage signal. A first voltage source is connected to the gates of the first and second P-type MOS transistors. A third N-type MOS transistor also has two ends and a gate, with one end connected to the sensing node. The gate of the N-type MOS transistor
is connected to another end of the second P-type MOS transistor. A second voltage source is connected to another end of the third N-type MOS transistor. A driver means is connected to the sensing node for receiving the sensing signal and for producing the output voltage signal in response thereto.
Brief Description of the Drawings
Figure 1 is a schematic circuit diagram of the voltage sensing circuit of the present invention. Figures 2a and 2b are two embodiments of the circuit shown in the block referred to as "Volt Ref 1", shown in Figure 1.
Figure 3 is a schematic diagram of an embodiment of the circuit shown in the block referred to as "Volt Ref 2", shown in Figure 1.
Figures 4a and 4b are two embodiments of the voltage drop circuit portion of the device shown in Figure 1.
Figures 5a and 5b are two embodiments of the driver portion of the device shown in Figure 1.
Figure 6 is a schematic block diagram of a single integrated circuit module with an electrically non-volatile memory array and the voltage sensing circuit of the present invention.
Detailed Description of the Drawings
Referring to Figure 1 there is shown a schematic block level diagram of the voltage sensing circuit 10 of the present invention. The voltage sensing circuit 10 receives an input voltage signal 12 and generates an output voltage signal 13. The circuit 10 comprises a sensing node 15 at which a sensing signal is generated. The sensing signal is supplied
to a driver circuit 60 from which the output voltage signal 13 is produced.
The voltage sensing circuit 10 has a first transistor 14, shown in the preferred embodiment as being P-type MOS transistor. The transistor 14 has two ends, designated as 14a and 14b, and a gate, designated as I4g. In conventional MOS transistors, the two ends can be the source and drain. However, since the first transistor 14 and all the other transistors described herein are symmetrical in that the source and the drain can be interchanged, reference will only be made to each transistor as having two ends and a gate. One of the ends, 14a of first transistor 14 is connected to receive the input voltage signal 12. The other end, 14b is connected to the sensing node 15 to provide the sensing signal thereto. A first voltage reference 30, shown in greater detail hereinafter, supplies a first voltage to the gate 14g of the first transistor 14. The input voltage signal 12 is also supplied to a voltage drop circuit 40, which will also be described in detail hereinafter. The voltage drop circuit 40 receives the input voltage signal 12 and generates a first voltage signal which is lower in voltage than the input voltage signal.
The voltage sensing circuit 10 also comprises a second P-type MOS transistor 16. The second transistor 16 also has two ends and a gate, designated as 16a, 16b and 16g respectively. One end 16b of the second transistor 16 is connected to the voltage drop circuit 40 and receives the first voltage signal therefrom. The gate 16g of the second transistor 16 is connected to the voltage reference 1 circuit 30 and receives the first voltage source therefrom.
Finally, the voltage sensing circuit 10 comprises a third N-type MOS transistor 18. The third transistor 18 has two ends and a gate: 18a, 18b and 18g, respectively. One end 18a of the third transistor 18 is connected to the sensing node 15.
The gate 18g of the third transistor 18 is connected to the second end 16a of the second transistor 16. The other end 18b of the third transistor 18 is connected to a voltage reference 2 circuit 50. The voltage reference 2 circuit 50 shown in greater detail hereinafter, supplies a second voltage source to the second end 18b of the third transistor 18.
Although the voltage sensing circuit 10 shown in Figure 1 also shows a N-type MOS transistor 20, whose gate is connected to the sensing node 15, and whose two ends are connected to the voltage reference 2 circuit 50, this transistor is not germane to the invention. Its function is to adding loading capacitance to node 15 to reduce voltage coupling from Vin to node 15.
Referring to Figure 2a, there is shown one embodiment of the voltage reference 1 circuit 30. In the one embodiment 30a, the voltage reference 1 is simply a connection to a ground source. The first voltage source which is supplied to the gates 14g and 16g is simply ground voltage.
Referring to Figure 2b there is shown another embodiment of the reference voltage 1 circuit 30. In this embodiment, the voltage reference 1 circuit 30 comprises a fifth P-type MOS transistor 32 having one end 32a connected to receive the input voltage signal. The gate 32g of the fifth transistor 32 is connected to the other end 32b of the fifth transistor 32. A sixth transistor 34 is also a P- type MOS transistor. The gate 34g of the sixth type
transistor 34 is connected to one end 34b of the sixth transistor 34 and is connected to a ground potential. The other end 34a of the sixth transistor 34 is connected to the other end 32b of the fifth transistor 32 and is supplied as the first voltage source to the gates 14g and 16g.
Referring to Figure 3 there is shown one embodiment of the voltage reference 2 circuit 50. In the preferred embodiment, the second voltage source produced by the voltage reference to circuit 50 is simply the ground potential.
Referring to Figure 4a, there is shown one embodiment of the voltage drop circuit 40. In the embodiment shown in Figure 4a, the voltage drop circuit 40 comprises a seventh transistor 42a. The seventh transistor 42a is of a P-type MOS transistor whose gate is tied to one end thereof and is also supplied to node 16b of second transistor 16. The other end of the seventh transistor 42a is connected to receive the input voltage signal.
Referring to Figure 4b there is shown another embodiment of the voltage drop circuit 40. In this embodiment, a plurality of P-type MOS transistors 42a and 42b are connected in series. One end of one of the transistors 42a is connected to another end of the other transistor 42b. Each of the gates of the transistors 42a and 42b are connected to one of the ends, respectively.
The operation of the voltage sensing circuit 10 will now be explained with reference to the voltage reference 1 circuit 30 being simply ground voltage and the voltage drop circuit 40 being simply the embodiment shown in Figure 4a. In the power up mode when the input voltage signal 12 begins to increase, first transistor 14 is off until the input voltage
signal 12 or Vin exceeds the threshold of the first transistor 14. Thus, during the time period when Vin is between zero and is below the threshold of first transistor 14, the sensing signal at node 15 would remain at ground potential. In addition, node 16b is always at a voltage drop caused by the voltage drop circuit 40, below that of Vin. In the embodiment where the voltage drop circuit 40 is shown by the circuit shown in Figure 4a, the voltage at node 16b is Vin minus the threshold of seventh transistor 42a. With node 15 at ground potential, second and third transistor 16 and 18, respectively, would also be off.
When the input voltage signal 12 exceeds the threshold of first transistor 14, first transistor 14 would turn on. This would cause node 15 or the sensing signal to charge up and reach up to the voltage of the input voltage signal 12 or Vin. With Vin slightly above the threshold of first transistor 14, second and third transistor 16 and 18 respectively would still be turned off.
When Vin exceeds the threshold of the seventh transistor 42a, node 16b would be at or above ground potential. This would turn on second transistor 16, causing a slight positive potential to be supplied to the gate 18g of the third transistor 18. This would turn on the third transistor 18. As will be discussed hereinafter, although both first and third transistors 14 and 18 will be turned on, the voltage at node 15 or the sensing signal would continued to be held substantially at Vin. This is because first transistor 14, in the preferred embodiment, is an FET transistor having a channel width greater than its length. In contrast, the third transistor 18 has a channel length greater than its width. Since the
channel width of the first transistor 14 is greater than the channel width of the third transistor 18, the first transistor 14 is "stronger" in that more current passes through the first transistor 14. Thus, the voltage at node 15 would be maintained at substantially the voltage of the input voltage signal 12.
Further, by making third transistor 18 "weaker" than the first transistor 14, this reduces the DC current path through the first and third transistors 14 and 18 respectively, thereby conserving power consumption.
Once the sensing node 15 reaches the maximum input voltage signal 12, the driver circuit 60 generates the output voltage signal 13.
In the operation of the voltage sensing circuit 10 of the present invention during the "power down" mode, so long as Vin is greater than the threshold of the first transistor 14, the voltage at node 15 remains high. However, as soon as Vin drops below the threshold voltage of first transistor 14, first transistor 14 would be turned off. However, third transistor 18 would remain conducting. Thus, the voltage at node 15 would be pulled lower by the conducting action of the third transistor 18.
In addition, as Vin continues to drop, below the threshold of the seventh transistor 42a, the voltage at node 16b would be isolated. This causes the voltage at node 18g to be isolated. Since the voltage at node 18g is a positive potential, it would continue to turn on third transistor 18, causing it to pull down further the voltage at node 15. Since node 16b and 18g are isolated, even if Vin drops to zero, by the action of the seventh transistor 42a being cut off, the positive voltage as applied to the
gate of the third transistor 18 speeds up the discharge of node 15 to ground potential when first transistor 14 is turned off. This reduces the hysteresis of the triggering voltage between the power up and power down sequences. In the event the PMOS second transistor 16 is built in an N-well process, the N-well is tied to Vin. Nodes 16b and 18g are then connected to Vin though the diode formed between the source and drain of second transistor 16 and the N-well. In this case, node 18g will be at one diode threshold above Vin, thereby speeding up the discharge of node 15.
As can be seen from the foregoing, the threshold to trigger the "power up" or the "power down" is determined by the threshold of the first transistor 14. This threshold can be changed by appropriate changes in the bias to the gate of the first transistor 14. Thus, referring to Figure 2b, there is shown another embodiment of the voltage reference 1 circuit 30. In this embodiment, a voltage is not be applied to gate 14g until Vin has exceeded the threshold voltage of the fifth transistor 32. Thereafter, the voltage on gate 14g is approximately the threshold of the sixth transistor 34. To turn on the first transistor 14, Vin must exceed approximately the sum of the threshold voltage of first transistor 14 and the voltage applied to gate 14g. Thus, with the embodiment shown in Figure 2b, the "triggering" voltage to turn on first transistor 14 is approximately the sum of the threshold of the first transistor 14 and the threshold of the sixth transistor 34. By appropriately biasing the gate of the first transistor 14, the triggering voltage or the threshold voltage can be changed.
To further reduce the drive on third transistor 18, the fourth transistor 42a, which is acting as a single PMOS diode, can be replaced by two PMOS diodes in series as shown in Figure 4b. Referring to Figure 4b, there is shown two P-type MOS transistors 42a and 42b, each having its gate connected to one of the ends. The two transistors 42a and 42b are connected in series thereby giving a greater voltage drop across the two transistors. Referring to Figure 5a and 5b, there is shown two different embodiments of the driver circuit 60. The driver circuit 60 can simply comprises an inverter, as shown in Figure 5b or two inverters in series as shown in Figure 5a. These inverters are well known in the art.
In the preferred embodiment, the transistors described heretofore have the following channel lengths (L) and channel widths (W) :
Transistor L W 30
100
2.4/3.8 5 3 100
20 20 5 2.4 5
The voltage sensing circuit 10 of the present invention can be used in a single integrated circuit module 80 having an electrically erasable programmable memory array 82, communicating with other peripheral circuits 84. This is shown in Figure 6. In such an application, the voltage sensing circuit 10 of the present invention, during
power up, prevents the programming circuit module 90 from entering the programming mode until the voltage Vin has reached at least a minimal threshold level. This insures that the EEPROM memory array 82 will not be accidentally programmed during the power up/power down periods when the system is extremely noisy.
There are many advantages to the voltage sensing circuit 10 of the present invention. First, the threshold voltage or the triggering voltage is made dependent upon a single transistor threshold, whose gate biasing voltage is also variable. In addition, the DC current in the operation of the voltage sensing circuit 10 of the present invention is through the path of the first transistor 14 and third transistor 18 and can be made extremely low by using a very weak third pull down transistor 18. For the embodiment shown in Figure 2b, the DC path provided by the fifth and sixth transistors 32 and 34 respectively can also be made extremely resistive, thereby producing low current conduction by using a very weak pull down sixth transistor 34. Finally, the third transistor 18 can be biased at a voltage lower than Vin during the power up and during the normal operation period to reduce current flow. The gate to the third transistor 18 can be biased at a voltage higher than Vin during the power down sequence to speed up the triggering process and minimize the hysteresis of the triggering voltage.