Switching power supply controller and switching power supply

The control device for flyback type isolated switching power supplies maintains a stable feedback voltage by adjusting the conduction time of the switching element, addressing the issue of inaccurate output voltage control due to varying flyback voltage disappearance times on the secondary side.

JP2024162757APending Publication Date: 2024-11-21NISSHINBO MICRO DEVICES INC
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023078625
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-05-11
Publication Date
2024-11-21

AI Technical Summary

Technical Problem

In flyback type isolated switching power supplies, the feedback voltage based on the flyback voltage of the auxiliary winding is not accurately maintained when the time for the flyback voltage on the secondary side to disappear changes due to variations in input voltage and load, leading to inaccurate control of the output voltage.

Method used

A control device that magnetically couples a secondary winding to the primary side of a transformer, utilizing a voltage holding circuit to maintain a stable feedback voltage by adjusting the conduction time of the switching element based on the flyback voltage in the auxiliary winding, with a detection circuit, timing circuit, and conduction time control circuit to ensure accurate output voltage regulation.

Benefits of technology

The solution enables stable control of the output voltage by maintaining an appropriate feedback voltage even when the time for the flyback voltage to decrease on the secondary side, ensuring accurate and consistent output voltage regulation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024162757000001_ABST
    Figure 2024162757000001_ABST
Patent Text Reader

Abstract

To enable stable control of output voltage even when the time until the flyback voltage induced on the secondary side of the transformer of a switching power supply begins to drop is short.SOLUTION: A switching power supply 1 according to an embodiment comprises: a voltage holding circuit 2 that holds feedback voltage Vfb based on flyback voltage Vba generated in an auxiliary winding Ta of a transformer T; a detection circuit 3 that determines the energization in a secondary winding Ts of the transformer T during the non-conducting period of a switching element Q based on the feedback voltage Vfb; a timekeeping circuit 4 that produces an electrical quantity corresponding to the energization time in the secondary winding Ts, a holding timing control circuit 5 that detects the holding timing of the feedback voltage Vfb by the voltage holding circuit 2 based on the energization time of the secondary winding Ts obtained from the timekeeping circuit 4, and a conduction time control circuit 6 that determines the conduction timing of the switching element Q using voltage Vfbh held in the voltage holding circuit 2.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a control device for a switching power supply and a switching power supply device. [Background technology]

[0002] Switching power supplies that use insulating energy transfer elements such as transformers have the advantages of safety due to the ability to electrically separate the input and output sides, limited noise propagation range due to ground separation, and high freedom of selection of reference potential on the output side due to floating output, and are used in a variety of applications. Among them, the flyback type isolated switching power supply has the advantages of having fewer parts than the forward type, being capable of both step-up and step-down, and being able to obtain a high output voltage even with a relatively low duty, and is used as a DC power supply source for small to medium-sized devices, for example up to about 200W.

[0003] FIG. 8 shows an example of a schematic configuration of a conventional flyback type isolated switching power supply. The conduction state of a transistor 90Q connected to a primary winding 90Tp of a transformer 90T is controlled by a control device 901 with a drive voltage Vdr. An input voltage Vin is applied to the primary winding 90Tp of the transformer 90T. An output voltage Vout is output from a secondary winding 90Ts of the transformer 90T through a smoothing circuit 90Sa composed of a diode and a capacitor. When the input voltage Vin is applied, the control device 901 is started by the power supplied through a starting resistor 90Rs. When the transistor 90Q is in an on state, an excitation current flows through the primary winding 90Tp, and a voltage is induced between both ends of the secondary winding 90Ts. The induced voltage becomes a reverse bias for the diode of the smoothing circuit 90Sa, so that no current flows through the secondary winding 90Ts, and electromagnetic energy is stored in the transformer 90T. When the transistor 90Q transitions to the off state, a flyback voltage in the opposite direction to that in the on state is induced in the secondary winding 90Ts, and the electromagnetic energy stored in the transformer 90T is released on the secondary side. The transistor 90Q is repeatedly turned on and off, and the voltage generated in the secondary winding 90Ts when the transistor 90Q is turned off is smoothed by the smoothing circuit 90Sa and output as the output voltage Vout. When the transistor 90Q is in the on state, the current flowing through the primary winding 90Tp is converted into a voltage by the current detection resistor 90Ri, and the converted voltage is input to the control device 901. The control device 901 uses the voltage input from the current detection resistor 90Ri to control the timing of turning off the transistor 90Q.

[0004] The transformer 90T of the flyback type isolated switching power supply of FIG. 8 further includes an auxiliary winding 90Ta. The auxiliary winding 90Ta is wound on the primary side so as to have the polarity opposite to that of the primary winding 90Tp. A flyback voltage Vba is induced in the auxiliary winding 90Ta when the transistor 90Q is turned off. The flyback voltage Vba is rectified and smoothed by the smoothing circuit 90Sb and supplied to the control device 901 after startup. The flyback voltage Vba is divided by the feedback resistor 90R, and the negative voltage side is clamped by the diode 90D and input to the control device 901 as the feedback voltage Vfb. The auxiliary winding 90Ta is provided so as to induce a flyback voltage Vba proportional to the flyback voltage induced in the secondary winding 90Ts. Therefore, the control device 901 can appropriately turn on the transistor 90Q based on the feedback voltage Vfb so that a desired output voltage Vout is output. By using the auxiliary winding 90Ta, the output voltage Vout can be precisely controlled using only the primary side of the transformer 90T without using feedback from the secondary side.

[0005] In an auxiliary winding wound on the primary side, such as the auxiliary winding 90Ta in Fig. 8, a flyback voltage is intermittently generated in response to interruption of the primary side current. Therefore, when a switching transistor is controlled using the flyback voltage of the auxiliary winding as in Fig. 8, a feedback voltage based on the flyback voltage is held at a predetermined timing for each interruption period of the primary side current, and the switching transistor is controlled using this held voltage. Patent Document 1 discloses a switching power supply that holds a voltage based on the flyback voltage of the auxiliary winding of a transformer in this way and uses it to control a switching transistor. [Prior art documents] [Patent documents]

[0006] [Patent Document 1] U.S. Patent No. 7,239,532 Summary of the Invention [Problem to be solved by the invention]

[0007] FIG. 9 shows a timing diagram of the drive voltage Vdr and the feedback voltage Vfb of the switching power supply of FIG. 8. The high level of the drive voltage Vdr indicates that the transistor 90Q of FIG. 8 is in the on state. On the other hand, the low level of the drive voltage Vdr indicates that the transistor 90Q is in the off state, and during this period, a flyback voltage that brings about the feedback voltage Vfb is induced in the auxiliary winding, and a positive feedback voltage Vfb is generated with respect to the ground potential. In the switching power supply disclosed in Patent Document 1, the feedback voltage based on the flyback voltage of the auxiliary winding is held at the point in time when a predetermined blank period has elapsed since the switching transistor is turned off. That is, in FIG. 9, the feedback voltage Vfb is held at the voltage V91 at the point in time T91 when the same time ton as the high level period of the drive voltage Vdr has elapsed since the drive voltage Vdr transitioned to the low level. The feedback voltage Vfb is held after a certain time has elapsed since the switching transistor is turned off, and is used to control the switching transistor, thereby avoiding the influence of a transient voltage change immediately after the switching transistor is turned off.

[0008] On the other hand, the flyback voltage induced on the secondary side of the switching power supply as shown in FIG. 8 disappears when the energy stored during the on-period immediately before the switching transistor is released. The time until the flyback voltage on the secondary side disappears changes according to the fluctuation of the input voltage and the load, even if the length of the on-period immediately before the switching transistor is constant. For example, if the load fluctuates to a heavier side (to a side where a larger output current flows), the time until the flyback voltage on the secondary side disappears becomes shorter. When the flyback voltage on the secondary side disappears, the flyback voltage induced in the auxiliary winding also disappears. That is, as shown by the two-dot chain line L1 in FIG. 9, the drop in the feedback voltage Vfb is accelerated. And when the drop in the feedback voltage Vfb occurs earlier than the time T91, that is, when the flyback voltage induced on the secondary side starts to drop earlier than the time T91, the feedback voltage Vfb is not maintained at the time when a voltage value suitable for controlling the switching transistor is maintained. That is, the output voltage on the secondary side may not be accurately detected. As a result, the output voltage of the switching power supply may not be accurately controlled.

[0009] In view of the above problems, an object of the present invention is to enable stable control of the output voltage by appropriately maintaining the feedback voltage in a flyback-type isolated switching power supply, even if the time until the flyback voltage induced on the secondary side of the transformer starts to decrease becomes short. [Means for solving the problem]

[0010] A control device for a switching power supply according to one embodiment of the present invention is a control device for a flyback-type isolated switching power supply in which an output voltage is controlled by adjusting a conduction time of a switching element connected to a primary winding using a voltage of an auxiliary winding wound on the primary side of a transformer so as to be magnetically coupled to the secondary winding, and the control device includes a voltage holding circuit that holds a feedback voltage based on a flyback voltage generated in the auxiliary winding, a detection circuit that determines, based on the feedback voltage, the conduction of a secondary winding of the transformer during a non-conducting period of the switching element, and a timing circuit that generates an electric quantity corresponding to the conduction time of the secondary winding, a hold time control circuit that detects the hold time of the feedback voltage by the voltage holding circuit based on the conduction time of the secondary winding obtained from the timing circuit, and a conduction time control circuit that determines the conduction time of the switching element using the voltage held in the voltage holding circuit.

[0011] In one embodiment of the present invention, a switching power supply device includes a control device for the switching power supply, a switching element whose conduction time is controlled by the control device, a transformer having a primary winding connected to the switching element, a secondary winding magnetically coupled to the primary winding, and an auxiliary winding wound on the primary side so as to be magnetically coupled to the secondary winding, a feedback resistor that divides a flyback voltage induced in the auxiliary winding to generate a feedback voltage that is input to the control device, and a smoothing circuit connected to the secondary side of the transformer and rectifies and smoothes the voltage induced in the secondary winding. Effect of the Invention

[0012] According to the switching power supply control device and switching power supply device of the present invention, in a flyback-type isolated switching power supply, even if the time until the flyback voltage induced on the secondary side of the transformer starts to drop becomes short, the output voltage can be stably controlled by appropriately maintaining the feedback voltage. [Brief description of the drawings]

