Supply voltages switch circuit

Abstract: A circuit for switching between supply voltages and in particular for non-volatile flash memory devices and of the type comprising a first and a second circuit branch each incorporating a pair of transistors (MA,MB;Mc,MD) connected in series provides that at least one branch (2) of the circuit be structured with a bridge circuit made up of P-channel MOS transistors. The bridge is made of a first (5) and a second (4) pairs of transistors (M1,M2,M3,M4) connected between a first supply voltage reference (SUPPLY1) and a common node (D). The first pair (5) comprises transistors (M1,M2) bigger than the transistors (M3,M4) of the second pair (4) while between the transistors (M3,M4) making up the second pair (4) is inserted a pair of resistors (R1,R2). Between the pair of resistors (R1,R2) there is an interconnection node (F) connected to a corresponding interconnection node (E) between the transistors (M1,M2) of the first pair (5).

Description: Field of application The present invention relates to a circuit for switching between supply voltages and of the type comprising at least a first and a second circuit branch each comprising a pair of series-connected transistors with the first branch connected to a first reference supply voltage and the second branch connected to a second reference supply voltage and with the first and second branches being connected together in a common node. As known, in electrically programmable non-volatile memory devices integrated on semiconductor and in particular of the flash type there is a need to power a circuitry section with different voltages depending on the type of operation to be performed. For example, during the reading and decoding phase of a row of the memory matrix the row decoding block is powered with a standard supply voltage Vcc of approximately 5V. But during the programming phase the same block is powered with a programming voltage Vp higher than the supply voltage Vcc. The programming voltage can be generated in the memory circuit or supplied by an external power supply connected to a pin of the memory circuit. In this specific field of application there is also a need to power the row decoding block with voltages lower than the supply voltage Vcc for example to carry out testing operations. The problem then arises of how to efficiently perform a switch between the standard power supply Vcc and a second power supply. Specifically, it is important that the circuitry assigned to switching between the different voltages meet the following requirements. 1. The voltage drop on the switching circuitry must be as small as possible. Accordingly it becomes appropriate to use P_channel MOS transistors because of their low threshold characteristics; 2. the switching circuitry must be capable of managing voltages either higher or lower than the standard voltage Vc; 3. the well regions of the transistors incorporated in the switching circuitry must be connected to the references with the higher supply voltage; and 4. the switches must take place in a controlled manner since the memory device downstream of the switching circuitry displays high capacitance. Among the points listed here the third point is particularly critical. Prior art It is known that biasing of the well regions of the P-channel transistors requires particular precautions since an erroneous well potential can generate dangerous latch-up phenomena. A prior art solution for providing switching circuitry having characteristics which seek to satisfy the above mentioned requirements is illustrated in the annexed FIG 1. This solution calls for switching circuitry 20 comprising two circuit branches 22 and 23 each having two P-channel MOS transistors arranged in mutual series. For the first branch 22 the transistors MA and MB are indicated while for the second branch 23 the transistors MC and MD are indicated. The well region of the first transistor MA of the first branch is connected to a first voltage reference SUPPLY1 which can be made equal to the standard supply voltage Vcc while the well region of the first transistor MC of the second branch is connected to a second reference voltage SUPPLY2. The well regions of the two remaining transistors MB and MD are connected to a common circuit node C on which is present the same voltage VSW. For no junction to be biased directly it is sufficient that the interconnection nodes A and B between the first and second transistors of each branch, i.e. between MA and MB on one side and MC and MD on the other side, be supplied by the lower of the voltages SUPPLY1 and SUPPLY2. In other words, it is basically important for correct operation of the circuit that the voltage on the interconnection nodes A, B remain higher than that on the common node C. There is provided for this purpose the presence of the N-channel transistors M1, M2 for the first branch and M3, M4 for the second branch. These transistors impose on the corresponding interconnection node A or B the lower voltage between the two possible supply voltages SUPPLY1 and SUPPLY2. Although advantageous in some ways, this solution is not without some shortcomings as set forth below. The bias of the interconnection nodes A and B is effective only when the difference between the two supply voltages SUPPLY1 and SUPPLY2 is appreciable. But when the values of these two voltages are very close, e.g. if they differ only by the threshold of an N-channel transistor, the body effect causes a floating behaviour of the interconnection node. Essentially, a switching phase calling for the discharge of the common node C from a high voltage, e.g. 12V, to a lower supply voltage, e.g. Vcc, would cause direct biasing of the first transistor MA if the difference between the two supply voltages SUPPLY1 and SUPPLY2 were less than 2V. In addition, since there is a need to reduce the overall voltage drop on the switching circuitry, in the switching circuitry there are normally used big transistors with capacitance on the order of hundreds of picofarad. The switch causes a violent discharge of the common node C but if the node C is to return to the higher potential the inertia of the transistors slows the circuit. The technical problem underlying the present invention is to conceive a circuit having structural and functional characteristics for switching between power supplies and capable of overcoming the limitations and shortcomings of the current solutions proposed by the prior art. Summary of the invention The solution idea underlying the present invention is to employ an unbalanced bridge circuit on each branch of the switching circuitry. On the basis of this solution idea the technical problem is solved by means of a circuit of the type indicated above and defined in the characterizing part of the annexed claims 1 and following. The characteristics and advantages of the circuit in accordance with the present invention are set forth in the disclosure of an embodiment thereof given below by way of non-limiting example with reference to the annexed drawings. Brief description of the drawings FIG 1 shows a diagrammatic view of a switching circuit provided in accordance with the prior art, and FIG 2 shows a diagrammatic view of a switching circuit provided in accordance with the present invention. Detailed description With reference to the above FIGS reference number 1 indicates as a whole and diagramatically a circuit provided in accordance with the present invention to allow effective switching between different supply voltages while avoiding latch-up phenomena. The circuit 1 is designed in particular but not exclusively for an electrically programmable and erasable non-volatile memory device, e.g. a flash cell matrix with single power supply (not shown because conventional). To fully understand the structure of the circuit 1 in accordance with the present invention reference is again made to the example of FIG 1 in which is shown a switching circuit 20 in accordance with the prior art. The circuit 20 comprises a first 22 and a second 23 circuit branch each having a pair of P-channel MOS transistors arranged in mutual series. For the first branch are indicated the transistors MA and MB while for the second branch are indicated the transistors MC and MD. The well region of the first transistor MA of the first branch is connected to a first reference supply voltage SUPPLY1 while the well region of the first transistor MC of the second branch is connected to a second voltage reference SUPPLY2. The well regions of the remaining two transistors MB and MD are connected to a common circuit node C on which is present the same voltage VSW. In order that no junction be directly biased there are provided N-channel transistors M1, M2 for the first branch 22 and M3, M4 for the second branch 23. These transistors impose on the corresponding interconnection node A or B the lower voltage of the two possible supply voltages SUPPLY1 and SUPPLY2. With reference to FIG 2 the structure of the switching circuit 1 in accordance with the present invention is explained below in comparison with the embodiment in accordance with the prior art. Even the circuit 1 in accordance with the present invention comprises two circuit branches 2 and 3. However, since the circuit structure is fully symmetrical, in FIG 1 is shown for simplicity only one of these branches, i.e. that indicated by reference number 2. Branch 2 of the circuit 1 comprises a transistor bridge and in particular consisting of P-channel MOS transistors. A first pair 5 of transistors M1, M2 is connected in series between the first voltage reference SUPPLY1 and the circuit node D held at the tension VSW. The interconnection point between the transistors M1 and M2 is indicated as circuit node E. The node D must be understood as connected to the node C common to the other circuit branch 3 (which is not shown) of the switching circuit 1. Similarly to the first pair, a second pair 4 of transistors M3, M4 is series connected between the same voltage reference SUPPLY1 and the node D. The first transistors M1, M3 of the first pair 5 and the second pair 4 have their respective body terminals connected to the voltage reference SUPPLY1 while the second transistors M2, M4 of the first pair 5 and the second pair 4 have their body terminals connected to the common node D. The transistors M1, M2 of the first pair 5 are bigger than the transistors of the second pair 4 by at least one order of magnitude. Between the transistors M3 and M4 which make up the second pair 4 are inserted two resistors R1, R2. The interconnection point between the resistors R1 and R2 is indicated as circuit node F. The interconnection nodes E and F are mutually shortcircuited. The gate terminals GATEM1, GATEM2 of the first pair 5 of transistors M1, M2 are connected to respective drain terminals of corresponding P-channel transistors M5 and M6. Specifically the transistor M5 is connected between the first reference power supply SUPPLY1 and the gate GATEM1 of the transistor M1 which is also connected to ground through a current generator Iref. On the gate terminal of the transistor M5 is applied the voltage VSW through the source terminal of the transistor M6 which has its own drain terminal connected to the terminal GATEM2 of the transistor M2 and its gate terminal connected to the first reference power supply SUPPLY1. The terminal GATEM2 of the transistor M2 is also connected to ground through a second current generator Iref2. Each of the transistors M3 and M4 making up the second pair 4 has its respective gate terminals connected downstream of an inverter respectively indicated by 180 for the transistor M3 and 179 for the transistor M4. The first inverter 180 is powered by the voltage VSW while the second inverter 179 is powered by the voltage SUPPLY1. The inputs of the inverters 179 and 180 are connected to the same output of a delay circuit DELAY receiving at input a signal CONNECT_VSW_SUPPLY1. The output of the inverter 179 is input connected to another inverter 182 which is in turn connected at output to the gate terminal of a P-channel transistor M8 having its drain terminal connected to the terminal GATEM2 of the transistor M2. Both the inverter 182 and the transistor M8 are powered by the voltage VSW. The output of the inverter 180 is input connected to another inverter 183 which is in turn connected at output to the gate terminal of a P-channel transistor M7 having its drain terminal connected to the terminal GATEM1 of the transistor M1. Both the inverter 183 and the transistor M7 are powered by the reference SUPPLY1. Operation of the circuit 1 in accordance with the present invention is now disclosed with reference to an initial state in which the common node C is charged with a voltage of approximately 10 V and the switching phase evolves to bring to this node a standard supply voltage Vcc. It is also assumed that the voltage SUPPLY1 is higher than the voltage VSW and in this case the gate terminals of the transistors M3 and M2 are to be held at the voltage VSW. A logical enablement signal starts the switching. With a slight delay due to the block DELAY the transistor M4 is started due to their characteristics. The transistor M5 is also started and biases the gate terminals GATEM1 of the transistor M1. Only when the transistor M1 is completely on, the gate terminal of the transistor M3 is grounded by the delay circuit DELAY. Under these conditions only the transistor M1 of the first pair is in conduction since it is powered by the smaller potential. None of the junctions can be biased directly because the higher voltage is that present on the node D and this voltage is decharging slowly through a resistance which is not illustrated in the FIGS and is understood to be connected to the node D. Direct connection between the transistors M1 and M4 takes place when the other two transistors M3 and M2 are off. The interconnection node E is held permanently at the lower voltage which is in this case the standard supply voltage Vcc since the transistor M1 in conduction with a small drain-source voltage drop Vds easily carries the current traversing the resistor R2. The resistor R2 decouples the node E from the higher potential. Basically, the interconnection node E between the two transistors M1 and M2 is always held at the lower of the two power supply potentials. When the node D has discharged to a point such that the difference between the voltage remaining on this node D and the standard voltage Vcc is less than the threshold of a transistor, the second transistor M2 of the first pair also starts. Of the two P-channel transistors M5 and M6 the one with the gate terminal having lower potential is in conduction. Accordingly M5 is off and M6 is on to bias GATEM2 at a high value. The circuit in accordance with the present invention solves the technical problem and achieves numerous advantages the first of which is certainly the fact that excellent protection against latch-up is created. In addition, during the switching between the different power supplies there is produced a controlled discharge of the nodes with higher potential.

