Programmable-output voltage regulator

Abstract: A regulator (1) comprising a power element (2) between the input terminal (3) and output terminal (4); and a regulating loop (7) including a differential stage (8) for comparing the output voltage (V o ) of the regulator with a reference voltage (V R ) and accordingly driving a gain stage (9) connected to the power element. The output voltage is picked up by the differential stage via a resistive divider (5), the resistance of which varies according to the value of a logic signal at a control input (22). When the resistance of the divider changes, the inputs of the differential stage (8) are so unbalanced as to produce an output voltage up or down ramp equal to the slew rate of the regulating loop (7) and proportional to the bias current of the differential stage. Over the up ramp, the shorting protection circuit (17) is turned off for a predetermined time τ, whereas, over the down ramp, a stage (28) is turned on for absorbing the discharge current of the capacitive load.

Description: The present invention relates to a programmable-output voltage regulator. Voltage regulators are devices for automatically regulating and maintaining output voltage within predetermined limits in spite of variations in quantities such as supply voltage and load current. For this purpose, known regulators roughly comprise a power element between the supply and load, and a regulating loop consisting of a differential amplifier input-connected to a stable reference voltage and to the regulator output, and output-connected to a gain stage for so driving the power element as to withstand any variation in output voltage. Known regulators frequently also present a shorting protection circuit for detecting the load current and intervening in the event this exceeds a predetermined value. The output voltage is normally picked up by the differential amplifier via a resistive divider. Recently, a demand has arisen for what are known as "programmable-output" voltage regulators, that is, capable of providing for at least two different output values. These are particularly requested for so-called "smart cards", the standards governing which demand that the rate at which the output voltage varies during transient states falls within a predetermined range, regardless of the type of load or output voltage. Such a condition is particularly hard to meet when the load is of a capacitive type, in which case, the regulator is called upon to supply a high current during transient states in which the output voltage increases from the steady-state to a higher value, and to absorb the load current during transient states in which the output voltage switches from the higher to a lower value, while at the same time ensuring the above condition is met. Known voltage regulators fail to cater for the above requirements, owing to the fact that, at the beginning of the output voltage rising transient state, a shortcircuit condition is produced by the output capacitor, thus resulting in undesired operation of the shorting protection circuit; whereas, during the output voltage decreasing transient state, voltage decreasing depends on the condition of the load, by virtue of the discharge current of the capacitor being absorbed by the resistive part of the load. In either case, therefore, the voltage variation caused by switching between two stable steady-state values is uncontrolled, and may assume levels that are unacceptable by present standards. A programmable-output voltage regulator of the type defined in the preamble of claim 1 is disclosed in US-A-4,442,397, wherein the rate at which the output voltage changes is not controlled at all and depends on a number of manufacturing parameters subject to a wide spread and on the load; therefore, the voltage changing slope cannot be preset accurately and varies from device to device as well as in dependence of each specific application of the device. It is an object of the present invention to provide an externally-programmable-output voltage regulator capable of maintaining within predetermined limits the rate at which the output voltage varies during transient states between two steady-state values. According to the present invention, there is provided a programmable-output voltage regulator as claimed in Claim 1. In short, according to the present invention, the rate at which the output voltage varies is controlled precisely, so as to assume a predetermined design value. Said rate preferably equals the slew rate of the regulating loop, which is achieved by unbalancing the differential stage. For preventing intervention of the shorting protection circuit, this is turned off for a predetermined length of time during the rising transient state, whereas, during the falling transient state, a PNP transistor stage is turned on for absorbing the discharge current of the capacitive load. A preferred, non-limiting embodiment of the present invention will be described by way of example with reference to the accompanying drawing, which shows a simplified circuit diagram of the voltage regulator according to the present invention. Number 1 in the accompanying drawing indicates a voltage regulator comprising, in known manner, an NPN type transistor 2 defining a power element between input terminal 3 and output terminal 4 of the regulator; a resistive divider 5 between output terminal 4 and a ground (reference potential) line 6; and a regulating loop 7 including a differential amplifier 8 and an NPN type gain transistor 9. More specifically, transistor 2 presents the collector terminal connected to input 3, the emitter terminal connected to output 4, and the base terminal connected to the collector of transistor 9, which in turn presents the emitter terminal connected to ground line 6, and the base terminal connected to the output of amplifier 8. Output terminal 4, at which voltage V o is present, is connected to a load 35 here including a resistor 36 and a capacitor 37. Amplifier 8 presents the inverting input connected to a reference voltage source (not shown) supplying reference potential V R ; and the non-inverting input connected to node 10 defined by two resistors 11, 12 forming divider 5. A frequency compensating capacitor 13 is provided between the collector and base of transistor 9, and a current source 15 (generating current I p ) between the collector and base of transistor 2. Regulator 1 also comprises, in known manner, a shorting protection circuit 17 in turn comprising a current sensor formed by a resistor 18 between input terminal 3 and the collector of transistor 2; a detecting stage 19 for detecting shortcircuiting on the basis of the voltage a cross resistor 18 (and therefore proportional to the current through resistor 18); and an actuating element formed by an NPN type transistor 20 with the base terminal connected to the output of detecting stage 19, the collector terminal connected to the output of amplifier 8, and the emitter terminal connected to ground line 6. Detecting stage 19 may operate, for example, as a straightforward comparator, for supplying an output control signal to transistor 20 when the voltage at the terminals of resistor 18 exceeds a predetermined threshold. Regulator 1 also comprises a further input terminal 22 supplied with a logic control signal V C , the value of which depends on the (higher or lower) steady-state value of output voltage V o . Terminal 22 is connected to the input of a delay circuit 23, which is activated in response to each leading edge of signal V C , and supplies an output control pulse of duration τ to the gate terminal of a MOS transistor 24 defining a controlled switch and formed, for example, by a VDMOS (Vertical Diffused Metal Oxide Semiconductor). Duration τ is appropriately selected at the design stage, and substantially corresponds to the rise time (up ramp) of the transient output voltage. Transistor 24 is also connected by the drain terminal to the base of transistor 20, and by the source terminal to ground line 6. Input terminal 22 is also connected to the gate terminal of a further MOS type transistor 25 defining a further controlled switch and having the source terminal connected to ground line 6, and the drain terminal connected to node 10 via resistor 26. Regulator 1 also comprises an equivalent PNP transistor element 28 formed by a PNP transistor 29 and an NPN transistor 30. More specifically, transistor 29 presents the emitter terminal connected to output terminal 4, the base terminal connected to that of transistor 2, and the collector terminal connected to the base terminal of transistor 30, which in turn presents the collector terminal connected to output terminal 4, and the emitter terminal connected to ground line 6. Regulator 1 of Figure 1 operates as follows. When control signal V C presents a low logic level, transistor 25 remains off to give a regulated output voltage V o1 of: V o1 = V R (1 + R 1 /R 2 ) where R 1 , R 2 are the respective resistances of resistors 11 and 12. In the steady-state condition, equivalent transistor 28 is off; capacitor 37 is charged to voltage V o1 ; differential amplifier 8 is balanced; regulator 1 supplies output current I o = V o1 /R o , where R o is the resistance of resistor 36; the output of delay circuit 23 is low; transistor 24 is off; and protection circuit 17 is on. Regulator 1 thus provides normally for maintaining a stable output voltage, by virtue of any change in V o resulting in a similar change in the voltage at node 10 and, consequently, in operation of regulating loop 7 (which increases or decreases the base current of transistor 2) so as to restore the output voltage to the programmed V o1 value. When signal V C switches from LOW to HIGH, this results in a transient output voltage to a higher value, and in temporary turn-off of protection circuit 23. That is, when V C switches to high, transistor 25 is turned on; resistor 26 is connected parallel to resistor 12 of divider 5; the resulting negative voltage peak at node 10 totally unbalances amplifier 8, thus reducing the output current of amplifier 8 and the current through transistor 9, and producing a corresponding increase in the drive current from source 15 to the base of transistor 2 and, consequently, in output current I o ; and output voltage V o increases until, by virtue of regulating loop 17, the voltage at node 10 is restored to V R , amplifier 8 is again balanced, and the output voltage reaches the new steady-state value V o2 of: V o2 = V R (1 + R 1 /R p + R 1 /R 2 ) where R p is the resistance of resistor 26, and the saturation resistance of MOS transistor 25 is considered negligible in relation to R p . Naturally, different R p values result in different output voltages. At the same time, the rising edge of signal V C turns on delay circuit 23, the output of which switches to turn on MOS transistor 24; and transistor 24 shortcircuits the base-emitter junction of transistor 20, so that transistor 20 remains off regardless of the output of detecting circuit 19, and protection stage 17 is turned off. In the above transient phase, the peak current supplied by the regulator shown may be even much higher than the steady-state value. In fact, in the case of a voltage regulator of the general type described, if SR is the slew rate obtainable; δV o /δt the change in output voltage per unit of time; I op the bias current of the differential stage; and C the capacitance of capacitor 13: SR = max(δV o /δt) = I op /C (see, for example, "Analysis and Design of Analog Integrated Circuits" by P.R. Gray and R.G. Meyer; John Wiley & Sons, 1977; page 541-544, Par. 9.6.1, where I x = I op ). Disregarding for the time being resistance R o of load resistor 36, if C o is the capacitance of load capacitor 37, the mean current I o supplied by regulator 1 to capacitor 36, for producing a voltage excursion δV o in relation to the steady-state value within a time interval δt, equals: I o = C o * δV o /δt and the maximum current I omax equals: I omax = C o * max(δV o /δt) Substituting (3) in (5), this gives: I omax = C o * I op /C and, bearing in mind also load resistor 36: I omax = C o * I op /C + V o /R o For ensuring a predetermined voltage ramp, therefore, supply current I o may be even much higher than steady-state load current V o /R o . For example, assuming C o = 1µF; C = 20pF; V o = 25 V; I op = 20 µA; and R o = 250 ; the transient state current requirement (C o I op /C = 1 A) is greater than the steady-state current (in this case, 0.1 A). In the case of known regulators of the type described, output current is normally limited by the current gain of the output stage of the regulator (including transistor 2 and source 15) and by operation of protection circuit 17. More specifically, current supply depends substantially on the area of power transistor 2 and on the current I p supplied by source 15 for driving transistor 2, and as such may be modified at the design stage so that it is sufficiently high or at least greater than the maximum value achievable according to equation (7). The second limitation (operation of circuit 17) is normally dictated at the design stage by thermal and/or reliability factors, and as such can only be modified at the expense of endangering the reliability of the regulator. As already stated, therefore, according to the present invention, circuit 17 is turned off over the up ramp of the output voltage, thus preventing current supply from being limited by the protection circuit, and so enabling it to reach the maximum value achievable on the basis of current I p . Over the up ramp, therefore, the load is supplied with current the value of which is so controlled as to produce an increase in voltage regardless of the load and equal to the slew rate of the regulator, i.e. I op /C. When signal V C switches from HIGH to LOW, this again unbalances amplifier 8, and produces a transient state wherein output voltage V o switches from V o2 to V o1 . That is, when signal V C switches to low, MOS transistor 25 is turned off so that resistor 26 is no longer connected in parallel to resistor 12; the resistance between node 10 and ground increases to produce a positive voltage peak at node 10; the non-inverting input of amplifier 8 presents a more positive potential as compared with the non-inverting input; the drive current of transistor 9 increases, so that transistor 9 absorbs all of source current I p and turns off power transistor 2; and capacitor 37 begins discharging into the load (resistor 36). At this phase, the collector voltage of transistor 9 is reduced, and, by virtue of this occurring faster than the change in output voltage (and consequently in the emitter voltage of transistor 2), equivalent PNP transistor 28 is eventually turned on, so as to absorb the load current and enable discharge at a rate independent of resistor 36. More specifically, the down ramp of the output voltage is limited solely by the bias current of amplifier 8, and equals the slew rate, again equal to I op /C. For preventing speed from being limited over the down ramp, the equivalent PNP transistor must obviously also be so designed as to guarantee a maximum current as per equation (7). In this phase, the delay circuit remains inoperative, by virtue of the output current being inverted and so failing anyway to turn on protection circuit 17. The advantages of the regulator according to the present invention will be clear from the foregoing description. Firstly, both the up and down ramps are accurately controllable regardless of the load connected to the output, by virtue of the quantities by which the ramp is defined (i.e. the bias current of the differential stage and the capacitance of the compensating capacitor) being appropriately selectable at the design stage and producible to a high degree of accuracy. Secondly, such sizing provides for obtaining symmetrical up and down ramps using components of limited area, even in the case of equivalent transistor 28, by virtue of the configuration shown enabling the same maximum current to be obtained with a smaller area as compared with the area required by a single PNP type transistor. Finally, the solution described is straightforward in design, and provides for troublefree implementation, in both discrete and integrated manner, using proved manufacturing techniques. To those skilled in the art it will be clear that changes may be made to the regulator as described and illustrated herein. For example, the change in output voltage may be achieved differently; equivalent transistor 28 may consist of a single device; and, if symmetrical up and down ramps are not required, current supply over the down ramp may be limited by appropriately sizing equivalent transistor 28.