[0013] [Figure 1]1 is a circuit diagram showing an example of a switching power supply control device and a switching power supply device according to an embodiment of the present invention; [Diagram 2] 2 is a circuit diagram showing a specific example of a detection circuit, a timing circuit, and a hold timing control circuit in a control device for a switching power supply according to an embodiment of the present invention; FIG. [Diagram 3] 4 is a timing chart showing an example of the operation of a timer circuit in the control device of the switching power supply according to the embodiment; FIG. [Figure 4] 2 is a circuit diagram showing a specific example of a hold timing control circuit and a voltage hold circuit in the control device of the switching power supply of the embodiment; FIG. [Diagram 5] 4 is a timing diagram showing an example of the operation of a hold timing control circuit and a voltage hold circuit in the control device of the switching power supply of one embodiment; FIG. [Figure 6] FIG. 11 is a timing chart showing another example of the operation of each circuit in the control device of the switching power supply according to the embodiment. [Figure 7] 1 is a circuit diagram showing a specific example of an on / off control circuit in a control device for a switching power supply according to an embodiment of the present invention; [Figure 8] FIG. 1 is a circuit diagram showing an example of a conventional switching power supply. [Figure 9] 9 is a timing diagram showing changes in the drive voltage and feedback voltage of the switching power supply of FIG. 8. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0014] The switching power supply control device and switching power supply device of the present invention will be described with reference to the drawings. Note that the present invention is not limited to the embodiments described below. Also, the specific examples of each circuit shown in each drawing are merely examples, and the configurations of each circuit included in the switching power supply control device and switching power supply device of the embodiments are not limited to the circuit configurations shown in each drawing.

[0015] <Overall configuration of a switching power supply device according to an embodiment> 1 shows a switching power supply device 100 which is an example of a switching power supply device of an embodiment, and a control device 1 which is an example of a control device for a switching power supply device of an embodiment. As shown in FIG. 1, the switching power supply device 100 includes the control device 1. The switching power supply device 100 further includes a transformer T, a switching element Q, feedback resistors R1 and R2 connected in series, and a smoothing circuit Sa connected to a secondary side Tβ of the transformer T. The switching power supply device 100 is an isolated switching power supply of a flyback type that stores electromagnetic energy in the transformer T when a current flows through the primary side Tα of the transformer T, and releases the stored energy at the secondary side Tβ when the current flowing through the primary side Tα is interrupted.

[0016] The transformer T includes a primary winding Tp and a secondary winding Ts wound around a common core so as to be magnetically coupled to each other. The primary winding Tp is connected to a switching element Q. The transformer T further includes an auxiliary winding Ta wound around the primary side Tα so as to be magnetically coupled to the secondary winding Ts. The auxiliary winding Ta is wound with a number of turns that is a predetermined ratio to the number of turns of the secondary winding Ts. As an example, the number of turns of the auxiliary winding Ta may be the same as the number of turns of the secondary winding Ts. It may be easy to set constants such as resistance values ​​in the control device 1.

[0017] The positive terminal of the input terminal IN of the switching power supply device 100 is connected to one end of the primary winding Tp of the transformer T. The negative terminal of the input terminal IN is connected to the ground potential (GND) of the primary side Tα. The other end of the primary winding Tp is connected to a switching element Q. The switching element Q has a control terminal and two controlled terminals. The control device 1 controls the conduction time between the two controlled terminals of the switching element Q.

[0018] 1, the switching element Q is composed of an n-type MOSFET, and the control terminal and one and the other of the two controlled terminals of the switching element Q are the gate, drain, and source of the n-type MOSFET, respectively. The other end of the primary winding Tp is connected to the drain of the n-type MOSFET constituting the switching element Q, and the source and gate of the n-type MOSFET are connected to one end of a current detection resistor Rs (described later) and an output terminal GATE of the control device 1, respectively. A signal sent from the control device 1 switches the drain-source of the n-type MOSFET constituting the switching element Q between a conductive state and a non-conductive state.

[0019] In the following description, the "conduction" and "non-conduction" of the switching element Q are also referred to as "on" and "off", respectively. In the following description, the "on time" (or "on period") used without any special explanation means the time (or period) from when the switching element Q transitions to the on state (also referred to as "turn on") until when it transitions to the off state (also referred to as "turn off"). In addition, the "off time" (or "off period") used without any special explanation means the time (or period) from when the switching element Q transitions to the off state until when it transitions to the on state. Note that the switching element Q provided in the switching power supply device of the embodiment may be a transistor other than an n-type MOSFET depending on the configuration of the control device 1. The switching element Q is not limited to a transistor as long as it can turn on and off the current supply to the primary winding Tp under the control of the control device 1.

[0020] One end of the secondary winding Ts of the transformer T is connected to the positive terminal of the output terminal OUT via the smoothing circuit Sa. The other end of the secondary winding Ts is connected to the negative terminal of the output terminal OUT, i.e., the reference potential of the secondary side Tβ (GNDs in the example of FIG. 1). The smoothing circuit Sa is composed of a diode Dsa connected between one end of the secondary winding Ts and the output terminal VOUT with its anode located on the secondary winding Ts side, and a capacitor Csa connected between the cathode of the diode Dsa and GNDs. The smoothing circuit Sa rectifies and smoothes the voltage induced in the secondary winding Ts by the diode Dsa and the capacitor Csa. The voltage smoothed by the smoothing circuit Sa is taken out as an output voltage Vout and supplied to a load (not shown) connected between the positive and negative poles of the output terminal OUT.

[0021] One end of the auxiliary winding Ta is connected to one end of the feedback resistor R1 and the feedback resistor R2 which are connected in series, and the other end of the auxiliary winding Ta and the other ends of the feedback resistors R1 and R2 which are connected in series are connected to GND (ground potential of the primary side Tα). The feedback resistors R1 and R2 divide the flyback voltage Vba induced in the auxiliary winding Ta to generate a feedback voltage Vfb at the connection point between the feedback resistors R1 and R2. The feedback voltage Vfb is input to an input terminal FB of the control device 1.

[0022] In the following description, one end of the primary winding Tp connected to the input terminal IN, one end of the secondary winding Ts connected to the positive terminal of the output terminal OUT via the smoothing circuit Sa, and one end of the auxiliary winding Ta connected to the control device 1 via the feedback resistor R1 may each be referred to as the "positive electrode," and the opposite end may be referred to as the "negative electrode."

[0023] In the example of FIG. 1, the switching power supply device 100 further includes an input capacitor Cin connected between the positive and negative poles of the input terminal IN of the switching power supply device 100, and a starting resistor Rs connected between the positive terminal of the input terminal IN and the power supply terminal VDD of the control device 1. The switching power supply device 100 further includes a smoothing circuit Sb connected between one end of the auxiliary winding Ta of the transformer T and the power supply terminal VDD of the control device 1, a diode Dc connected in parallel with the feedback resistor R2, and a current detection resistor Rs connected between the source of the n-type MOSFET constituting the switching element Q and GND. The diode Dc clamps the negative voltage side of the flyback voltage Vba induced in the auxiliary winding Ta with respect to GND. The smoothing circuit Sb includes a diode Dsb connected between the auxiliary winding Ta and the power supply terminal VDD of the control device 1, and a capacitor Csb connected between the cathode of the diode Dsb and GND.

[0024] When a DC voltage Vin is applied to the input terminal IN, a voltage stabilized by the input capacitor Cin is applied to the primary winding Tp of the transformer T. The control device 1 is started by power supplied via a starting resistor Rs. When the switching element Q is in an on state, an increasing excitation current flows through the primary winding Tp, and the current flows through the switching element Q and the current detection resistor Rs to GND. The current flowing through the primary winding Tp is converted by the current detection resistor Rs into a signal Vsns according to its magnitude, and the signal Vsns is input to the input terminal SENSE of the control device 1. Preferably, the control device 1 uses the signal Vsns to determine the time to turn off the switching element Q.

[0025] When the switching element Q is in the on state, a voltage is induced in the auxiliary winding Ta, which makes the negative side connected to GND a high potential, but the influence of this voltage does not substantially affect the control device 1 due to the rectification and clamping effects of the diodes Dsb and Dc. Power is supplied to the control device 1 from the capacitor Csb in a charged state. Meanwhile, a voltage is induced in the secondary winding Ts, which makes the negative side a high potential, as a result of the current flowing in the primary winding Tp. However, since the diode Dsa is reverse biased, no current flows in the secondary winding Ts, and electromagnetic energy is stored in the transformer T. Current is supplied from the capacitor Csa in a charged state to a load (not shown).

[0026] When the switching element Q is controlled to the off state, the excitation current flowing through the primary winding Tp is cut off. As a result, a flyback voltage is induced in the secondary winding Ts, with the positive side at a high potential, and the diode Dsa is forward biased, causing a current to flow through the secondary side Tβ, and the electromagnetic energy stored in the transformer T is released at the secondary side Tβ. The current flowing through the secondary side Tβ charges the capacitor Csa and is supplied to a load (not shown).

[0027] In the auxiliary winding Ta, a flyback voltage Vba is also induced in response to the transition of the switching element Q to the off state, in which the positive side has a higher potential than the negative side. In theory, a flyback voltage Vba is induced whose magnitude is calculated by multiplying the ratio of the number of turns of the auxiliary winding Ta to the number of turns of the secondary winding Ts by the flyback voltage generated in the secondary winding Ts. The flyback voltage Vba is rectified and smoothed by the smoothing circuit Sb and supplies power to the control device 1. The flyback voltage Vba is also divided by feedback resistors R1 and R2 and input to the input terminal FB of the control device 1 as a feedback voltage Vfb. Since the flyback voltage Vba when the switching element Q is off is a positive voltage with respect to GND, the diode Dc does not substantially act on the feedback voltage Vfb. In the control device 1, the feedback voltage Vfb is used to adjust the time when the switching element Q is turned on or off, as described later. The feedback voltage Vfb is based on the flyback voltage Vba. The flyback voltage Vba is induced in the auxiliary winding Ta with a magnitude corresponding to the flyback voltage induced in the secondary side Tβ, so that the output voltage Vout of the switching power supply 100 can be controlled to a desired magnitude.

[0028] <Overall configuration of a control device for a switching power supply according to an embodiment> Like the control device 1 illustrated in Fig. 1, the control device for a switching power supply of this embodiment is a control device that controls a flyback type isolated switching power supply such as the switching power supply 100 of Fig. 1. That is, the output voltage of the switching power supply controlled by the control device for a switching power supply of this embodiment is controlled by adjusting the conduction time of a switching element Q connected to a primary winding Tp of a transformer T, using the symbols attached in Fig. 1. The conduction time of the switching element Q is adjusted using a flyback voltage Vba of an auxiliary winding Ta wound around the primary side Tα of the transformer T so as to be magnetically coupled to the secondary winding Ts. Taking the control device 1 of Fig. 1 as an example, the configuration of the control device for a switching power supply of this embodiment will be described in detail below.