Claims: Circuit for switching between supply voltages and of the type comprising at least a first (22) and a second (23) circuit branches each comprising a pair of transistors (Ma,MB:Mc,MD) serially connected, the first branch being connected to a first reference supply voltage (SUPPLY1) and the second branch being connected to a second reference supply voltage (SUPPLY2), said first and second branches being connected together in a common node (C), characterized in that at least one branch (2) of the switching circuit comprises an unbalanced bridge circuit inserted between one of said power supply references (SUPPLY1,SUPPLY2) and said common node (C), said unbalanced bridge circuit comprising a first pair (5) of transistors (M1,M2) and a second pair (4) of transistors (M3,M4) of the P-channel type with said first (5) and second (4) pairs being connected between one of said power supply references (SUPPLY1,SUPPLY2) and said common node (C), each pair of transistors having a single transistor turned on during the switching phase and forming a conduction path with the other turned on transistor of the other pair. Switching circuit in accordance with claim 1 and characterized in that the first pair (5) comprises transistors (M1,M2) larger than the transistors (M3,M4) of the second pair (4). Switching circuit in accordance with claim 1 and characterized in that between the transistors (M3,M4) making up said second pair (4) is inserted a pair or resistors (R1,R2). Switching circuit in accordance with claim 3 and characterized in that between said pair of resistors (R1,R2) there is an interconnection node (F) connected to a corresponding interconnection node (E) between the transistors (M1,M2) of said first pair (5). Switching circuit in accordance with claim 1 and characterized in that the gate terminals (GATEM1,GATEM2) of the first pair (5) of transistors (M1,M2) are connected to respective drain terminals of corresponding P-channel transistors (M5,M6) the first of which (M5) is inserted between the first reference supply voltage (SUPPLY1) and the gate terminal (GATEM1) of the first transistor (M1) of the first pair (5) while the second (M6) is inserted between the common node (c) and the gate terminal of the second transistor (M2) of the first pair (5) with both of these transistor (M5,M6) having their drain terminals also connected to ground through a respective current generator (Iref,Iref2). Switching circuit in accordance with claim 1 and characterized in that each of the transistors (M3,M4) making up the second pair (4) has its respective gate terminals connected downstream of an inverter (180,179) with the inputs of said inverters being connected to the same output of a delay circuit (DELAY) receiving at input a switching enablement signal (CONNECT_VSW_SUPPLY1). Electrically programmable and erasable non-volatile memory device characterized in that it comprises at least one circuit for switching between power supplies in accordance with claim 1.

Inventors: BARTOLI SIMONE, BETTINI LUIGI, VILLA CORRADO, BARTOLI, SIMONE, BETTINI, LUIGI, VILLA, CORRADO
Applicants: ST MICROELECTRONICS SRL, STMICROELECTRONICS S.R.L.
Application year: 1996
Main classification: H03K17
IPC codes: H03K17, G11C5, G11C16