Power supply device with detection of malfunctioning

Abstract: The power supply device comprises a DC-DC converter circuit (8) including a power switch (10) and a driving stage (102). The driving stage (102) has a compensation terminal (102b) on which a compensation voltage (V COMP ) is present and which receives a biasing current (I P ), said driving stage (102) comprising a control circuit (107) having an output terminal connected to a control terminal (11) of the power switch (10) and disconnection-detecting means (105) connected to said compensation terminal (102b) and generating a signal for permanent turning-off of said power switch (10) when the biasing current (I P ) drops below a current-threshold value (I T ). The driving stage (102) moreover comprises over-voltage detecting means (104) connected to the compensation terminal (102b) and generating a signal for temporary turning-off of said power switch (10) when said compensation voltage (V COMP ) exceeds a voltage-threshold value (V T ).

Description: The present invention regards a power supply device with detection of malfunctioning. As is known, electronic power supplies are extensively used in appliances for offices, in data-acquisition systems, and in the so-called "silver boxes" for supplying motherboards, memory devices, interface circuits, etc., present inside computers. An example of a power supply device of the off-line type is schematically illustrated in Figure 1. The power supply device 1 has an input terminal 2 receiving an input voltage V IN , and an output terminal 3 connected to a load 4 and supplying an output voltage V OUT . The input voltage V IN is a mains AC voltage (220 V, 50 Hz), and the output voltage V OUT is a DC voltage. The power supply device 1 comprises the following: a first rectifier circuit 5 (of the diode-bridge type) connected between the input terminal 2 and a first terminal of a first filter capacitor 7, the latter having a second terminal connected to a ground terminal; and a DC-DC- converter circuit 8, of the forward type, connected between the first terminal of the first filter capacitor 7 and the output terminal 3. The DC-DC converter circuit 8 comprises a transformer 9 made up of a primary winding 9a and a secondary winding 9b. The primary winding 9a has a first terminal connected to the first terminal of the first filter capacitor 7, and a second terminal connected to a first conduction terminal of a power switch 10, which has a second conduction terminal connected to the ground terminal, and a control terminal 11. The secondary winding 9b has a first terminal connected to the output terminal 3 by means of a second rectifier circuit 13, and a second terminal connected to the ground terminal. The power switch 10 is a discrete-type power transistor sized for power outputs higher than 200 W. Alternatively, the power switch 10 may be a high voltage integrated power transistor sized for power outputs of the order of tens of Watts. The second rectifier circuit 13 includes the following: a first diode 16 having its anode connected to the first terminal of the secondary winding 9b, and its cathode connected to a connection node 17; a second diode 18 having its cathode connected to the connection node 17, and its anode connected to the ground terminal; an induction coil 19 connected between the connection node 17 and the output terminal 3; and a second filter capacitor 20 connected between the output terminal 3 and the ground terminal. The DC-DC converter circuit 8 further comprises a driving stage 12 made of a pulse-width modulation (PWM) controller circuit integrated using, for example, BCD off-line technology. The driving stage 12 has a compensation terminal 34 connected to a compensation node 30, and an output terminal connected to the control terminal 11 of the power switch 10. The driving stage 12 comprises a current generator 31 having an output terminal connected to the compensation terminal 34 and supplying a biasing current I P . The compensation node 30 is also connected to a first terminal of a compensation capacitor 32 having a second terminal connected to the ground terminal. The DC-DC converter circuit 8 also comprises a voltage divider 14 and a regulating circuit 15. The voltage divider 14 is connected between the output terminal 3 and the ground terminal, and is made up of a first resistor 21 and a second resistor 22 connected together at a feedback node 23, on which a feedback voltage V FB is present that is proportional to the output voltage V OUT . The regulating circuit 15 is connected between the feedback node 23 and the compensation node 30, and includes an error amplifier 24 having an inverting input terminal connected to the feedback node 23, a non-inverting input terminal connected to a voltage generator 25 supplying a reference voltage V REF , and an output terminal 26 supplying an error voltage V E correlated to the difference between the feedback voltage V FB and the reference voltage V REF . The regulating circuit 15 moreover includes a photocoupler 27 comprising the following: a photodiode 28 having its anode connected to the output terminal 3 of the power supply device 1, and its cathode connected to the output terminal 26 of the error amplifier 24; and a phototransistor 29 having a first conduction terminal connected to the compensation node 30, a second conduction terminal connected to the ground terminal, and a control terminal receiving light radiation emitted from the photodiode 28. Operation of the power supply device 1 is described in what follows. The input voltage V IN is rectified by means of the first rectifier circuit 5 and filtered by means of the first filter capacitor 7 to obtain a continuous voltage V DC . The continuous voltage V DC is applied across the primary winding 9a when the power switch 10 is on. The driving stage 12 causes the power switch 10 to switch at a fixed frequency, normally over 20 kHz (threshold of acoustic audibility) and with a duty-cycle 8 that depends upon the value of a compensation voltage V COMP present on the compensation node 30 and due to the charging of the compensation capacitor 32 by the current generator 31; namely: δ = T ON T ON + T OFF = f ( V COMP ) where T ON designates the time interval during which the power switch 10 is on, and T OFF designates the time interval during which the power switch 10 is off. The energy associated to the input voltage V IN is transferred to the secondary winding 9b of the transformer 9 (which has also the task of insulating the circuitry connected downstream of the power supply device 1 from the high voltage). The second rectifier circuit 13 supplies, on the output terminal 3, the output voltage V OUT , which for a forward-type DC-DC converter in continuous mode is V OUT = T ON T ON + T OFF V DC The regulating circuit 15 performs continuous regulation and stabilization of the output voltage V OUT , rendering it immune from the variations of the input voltage V IN and of the load 4. In greater detail, initially, when the phototransistor 29 is off, the current generator 31 charges the compensation capacitor 32, causing the compensation voltage V COMP to increase. As soon as the phototransistor 29 turns on, it absorbs the biasing current I P and fixes the compensation voltage V COMP , adapting it automatically to the conditions of the power supply device 1. In this way, the duty-cycle δ of the power switch 10 is fixed, and likewise the output voltage V OUT . It is known that current standards impose, for reasons of safety, that in off-line power supply devices there should be a physical separation (galvanic decoupling) between the circuits supplied by AC voltage and the circuits supplied by low voltage. The minimum distance required is 8 mm. For this reason, DC-DC converters are of the forward type or, alternatively, of the flyback type, in that both these configurations use transformers for transferring energy, and decoupler components (photocouplers and signal transformers) for making the regulating circuit. At present, photocouplers, on account of their low cost, are the components most extensively used for making regulating circuits. A problem linked to the presence of photocouplers is that, if for any reason, the regulating circuit breaks or gets disconnected, the compensation voltage increases beyond a certain operating limit. In such conditions, the duty-cycle of the controlled transistor reaches its maximum value, as likewise does the energy that the transformer transfers to the load, with consequent increase in the output voltage V OUT . To prevent the output voltage V OUT from reaching values such as might damage the circuitry connected downstream of the power supply device, the latter is modified as shown in Figure 2, in which parts that are the same as those already illustrated with reference to Figure 1 are designated by the same reference numbers. In particular, the power supply device 1 of Figure 2 comprises an alarm circuit 40 connected in parallel to the regulating circuit 15. The alarm circuit 40 includes an alarm amplifier 41 having an inverting input terminal connected to the feedback node 23, a non inverting input terminal connected to a voltage generator 42 that supplies a threshold voltage V OV (also referred to as "overvoltage"), and an output terminal 43 supplying an alarm voltage V A correlated to the difference between the feedback voltage V FB and the threshold voltage V OV . The alarm circuit 40 further includes an alarm photocoupler 44 comprising an alarm photodiode 45 which has its anode connected to the output terminal 3 of the power supply device 1 and its cathode connected to the output terminal 43 of the alarm amplifier 41, and an alarm phototransistor 46 having a first conduction terminal connected to the compensation node 30, a second conduction terminal connected to the ground terminal, and a control terminal receiving light radiation emitted by the alarm photodiode 45. In addition, the driving stage 12 has an alarm terminal 48 and comprises a current generator 47 having an output terminal connected to the alarm terminal 48 and supplying an alarm current I A . In these conditions, when the regulating circuit 15 breaks or gets disconnected and the output voltage V OUT exceeds the threshold voltage V OV , the alarm circuit 40 intervenes, bringing about permanent turning-off of the DC-DC converter circuit 8. The power supply device of Figure 2 presents, however, the drawback of having a high circuit complexity and somewhat high production prices. The purpose of the present invention is to overcome the limitations and drawbacks referred to above. According to the present invention, a power supply device is provided, as defined in Claim 1. The characteristics and advantages of the power supply device according to the invention will emerge from the ensuing description of an example of embodiment, which is provided to furnish a non-limiting illustration, with reference to the attached drawings, in which: Figure 1 shows a first circuit diagram of a known power supply device; Figure 2 shows a second circuit diagram of a known power supply device; Figure 3 shows a circuit diagram of a power supply device according to the invention; and Figure 4 shows the plot of an electrical quantity sampled on the power supply device of Figure 3. Figure 3, in which parts that are the same as those already illustrated with reference to Figure 1 are designated by the same reference numbers, shows an off-line power supply device 100 comprising a forward-type DC-DC converter 101. The invention is not, however, limited to the use of this type of DC-DC converter, but may be employed with DC-DC converters having different circuit configurations, such as those of the boost type, flyback type, etc., integrated using technologies that are not necessarily of the off-line type. The DC-DC converter 101 comprises a driving stage 102 connected between a soft-start terminal 102a, on which a soft-start voltage V SS is present, a compensation terminal 102b connected to the compensation node 30, and the control terminal 11 of the power switch 10. The soft-start terminal 102a is connected to the first terminal of a soft-start capacitor 103 which has a second terminal connected to the ground terminal. The driving stage 102 includes a first threshold comparator 104, a second threshold comparator 105, and a soft-start circuit 106. In greater detail, the first threshold comparator 104 has a detection terminal 104a connected to the compensation terminal 102b, a reference terminal 104b receiving a threshold voltage V T , and an output terminal 104c connected to a first circuit node 109. The second threshold comparator 105 has a detection terminal 105a connected to the compensation terminal 102b via a voltage/current transducer 150, a reference terminal 105b receiving a threshold current IT, and an output terminal 105c connected to a second circuit node 111. The voltage/current transducer 150 monitors the value of the biasing current I P . The soft-start circuit 106 is connected to the soft-start terminal 102a and has a first activation terminal 106a connected to the first circuit node 109, a second activation terminal 106b connected to the second circuit node 111, and an output terminal 106c. The soft-start circuit 106 comprises the following: a first logic gate 115, of the OR type, having a first input terminal connected to the first activation terminal 106a, a second input terminal connected to the second activation terminal 106b, and an output terminal generating an opening signal S; a voltage limiting circuit 116, formed, for example, by means of a Zener diode, having a first terminal connected to the ground terminal and a second terminal connected to the soft-start terminal 102a by means of a switch 130 driven by the opening signal S. The soft-start circuit 106 further comprises a first current generator 117 connected to a supply line 120 and having an output terminal 119 that supplies a constant current I SS to the soft-start terminal 102a, and a voltage comparator 118 that has a non inverting input terminal connected to the soft-start terminal 102a, an inverting input terminal receiving a reference voltage V REF1 , and an output terminal. A soft-start circuit is always present in power supply devices. As will be better described later, it prevents, upon turning-on of the power supply device 100, the output voltage V OUT from being subjected to dangerous overvoltages and prevents any damage occurring to the power switch 10 owing to the excessive current required by the power supply device during turning-on. The driving stage 102 further comprises: a second logic gate 121, of the AND type, having a first input terminal and a second input terminal that are respectively connected to the output terminal 106c of the soft-start circuit 106 and to the first circuit node 109, and an output terminal; a third logic gate 122, of the AND type, having a first input terminal and a second input terminal respectively connected to the output terminal of the soft-start circuit 106 and to the second circuit node 111, and an output terminal. The driving stage 102 also comprises: a control circuit 107, made by means of a PWM comparator, having a first input terminal connected to the compensation terminal 102b, a second input terminal connected to the output terminal of the second logic gate 121, a third input terminal connected to the output terminal of the third logic gate 122, a fourth input terminal connected to the soft-start terminal 102a, and an output terminal connected to the control terminal 11 of the power switch 10; a second current generator 123 having an output terminal that supplies the biasing current Ip to the compensation terminal 102b. As shown in Figure 4, the biasing current I P has a constant plot throughout the range of variation of the compensation voltage V COMP and decreases until it reaches a value of 0 µA when the compensation voltage V COMP exceeds the threshold voltage V T . In addition, the power supply device 100 comprises a resistive element 35 connected between the cathode of the photodiode 28 and the ground terminal. The resistive element 35 guarantees that in any operating condition (except in the loop-disconnection condition), current will flow in the photodiode 28. Consequently, in any operating condition (except in the loop-disconnection condition), in the phototransistor 29 a collector current is present that is higher than the threshold current I T (Figure 4). The invention envisages monitoring of the values of the compensation voltage V COMP and of the biasing current I P , controlling turning-off of the power supply device 100 temporarily when the compensation voltage V COMP exceeds the value of the threshold voltage V T (overload condition), and controlling turning-off of the power supply device 100 permanently when the biasing current I P drops below the value of the threshold current IT (loop-disconnection condition). In fact, the overload condition is almost always transient; for this reason, the power supply device 100 may be turned off temporarily (it remaining free to turn on and off again) until the overload condition terminates. This operating mode of the power supply device 100 is called "bounce mode". Instead, the loop-disconnection condition may be removed only by an operator. In this latter case, then, the power supply device 100 must be turned off permanently until the operator cuts off the supply voltage (i.e., the input voltage V IN ). This operating mode of the power supply device 100 is called "latch mode". In detail, the power supply device 100 operates as described below. Upon turning-on of the power supply device 100, the switch 130 is closed, and the first current generator 117 starts charging the soft-start capacitor 103 with the constant current I SS . In this phase, the duty-cycle of the power switch 10 depends upon the value of the soft-start voltage V SS . In particular, the soft-start voltage V SS increases linearly until it reaches the first threshold V SS1 (for example, 3 V). Once this first threshold V SS1 has been reached, the voltage-limiting circuit 116 blocks charging of the soft-start capacitor 103. At this point, control of the duty-cycle of the power switch 10 passes on to the regulating circuit 15. In this way, overvoltages in the output voltage V OUT are prevented. In fact, in the absence of the soft-start circuit 106, the compensation voltage V COMP would immediately reach its maximum value, thus determining the maximum duty-cycle possible and inducing the power switch 10 to carry the maximum current. Under normal operating conditions, the phototransistor 29 absorbs the entire biasing current I P , and the compensation voltage V COMP is fixed by the regulating circuit 15, but at the same time can vary within a well defined voltage range (operating range, known in the literature concerning power supply devices), in which the maximum value and minimum value are respectively referred to as "ramp peak" and "ramp valley". Typically, this operating range is from 1 V to 3 V, but may assume any other value. In the case where an overload occurs on the output terminal 3 of the power supply device 100, the current in the photodiode 28 decreases, remaining, however, above the value of the threshold current I T (whereby the second threshold comparator 105 does not switch). Consequently, the compensation voltage V COMP increases above the threshold voltage V T , thus causing switching of the first threshold comparator 104, which generates a signal for temporary turning-off of the power supply device 100. Switching of the first threshold comparator 104 causes opening of the switch 130, by means of the control signal S generated by the first logic gate 115. In these conditions, the soft-start capacitor 103 restarts charging (by means of the first current generator 117) until it reaches a second threshold, higher than the first threshold (for instance, 5 V), beyond which the voltage comparator 118 switches. The output of the second logic gate 121 thus goes to a high logic level, so controlling temporary turning-off (bounce mode) of the power supply device 100, via the control circuit 107. The soft-start circuit 106 performs a masking of the first threshold comparator 104, thus generating a given delay time ("masking time") in the turning-off of the power supply device 100, so as to prevent it from going into action when it should not. In the case where a loop disconnection occurs in the regulating circuit 15, the current required by the photocoupler 27 becomes zero. As soon as the biasing current I P drops below the value of the threshold current I T (Figure 4), the second threshold comparator 105 switches, thus generating a signal for permanent turning-off of the power supply device 100. When one of the two threshold comparators 104, 105 turns off, in a way similar to what has been described previously, the soft-start circuit 106 unblocks and delays turning-off of the power supply device 100. Subsequently, switching of the voltage comparator 118 causes the output of the third logic gate 122 to go to a high logic level, thus controlling permanent turning-off (latch mode) of the power supply device 100, via the control circuit 107. The advantages that may be obtained with the power supply device described herein are illustrated in what follows. In the first place, the power supply device according to the invention is simpler from the circuitry standpoint, and hence less costly to build, than known power supply devices, in so far as it does not require the use of a dedicated alarm circuit and a dedicated alarm terminal. Furthermore, the power supply device according to the invention may be either of the linear type or of the switching type. Finally, it is clear that numerous variations and modifications may be made to the power supply device described and illustrated herein, all of which fall within the scope of the inventive idea as defined in the attached claims.