[0029] As shown in FIG. 1, the control device 1 includes a voltage holding circuit 2, a detection circuit 3 for detecting the conduction of the secondary winding Ts of the transformer T, a timer circuit 4 having a function of measuring the conduction time of the secondary winding Ts, a holding timing control circuit 5, and a conduction time control circuit 6 for the switching element Q. The control device 1 of FIG. 1 further includes a voltage regulator 11 and a buffer 12. Power is supplied to the voltage regulator 11 from the input terminal IN or the auxiliary winding Ta of the transformer T via a power supply terminal VDD. The voltage regulator 11 supplies a DC voltage Vreg stabilized at a desired voltage value to each of the above-mentioned circuits in the control device 1. In the example of FIG. 1, the buffer 12 is a non-inverting buffer, which performs waveform shaping of the drive signal Vdr output from the conduction time control circuit 6 and outputs a signal with enhanced drive capability to the switching element Q via the output terminal GATE of the control device 1.

[0030] The voltage holding circuit 2 and the detection circuit 3 are each connected to an input terminal FB of the control device 1. A feedback voltage Vfb is input to both of these circuits. The voltage holding circuit 2 holds the feedback voltage Vfb, which is a voltage based on the flyback voltage Vba generated in the auxiliary winding Ta of the transformer T and changes over time. The voltage holding circuit 2 holds the feedback voltage Vfb at the time point (holding time) at which the feedback voltage Vfb should be held, which is indicated by a signal (timing signal) Vshx sent from a hold time control circuit 5. The voltage (holding voltage) Vfbh held in the voltage holding circuit 2 is input to a conduction time control circuit 6.

[0031] The detection circuit 3 determines whether or not a current flows through the secondary winding Ts of the transformer T during the non-conducting period of the switching element Q based on the feedback voltage Vfb. That is, the detection circuit 3 determines whether or not a current flows through the secondary winding Ts at any time during the period during which the switching element Q is in the off state. A current flows through the secondary winding Ts during the off period while a flyback voltage is generated, which causes the positive pole side of the secondary winding Ts to have a high potential. A flyback voltage Vba is induced in the auxiliary winding Ta while the flyback voltage is generated in the secondary winding Ts. Therefore, the detection circuit 3 can determine whether or not a current flows through the secondary winding Ts at any time during the off time of the switching element Q based on the feedback voltage Vfb, which is a voltage obtained by resistor-dividing the flyback voltage Vba. The detection result of the detection circuit 3 is sent to the timer circuit 4 and the hold timing control circuit 5 as a detection signal Ven.

[0032] The timer circuit 4 indirectly measures the current-flow time of the secondary winding Ts, rather than directly. The timer circuit 4 generates an electric quantity corresponding to the current-flow time of the secondary winding Ts, measures the current-flow time of the secondary winding Ts based on the magnitude of the electric quantity, and provides the magnitude of the electric quantity to the holding time control circuit 5 as information indicating the current-flow time of the secondary winding Ts. The electric quantity generated by the timer circuit 4 as the current-flow time of the secondary winding Ts may be, for example, a voltage generated in the timer circuit 4 or an amount of charge accumulated inside the timer circuit 4. This electric quantity is not limited to a voltage or an amount of charge, and may be another electric quantity, such as a current, depending on the configuration of the timer circuit 4 and the holding time control circuit 5.

[0033] The hold timing control circuit 5 detects the hold timing of the feedback voltage Vfb by the voltage hold circuit 2 based on the current-carrying time of the secondary winding Ts obtained from the timer circuit 4. That is, the hold timing control circuit 5 detects the time when the feedback voltage Vfb should be held based on a specific electric quantity indicating the elapsed time from the start of current-carrying of the secondary winding Ts during the off period of the switching element Q, which is input from the timer circuit 4. For example, the hold timing control circuit 5 may detect the time when the feedback voltage Vfb should be held when the electric quantity corresponding to the current-carrying time of the secondary winding Ts obtained from the timer circuit 4 becomes equal to, exceeds, or falls below a predetermined magnitude. The hold timing control circuit 5 sends a signal Vshx indicating the hold timing of the feedback voltage Vfb to the voltage hold circuit 2. Note that there may be a plurality of hold timings of the feedback voltage Vfb detected by the hold timing control circuit 5, as described later, and a plurality of timing signals Vshx each indicating one of the plurality of hold timings may be sent to the voltage hold circuit 2 in sequence.

[0034] The conduction time control circuit 6 determines the conduction time of the switching element Q by using the held voltage Vfbh held in the voltage holding circuit 2. The conduction time control circuit 6 outputs a drive signal Vdr that transitions in level when the switching element Q is turned on and when it is turned off. In the example of FIG. 1, since the switching element Q is an n-type MOSFET, the conduction time control circuit 6 may output a drive signal Vdr that is at a high level when the switching element Q is turned on and at a low level when it is turned off. The drive signal Vdr is input to a buffer 12, as well as to a timer circuit 4 and a holding time control circuit 5.

[0035] The conduction time control circuit 6 in the example of FIG. 1 includes an on / off control circuit 61, a reference voltage source 63 that generates a reference voltage Vref, an error amplifier 64, and a capacitive reactance circuit 66 consisting of a resistor and a capacitor that stabilizes the operation of the error amplifier 64. The reference voltage source 63 generates a constant reference voltage Vref that is hardly affected by the voltage fluctuation or temperature change of the voltage regulator 11, and a desired output voltage Vout is determined based on the reference voltage Vref by the resistance values ​​of feedback resistors R1 and R2 of the flyback voltage Vba. The reference voltage Vref is applied to the non-inverting input of the error amplifier 64 that is composed of an operational amplifier. The held voltage Vfbh is input to the inverting input of the error amplifier 64 from the voltage holding circuit 2. The error amplifier 64 amplifies the difference between the held voltage Vfbh and the reference voltage Vref.

[0036] In the example of FIG. 1, the error amplifier 64 outputs the amplification result to the on / off control circuit 61. The on / off control circuit 61 also receives a signal Vsns from the input terminal SENSE of the control device 1. The on / off control circuit 61 determines the time to turn on and the time to turn off the switching element Q. The on / off control circuit 61 outputs, to the buffer 12, a drive signal Vdr that transitions to a high level when the switching element Q should be turned on and to a low level when the switching element Q should be turned off. The buffer 12 outputs a drive signal based on the drive signal Vdr, which is preferably capable of directly driving the switching element Q, to the switching element Q (to the gate of the n-type MOSFET constituting the switching element Q in the example of FIG. 1). The on / off control circuit 61 preferably determines the time to turn off the switching element Q using an input voltage or input current from the error amplifier and a signal Vsns according to the magnitude of the current flowing through the primary winding Tp, as described later.

[0037] For example, the conduction time control circuit 6 reduces the duty ratio of the time for turning on the switching element Q the larger the holding voltage Vfbh, and increases this duty ratio the smaller the holding voltage Vfbh. That is, the conduction time control circuit 6 adjusts the conduction time of the switching element Q so that the duty ratio decreases the larger the flyback voltage Vba induced in the auxiliary winding Ta, and increases the duty ratio the smaller the flyback voltage Vba. For example, the conduction time control circuit 6 may delay the time for turning off the switching element Q the smaller the holding voltage Vfbh, and advance the time for turning off the switching element Q the larger the holding voltage Vfbh.

[0038] The flyback voltage Vba is large when the flyback voltage induced in the secondary winding Ts is large, and is small when the flyback voltage induced in the secondary winding Ts is small. Therefore, under the action of the detection circuit 3, the timer circuit 4, and the hold timing control circuit 5, a negative feedback circuit is formed that passes through the conduction time control circuit 6, the transformer T, and the voltage hold circuit 2, and the output voltage Vout of the switching power supply device 100 is controlled so as to converge to a desired value and to be stabilized at that value.

[0039] In particular, the control device 1 of this embodiment includes a timer circuit 4, and the feedback voltage Vfb used to control the conduction time of the switching element Q is held according to the conduction time of the secondary winding Ts grasped by the timer circuit 4. For example, when the conduction time of the secondary winding Ts reaches or exceeds any specific time, the feedback voltage Vfb is held and the held voltage Vfbh is used to control the switching element Q. Therefore, in the control device 1 of this embodiment, compared to a conventional control device that holds a voltage based on the flyback voltage of the auxiliary winding at a fixed time that is independent of the conduction time of the secondary winding, an appropriate voltage may be held even if the conduction time of the secondary winding is short. Then, the conduction time of the switching element can be controlled using the appropriate held voltage. In other words, it is considered that the output voltage of the flyback type isolated switching power supply can be controlled more accurately and stably than the conventional control device of the switching power supply.

[0040] <Examples of each circuit in the control device> FIG. 2 shows an example of a specific circuit configuration of each of the detection circuit 3, the timer circuit 4, and the hold timing control circuit 5 in the control device 1 of this embodiment. To explain the general operation of each of these circuits, the timer circuit 4 measures the current flow time of the secondary winding Ts after the start of the off period of the switching element Q by constant current charging one of the two capacitors Ca and Cb, and holds a voltage equivalent to the current flow time of the secondary winding Ts in the off period of the previous period of the switching cycle in the other. The roles of the two capacitors Ca and Cb are switched every switching period. The hold timing control circuit 5 sets a threshold value for setting the hold timing of the feedback voltage Vfb by the voltage hold circuit 2 based on the voltage held by the other of the two capacitors Ca and Cb. In the example of FIG. 2, a threshold voltage is set as the threshold value for setting the hold timing of the feedback voltage Vfb. Then, the charging voltage of one of the capacitors being charged, which is measuring the current flow time of the secondary winding Ts, is compared with the threshold voltage, and the voltage hold timing by the voltage hold circuit 2 is detected. In the example of Fig. 2, three threshold voltages (voltages VTM1 to VTM3) are set by dividing the voltage corresponding to the current-carrying time of the secondary winding Ts in the previous cycle by four. Based on the result of comparison with each threshold voltage, a timing signal indicating the holding time of the feedback voltage Vfb is generated.

[0041] <Configuration and Function of Detection Circuit> 2, the detection circuit 3 includes a comparator 31 and a reference voltage source 32, which is, for example, a bandgap reference. The comparator 31 has a non-inverting input and an inverting input. A feedback voltage Vfb is applied to the non-inverting input terminal of the comparator 31. A reference voltage Vref0 generated by a reference voltage source 32 is applied to the inverting input terminal of the comparator 31. The comparator 31 compares the feedback voltage Vfb with the reference voltage Vref0, and outputs a detection signal Ven that is at a high level when the feedback voltage Vfb is greater and is at a low level when the reference voltage Vref0 is greater.