Claims: A programmable-output voltage regulator (1) comprising an input terminal (3); an output terminal (4) set at an output potential (V o ); a power element (2) located between said input and output terminals (3, 4) and having a drive terminal; and a regulating loop (7) including a differential stage (8) and a gain stage (9); said differential stage (8) having a bias current, an output and two inputs connected respectively to said output terminal (4) and to an input set at a reference potential (V R ); and said gain stage (9) being located between said output of said differential stage and said drive terminal of said power element (2); said voltage regulator (1) further comprising control means (5, 15; 22, 25, 26) for changing said output potential (V o ) from a first preset value to a second preset value, characterized in that said control means comprises totally unbalancing means (5, 15, 22, 25, 26) for so unbalancing said differential stage (8) that the output potential (V o ) changes from the first preset value to the second preset value value at a predetermined rate which is proportional to said bias current of said differential stage (8). A regulator as claimed in Claim 1, characterized by the fact that said unbalancing means comprise a resistive divider (5) having a resistance varying between at least a first and second value; and means (25, 26) for controlling the variation in resistance of said resistive divider; said resistive divider (5) being located between said output terminal (4) and a reference potential line (6), and having a node (10) connected to an input of said differential stage (8). A regulator as claimed in Claim 2, characterized by the fact that said resistive divider (5) comprises a first (11) and second (12) resistive element series connected to each other, said first resistive element (11) being connected to said output terminal (4), and said second resistive element (12) being connected to said reference potential line (6); and by the fact that said control means comprise a third resistive element (26) and a controlled switch (25) series connected to each other and parallel connected to said second resistive element (12). A regulator as claimed in Claim 3, characterized by the fact that said controlled switch comprises a MOS transistor (25) having a control terminal connected to a control input (22) of said regulator (1) supplied with a logic control signal. A regulator as claimed in one of the foregoing Claims from 1 to 4, comprising a shorting protection circuit (17) including an actuating element (20) having a control electrode and located between the output of said differential stage (8) and a reference potential line (6); characterized by the fact that it comprises disabling means (22-24) output-connected to said control electrode of said actuating element (20) of said protection circuit (17); said disabling means comprising a control input (22) connected to said control means (5, 22, 25, 26), and generating a disabling output signal when said control means switch said output potential (V o ) from a first value to a higher second value. A regulator as claimed in Claim 5, characterized by the fact that said control means comprise a control input (22) supplied with a logic control signal designed to assume two logic values corresponding to said first and said second value of said output potential (V o ); and by the fact that said disabling means comprise a delay element (23) having an input connected to said control input (22), and an output connected to a control input of a second controlled switch (24) located between said control electrode of said actuating element (20) and said reference potential line (6). A regulator as claimed in Claim 6, characterized by the fact that said second controlled switch comprises a MOS transistor (24). A regulator as claimed in any one of the foregoing Claims from 1 to 7, characterized by the fact that it comprises a current-absorbing element (28) located between said output terminal (4) and a reference potential line (6); said current-absorbing element having a control terminal connected to said gain stage (9), and providing for controlled current absorption when said control means switch said output potential (V o ) from a second value to a lower first value. A regulator as claimed in Claim 8, characterized by the fact that said current-absorbing element comprises an equivalent PNP transistor element (28) having an equivalent emitter terminal connected to said output terminal (4), an equivalent base terminal connected to said drive terminal of said power element (2), and an equivalent collector terminal connected to said reference potential line (6). A regulator as claimed in Claim 9, characterized by the fact that said equivalent PNP transistor element (28) comprises a PNP transistor (29) and an NPN transistor (30); said PNP transistor (29) having an emitter terminal connected to said output terminal (4), a base terminal connected to said drive terminal of said power element (2), and a collector terminal connected tn the base terminal of said NPN transistor (30); said NPN transistor also having a collector terminal connected to said output terminal, and an emitter terminal connected to said reference potential line (4).

Inventors: BERTOLINI LUCA, GARIBOLDI ROBERTO, BERTOLINI, LUCA, GARIBOLDI, ROBERTO
Applicants: SGS THOMSON MICROELECTRONICS, SGS-THOMSON MICROELECTRONICS S.R.L.
Application year: 1992
Main classification: G05F1
IPC codes: H02H1, G05F1, G06K7