Claims: A power supply device having an input terminal (2) and an output terminal (3) between which is connected a DC-DC converter circuit (8), said DC-DC converter circuit (8) comprising: a power switch (10) having a conduction terminal connected to said first output terminal (3), and a control terminal (11); and a driving stage (102) having a compensation terminal (102b) on which a compensation voltage (V COMP ) is present and receiving a biasing current (I P ), said driving stage (102) comprising a control circuit (107) having a first input terminal connected to said compensation terminal (102b) and an output terminal connected to said control terminal (11) of said power switch (10); characterized in that said driving stage (102) comprises disconnection-detecting means (105) connected to said compensation terminal (102b) and generating a signal for permanent turning-off of said power switch (10) when said biasing current (I P ) drops below a current threshold value (I T ). A device according to Claim 1, characterized in that said driving stage (102) moreover comprises over-voltage detecting means (104) connected to said compensation terminal (102b) and generating a signal for temporary turning-off of said power switch (10) when said compensation voltage (V COMP ) exceeds a voltage-threshold value (V T ). A device according to Claim 2, characterized in that said over-voltage detecting means (104) comprise first comparator means (104) having a detecting terminal (104a) connected to said compensation terminal (102b) and an output terminal (104c) connected to a second input terminal of said control circuit (107) and supplying said signal for temporary turning-off, and in that said disconnection-detecting means (105) comprise second comparator means (105) having a detecting terminal (105a) connected to said compensation terminal (102b) and an output terminal (105c) connected to a third input terminal of said control circuit (107) and supplying said signal for permanent turning-off. A device according to Claim 3, characterized in that said driving stage (102) comprises a soft-start circuit (106) connected to a soft-start terminal (102a) on which a soft-start voltage (V SS ) is present, said soft-start circuit (106) having a first activation terminal (106a) and a second activation terminal (106b) respectively connected to said output terminals (104c, 105c) of said first and second comparator means (104, 105), and an output terminal (106c) connected to said second and third input terminals of said control circuit (107), said soft-start circuit (106) being activated by at least one of said signals for temporary and permanent turning-off, and supplying, on said output terminal (106c), a control signal for delaying turning-off of said power switch (10). A device according to Claim 4, characterized in that said soft-start voltage (V SS ) is increasing and presents a rise time from a first reference value (V SS1 ) to a second reference value (V REF1 ), and in that said control signal has a duration correlated to said rise time of said soft-start voltage (V SS ). A device according to Claim 4 or Claim 5, characterized in that said soft-start circuit (106) comprises: a first logic gate (115) having a first input terminal and a second input terminal connected, respectively, to said first activation terminal (106a) and said second activation terminal (106b) of said soft-start circuit (106), and an output terminal generating an opening signal S; a voltage limiting circuit (116) having a first terminal connected to said soft-start terminal (102a) by means of a switch element (130) controlled by said opening signal S, and a second terminal connected to a ground terminal; a current generator (117) having an output terminal connected to said soft-start terminal (102a); and a voltage comparator (118) having a first input terminal connected to said soft-start terminal (102a), a second input terminal receiving said second reference value (V REF1 ), and an output terminal connected to said first output terminal (106c) of said soft-start circuit (106). A device according to Claims 4-6, characterized in that said driving stage (102) comprises: a second logic gate (121) having a first input terminal connected to said output terminal (106c) of said soft-start circuit (106), a second input terminal connected to the output terminal (104c) of said first comparator means (104), and an output terminal connected to said second input terminal of said control circuit (107); and a third logic gate (122) having a first input terminal connected to said output terminal (106c) of said soft-start circuit (106), a second input terminal connected to said output terminal (105c) of said second comparator means (105), and an output terminal connected to said third input terminal of said control circuit (107). A device according to Claim 7, characterized in that said logic gate (115) is of the OR type and said second and third logic gates (121, 122) are of the AND type. A device according to any of the foregoing claims, characterized in that said control circuit (107) is a comparator of the PWM type.

Inventors: ADRAGNA CLAUDIO, BONTEMPO GREGORIO, FAGNANI MAURO, GATTAVARI GIUSEPPE, PIDUTTI ALBINO, PULVIRENTI FRANCESCO, QUAGLINO ROBERTO, ADRAGNA, CLAUDIO, BONTEMPO, GREGORIO, FAGNANI, MAURO, GATTAVARI, GIUSEPPE, PIDUTTI, ALBINO, PULVIRENTI, FRANCESCO, QUAGLINO, ROBERTO
Applicants: ST MICROELECTRONICS SRL, STMICROELECTRONICS S.R.L.
Application year: 2000
Main classification: H02M3
IPC codes: H02M3, H02M1