[0042] When a current flows through the secondary winding Ts of the transformer T, a flyback voltage Vba (see FIG. 1) that is positive with respect to GND is induced in the auxiliary winding Ta of the transformer T, and thus a feedback voltage Vfb that is positive with respect to GND is applied to the detection circuit 3. The reference voltage source 32 generates a reference voltage Vref0 that is slightly higher than GND, for example, about 0.2 to 0.5 V. Therefore, the detection circuit 3 can determine whether or not current is flowing through the secondary winding Ts of the transformer T based on the feedback voltage Vfb.

[0043] <Configuration and operation of the timing circuit> The timer circuit 4 includes a first capacitor Ca, a second capacitor Cb, a constant current source Ic, a first switch SW1, a second switch SW2, a third switch SW3, and a fourth switch SW4. The first capacitor Ca and the second capacitor Cb have substantially the same characteristic value at least for capacitance. Preferably, the first capacitor Ca and the second capacitor Cb have substantially the same characteristic value for all characteristics. The timer circuit 4 further includes a switch control circuit 40 that controls the first switch SW1, the second switch SW2, the third switch SW3, and the fourth switch SW4. The first switch SW1 includes a switch SW1A and a switch SW1B. The second switch SW2 includes a switch SW2A and a switch SW2B. Similarly, the third switch SW3 includes a switch SW3A and a switch SW3B, and the fourth switch SW4 includes a switch SW4A and a switch SW4B.

[0044] One end of the switch SW1A and one end of the switch SW1B are connected to a constant current source Ic. The other end of the switch SW1A is connected to one end of the switch SW2A and one end of the first capacitor Ca, and is further connected to one end of the switch SW3A and one end of the switch SW4A. The other end of the switch SW1B is connected to one end of the switch SW2B and one end of the second capacitor Cb, and is further connected to one end of the switch SW3B and one end of the switch SW4B. The other end of the switch SW2A, the other end of the first capacitor Ca, the other end of the switch SW2B, and the other end of the second capacitor Cb are all connected to GND. The other end of the switch SW3A and the other end of the switch SW3B are both connected to a comparison node Nc shared with the hold timing control circuit 5. The other end of the switch SW4A and the other end of the switch SW4B are both connected to a reference node Nr shared with the hold timing control circuit 5. The comparison node Nc is connected to the inverting inputs of comparators COMP3, COMP2, and COMP1 provided in the hold timing control circuit 5 described later. The reference node Nr is connected to the input of a buffer 51 such as a voltage follower provided in the hold timing control circuit 5.

[0045] The switch control circuit 40 generates control signals SSW1A / 3A, SSW1B / 3B, SSW2A, SSW2B, SSW4A, and SSW4B for each switch in the timer circuit 4 based on the detection signal Ven sent from the detection circuit 3 and the drive signal Vdr sent from the conduction time control circuit 6 (see FIG. 1). In the example of FIG. 2, the two terminals of each switch in the timer circuit 4 are in a conductive state (closed state) when each of the control signals is at a high level, and in a non-conductive state (open state) when each of the control signals is at a low level.

[0046] The switch SW1A connects or disconnects the first capacitor Ca and the constant current source Ic based on the control signals SSW1A / 3A, and the switch SW1B connects or disconnects the second capacitor Cb and the constant current source Ic based on the control signals SSW1B / 3B. The switch SW2A connects or disconnects one end of the first capacitor Ca and the ground potential (GND) based on the control signal SSW2A, and the switch SW2B connects or disconnects one end of the second capacitor Cb and the ground potential (GND) based on the control signal SSW2B.

[0047] The switch SW3A connects or disconnects the first capacitor Ca to the inverting inputs of the comparators COMP1 to COMP3 included in the hold timing control circuit 5 based on the control signals SSW1A / 3A. The switch SW3B connects or disconnects the second capacitor Cb to the inverting inputs of the comparators COMP1 to COMP3 based on the control signals SSW1B / 3B. The switch SW4A connects or disconnects the first capacitor Ca to the series circuit 52 of resistors in the hold timing control circuit 5 via the buffer 51 based on the control signal SSW4A. The switch SW4B connects or disconnects the second capacitor Cb to the series circuit 52 of resistors via the buffer 51 based on the control signal SSW4B.

[0048] The constant current source Ic supplies a constant current to the first capacitor Ca via the switch SW1A when the switch SW1A is in a conductive state. The first capacitor Ca is charged with a constant current supplied from the constant current source Ic. The constant current source Ic supplies a constant current to the second capacitor Cb via the switch SW1B when the switch SW1B is in a conductive state. The second capacitor Cb is charged with the constant current supplied from the constant current source Ic.

[0049] In the example of FIG. 2, the switch control circuit 40 includes a NOT gate INV2 to which the drive signal Vdr is input, a NOT gate INV1 to which the detection signal Ven is input, a NAND gate NAND1 to one of whose input terminals the detection signal Ven is input, a D flip-flop FF1, a D flip-flop FF2, a NOT gate INV3, and four AND gates AND1 to AND4 (hereinafter, these logic circuit elements will be simply referred to as "INV2", "INV1", "NAND1", "D-FF1", "D-FF2", "INV3", and "AND1 to 4", respectively. The other logic circuit elements shown in FIG. 2 and the logic circuit elements shown in each drawing other than FIG. 2 will be referred to in a similar manner).

[0050] The output of INV1 is connected to the positive edge trigger type clock terminal of D-FF1, the output terminal of INV2 is connected to the low active clear terminal of D-FF1, and a high level potential is applied to the D input of D-FF1. The output Q of D-FF1 is connected to the positive edge trigger type clock terminal of D-FF2. The D input of D-FF2 is connected to its inverted output QB, and its output Q is connected to one input of each of AND2 and AND4. The control signal SSW4A is output from the output Q of D-FF2. The inverted output QB of D-FF2 is connected to one input of each of AND1 and AND3. The control signal SSW4B is output from the inverted output QB of D-FF2. Meanwhile, the inverted output QB of D-FF1 is connected to the other input of NAND1, and the output of NAND1 is connected to the input of INV3 and the other input of each of AND3 and AND4. The output of INV3 is connected to the other input of each of AND1 and AND2. The control signal SSW1A / 3A is output from AND1, and the control signal SSW1B / 3B is output from AND2. Furthermore, a control signal SSW2A is output from AND3, and a control signal SSW2B is output from AND4.

[0051] When the secondary winding Ts of the transformer T starts to be energized during the off-period of the switching element Q (see FIG. 1), the switch control circuit 40 controls the first switch SW1 and the second switch SW2 so that either the first capacitor Ca or the second capacitor Cb is charged with a constant current from the constant current source Ic, and the other capacitor maintains a charging voltage due to the charge already stored therein. Therefore, a charging voltage equivalent to the elapsed time since the secondary winding Ts started to be energized is generated in either the first capacitor Ca or the second capacitor Cb being charged.

[0052] The switch control circuit 40 also controls the third switch SW3 and the fourth switch SW4 so that one of the first and second capacitors Ca, Cb that is being charged is connected to the comparison node Nc and the other that holds the charged voltage is connected to the reference node Nr during the off period of the switching element Q and during the conduction period of the secondary winding Ts of the transformer T. Furthermore, the switch control circuit 40 controls the second switch SW2 so as to discharge the one of the first and second capacitors Ca, Cb that was not charged during the immediately preceding off period during the on period of the switching element Q.

[0053] The switch control circuit 40 switches the capacitor to be charged by the constant current source Ic between the first capacitor Ca and the second capacitor Cb for each non-conducting period of the switching element Q. Accordingly, the switching control circuit 40 switches the capacitor to be discharged between the first capacitor Ca and the second capacitor Cb for each conductive period of the switching element Q. Furthermore, the switch control circuit 40 switches the capacitors connected to the comparators COMP1 to COMP3 between the first capacitor Ca and the second capacitor Cb for each non-conducting period of the switching element Q, and similarly switches the capacitor connected to the resistor series circuit 52 between the first capacitor Ca and the second capacitor Cb.

[0054] That is, the switch control circuit 40 controls each switch in the timer circuit 4 so that the capacitor that is charged during the off period and the capacitor that holds the charging voltage are switched between the first capacitor Ca and the second capacitor Cb for each unit period consisting of the on period and the off period of the switching element Q. The switch control circuit 40 further controls each switch in the timer circuit 4 so that the capacitor connected to the comparison node Nc and the capacitor connected to the reference node Nr are switched between the first capacitor Ca and the second capacitor Cb for each unit period. Therefore, the first capacitor Ca and the second capacitor Cb are alternately charged for each off period of the switching element Q, and alternately hold the voltage that they already have for each off period. Also, the first capacitor Ca and the second capacitor Cb are alternately connected to the comparison node Nc, i.e., the comparators COMP1 to COMP3, for each off period, and alternately connected to the reference node Nr, i.e., the series circuit 52 of resistors, for each off period.

[0055] For example, when the detection circuit 3 determines that the secondary winding Ts is energized during a subsequent off period (second non-conduction period) of the preceding and subsequent off periods of the switching element Q, the first capacitor Ca is charged. Meanwhile, during the off period (second non-conduction period), the second capacitor Cb holds a charging voltage equivalent to the energization time of the secondary winding Ts during the preceding off period (first non-conduction period).

[0056] <Example of the operation of a timing circuit> An example of the operation of the timer circuit 4 will be described with reference to Fig. 3. Fig. 3 shows a timing diagram of the drive signal Vdr in the switching power supply device 100 shown in Fig. 1, and each control signal in the timer circuit 4, such as the flyback voltage Vba of the auxiliary winding Ta, the feedback voltage Vfb, the detection signal Ven, and the control signal SSW2A, which change according to the drive signal Vdr. Fig. 3 further shows the voltages (charging voltages) Vca and Vcb between the terminals of the first capacitor Ca and the second capacitor Cb, as well as the voltage Vnc, which is the potential of the comparison node Nc relative to GND, and the voltage Vnr, which is the potential of the reference node Nr relative to GND. Note that Fig. 3 shows an example of a current discontinuous mode in which there is a period in which no current flows through either the primary winding or the secondary winding of the transformer.

[0057] As shown in FIG. 3, during the on-period when the drive signal Vdr is at a high level, the flyback voltage Vba is a negative voltage with respect to GND (0V), and the feedback voltage Vfb is clamped at a voltage slightly lower than 0V. Therefore, the detection signal Ven is at a low level. For example, during the on-period immediately before the off-period Pf1, the first capacitor Ca is charged until the voltage Vca between the terminals becomes the voltage VH1A during the immediately preceding off-period Pf0, and in the timer circuit 4, only the switches SW2B and SW4A are conductive among the switches. Therefore, the voltage Vnr of the reference node Nr is the voltage VH1A, which is approximately the same as the voltage Vca of the first capacitor Ca. On the other hand, the second capacitor Cb is discharged, and the voltage Vnc of the comparison node Nc, which is not connected to any capacitor, maintains the voltage at the end of the off-period Pf0.

