Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
METHOD AND CIRCUIT FOR LIMITING OUTPUT VOLTAGE IN A SWITCHED-MODE POWER SUPPLY, AND A SWITCHED-MODE POWER SUPPLY
Document Type and Number:
WIPO Patent Application WO/2006/000610
Kind Code:
A1
Abstract:
A switched-mode power supply (200, 300, 400) comprises a primary side, a secondary side and a transformer (103, 303, 403) therebetween. An output on the secondary side delivers an output voltage and an output current to a load. An output voltage control circuit (110, 113, 801) keeps the output voltage at a first level, corresponding to a first output current value. A circuit element (201, 301, 401) integrates over time a voltage obtained from the transformer (103, 303, 403) and produces a signal indicative of the integrated voltage, corresponding to a second output current value that is smaller than said first output current value. An output voltage modifier (113, 601, 801) responds to said signal by changing the output voltage from said first level to a second level.

Inventors:
LAMPINEN PERTTI (FI)
Application Number:
PCT/FI2004/000380
Publication Date:
January 05, 2006
Filing Date:
June 23, 2004
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
SALCOMP OY (FI)
LAMPINEN PERTTI (FI)
International Classes:
H02J7/00; H02M3/335; (IPC1-7): H02M3/335
Foreign References:
US5402059A1995-03-28
US4942508A1990-07-17
EP0853371A21998-07-15
US3660672A1972-05-02
Attorney, Agent or Firm:
BERGGREN OY AB (HELSINKI, FI)
Download PDF:
Claims:
Claims
1. A switchedmode power supply (200, 300, 400) comprising: a primary side, a secondary side and a transformer (103, 303, 403) between said primary side and secondary side, an output on the secondary side for delivering an output voltage and an output current to a load and an output voltage control circuit (110, 113, 801) adapted to keep the output volt¬ age at a first level, corresponding to a first output current value; characterised in that it comprises: a circuit element (201 , 301 , 401) adapted to integrate over time a voltage ob¬ tained from the transformer (103, 303, 403) and to produce a signal indicative of the integrated voltage, corresponding to a second output current value smaller than said first output current value, and an output voltage modifier (113, 601 , 801) adapted to respond to said signal by changing the output voltage from said first level to a second level.
2. A switchedmode power supply according to claim 1 , characterised in that it comprises a pulse height limiter (823, 824) adapted to limit the height of pulses in said voltage obtained from the transformer (103, 303, 403) to a fixed level.
3. A switchedmode power supply according to claim 1 , characterised in that said circuit element (201) comprises a rectifier (701 , 822) coupled to a secondary coil (107) of said transformer (103), an integrator (702, 825, 826) coupled to an output of said rectifier (701 , 822), and a comparator (703, 829, 1103) adapted to produce a signal as a response to an output voltage of said integrator (702, 825, 826) reaching a threshold compared to a reference voltage.
4. A switchedmode power supply according to claim 3, characterised in that said output voltage control circuit (113, 801 ) is adapted to monitor a voltage over a resistor (112, 112'), and the switchedmode power supply comprises a current route (831 , 832) alternative to said resistor (112, 112') as well as a switch (831 ) adapted to switch on said current route as a response to said signal.
5. A switchedmode power supply according to claim 4, characterised in that it comprises: a rectifier diode (822) coupled by its anode to a pole of said secondary coil (107), an RC integrator (825, 826) coupled to the cathode of said rectifier diode (822), a PNP transistor (829) coupled by its emitter to an output of said RC integrator (825, 826) and by its base to a positive output pole of the switchedmode power supply, an NPN transistor (831 ) coupled by its base to the collector of said PNP transis tor (829) and a coupling from a voltage control input pin of said output voltage control circuit (801 ) through a resistor (832) and the collectoremitter path through said NPN transistor (831) to a negative output pole of the switchedmode power supply.
6. A switchedmode power supply according to claim 1 , characterised in that said circuit element (301 , 401) comprises a rectifier (701) coupled to an auxiliary coil (302, 402) of said transformer, an integrator (702) coupled to an output of said rectifier (701) and a comparator (703, 1103) adapted to produce a signal as a re¬ sponse to an output voltage of said integrator (702) reaching a certain threshold compared to a reference voltage.
7. A switchedmode power supply according to claim 6, characterised in that said comparator (703, 1103) is adapted to deliver said signal to a control circuit (113) on the secondary side of said switchedmode power supply.
8. A switchedmode power supply according to claim 6, characterised in that said comparator (703, 1103) is adapted to deliver said signal to a control circuit (601) on the primary side of said switchedmode power supply.
9. A control circuit for controlling the output voltage of a switchedmode power supply, said control circuit being adapted to keep the output voltage at a first level, corresponding to a first output current value of said switchedmode power supply; characterised in that it comprises: a circuit element (201 , 301 , 401 ) adapted to integrate over time a voltage ob tained from a transformer (103, 303, 403) between a primary side and a secondary side of said switchedmode power supply and to produce a signal indicative of the integrated voltage, corresponding to a second output current value smaller than said first output current value, and an output voltage modifier (113, 601 , 801) adapted to respond to said signal by changing the output voltage from said first level to a second level.
10. A method for controlling the output voltage of a switchedmode power supply, comprising: monitoring a voltage drop over a current sensing resistor (109, 810, 811 , 812) coupled to conduct an output current of said switchedmode power supply, and in¬ voking limiting action as a response to said voltage drop growing larger than an output current related limit, and monitoring a sample voltage taken (112, 112') from an output voltage of said switchedmode power supply, and invoking limiting action as a response to said sample voltage growing larger than an output voltage related limit; characterised in that it comprises: integrating (1401 ) over time a voltage obtained from a transformer (103, 303, 403) between a primary side and a secondary side of said switchedmode power supply, producing (1401 ) a signal indicative of the integrated voltage, corresponding to an output current value smaller than said output current related limit, and responding (1402, 1404, 1405, 1406) to said signal by changing the output volt age.
11. A method according to claim 10, characterised in that it comprises limiting the height of pulses in said voltage obtained from the transformer (103, 303, 403) to a fixed level before integration.
12. A method according to claim 10, characterised in that it comprises: producing (1401) a first signal indicative of the integrated voltage, corresponding to a first output current value smaller than said output current related limit, responding (1402, 1404, 1405) to said first signal by changing the output voltage to a first value, producing (1401 ) a second signal indicative of the integrated voltage, corre¬ sponding to a second output current value smaller than said first output current value, and responding (1402, 1404, 1406) to said second signal by changing the output voltage to a second value.
Description:
Method and circuit for limiting output voltage in a switched-mode power supply, and a switched-mode power supply

The invention concerns generally the technology of control methods and control couplings internal to switched-mode power supplies. Especially the invention con¬ cerns controlling the output voltage of a switched-mode power supply at low output current values.

A switched-mode power supply must include inherent controlling functionalities that ensure controlled operation even in exceptional situations. Thinking about a battery charger for example, it is most certain that situations will occur where the input power is on, but there is no load coupled to the charger. Without control measures with some kind of limiting effects, continuously pumping electric power to the secondary side would cause the output voltage to rise above the nominal output voltage level. A short circuit at the output, on the other hand, could easily cause the output current to achieve unacceptably high values.

A very commonly used approach for limiting output voltage and output current is H- lustrated schematically in figs. 1a and 1b. A switched-mode power supply 100 comprises a primary side 101 and a secondary side 102 separated from each other by a transformer 103. A switch 104 on the primary side repeatedly switches the current flowing through a primary coil 105, which causes energy to be stored into the magnetic field of the transformer 103. A diode 106 on the secondary side only allows current to flow in one direction through a secondary coil 107. A capaci¬ tor 108 coupled across the output of the device smoothens the output voltage.

In order to monitor the output current that flows out of the switched-mode power supply, there is a small resistor 109 coupled in series with the diode 106 and the secondary coil 107. When a normal load is coupled to the output, a current of some reasonable level flows through the resistor 109 causing a voltage drop ΔV. A monitoring circuit 110 is arranged to measure the value of ΔV and to trigger some limiting action if the measured value is too high, which would indicate a short cir¬ cuit at the output. As a response to an output given by the monitoring circuit 110, typically a control entity somewhere in the switched-mode power supply limits the amount of electric energy that is pumped to the transformer. The switched-mode power supply of fig. 1a is also adapted to monitor the output voltage. The secondary side 103 includes a series coupling of two relatively large resistors 111 and 112 coupled across the output voltage. These resistors consti¬ tute a voltage divider. A monitoring circuit 113 monitors the voltage across one of the resistors 111 and 112 (here resistor 112), which is directly proportional to the output voltage. The monitoring circuit 113 is adapted to trigger limiting action if the voltage drop across resistor 112 rises higher than a predetermined limit, which would indicate an overvoltage situation at the output.

Fig. 1b is an output voltage per output current diagram that illustrates graphically > the controlling effects of the monitoring circuits 110 and 113. During normal opera¬ tion, when the output current has some value in the range approximately desig¬ nated as 120, the output voltage monitoring circuit 113 is active and keeps the output voltage at some predetermined level U1. If the output current tries to grow larger than a limiting value 11 , the output current monitoring circuit 110 steps in to keep the output current from rising any higher.

At the leftmost part of the graph in fig. 1b there is an area 121 that may involve some uncertainty in the operation of the switched-mode power supply. For exam- pie when a battery is almost full, it will only draw a very small current from the switched-mode power supply of a charger. In general, this tends to cause the out¬ put voltage to rise. When there is no load at all, there will be no actual output cur¬ rent but only some small leakage currents that together with the continuous pump¬ ing of energy from the primary cause the output voltage to assume some value, which is typically higher than U1. This may lead to harmful effects, such as unnec¬ essarily warming up the switched-mode power supply. Additionally "overstuffing" the secondary side with electric energy when there is no load means that at the very moment when a load is connected, there will be a rushing, potentially exces¬ sively high initial current to the load before any controlling circuitry comes effective again.

It is an objective of the present invention to present a method and a circuit for con¬ trolling the output voltage of a switched-mode power supply at small output cur¬ rents. Another objective of the invention is to present a method and a circuit of the above-mentioned kind that allow a circuit designer to select, exactly what kind of behaviour should the output characteristics of a particular switched-mode power supply exhibit. A yet other objective of the invention is to present a switched-mode power supply implementing said method and including said circuit. The objectives of the invention are achieved by equipping the switched-mode po¬ wer supply with a specific monitoring circuit that overrides the controlling effect of other monitoring circuitry at low output current values and forces, when active, the output characteristics of the switched-mode power supply to adhere to certain con- trolled behaviour.

A method according to the invention is characterised by the features recited in the characterising part of the independent claim directed to a method.

A control circuit according to the invention is characterised by the features recited in the characterising part of the independent claim directed to a control circuit.

The invention applies also to a switched-mode power supply, which is character¬ ised by the features recited in the characterising part of the independent claim di- rected to a switched-mode power supply.

The irregularities that have been observed in the behaviour of state of the art swit¬ ched mode power supplies appear to result at least partly from the fact that the monitoring circuitry, which has been dimensioned for optimal operation under normal working conditions, runs out of dynamic range or otherwise fails to provide the fine resolution that would be needed to measure and react to the small signals available in situations that involve a very small output current. According to the in¬ vention there is provided a specific measurement circuit, which has a negligible ef¬ fect on the operation of the switched-mode power supply as long as output current is large enough to belong to a certain normal range, but overrides or augments the normal mode monitoring and controlling arrangements when the output current becomes very small.

In order to achieve the required fine resolution and responding capability to small signals, the specific measurement circuit preferably collects information during a time that is considerably longer than a switching cycle of the main switch in the switched-mode power supply. In an exemplary embodiment the specific meas¬ urement circuit integrates the secondary voltage (or some other voltage that changes over time but is proportional to the secondary voltage) with a time con- stant in the order of some thousand times longer than said switching cycle.

Since the specific measurement circuit will be deliberately designed to only imple¬ ment a certain functionality at very low output current values, there will be consid- erable freedom to decide, what should be the actual effect of said specific meas¬ urement circuit stepping in. This allows applying the invention to implement a cer¬ tain advanced feature of power supplies. Namely, a sufficiently intelligent device that is coupled as a load to a power supply may measure the response of the power supply to various load current values and use the measured response to identify, what brand and type of a power supply it is coupled to, and even to either accept or reject its battery being charged with that power supply.

The novel features which are considered as characteristic of the invention are set forth in particular in the appended claims. The invention itself, however, both as to its construction and its method of operation, together with additional objects and advantages thereof, will be best understood from the following description of spe¬ cific embodiments when read in connection with the accompanying drawings.

The exemplary embodiments of the invention presented in this patent application are not to be interpreted to pose limitations to the applicability of the appended claims. The verb "to comprise" is used in this patent application as an open limita¬ tion that does not exclude the existence of also unrecited features. The features recited in depending claims are mutually freely combinable unless otherwise ex- plicitly stated.

Fig. 1 a illustrates a prior art switched-mode power supply, fig. 1b is a schematic output voltage per output current diagram of the switched-mode power supply of fig. 1a, fig. 2 illustrates a circuit principle according to an embodiment of the inven¬ tion, fig. 3 illustrates a circuit principle according to another embodiment of the invention, fig. 4 illustrates a circuit principle according to another embodiment of the invention, fig. 5 illustrates an exemplary connection applicable in the embodiment of figs. 2 and 3 fig. 6 illustrates an exemplary connection applicable in the embodiment of fig. 4, fig. 7 illustrates a functional principle of a circuit according to an embodiment of the invention, fig. 8 illustrates an exemplary circuit according to an embodiment of the in¬ vention, fig. 9 is a schematic output voltage per output current diagram of a switched- mode power supply the secondary of which is built according to fig. 8, fig. 10 is an alternative schematic output voltage per output current diagram of a switched-mode power supply the secondary of which would be slightly modified from that of fig. 8, fig. 11 illustrates a modification to the functional principle of fig. 7, fig. 12 is a schematic output voltage per output current diagram of a switched- mode power supply that would apply the principle shown in fig. 11 , fig. 13 is an alternative schematic output voltage per output current diagram of a switched-mode power supply that would apply the principle shown in fig. 11 , fig. 14 is a flow diagram of a method according to an embodiment of the inven¬ tion, fig. 15 illustrates certain parts of a device to be charged with a charger em- ploying the invention, and fig. 16 is a flow diagram of an exemplary method applied in a device like that il¬ lustrated in fig. 15.

Figs. 1a and 1b have been described in detail in the description of prior art, so the following discussion will focus on figs. 2 to 16.

The switched-mode power supply 200 of fig. 2 is mostly similar to that shown in fig. 1a, with like parts being designated with the same reference designators. As a difference to fig. 1a, the switched-mode power supply 200 of fig. 2 comprises an additional circuit element 201 coupled to the poles of the secondary coil 107.

In order to analyse what the additional circuit element 201 should do, we may briefly recapitulate certain basic equations related to electromagnetic induction and energy. A basic formula for electromagnetic energy E is

where / means electric current and L is inductance. On the other hand there is known a formula for the current / in an inductive component having inductance L:

i-f (2) in which U is the voltage across said inductive component and t is time. Using equation (2) to eliminate the symbol /from equation (1) gives

E-ir (3)

from which we may make an approximate deduction, according to which an inte¬ gral over time of the voltage U is directly proportional to the energy E that was brought into the inductive component.

The efficiency of switched-mode power supplies that are made to operate with a large range of input voltages depends on both the input voltage and the output current. Efficiency is calculated as the ratio of power delivered at the output to the power drawn at the input. With very small output current values the internal losses of the switched-mode power supply, especially its primary side, become more and more significant; it may even occur that more power is consumed in internal losses than is delivered at the output. Thus, with very small output current values the switching ratio or relative width of the switching pulse (i.e. the length in time of a switching pulse in relation to the length in time of a switching cycle) becomes lar- ger than what would be needed just to deliver the small power that will eventually be consumed at the output.

In the circuit of fig. 2 the transformer 103 is an inductive component into which en¬ ergy is brought from the primary side during a switching pulse and from which en- ergy is drawn to the secondary side during the rest of a switching cycle according to the basic functional principle of a flyback-type switched-mode power supply. If the additional circuit element 201 contains suitable rectifier and integrator means, it will be able to produce a time integral indicative of the relative width of the switching pulse. Most advantageously an indication produced by such rectifier and integrator means is a certain DC voltage level, because it can then be very easily used as an input to comparators and/or trigger switches that give rise to predeter¬ mined action if and when said DC voltage level reaches or passes a certain threshold value. Typically an integration carried out in the additional circuit element 201 is used to produce an indication about the relative width of the switching pulse becoming larger than what would be justified by the delivered output current, which means that the output current of the switched-mode power supply is low and energy accumulates to the secondary. Fig. 3 illustrates an alternative embodiment. Here a switched-mode power supply 300 is otherwise similar to that of fig. 1 , but the transformer 303 comprises an aux¬ iliary coil 302 which is coupled to an additional circuit element 301 located on the secondary side. Taken that the inductive coupling between the coils 105, 107 and 302 in the transformer 303 is sufficiently strong (as it usually is with transformer types commonly used in switched-mode power supplies), the electromagnetic be¬ haviour of an auxiliary coil 302 mimics closely that of the secondary coil 107. Thus rectifying and integrating the voltage between the poles of the auxiliary coil 302 will result in an indication that is very much similar to that produced in the embodiment of fig. 2 with the additional circuit element 201.

The invention is not limited to implementing the energy status monitoring function¬ ality on the secondary side. Especially in so-called primary controlled power sup¬ ply types it may prove advantageous to apply the principle illustrated in fig. 4. In the switched-mode power supply 400 of fig. 4 the transformer 403 comprises an auxiliary coil 402 which is coupled to an additional circuit element 401 located on the primary side. Rectifying and integrating the voltage between the poles of the auxiliary coil 402 will again result in an indication that is very much similar to that produced in the embodiment of fig. 2 with the additional circuit element 201 , or that produced in the embodiment of fig. 3 with the additional circuit element 301. We also assume that the monitoring circuits 110 and 113 are adapted to deliver their action-triggering indications to the primary side, for example through an optocou- pler (not shown in fig. 4).

Figs. 5 and 6 illustrate certain advantageous principles of utilising an indication about an gratuitously large pulse width produced in an additional circuit element. In fig. 5 we assume that secondary side control is applied, like in the embodiments shown in figs. 2 and 3. The additional circuit element 201 is coupled to a coil (not shown in fig. 5) in a transformer and adapted to rectify and integrate the voltage between the poles of that coil. The additional circuit element 201 is also coupled to a monitoring circuit 113, which by nature is an output voltage limiter of the switched-mode power supply in question. The coupling between the additional cir¬ cuit element 201 and the monitoring circuit 113 is such that when a produced indi¬ cation about a certain gratuitously large pulse width is delivered from the additional circuit element 201 to the monitoring circuit 113, the latter will react by changing its operation by a predetermined way, for example by changing the nature of the volt¬ age comparison that will be the ultimate cause of output voltage limiting action. Also in fig. 6 the additional circuit element 401 is coupled to a coil (not shown in fig. 6) in a transformer and adapted to rectify and integrate the voltage between the poles of that coil. The additional circuit element 401 is coupled to a switching pulse generating circuit 601 , the task of which is to formulate and deliver switching pulses to the main primary switching element 104 of the switched-mode power supply in question. When an indication about certain gratuitously large pulse width is delivered from the additional circuit element 401 to the switching pulse generat¬ ing circuit 601 , the latter will react by changing its operation by a predetermined way, for example by decreasing the duty cycle of the switching pulses by a certain percentage.

Fig. 7 illustrates schematically an exemplary constitution of what could be used as any of the additional circuit elements 201 , 301 or 401 described above. Coupled in series between an input and an output are a rectifier 701 , an integrator 702 and a comparator and/or switch 703, which is also coupled to receive a reference signal to which the output of the integrator 702 is to be compared. The integrator 702 should be understood as integrating over a certain time window; in order to focus the relative switching pulse width monitoring to a certain limited duration of most recently passed time there should be a depletion route through which the oldest contributions to the integration result are gradually erased. More generally we may characterise the integrator 702 as a circuit element adapted to collect information about a voltage signal comparable to the relative switching pulse width over a pe¬ riod of time that is considerably longer than the switching cycle of the primary switch.

Fig. 8 is a detailed circuit diagram of the secondary side of a switched-mode power supply where the principle of the invention is applied in the form that was schematically shown previously in figs. 2 and 5. Familiar secondary side compo¬ nents are the secondary coil 107, the secondary main diode 106, the capacitors 108 and 108' as well as the voltage division resistors 111 , 112 and 112'. Monitor¬ ing and control functions are built around a controller circuit 801 , which as a non- limiting example may be a known secondary side controller circuit commercially available from ST Microelectronics Corporation by the code TSM1051. Its six con¬ nection pins are 1 : voltage control input, 2: ground, 3: optocoupler output, 4: cur- rent control input, 5: level setting input and 6: operating voltage. Resistors 802, 803 and 808, zener diode 804, transistor 805, diodes 806 and 807 as well as ca¬ pacitor 809 produce an operating voltage to pin 6 of the controller 801. The current sensing resistance consists of the parallel coupling of resistors 810, 811 and 812. Resistors 813, 814 and 815 as well as capacitors 816 and 817 tune the sensitivity of output voltage and output current control to a suitable level. Resistor 818 is a so-called artificial load. Resistor 819 and photodiode 820 (which is a part of an op- tocoupler) together constitute the feedback signal route to the primary side (not shown). Resistor 821 is a shunt resistor en route to a spark discharge gap.

The upper side of the circuit diagram in fig. 8 corresponds to the additional circuit element 201 of figs. 2 and 5. The anode of a diode 822 is coupled to the lower pole of the secondary coil 107 (that pole to which also the cathode of the secon- dary main diode 106 is coupled). Between the cathode of the diode 822 and the emitter of a PNP transistor 829 there is the series coupling of three resistors 823, 825 and 828. From between resistors 823 and 825 there is a connection to the cathode of zener diode 824, the anode of which is coupled to the positive output voltage line of the switched-mode power supply. From between resistors 825 and 828 there are connections to said positive voltage line both through capacitor 826 and through resistor 827 coupled in parallel therewith. The base of the PNP tran¬ sistor 829 is also coupled to said positive voltage line.

From the collector of the PNP transistor 829 there is a series connection of resis- tors 830 and 833 to the negative output voltage line of the switched-mode power supply. The point between said resistors 830 and 833 is coupled to the base of an NPN transistor 831. The collector of said NPN transistor 831 is coupled through resistor 832 to the voltage control input pin of the controller 801. The emitter of said NPN transistor 831 is coupled to the negative output voltage line.

Of the components listed above, the task of the diode 822 is to rectify the voltage across the secondary coil 107. The resistor 823 and the zener diode 824 imple¬ ment a pulse height limiter, which limits the height of the pulses to be integrated to a certain fixed level, so that the integration will be a mere time integral and not an integral of some pulsating voltage with variable pulse height. Resistor 825 and ca¬ pacitor 826 constitute an RC integrator, so that the time constant of integration in the circuit of fig. 8 depends on their dimensioning. The discharging or depleting time constant depends on the dimensioning of resistors 827 and 828.

During normal operation of the switched-mode power supply the switching ar¬ rangement consisting of transistors 829 and 831 and the associated resistors re¬ mains open, which means that the voltage sensed by the voltage control input pin of the controller 801 depends only on the output voltage of the power supply and the values of resistors 111 , 112 and 112". However, when the output current be¬ comes very low, the incomplete depletion of energy from the transformer's mag¬ netic field as well as the increase in switching pulse width due to internal losses cause the emitter potential of transistor 829 to increase. After it has reached a cer- tain threshold value, transistor 829 becomes conductive, which turns on also tran¬ sistor 831 , so that a new current route is established between the voltage control input pin of the controller 801 and the negative output voltage line through resistor 832 and transistor 831. If now the resistance value of resistor 832 is small enough, the voltage drop across this new current route is smaller than what the controller 801 used to see during normal operation. This way the controller 801 is "cheated" to allow the output voltage to rise slightly higher at small output currents than with¬ out the additional current route.

Fig. 9 illustrates schematically what happens in the output voltage per output cur- rent diagram. With output current values in the range approximately designated as 120, i.e. smaller than the maximum allowed value 11 but larger than a certain lower threshold value I2, the output voltage is U1 like in the prior art switched-mode power supply of fig. 1a. With output current values between zero and I2, the addi¬ tional circuit element according to the present invention steps in to cheat the out- put voltage controlling functionality, for which reason the output voltage assumes a slightly higher value U2.

The invention does not require the reaction to low output current to be exactly that described above in association with figs. 8 and 9, i.e. cheating the voltage control arrangement to allow a higher output voltage by creating another current path be¬ tween a sensing pin and ground. A very easily implemented alternative embodi¬ ment is such where the "additional circuit element" keeps a similar current path normally in a conductive state, and blocks it when the triggering condition indicat¬ ing low output current is fulfilled. As a result, the resistance observed between the appropriate sensing pin of the controller and ground will increase at low output cur¬ rent, which causes the controller to only allow a lower output voltage. Fig. 10 illus¬ trates a corresponding output voltage per output current diagram, in which at out¬ put currents lower than I2 the output voltage assumes a value U2", which is lower than the nominal output voltage U1 of the switched-mode power supply. Taken that in many electronic devices there is a clear trend towards integrating all control functionalities into compact packages, we may note that it would be rela¬ tively easy to combine the components 822 to 831 and 833 in fig. 8 with the sec¬ ondary side controller circuit 801 into a single integrated circuit. Compared to the six-pin configuration of the controller circuit 801 such a combined circuit could have e.g. a seventh pin coupled directly to the secondary coil (like the anode of di¬ ode 822 in fig. 8), an eighth pin coupled the positive output pole (like the base of transistor 829 in fig. 8) and a ninth pin, so that resistor 832 could be coupled be- tween said ninth pin and the negative output pole.

Fig. 11 illustrates a modification to the "additional circuit element" concept that al¬ lows even more versatile application of the invention. In the circuit of fig. 11 the rectifier 701 and integrator 702 may be similar to those used in fig. 7. However, the comparator and/or switch 1103 is adapted to receive two different reference volt¬ ages REF1 and REF2 (of which REF1 < REF2), and to give two output signals OUT1 and OUT2. The idea is that the comparator and/or switch 1103 compares the output of the integrator 702 to the two reference voltages, and indicates with its two output signals whether the output of the integrator 702 is larger than the refer- ence voltage REF2, between the reference voltages REF1 and REF2 or smaller than reference voltage REF1. In other words, when coupled to the secondary coil or other inductive element closely coupled to the transformer, the circuit of fig. 11 is capable of indicating, whether the output current is within normal range, within a first lower range or within a second lower range that is even lower than said first lower range.

Figs. 12 and 13 illustrate two exemplary output voltage per output current dia¬ grams that can be achieved by applying the principle described above in associa¬ tion with fig. 11. In fig. 12 both output current thresholds are associated with lower- ing the output voltage abruptly so that with output currents lower than I2 but higher than I3 the output voltage is U21, and with output currents lower than 13 the output voltage is U3. In fig. 13 the first output current threshold that is encountered when the output current decreases is associated with a step down of the output voltage, but the next output current threshold is associated with an even larger step up of the output voltage. All kinds of combinations can be produced with differently di¬ mensioned steps up and down.

Fig. 14 illustrates the control method described so far schematically in the form of a flow diagram. After integrating at step 1401 there is examined at step 1402, whether the integration result indicates that the output current is lower than a (first) threshold. The use of brackets refers to the possibility that typically, in the simplest case, there will be only one threshold, and the expressions in brackets can be ne¬ glected. A negative finding at step 1402 lead to normal state at step 1403, and a return to the integration of step 1401. For the purpose of completeness there is another decision step 1404 mentioning a second threshold. If one exists, this is a real decision step and the method continues either to the first action state 1405 or to the second action state 1406 according to whether the output current is higher or lower than the second threshold respectively. In the simplest case a direct tran¬ sition from a positive finding at step 1402 to step 1405 occurs. In every case inte¬ gration continues from step 1401.

Controllably affecting the output voltage level with small output currents allows building a number of solutions in which an intelligent device to be charged utilises the known behaviour of certain charger types to identify them before charging. Fig. 15 illustrates schematically the relevant parts of such an intelligent device to be charged. The charging current goes through a current control block 1501. Before it there is a connection to a voltage detection block 1502, which is adapted to deliver an indication about detected voltage to a decision-making block 1503. According to the method diagram of fig. 16, when a charger has been coupled to the device at step 1601 , the decision-making block 1503 commands the current control block 1501 to limit the current drawn from the charger below a certain limit as illustrated as step 1602. The voltage detection block 1502 indicates to the decision-making block 1503 how this affected the output voltage of the charger. At step 1603 the decision-making block 1503 decides, whether the detected output voltage behav¬ iour is in accordance with what has been previously stored as the specification of output voltage behaviour of acceptable chargers. Depending on the decision, the decision-making block 1503 either allows the charging to continue according to step 1604 or forbids it according to step 1605, which last-mentioned case may in¬ clude e.g. commanding the current control block 1501 to block any charging cur¬ rent from flowing, and indicating through a user interface that an attempt of using an unacceptable charger type has been detected and precluded.

The specific examples provided in the description given above should not be con¬ strued as limiting. For example, even if all examples discussed so far have con¬ cerned integrating the relative width (or length in time) of the switching pulse, it would be farily easy to build an integrator that would integrate the relative width of the rest of the switching cycle instead. In the embodiment of fig. 8 the polarity of the diode 822 is opposite to that of the main secondary diode 106, which means that the conduction periods of these diodes are complementary to each other: di¬ ode 822 conducts when diode 106 does not, and vice versa. If the polarity of the diode 822 was reversed, it would conduct simultaneously with diode 106. With cer- tain changes to the rest of the circuitry, which changes would as such be within the capability of the person skilled in the art, it would become possible to produce a DC voltage level indicative of the relative width of the rest of the switching cycle, instead of the relative width of the switching pulse. Naturally the relative width of the rest of the switching cycle behaves in an opposite way compared to the rela¬ tive width of the switching pulse, so it should be taken into account that the action- generating circuitry should be constructed to respond to a diminishing integrated voltage value, instead of an increasing integrated voltage value. Such an alterna¬ tive approach might involve problems related to variable pulse height in integra- tion, since the level of output voltage (of which the height of pulses coming to the integrator is dependent) may vary considerably e.g. in a battery charger applica¬ tion, where charging a completely depleted battery will start from a very low level compared to the voltage of a fully charged battery.

As another alternative embodiment it is possible to leave out the pulse height lim- iter from before the integrator. However, that would involve making the integration more dependent on pulse height, which may lead to inaccuracies in operation.