[0058] When the drive signal Vdr goes low and the off period of the switching element Q starts, a flyback voltage Vba that is positive with respect to GND is induced by the current cutoff on the primary side. The feedback voltage Vfb goes positive with respect to GND, and the detection signal Ven transitions to a high level. The level transitions of the drive signal Vdr and the detection signal Ven cause the conductive state of a specific switch in the timer circuit 4 to change.

[0059] For example, in an off period Pf1 (first non-conduction period) starting from time T1, the switch SW2B is in an open state, while the switches SW1B and SW3B are in a closed state. As a result, constant current charging of the second capacitor Cb is started, and the voltage Vcb between its terminals rises approximately linearly. As a result, the voltage Vcb, which is an electrical quantity corresponding to the time from the start of current flow in the secondary winding, is obtained between the terminals of the second capacitor Cb. That is, the current flow time in the secondary winding can be measured using the voltage Vcb as a measurement value.

[0060] Since the comparison node Nc and the second capacitor Cb are connected, the voltage Vnc rises along with the voltage Vcb. Meanwhile, the first capacitor Ca is neither charged nor discharged, so it maintains the voltage VH1A during the off period Pf0, and the voltage Vnr of the reference node Nr, which remains connected to the first capacitor Ca, remains approximately the same as the voltage Vca.

[0061] After that, the second capacitor Cb continues to be charged, and the voltage Vcb continues to rise. Meanwhile, when the electromagnetic energy stored in the transformer is completely discharged on the secondary side, the polarity of the flyback voltage Vfb is reversed, and at time T2, the feedback voltage Vfb becomes equal to or lower than the reference voltage Vref0, and the detection signal Ven transitions to a low level. Accordingly, the switches SW4A, SW1B, and SW3B are opened, while the switch SW4B is closed. As a result, the charging of the second capacitor Cb is completed, and the voltage VH2B that was charged up to time T2 is held in the second capacitor Cb.

[0062] Instead of the first capacitor Ca being isolated from the reference node Nr by the switch SW4A being open, the second capacitor Cb is connected to the reference node Nr by the switch SW4B being closed. The reference node Nr has a voltage Vnr that is approximately the same as the voltage VH2B of the second capacitor Cb. In the example of FIG. 3, the current-carrying time of the secondary winding in the off period Pf1 (the time from time T1 to time T2) is approximately the same as the current-carrying time of the secondary winding in the off period Pf0, so the voltages VH2B and VH1A are approximately the same. Note that since the comparison node Nc is isolated from both capacitors, the voltage Vnc also remains approximately the same as the voltage VH2B of the second capacitor Cb that was connected until time T2.

[0063] After that, when the next on-period begins at time T3, the drive signal Vdr goes high, causing the switch SW2A to close, discharging the first capacitor Ca and causing the voltage Vca to drop to approximately 0 V. Meanwhile, since there is no change in the states of the switches SW1B, SW2B, SW3B, and SW4B connected to the second capacitor Cb, the voltage Vcb of the second capacitor Cb remains at voltage VH2B, and the voltage Vnr of the reference node Nr also remains at voltage VH2B.

[0064] Then, at time T4, the off period Pf2 (second non-energizing period) begins, and the switch SW2A opens in response to the level transition of the drive signal Vdr and the detection signal Ven, while the switches SW1A and SW3A close, and constant current charging of the first capacitor Ca begins. The first capacitor Ca is connected to the comparison node Nc. The voltage Vca of the first capacitor Ca rises approximately linearly with the voltage Vnc, and the time from the start of energization in the secondary winding during the off period Pf2 is measured in the same manner as during the off period Pf1, but this time the voltage Vca of the first capacitor Ca is used as the measurement value. Meanwhile, the second capacitor Cb is neither charged nor discharged, so it maintains the voltage VH2B during the off period Pf1 as it is, and the voltage Vnr of the reference node Nr, which remains connected to the second capacitor Cb, remains approximately the same as the voltage Vcb.

[0065] Thereafter, when the feedback voltage Vfb becomes equal to or lower than the reference voltage Vref0 at time T5 as the electromagnetic energy is completely discharged from the secondary side of the transformer, charging of the first capacitor Ca ends, and the voltage VH3A due to charging up to time T5 is held in the first capacitor Ca. The voltage Vnr of the reference node Nr connected to the first capacitor Ca by the switch SW4A in the closed state changes to approximately the same magnitude as the voltage VH3A of the first capacitor Ca. Meanwhile, since the comparison node Nc is isolated from both capacitors, the voltage Vnc remains approximately the same voltage as the voltage VH3A of the first capacitor Ca that was connected up to time T5.

[0066] In the example of FIG. 3, the current-carrying time of the secondary winding in the off period Pf2 (the time from time T4 to time T5) is shorter than the current-carrying time of the secondary winding in the off period Pf1 (the time from time T1 to time T2), so the voltage VH3A is smaller than the voltage VH2B. That is, the current-carrying time of the secondary winding in each off period is measured by the voltages of the first and second capacitors Ca and Cb. The voltage Vca of the first capacitor Ca is maintained at the voltage VH3A until the end of the next off period. The voltage Vnr of the reference node Nr is maintained at the voltage VH3A at least until the current-carrying of the secondary winding in the next off period is completed.

[0067] After time T2 or time T5, a resonance phenomenon may occur on the primary side of the transformer due to the parasitic capacitance, parasitic inductance, resistance, etc. of the transformer T, and a voltage that oscillates positively and negatively may be generated on the primary side as shown in Fig. 3. This may result in a feedback voltage Vfb that increases and decreases across the reference voltage Vref0, and the detection signal Ven may repeatedly transition between high and low levels.

[0068] 2, a rising edge is input to the trigger input of D-FF2 only when the drive signal Vdr is stable at low level (i.e., during the non-conducting period) and the detection signal Ven changes from high level to low level. Also, once the level of the trigger input of D-FF2 has risen, it does not fall to low level until the drive signal Vdr next goes high level.

[0069] Therefore, after the end of the first current-carrying period of the secondary winding in one off-period, the connections of the first and second capacitors Ca and Cb to the constant current source Ic, the comparison node Nc, and the reference node Nr are not switched during that off-period. Therefore, the charging state of the first and second capacitors Ca and Cb and the connection state with the comparison node Nc and the reference node Nr do not change due to the resonance phenomenon after the time point T2 or the time point T5. Therefore, the current-carrying time of the secondary winding in each off-period can be appropriately measured by the voltages of the first and second capacitors Ca and Cb while avoiding the influence of the resonance phenomenon. The switch control circuit 40 is preferably configured to simultaneously switch the conductive states of the first switch SW1, the third switch SW3, and the fourth switch SW4 only at the end of the current-carrying period of the secondary winding that is first determined by the detection circuit 3 during the non-conducting period of the switching element in this way.

[0070] <Configuration of the retention timing control circuit> FIG. 4 shows the hold timing control circuit 5 of the example of FIG. 2 again with more reference numerals, together with an example of a specific circuit configuration of the voltage hold circuit 2 in this embodiment. As shown in FIG. 4, the hold timing control circuit 5 includes a resistor series circuit 52, comparators (comparators COMP1 to COMP3), a gate circuit 50, and a buffer 51 that converts the impedance of the path to which the reference node Nr belongs. The gate circuit 50 generates timing signals Vsh1 to Vsh3 based on the outputs of the comparators COMP1 to COMP3, and outputs each of the generated signals to the voltage hold circuit 2. The timing signals Vsh1 to Vsh3 are individual signals among the timing signals Vshx of FIG. 1, which may be a plurality of signals. Therefore, the timing signals Vsh1 to Vsh3 indicate the holding timing of the feedback voltage Vfb by the voltage hold circuit 2. The gate circuit 50 further generates a timing signal Vsh0 from the drive signal Vdr and the detection signal Ven, and outputs the generated timing signal Vsh0 to the voltage hold circuit 2.

[0071] 4, resistor series circuit 52 is composed of four resistors RTM1 to RTM4 connected in series. One end of series circuit 52 is connected to the output of buffer 51 (i.e., connected to reference node Nr via buffer 51), and the other end is connected to GND. Therefore, at the connection points between the resistors constituting series circuit 52, voltages (with respect to GND potential) VTM1 to VTM3 appear due to resistance division of the voltage of reference node Nr (with respect to GND potential) at each resistor.

[0072] The hold timing control circuit 5 in Fig. 4 includes a plurality of comparators COMP1 to COMP3, each of which is composed of a comparator. The inverting inputs of the comparators constituting each comparator are both connected to a comparison node Nc. The non-inverting input of the comparator COMP1 receives a voltage VTM1 from the connection point between the resistors RTM1 and RTM2, the non-inverting input of the comparator COMP2 receives a voltage VTM2 from the connection point between the resistors RTM2 and RTM3, and the non-inverting input of the comparator COMP1 receives a voltage VTM3 from the connection point between the resistors RTM3 and RTM4.

[0073] Therefore, each of the comparators COMP1-COMP3 compares the voltages VTM1-VTM3 appearing at the terminals of the resistors of the series circuit 52 by resistive voltage division of the voltage of the reference node Nr with the voltage of the comparison node Nc (with respect to the GND potential). The voltages VTM1-VTM3 are thresholds that provide boundaries at which the comparison results of the comparators COMP1-COMP3 are inverted. In the hold timing control circuit 5, the series circuit 52 divides the voltage of the reference node Nr in this manner to generate the threshold voltages VTM1-VTM3. The comparator COMP1 outputs a high level only while the voltage of the comparison node Nc is smaller than the voltage VTM1, the comparator COMP2 outputs a high level only while the voltage of the comparison node Nc is smaller than the voltage VTM2, and the comparator COMP3 outputs a high level only while the voltage of the comparison node Nc is smaller than the voltage VTM3.

[0074] In the example of FIG. 4, four resistors RTM1-RTM4 are provided, and three threshold voltages VTM1-VTM3 are generated. However, the resistor series circuit 52 provided in the hold timing control circuit 5 in the control device of the switching power supply of this embodiment may include any number of resistors. The hold timing control circuit 5 may be provided with a series circuit consisting of at least two resistors. Then, at least one threshold voltage lower than the voltage of the reference node Nr may be generated as a threshold providing a boundary at which the comparison results of the comparators COMP1-COMP3 are inverted. Even if only one threshold voltage is generated, it may be possible to detect an appropriate time to cause the voltage hold circuit 2 to hold the feedback voltage based on the threshold voltage, as described later.

[0075] The resistance values ​​of the resistors constituting the series circuit 52 may be the same or different. For example, the resistance value of each resistor may be set individually so that the potential difference between the individual threshold voltages becomes large or small depending on the rate of change of the feedback voltage Vfb during the conduction period in the secondary winding.

[0076] The holding timing control circuit 5 may include any number of comparators such as the comparators COMP1 to COMP3, which is equal to the number of thresholds such as the threshold voltages VTM1 to VTM3.

[0077] As described above, the first capacitor Ca and the second capacitor Cb are alternately connected to the reference node Nr during each off period of the switching element Q. Therefore, during the off period in which the first capacitor Ca is connected to the reference node Nr, the series circuit 52 divides the charging voltage of the first capacitor Ca to generate a plurality of threshold voltages VTM1 to VTM3. During the off period in which the second capacitor Cb is connected to the reference node Nr, the series circuit 52 divides the charging voltage of the second capacitor Cb to generate a plurality of threshold voltages VTM1 to VTM3.

[0078] On the other hand, as described above, the first capacitor Ca and the second capacitor Cb are alternately connected to the comparison node Nc during each off period of the switching element Q. Therefore, during the off period in which the first capacitor Ca is connected to the comparison node Nc, each of the comparators COMP1 to COMP3 compares the charging voltage of the first capacitor Ca with each of the multiple threshold voltages generated by the series circuit 52. Then, during the off period in which the second capacitor Cb is connected to the comparison node Nc, each of the comparators COMP1 to COMP3 compares the charging voltage of the second capacitor Cb with each of the multiple threshold voltages generated by the series circuit 52.

[0079] In the example of FIG. 4, the gate circuit 50 includes an INV12 to which the drive signal Vdr is input, an INV11 to which the detection signal Ven is input, an AND11 to which the detection signal Ven is input at one input terminal, a D flip-flop FF3 (D-FF3), and three AND12 to AND14. The output terminal of INV11 is connected to a clock terminal of a positive edge trigger type of D-FF3, the output terminal of INV12 is connected to a low active clear terminal of D-FF3, and a high level potential is applied to the D input of D-FF3. The inverted output QB of D-FF3 is connected to the other input terminal of AND11. The timing signal Vsh0 is output from AND11. The timing signal Vsh0 is input to one input terminal of each of AND12 to AND14 and is sent to the voltage holding circuit 2. The other input terminals of each of AND12 to AND14 are connected to the output terminals of comparators COMP1 to COMP3, respectively.

[0080] AND12 generates a timing signal Vsh1 which is the logical product of the output of comparator COMP1 and the timing signal Vsh0, AND13 generates a timing signal Vsh2 which is the logical product of the output of comparator COMP2 and the timing signal Vsh0, and AND14 generates a timing signal Vsh3 which is the logical product of the output of comparator COMP3 and the timing signal Vsh0. The timing signals Vsh1 to Vsh3 are sent to a voltage holding circuit 2.

[0081] The timing signal Vsh0 is generated by INV12, INV11, AND11, and D-FF3, which are connected as shown in FIG. 4. The timing signal Vsh0 generated by such a logic circuit transitions to a high level at the start of the off-period of the switching element Q, goes to a low level when the detection signal Ven transitions to a low level for the first time during the off-period, and thereafter maintains a low level during the off-period. Therefore, the gate circuit 50 does not output the timing signals Vsh1 to Vsh3 during a period other than the period during which the detection circuit 3 first determines that the secondary winding is energized during the non-conducting period of the switching element Q. This may prevent the voltage holding circuit 2 from holding the feedback voltage Vfb at an inappropriate time.

[0082] It is also possible to omit INV11, INV12, D-FF3, and AND11, and use the signal output from INV3 in the timer circuit 4 shown in Fig. 2 as the timing signal Vsh0. This is believed to enable a reduction in the number of parts.

[0083] <Voltage holding circuit configuration> 4, the voltage holding circuit 2 includes a plurality of voltage holding capacitors Cs1-Cs3, a plurality of input side switches SWS1-SWS3, a plurality of output side switches SWH1-SWH3, and a charge control circuit 20. The charge control circuit 20 controls the plurality of input side switches SWS1-SWS3 and the plurality of output side switches SWH1-SWH3 based on timing signals Vsh0-Vsh3 sent from the hold timing control circuit 5.

[0084] The input side switches SWS1-SWS3 are respectively arranged between one end of each of the voltage holding capacitors Cs1-Cs3 and an input terminal FB of the control device 1 (see FIG. 1) to which a feedback voltage Vfb is input. Therefore, the feedback voltage Vfb is input to one end of each of the input side switches SWS1-SWS3 opposite to the voltage holding capacitors Cs1-Cs3 side. On the other hand, the output side switches SWH1-SWH3 are respectively arranged between one end of each of the voltage holding capacitors Cs1-Cs3 to which the input side switches SWS1-SWS3 are connected and the conduction time control circuit 6 (see FIG. 1).

[0085] The other end of each of the multiple voltage holding capacitors Cs1 to Cs3 is connected to GND. 4 further includes a buffer BUF14 that converts the impedance of the connection path with the conduction time control circuit 6, and an output holding capacitor Ch that holds the output voltage of the buffer BUF14. One end of each of the multiple output-side switches SWH1-SWH3 opposite to the voltage holding capacitors Cs1-Cs3 is connected to the conduction time control circuit 6 via the buffer BUF14.

[0086] The charging control circuit 20 includes INV13 to which the timing signal Vsh1 is input, INV14 to which the timing signal Vsh2 is input, INV15 to which the timing signal Vsh3 is input, AND17 to which the timing signal Vsh0 is input at one input terminal, INV16, AND15, 16, and three buffers BUF11 to BUF13. The output of INV13 is connected to INV16 and one input terminal of AND15, and a control signal SSWS1 that controls the input side switch SWS1 is output from INV16. The timing signal Vsh2 is input to the other input terminal of AND15, and a control signal SSWS2 that controls the input side switch SWS2 is output from AND15. The output of AND15 is also input to the buffer BUF11, and the control signal SSWH1 that controls the output side switch SWH1 is output from the buffer BUF11.

[0087] The output of INV14 is connected to one input terminal of AND16, and a timing signal Vsh3 is input to the other input terminal of AND16. A control signal SSWS3 that controls the input-side switch SWS3 is output from AND16. The output of AND16 is also input to a buffer BUF12, and the buffer BUF12 outputs a control signal SSWH2 that controls the output-side switch SWH2. The output of INV15 is connected to the other input terminal of AND17, and the output of AND17 is input to a buffer BUF13. A control signal SSWH3 that controls the output-side switch SWH3 is output from the buffer BUF13.

[0088] The charge control circuit 20 having a circuit configuration as shown in the example of FIG. 4 is configured to sequentially switch between the capacitors among the multiple voltage holding capacitors Cs1 to Cs3 that are charged with the feedback voltage Vfb and the capacitors that are connected to the conduction time control circuit 6 each time the hold time control circuit 5 detects the hold time at which the feedback voltage Vfb should be held.

[0089] 4 includes three voltage holding capacitors, input side switches, and output side switches. However, the voltage holding circuit 2 may include any number of voltage holding capacitors, input side switches, and output side switches equal to the number of thresholds such as the threshold voltages VTM1 to VTM3.

[0090] <Functions of the hold timing control circuit and the voltage hold circuit> An example of the operation of the hold timing control circuit 5 and the voltage hold circuit 2 will be described with reference to FIG. 5. FIG. 5 shows a timing diagram of signals in each circuit in the control device 1 of FIG. 1 in which the timer circuit 4 operates as in the timing diagram of FIG. 3. Specifically, FIG. 5 shows a timing diagram of each timing signal Vsh0-Vsh3 of the hold timing control circuit 5 and each control signal SSWS1-SSWS3 and SSWH1-SSWH3 of the voltage hold circuit 2, each having a circuit configuration as shown in FIG. 4. Furthermore, FIG. 5 also shows the drive signal Vdr, the feedback voltage Vfb, the detection signal Ven, the voltage Vnc of the comparison node, and the voltage Vnr of the reference node shown in FIG. 3. Note that FIG. 5 shows an example in which the resistance values ​​of the resistors RTM1-RTM3 used to generate the threshold voltages VTM1-VTM3 in the hold timing control circuit 5 are all the same. Therefore, as shown superimposed on the voltage Vnc in FIG. 5, the hold timing control circuit 5 generates three threshold potentials VTM1 to VTM3 having between them a potential difference equal to a quarter of the voltage VH1A, VH2B, or VH3A of the reference node Vnr.

[0091] In FIG. 5, immediately after the start (time T1) of the off period Pf1 (first non-conduction period), the voltage Vnc of the comparison node Nc is approximately 0V, so the voltage Vnc is smaller than any of the threshold voltages VTM1 to VTM3. Therefore, all of the timing signals Vsh1 to Vsh3 are at a high level, and the timing signal Vsh0 is also at a high level, so that in the voltage holding circuit 2, only the control signal SSWS1 among the control signals is at a high level. That is, since only the input-side switch SWS1 is in a closed state, the voltage holding capacitor Cs1 is connected to the input terminal FB (see FIG. 1) to which the feedback voltage Vfb is input, and is charged or discharged by the feedback voltage Vfb. Note that, in the example of FIG. 5, the voltage Vnr of the reference node at time T1 is the voltage VH1A of the first capacitor Ca (see FIG. 2) at the end of the off period Pf0. In the holding timing control circuit 5, threshold voltages VTM1 to VTM3 having magnitudes of 25%, 50%, and 75% of the voltage VH1A, respectively, are generated.

[0092] Thereafter, when the second capacitor Cb (see FIG. 2) is charged and the voltage Vnc of the comparison node connected to the second capacitor Cb reaches the threshold voltage VTM1, only the timing signal Vsh1 among the timing signals goes low, and in the voltage holding circuit 2, the control signal SSWS1 goes low, and instead the control signals SSWS2 and SSWH1 transition to high. Therefore, charging and discharging of the voltage holding capacitor Cs1 with the feedback voltage Vfb ends, and the voltage of the voltage holding capacitor Cs1 is output from the buffer BUF14 and held in the output holding capacitor Ch. Meanwhile, the voltage holding capacitor Cs2 is charged or discharged with the feedback voltage Vfb.

[0093] When the second capacitor Cb is further charged and the voltage Vnc reaches the threshold voltage VTM2, the timing signal Vsh2 goes low, and the control signals SSWH1, SSWS2, SSWS3, and SSWH2 are inverted in the voltage holding circuit 2. Therefore, the charging and discharging of the voltage holding capacitor Cs2 ends, and the voltage of the voltage holding capacitor Cs2 is held in the output holding capacitor Ch, and the voltage holding capacitor Cs3 is charged and discharged by the feedback voltage Vfb. Then, when the second capacitor Cb is further charged and the voltage Vnc reaches the threshold voltage VTM3, the timing signal Vsh3 also goes low, and the control signals SSWH2, SSWS3, and SSWH3 are inverted in the voltage holding circuit 2. Therefore, the charging and discharging of the voltage holding capacitor Cs3 ends, and the voltage of the voltage holding capacitor Cs3 is output from the buffer BUF14 via the output side switch SWH3 in the closed state and held in the output holding capacitor Ch, and continues until the next inversion of the control signal SSWH1.

[0094] 5, even if the feedback voltage Vfb oscillates across the reference voltage Vref0 after time T2, the timing signal Vsh0 does not go high until the drive signal Vdr rises once and then goes low again, so the state in the voltage holding circuit 2 does not change during that time. Therefore, the feedback voltage Vfb at time T11 when the voltage Vnc exceeded the threshold voltage VTM3 is held in the voltage holding circuit 2 until the start of the next off period Pf2, and continues to be input to the conduction time control circuit 6 as the held voltage Vfbh.

[0095] 5 shows an example in which the current-carrying time of the secondary winding of the transformer during the next off period Pf2 (second non-conducting period) is shorter than the current-carrying time during the off period Pf1. At time T4, which is the start time of the off period Pf2, the voltage Vnr of the reference node remains at the voltage VH2B held by the second capacitor Cb at the end of the off period Pf1. Meanwhile, since the first capacitor Ca was discharged during the on period immediately before the off period Pf2, the voltage Vnc of the comparison node is approximately 0 V at time T4.

[0096] Immediately after the start of the off period Pf2, as in the off period Pf1, the control signals Vsh0 to Vsh3 are all at high level, so the voltage holding capacitor Cs1 is charged or discharged by the feedback voltage Vfb. After that, the first capacitor Ca is charged, and when the voltage Vnc of the comparison node reaches the threshold voltage VTM1, the timing signal Vsh1 goes low, and when it reaches the threshold voltage VTM2, the timing signal Vsh2 goes low. In the voltage holding circuit 2, the control signals SSWH1 and SSWS2 go low, and the control signals SSWS3 and SSWH2 go high. Therefore, the voltage of the voltage holding capacitor Cs2 is output from the buffer BUF14 via the output side switch SWH2 in the closed state and is held by the output holding capacitor Ch, and continues until the control signal SSWH1 is next inverted, as in the off period Pf1.

[0097] 5, the hold timing control circuit 5 divides the charging voltage of the second capacitor Cb during the off period Pf1, i.e., the voltage Vnr of the reference node, to generate threshold voltages VTM1-VTM3 that are equal to or greater than 1. Then, when the charging voltage of the first capacitor Ca, i.e., the voltage Vnc of the comparison node, reaches each of the threshold voltages VTM1-VTM2 that are equal to or greater than 1 during the off period Pf2, the hold timing control circuit 5 generates timing signals Vsh1 and Vsh2 that indicate the timing at which the voltage hold circuit 2 is to hold the feedback voltage Vfb.

[0098] Thereafter, in the example of FIG. 5 in which the current conduction time in the secondary winding during the off period Pf2 is short, the current conduction in the secondary winding ends before the voltage Vnc of the comparison node reaches the threshold voltage VTM3. Therefore, the timing signal Vsh3 does not become low level due to the measurement result of the current conduction time in the secondary winding by the timer circuit 4. However, the feedback voltage Vfb at the time T21 when the voltage Vnc of the comparison node exceeds the threshold voltage VTM2, that is, the voltage value of the feedback voltage Vfb during the current conduction period of the secondary winding, is held in the voltage holding circuit 2 until the start of the next off period Pf3 and continues to be input to the conduction time control circuit 6 as the holding voltage Vfbh. That is, even if the current conduction time in the secondary winding is short, an inappropriate voltage value of the feedback voltage Vfb during the oscillating period, such as at the time T5, is not input to the conduction time control circuit 6. Therefore, the output voltage of the switching power supply can be stably controlled.

[0099] The timing signal Vsh3 goes low when the detection signal Ven goes low at time T5. However, because the timing signal Vsh0 goes low, none of the voltage holding capacitors Cs1 to Cs3 are connected to the buffer BUF14 or the conduction time control circuit 6. Therefore, the holding voltage Vfbh that has been held since time T21 is not affected.

[0100] 5 shows an example in which the conduction time of the secondary winding of the transformer in the next off period Pf3 is the same as the conduction time in the off period Pf2. In the off period Pf3, similar to the off period Pf1, the voltage value of the feedback voltage Vfb at the time T31 when the voltage Vnc of the comparison node exceeds the threshold voltage VTM3 is held in the voltage holding circuit 2 and input to the conduction time control circuit 6 until the start of the next off period (not shown). Note that the threshold values ​​VTM1 to VTM3 in the off period Pf3 are voltages that are 25%, 50%, and 75%, respectively, of the voltage VH3A held by the first capacitor Ca at the end of the off period Pf2.

[0101] As described with reference to FIGS. 2 to 5, in the control device 1 of the switching power supply of this embodiment, the holding time control circuit 5 may set one or more thresholds (e.g., threshold voltages VTM1 to VTM3) related to the current-carrying time of the secondary winding Ts (see FIG. 1) of the transformer T. The holding time control circuit 5 may detect the time when the feedback voltage Vfb is held by the voltage holding circuit 2 from one or more thresholds such as any of the threshold voltages VTM1 to VTM3 and an amount of electricity generated by the timer circuit 4 according to the current-carrying time of the secondary winding Ts. The timer circuit 4 may generate a voltage as this amount of electricity according to the elapsed time from the start of current-carrying of the secondary winding Ts during the non-conducting period of the switching element Q (see FIG. 1). For example, the current-carrying time of the secondary winding Ts can be easily measured by generating a voltage by charging that starts at the start of current-carrying of the secondary winding Ts. However, as mentioned above, the electrical quantity generated by the timing circuit 4 may be a current or the like other than a voltage, and therefore the electrical quantity used for the threshold value set by the hold timing control circuit 5 is not limited to a voltage such as the threshold voltages VTM1 to VTM3, and may also be a current or the like.

[0102] As described above, the hold timing control circuit 5 is preferably configured to set a plurality of thresholds such as the threshold voltages VTM1 to VTM3 as one or more thresholds. This may allow the voltage hold circuit 2 to hold the feedback voltage Vfb at a more appropriate hold timing.

[0103] The hold timing control circuit 5 may set, as the one or more thresholds, one or more threshold voltages such as threshold voltages VTM1 to VTM3, each of which is smaller than the voltage VH2B generated by the timer circuit 4 in a first non-conduction period of the switching element Q, such as the off period Pf1 shown in Fig. 3 and Fig. 5. The hold timing control circuit 5 may detect, as the hold timing of the feedback voltage Vfb by the voltage hold circuit 2, a time point at which the voltage generated by the timer circuit 2 from the start of conduction of the secondary winding Ts reaches each of the one or more threshold voltages in a second non-conduction period after the first non-conduction period, such as the off period Pf2 after the off period Pf1.

[0104] By detecting the hold time in this manner, it may be possible to hold the feedback voltage at an appropriate voltage value even if the current-carrying time of the secondary winding Ts in the second non-conduction period is shorter than the current-carrying time of the secondary winding Ts in the first non-conduction period. The first non-conduction period may be a non-conduction period preceding the second non-conduction period, but is preferably a non-conduction period immediately preceding the second non-conduction period. Since it is considered that there is not much difference in the current-carrying time of the secondary winding Ts between successive non-conduction periods, it is considered that an appropriate threshold value is set.

[0105] According to the control device for a switching power supply of the embodiment including the hold timing control circuit 5, the voltage hold circuit 2, the detection circuit 3, the timer circuit 4, and the conduction time control circuit 6 having the above-mentioned configurations and functions, it is considered that even if the time until the flyback voltage induced on the secondary side of the transformer starts to drop becomes short, the output voltage of the switching power supply can be stably controlled by appropriately holding the feedback voltage as described above. Also, it is considered that the output voltage can be stably controlled in the switching power supply device of the embodiment including the control device of such an embodiment.

[0106] <Other operation modes> As described above, Fig. 3 and Fig. 5 are examples of the case where the control device 1 of the switching power supply in Fig. 1 operates in a discontinuous current mode. The control device 1 of the switching power supply in this embodiment may operate in a mode other than the discontinuous current mode. Fig. 6 shows a timing diagram showing an example of the operation of each internal circuit when the control device 1 of the switching power supply in Fig. 1 operates in a critical current mode. Fig. 6 shows the drive signal Vdr, the flyback voltage Vba of the primary winding, the feedback voltage Vfb, the voltages Vca and Vcb of the first and second capacitors, the detection signal Ven, each control signal of the timer circuit 4 such as the control signal SSW2A, and the timing signals Vsh1 to Vsh3 in the same manner as Figs. 3 and 5.

[0107] In the current critical mode, as shown in Fig. 6, when the current flow in the secondary winding of the transformer ends during the off periods of the switching elements such as the off periods Pf1 to Pf3, that is, when the flyback voltage Vba is inverted, the on period starts. Therefore, the level of the detection signal Ven changes substantially in synchronization with the drive signal Vdr. In such a current critical mode, the control device of the switching power supply of this embodiment operates in the same manner as in the discontinuous current mode described above.

[0108] That is, during the off period Pf1 in Fig. 6, the voltage value of the feedback voltage Vfb at time T11 when the voltage Vcb of the second capacitor charged in the timer circuit 4 (see Fig. 2) reaches the threshold voltage VTM3 is held in the voltage holding circuit 2 (see Fig. 4). The held voltage value is input to the conduction time control circuit 6 (see Fig. 1) until the start of the next off period Pf2. Meanwhile, during the off period Pf2, the voltage value of the feedback voltage Vfb at time T21 when the voltage Vca of the first capacitor charged reaches the threshold voltage VTM2 lower than the threshold voltage VTM3 is held.

[0109] That is, during the off period Pf2, the voltage Vca of the first capacitor does not reach the threshold voltage VTM3 because the current-carrying time of the secondary winding is short, but the feedback voltage Vfb is maintained at an appropriate voltage value during the current-carrying period of the secondary winding, not after the current-carrying period ends. In this way, the control device for the switching power supply of this embodiment can maintain the feedback voltage appropriately even in operation modes other than the discontinuous current mode, such as the critical current mode.

[0110] <On / Off control circuit> 7 shows an example of a specific circuit configuration of the on / off control circuit 61 included in the conduction time control circuit 6 of the control device 1 of the switching power supply of this embodiment illustrated in FIG. 1. In the example of FIG. 7, the on / off control circuit 61 includes an amplifier 611, a comparator 612, a superimposing circuit 613, an oscillator 614, and an SR flip-flop (SR-FF) 615. The oscillator 614 outputs a square wave Wc having a pulse width sufficiently shorter than the on time of the switching element Q (see FIG. 1) with the same period as the switching period of the control device 1, and inputs it to the S input of the SR-FF 615. The oscillator 614 further outputs a ramp wave Wr that falls and starts to rise in synchronization with the rising edge of the square wave Wc, and inputs it to the superimposing circuit 613. The amplifier 611 receives a signal Vsns (see FIG. 1) corresponding to the current flowing through the primary winding of the transformer, and the output of the amplifier 611 is input to the superimposing circuit 613. In the superposition circuit 613, a ramp wave Wr is superposed on the amplified signal Vsns, and the superposed signal Vs is input to the non-inverting input of a comparator 612. The output voltage Ver of an error amplifier 64 (see FIG. 1) in the conduction time control circuit 6 is input to the inverting input of the comparator 612, and the output of the comparator 612 is input to the R input of an SR-FF 615. The SR-FF 615 outputs a drive signal Vdr that rises when a high level is input to the S input and falls when a high level is input to the R input. The error amplifier 64 outputs a lower output voltage Ver the greater the holding voltage Vfbh of the feedback voltage Vfb is compared to the reference voltage Vref (see FIG. 1), and outputs a higher output voltage Ver the greater the holding voltage Vfbh is compared to the reference voltage Vref.

[0111] In the on / off control circuit 61 having the configuration shown in FIG. 7, the drive signal Vdr goes high at the rising edge of the square wave Wc of the oscillator 614, and the switching element Q goes into the on state (the rising square wave Wc goes low while the switching element Q is in the on state). When the switching element Q goes into the on state, a current flows through the primary winding of the transformer, and the signal Vsns rises. As the signal Vsns rises, the superimposed signal Vs rises, and when the superimposed signal Vs exceeds the output voltage Ver of the error amplifier 64, the output of the comparator 612 is inverted and a high-level voltage is input to the R input of the SR-FF 615. The input of the high-level voltage to the R input switches the output of the SR-FF 615 to a low level, i.e., the drive signal Vdr goes low, and the switching element Q transitions to the off state.

[0112] The higher the output voltage Vout (see FIG. 1) of the secondary side Tβ is and the greater the holding voltage Vfbh of the feedback voltage Vfb is than the reference voltage Vref, the lower the output voltage Ver of the error amplifier 64 becomes as described above, and the lower the level of the superimposed signal Vs that switches the output of the comparator 612 to a high level becomes. That is, the earlier the timing at which the switching element Q turns off, and the shorter the on-time becomes. On the other hand, the lower the output voltage Vout is and the smaller the holding voltage Vfbh is than the reference voltage Vref, the higher the output voltage Ver of the error amplifier 64 becomes, and the higher the level of the superimposed signal Vs that switches the output of the comparator 612 to a high level becomes. That is, the later the timing at which the switching element Q turns off, and the longer the on-time becomes.

[0113] That is, the start time of the on-time of the switching element Q is constant and synchronized with the rising edge of the square wave Wc of the oscillator 614, while the end time of the on-time varies according to the magnitude of the feedback voltage Vfb (specifically, its holding voltage Vfbh), so that the on-time can be adjusted. The duty ratio of the switching element Q can be changed by adjusting the on-time, thereby controlling the output voltage Vout.

[0114] When the current on the secondary side Tβ is small, the output voltage Vout is high, and the duty ratio is small, the control of the control device 1 becomes discontinuous current mode control. When the current on the secondary side Tβ increases and the output voltage Vout decreases, the duty ratio gradually increases, the control of the control device 1 reaches current critical mode, and when the duty ratio increases further, the control mode changes to current continuous mode. In this way, the ramp wave Wr is superimposed on the amplified signal Vsns to prevent subharmonic oscillation (subharmonic oscillation) from occurring when the duty ratio increases to be greater than 50%. In other words, by superimposing the ramp wave Wr and performing slope compensation, it is possible to prevent subharmonic oscillation. [Explanation of symbols]

[0115] 100 Switching power supply 1. Switching power supply control device 2 Voltage holding circuit 20 Charging control circuit 3. Detection circuit 31 Comparator 4 Timing circuit 40 Switch control circuit 5. Retention Time Control Circuit 50 Gate Circuit 52 Series circuit of resistors 6 Conduction time control circuit Ca First capacitor Cb Second capacitor IC constant current source Nc Comparison Node Nr Reference Node Q Switching element R1, R2 Feedback resistors Sa, Sb smoothing circuit T transformer Tp Primary winding Ts Secondary winding Ta Auxiliary winding Tα Primary side Tβ secondary side Vba Flyback voltage Ven detection signal Vfb Feedback voltage Vfbh holding voltage Vout Output voltage

Claims

1. 1. A control device for a flyback type isolated switching power supply in which an output voltage is controlled by adjusting a conduction time of a switching element connected to a primary winding using a voltage of an auxiliary winding wound on a primary side of a transformer so as to be magnetically coupled to a secondary winding, a voltage holding circuit that holds a feedback voltage based on a flyback voltage generated in the auxiliary winding; a detection circuit that determines whether a current is conducted through a secondary winding of the transformer based on the feedback voltage during a non-conducting period of the switching element; a timer circuit for generating an electric quantity corresponding to a current-carrying time in the secondary winding; a hold time control circuit that detects a hold time of the feedback voltage by the voltage hold circuit based on a current-carrying time of the secondary winding obtained from the timer circuit; a conduction time control circuit that determines a conduction time of the switching element by using a voltage held by the voltage holding circuit; A switching power supply control device comprising:

2. 2. The control device for a switching power supply according to claim 1, wherein the hold timing control circuit is configured to set one or more threshold values ​​related to a current flow time of the secondary winding, and to detect the hold timing from the electrical quantity generated by the timer circuit in response to an elapsed time from a start of current flow through the secondary winding during a non-conducting period of the switching element and the one or more threshold values.

3. 3. The control device for a switching power supply according to claim 2, wherein the hold timing control circuit is configured to set a plurality of threshold values ​​as the one or more threshold values.

4. The hold timing control circuit includes: As the one or more thresholds, one or more threshold voltages that are smaller than a voltage generated by the timer circuit as the electrical quantity during a first non-conducting period of the switching element are set, 4. The control device for a switching power supply according to claim 2 or 3, wherein a time point at which a voltage generated by the timer circuit as the electrical quantity from a time point at which current is passed through the secondary winding reaches each of the one or more threshold voltages during a second non-conduction period of the switching element subsequent to the first non-conduction period is detected as the hold time.

5. the timekeeping circuit includes a first capacitor that is charged when the detection circuit determines that the secondary winding is energized during the second non-conduction period, and a second capacitor that holds a charging voltage corresponding to a time during which the secondary winding is energized during the first non-conduction period, 5. The control device for a switching power supply according to claim 4, wherein the hold timing control circuit is configured to divide the charging voltage of the second capacitor to generate the one or more threshold voltages, and to generate a signal indicating a time when the voltage holding circuit is to hold the feedback voltage when the charging voltage of the first capacitor reaches each of the one or more threshold voltages.

6. The hold timing control circuit includes: a series circuit of resistors that divides the charging voltage of the second capacitor to generate the one or more threshold voltages; a comparator for comparing the charging voltage of the first capacitor with each of the one or more threshold voltages; a gate circuit that generates the signal based on an output of the comparator and outputs the signal to the voltage holding circuit; Equipped with 6. The control device for a switching power supply according to claim 5, wherein the gate circuit is configured not to output the signal during a period other than a period during which the detection circuit first determines that the secondary winding is energized during a non-conducting period of the switching element.

7. The timing circuit further comprises: a constant current source that supplies a constant current to each of the first capacitor and the second capacitor; a first switch for connecting or disconnecting each of the first capacitor and the second capacitor to or from the constant current source; a second switch that connects or disconnects each of the first capacitor and the second capacitor to or from a ground potential; a third switch that connects or disconnects each of the first capacitor and the second capacitor to or from the comparator; a fourth switch that connects or disconnects each of the first capacitor and the second capacitor to or from the series circuit; a switch control circuit that controls the first switch, the second switch, the third switch, and the fourth switch, 7. The control device for a switching power supply according to claim 6, wherein the switch control circuit is configured to switch each of a capacitor charged by the constant current source, a capacitor connected to the comparator, and a capacitor connected to the series circuit between the first capacitor and the second capacitor during each non-conducting period of the switching element.

8. 8. The control device for a switching power supply according to claim 7, wherein the switch control circuit is configured to simultaneously switch the conductive states of the first switch, the third switch, and the fourth switch only at the end of a current-carrying period of the secondary winding that is first determined by the detection circuit during a non-conducting period of the switching element.

9. The voltage holding circuit includes: a plurality of voltage holding capacitors; a plurality of input-side switches respectively disposed between one end of each of the plurality of voltage holding capacitors and a terminal to which the feedback voltage is input; a plurality of output-side switches disposed between the one end of each of the plurality of voltage holding capacitors and the conduction time control circuit; a charge control circuit that controls the input side switches and the output side switches based on a signal from the hold timing control circuit, 4. The control device for a switching power supply according to claim 3, wherein the charge control circuit is configured to sequentially switch between a capacitor among the plurality of voltage holding capacitors that is charged with the feedback voltage and a capacitor that is connected to the conduction time control circuit each time the hold time control circuit detects the hold time.

10. 10. The control device for a switching power supply according to claim 1, wherein the detection circuit includes a comparator having a non-inverting input terminal to which the feedback voltage is applied and an inverting input terminal to which a reference voltage is applied.

11. A control device for a switching power supply according to any one of claims 1 to 3 and 9; a switching element whose conduction time is controlled by the control device; a transformer including a primary winding connected to the switching element, a secondary winding magnetically coupled to the primary winding, and an auxiliary winding wound around the primary side so as to be magnetically coupled to the secondary winding; a feedback resistor that divides a flyback voltage induced in the auxiliary winding to generate a feedback voltage that is input to the control device; a smoothing circuit connected to the secondary side of the transformer for rectifying and smoothing the voltage induced in the secondary winding.

Citation Information

Patent Citations

  • Primary-side feedback switching power supply

    US7239532B1