Overcurrent protection compensation circuit and method and flyback circuit

By designing the secondary side demagnetization time sampling unit and current compensation unit in the flyback circuit, the secondary side demagnetization duty cycle is calculated to compensate the primary side peak current, which solves the problem that the overcurrent protection point of the flyback circuit is consistent under different input voltages. solves the problem and achieves good OLP curve compensation and inductance application regulation rate in DCM and CCM modes.

CN109818507BActive Publication Date: 2024-09-13SHENZHEN KIWI MICROELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910264805.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-04-03
Publication Date
2024-09-13
Estimated Expiration
2039-04-03

AI Technical Summary

Technical Problem

Under different input voltages, the compensation effect of the overcurrent protection point in the existing flyback circuit is inconsistent in DCM and CCM states, making it difficult to achieve better overcurrent point consistency compensation in the full voltage range.

Method used

An overcurrent protection compensation circuit is designed, including a secondary side demagnetization time sampling unit and a current compensation unit. By obtaining the secondary side demagnetization time and working switching period, the secondary side demagnetization duty cycle is calculated, which is used to calculate the primary side peak value. The current is compensated to ensure the consistency of the overcurrent current under different input voltages.

Benefits of technology

It achieves better OLP curve compensation in DCM and CCM modes, and the curve is relatively smooth, which solves the adjustment rate problem of the chip in different inductor applications. No additional components are needed, the application is simple, and the cost is saved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN109818507B
    Figure CN109818507B
Patent Text Reader

Abstract

The present invention discloses an overcurrent protection compensation circuit and method and a flyback circuit, wherein the compensation circuit comprises a secondary-side demagnetization time sampling unit and a current compensation unit; the secondary-side demagnetization time sampling unit is used to sample the secondary-side demagnetization time T dem The current compensation unit is connected to the secondary demagnetization time sampling unit to obtain the secondary demagnetization time T at a preset frequency. dem The primary side peak current value is compensated; or, the compensation circuit includes a secondary side demagnetization duty cycle acquisition unit and a current compensation unit, and the secondary side demagnetization duty cycle acquisition unit is used to respectively acquire the secondary side demagnetization time T dem And the working switching cycle T S , and thereby obtain the secondary demagnetization duty cycle D_dem; the current compensation unit is connected to the secondary demagnetization duty cycle acquisition unit, and is used to compensate the primary peak current value according to the acquired secondary demagnetization duty cycle D_dem. The present invention can make the compensated OLP curve smoother and solve the problem of chip adjustment rate under different inductance applications.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of circuit electronic technology and relates to an overcurrent protection compensation circuit and method and a flyback circuit. Background Art

[0002] The overcurrent protection function of the flyback circuit is usually implemented by limiting the primary peak current. Therefore, in order to solve the consistency problem of the system overcurrent protection point under different input voltages, it is necessary to compensate for the primary peak current under different input voltages. However, since the actual system may work in DCM (discontinuous mode) or CCM (continuous mode), and the system has different overcurrent protection characteristics under DCM and CCM, there are obvious differences. Therefore, when the system changes from low voltage input to high voltage input, if the system design gradually changes from CCM to DCM, how to achieve a better compensation effect becomes a difficulty.

[0003] According to system characteristics, in DCM state:

[0004]

[0005] It can be deduced that:

[0006]

[0007]

[0008] It can be seen that for a given system, I L_max With V in , D_DCM has nothing to do with the output current I o_OLP The duty cycle is determined by the input voltage V in related.

[0009] In CCM state:

[0010]

[0011] It can be deduced that:

[0012]

[0013] Among them, Vin and K are functions of duty cycle D, so we can get:

[0014]

[0015]

[0016] It can be seen that for a given system, I L_max , by the output current I o_OLPand duty cycle D. Duty cycle D changes with input voltage. Where η is system efficiency, I o_OLP is the system output overcurrent value, I L_max is the primary peak current corresponding to the output overcurrent, L m is the primary inductance of the transformer, N ps is the transformer primary-to-secondary turns ratio, V o is the system output voltage, f s is the system operating switching frequency, Ts is the operating switching period, Vcs_max is the primary overcurrent threshold, R sens is the primary sampling resistor, K is the current ripple factor, D_DCM is the primary duty cycle under DCM, D is the primary duty cycle under CCM, and Vin is the output voltage (converted DC value).

[0017] Figure 1 is the duty cycle and primary peak current curve, Figure 1 It can be seen that when the system is in CCM state, I L_max As the duty cycle increases, when the system is in DCM, I L_max Independent of duty cycle.

[0018] There are currently two commonly used compensation schemes. The first compensation scheme uses duty cycle as compensation, and the second compensation scheme is external adjustable supplement.

[0019] In the first compensation scheme (using duty cycle as compensation), since the curves of IL_max and duty cycle show different curve rules in DCM and CCM, this scheme has an obvious differentiation trend in the DCM and CCM segments. The conversion point of DCM and CCM depends on the actual application system, so it is difficult to achieve good overcurrent point consistency compensation at full voltage of DCM and CCM. Usually, the system is designed in full voltage CCM mode and compensated with the CCM curve. Therefore, the system inductance design is greatly restricted.

[0020] In the first compensation scheme (external adjustable compensation scheme), adjustable compensation is performed on the system by sampling the bus voltage. Figure 2 FIG. 1 is a circuit diagram of an external adjustable compensation circuit in an existing compensation scheme; Figure 2 As shown, the CS peak is compensated by sampling the busbar through resistors R1 and R2. This solution requires the addition of additional devices; and although the compensation is adjustable, it is still difficult to make the overcurrent point curve compensation perfect because the compensation is linear and the actual required compensation is nonlinear.

[0021] In view of this, there is an urgent need to design a new compensation method to overcome the above-mentioned defects of the existing compensation method. Summary of the invention

[0022] The present invention provides an overcurrent protection compensation circuit and method and a flyback circuit, which can make the compensated OLP curve smoother and solve the problem of chip adjustment rate under different inductance applications.

[0023] To solve the above technical problem, according to one aspect of the present invention, the following technical solution is adopted:

[0024] An overcurrent protection compensation circuit, the compensation circuit comprising: a secondary side demagnetization time sampling unit and a current compensation unit; the secondary side demagnetization time sampling unit is used to sample the secondary side demagnetization time T dem The current compensation unit is connected to the secondary demagnetization time sampling unit to obtain the secondary demagnetization time T at a preset frequency. dem Compensate for the primary peak current value; or,

[0025] The compensation circuit includes a secondary-side demagnetization duty ratio acquisition unit and a current compensation unit. The secondary-side demagnetization duty ratio acquisition unit is used to respectively acquire the secondary-side demagnetization time T dem And the working switching cycle T S , and thereby obtain the secondary demagnetization duty cycle D_dem; the current compensation unit is connected to the secondary demagnetization duty cycle acquisition unit, and is used to compensate the primary peak current value according to the acquired secondary demagnetization duty cycle D_dem.

[0026] As an implementation manner of the present invention, the current compensation unit compensates the primary peak current value in the following manner:

[0027]

[0028] Among them, I L_max is the primary peak current corresponding to the output overcurrent, I o_OLP is the system output overcurrent value, η is the system efficiency, N ps is the transformer primary-to-secondary turns ratio, D_dem is the secondary demagnetization duty cycle, Vo is the system output voltage, L m is the primary inductance of the transformer, f S is the system operating switching frequency.

[0029] As an implementation manner of the present invention, the secondary-side demagnetization duty ratio acquisition unit acquires the secondary-side demagnetization duty ratio D_dem in the following manner: D_dem=T dem / T S .

[0030] As an implementation manner of the present invention, the compensation circuit includes a secondary-side demagnetization duty ratio acquisition unit and a current compensation unit, and the compensation circuit also includes:

[0031] Secondary side demagnetization time sampling unit, used to obtain the secondary side demagnetization time Tdem ;

[0032] Working switch cycle acquisition unit, used to obtain the working switch cycle T S ;

[0033] The secondary-side demagnetization time sampling unit and the working switch cycle acquisition unit are respectively connected to the secondary-side demagnetization duty cycle acquisition unit, and send the acquired data to the secondary-side demagnetization duty cycle acquisition unit.

[0034] As an implementation mode of the present invention, the secondary side demagnetization duty cycle acquisition unit detects the secondary side demagnetization time T via the DEM pin. dem .

[0035] As an implementation mode of the present invention, the overcurrent protection compensation circuit includes: a first demagnetization detection module, a frequency oscillator, a drive logic circuit, a switching cycle detection circuit, a secondary side demagnetization time detection circuit, a secondary side demagnetization duty cycle acquisition module, and a peak current compensation module;

[0036] The output of the frequency oscillator is respectively connected to the input of the driving logic circuit and the input of the switching cycle detection circuit, and the output of the switching cycle detection circuit is connected to the secondary side demagnetization duty cycle acquisition module;

[0037] The input of the driving logic circuit is also connected to the output of the first power amplifier; the output of the driving logic circuit is respectively connected to the secondary side demagnetization time detection circuit, the Gate pin of the chip, and the first demagnetization detection module;

[0038] The input of the secondary-side demagnetization time detection circuit is respectively connected to the driving logic circuit and the first demagnetization detection module, and the output of the secondary-side demagnetization time detection circuit is connected to the secondary-side demagnetization duty ratio acquisition module;

[0039] The input of the secondary-side demagnetization duty cycle acquisition module is respectively connected to the switch cycle detection circuit and the secondary-side demagnetization time detection circuit, and the output of the secondary-side demagnetization duty cycle acquisition module is connected to the peak current compensation module;

[0040] The first demagnetization detection module is used to detect the signal coupled to the chip gate drive pin gate through the drain of the switch tube to obtain T dem ;

[0041] The frequency oscillator is used to determine the internal switching frequency;

[0042] The driving logic circuit is used to generate a PWM on / off signal;

[0043] The switching cycle detection circuit is connected to the frequency oscillator to obtain the switching cycle T through the internal frequency oscillator. S ;

[0044] The secondary side demagnetization time detection circuit is used to detect the starting point of demagnetization, and the starting point is obtained by the shutdown signal of the driving logic circuit;

[0045] The secondary side demagnetization duty ratio acquisition module is used to acquire the secondary side demagnetization duty ratio D_dem, where D_dem=T dem / T S ;

[0046] The peak current compensation module compensates the peak current threshold Vth through the secondary side demagnetization duty cycle D_dem value, thereby maintaining a certain relationship between the overcurrent and D_dem to compensate for the consistency of the output current overload at different input voltages.

[0047] As an implementation mode of the present invention, the overcurrent protection compensation circuit includes: a second demagnetization detection module, a frequency oscillator, a drive logic circuit, a switching cycle detection circuit, a secondary side demagnetization time detection circuit, a secondary side demagnetization duty cycle acquisition module, and a peak current compensation module;

[0048] The output of the frequency oscillator is respectively connected to the input of the driving logic circuit and the input of the switching cycle detection circuit, and the output of the switching cycle detection circuit is connected to the secondary side demagnetization duty cycle acquisition module;

[0049] The input of the driving logic circuit is also connected to the output of the first power amplifier; the output of the driving logic circuit is respectively connected to the secondary side demagnetization time detection circuit and the Gate pin of the chip;

[0050] The input of the secondary-side demagnetization time detection circuit is respectively connected to the driving logic circuit and the second demagnetization detection module, and the output of the secondary-side demagnetization time detection circuit is connected to the secondary-side demagnetization duty ratio acquisition module;

[0051] The input of the secondary-side demagnetization duty cycle acquisition module is respectively connected to the switch cycle detection circuit and the secondary-side demagnetization time detection circuit, and the output of the secondary-side demagnetization duty cycle acquisition module is connected to the peak current compensation module;

[0052] The second demagnetization detection module is used to detect the secondary side demagnetization time T by sampling the DEM pin of the auxiliary winding. dem ;

[0053] The frequency oscillator is used to determine the internal switching frequency;

[0054] The driving logic circuit is used to generate a PWM on / off signal;

[0055] The switching cycle detection circuit is connected to the frequency oscillator to obtain the switching cycle T through the internal frequency oscillator. S ;

[0056] The secondary side demagnetization time detection circuit is used to detect the starting point of demagnetization, and the starting point is obtained by the shutdown signal of the driving logic circuit;

[0057] The secondary side demagnetization duty ratio acquisition module is used to acquire the secondary side demagnetization duty ratio D_dem, where D_dem=T dem / T S ;

[0058] The peak current compensation module compensates the peak current threshold Vth through the secondary side demagnetization duty cycle D_dem value, thereby maintaining a certain relationship between the overcurrent and D_dem to compensate for the consistency of the output current overload at different input voltages.

[0059] According to another aspect of the present invention, the following technical solution is adopted: a flyback circuit includes the above-mentioned overcurrent protection compensation circuit.

[0060] According to another aspect of the present invention, the following technical solution is adopted: an overcurrent protection compensation method, the compensation method comprising: obtaining a secondary side demagnetization time T at a preset frequency dem ; According to the secondary side demagnetization time T dem Compensate for the primary peak current value; or,

[0061] The compensation method includes: obtaining the secondary side demagnetization time T dem and the working switch period TS, and thereby obtain the secondary-side demagnetization duty ratio D_dem; and compensate the primary-side peak current value according to the obtained secondary-side demagnetization duty ratio D_dem.

[0062] As an implementation mode of the present invention, the primary side peak current value is compensated according to the secondary side demagnetization duty cycle D_dem as follows:

[0063]

[0064] Among them, I L_max is the primary peak current corresponding to the output overcurrent, I o_OLP is the system output overcurrent value, η is the system efficiency, N ps is the transformer primary-to-secondary turns ratio, D_dem is the secondary demagnetization duty cycle, Vo is the system output voltage, f S is the system operating switching frequency.

[0065] As an implementation mode of the present invention, the method of obtaining the secondary side demagnetization duty cycle D_dem is: D_dem=T dem / T S .

[0066] As an implementation mode of the present invention, the secondary side demagnetization time T is obtained by detecting the signal coupled to the chip gate drive pin gate at the end of the drain demagnetization of the switch tube. dem .

[0067] As an implementation mode of the present invention, the secondary side demagnetization time T is obtained by detecting the DEM foot of the auxiliary winding sampling. dem .

[0068] The beneficial effects of the present invention are as follows: the overcurrent protection compensation circuit and method and the flyback circuit proposed in the present invention do not require additional devices to set and adjust the overcurrent point compensation amplitude, are simple to apply, and save costs. The compensation method of the present invention can adaptively obtain a better OLP compensation curve in DCM and CCM modes; it can make the compensated OLP curve smoother and solve the problem of chip adjustment rate under different inductance applications. In different inductance applications, no matter what input voltage position the system sets the critical mode at, the system can have a good OLP compensation curve. BRIEF DESCRIPTION OF THE DRAWINGS

[0069] Figure 1 It is a schematic diagram of the duty cycle and primary peak current curve.

[0070] Figure 2 The figure is a circuit diagram of an external adjustable compensation circuit in an existing compensation scheme.

[0071] Figure 3 The figure is a schematic diagram of the change of the secondary demagnetization time of the system in the CCM state and the DCM state according to one embodiment of the present invention.

[0072] Figure 4 The figure is a schematic diagram of the composition of an overcurrent protection compensation circuit in one embodiment of the present invention.

[0073] Figure 5 Schematic diagram of an overcurrent protection compensation circuit in one embodiment of the present invention.

[0074] Figure 6 Schematic diagram of an OLP curve after compensation by an overcurrent protection compensation circuit in an embodiment of the present invention.

[0075] Figure 7 The figure is a circuit diagram of a secondary-side demagnetization duty ratio acquisition module of an overcurrent protection compensation circuit in one embodiment of the present invention.

[0076] Figure 8 Schematic diagram of a circuit of a first demagnetization detection module of an overcurrent protection compensation circuit in an embodiment of the present invention.

[0077] Fig. 9 Schematic diagram of a circuit of a second demagnetization detection module of an overcurrent protection compensation circuit in an embodiment of the present invention. DETAILED DESCRIPTION

[0078] The preferred embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0079] In order to further understand the present invention, preferred embodiments of the present invention are described below in conjunction with examples. However, it should be understood that these descriptions are only for further illustrating the features and advantages of the present invention, rather than limiting the claims of the present invention.

[0080] The description in this section is only for several typical embodiments, and the present invention is not limited to the scope of the embodiments. The same or similar prior art means and some technical features in the embodiments are mutually replaced within the scope of the present invention.

[0081] The present invention discloses an overcurrent protection compensation circuit. In one embodiment of the present invention, the compensation circuit comprises: a secondary-side demagnetization time sampling unit and a current compensation unit; the secondary-side demagnetization time sampling unit is used to sample the secondary-side demagnetization time T dem The current compensation unit is connected to the secondary demagnetization time sampling unit to obtain the secondary demagnetization time T at a preset frequency. dem Compensate for the primary peak current value.

[0082] In another embodiment of the present invention, the compensation circuit comprises a secondary-side demagnetization duty cycle acquisition unit and a current compensation unit, wherein the secondary-side demagnetization duty cycle acquisition unit is used to respectively acquire the secondary-side demagnetization time T dem And the working switching cycle T S , and thereby obtain the secondary demagnetization duty cycle D_dem; the current compensation unit is connected to the secondary demagnetization duty cycle acquisition unit, and is used to compensate the primary peak current value according to the acquired secondary demagnetization duty cycle D_dem.

[0083] In one embodiment of the present invention, the current compensation unit compensates the primary peak current value in the following manner:

[0084]

[0085] Among them, I L_max is the primary peak current corresponding to the output overcurrent, I o_OLP is the system output overcurrent value, η is the system efficiency, N ps is the transformer primary-to-secondary turns ratio, D_dem is the secondary demagnetization duty cycle, Vo is the system output voltage, L m is the primary inductance of the transformer, f S is the system operating switching frequency.

[0086] In one embodiment of the present invention, the secondary-side demagnetization duty ratio acquisition unit acquires the secondary-side demagnetization duty ratio D_dem in the following manner: D_dem=T dem / T S .

[0087] In one embodiment of the present invention, the compensation circuit includes a secondary-side demagnetization duty cycle acquisition unit and a current compensation unit, and the compensation circuit also includes: a secondary-side demagnetization time sampling unit and a working switch cycle acquisition unit. The secondary-side demagnetization time sampling unit is used to obtain the secondary-side demagnetization time T dem The working switch cycle acquisition unit is used to obtain the working switch cycle T S The secondary-side demagnetization time sampling unit and the working switch cycle acquisition unit are respectively connected to the secondary-side demagnetization duty cycle acquisition unit, and send the acquired data to the secondary-side demagnetization duty cycle acquisition unit.

[0088] In one embodiment of the present invention, the secondary side demagnetization duty cycle acquisition unit detects the secondary side demagnetization time T via the DEM pin. dem .

[0089] In one embodiment of the present invention, the primary side peak current is compensated by sampling the duty cycle of the secondary side demagnetization. Figure 3 This is a schematic diagram of the change of the secondary side demagnetization time of the system in the CCM state and the DCM state in one embodiment of the present invention; please refer to Figure 3 In one embodiment of the present invention, according to system characteristics, in the DCM state:

[0090]

[0091]

[0092] It can be seen that for a given system, IL_max under DCM has nothing to do with Vin and D_dem, and is determined by the output current Io_OLP, while the duty cycle is also independent of the input voltage Vin, and is only related to IL_max. Therefore, if the secondary side demagnetization duty cycle D_dem is used as the compensation object in DCM mode, it can be achieved.

[0093] In the CCM state, Vin and K are both functions of the duty cycle D, so we can get:

[0094]

[0095]

[0096] In critical mode, equation (8) is equal to equation (10), and equation (9) = (11), which is a smooth transition. Therefore, as long as the peak current is compensated according to equation (10), the overcurrent consistency can be better in CCM. In DCM, since D_dem becomes a constant, the primary peak current no longer changes with the input voltage, which satisfies the condition that I L_max Features not related to Vin.

[0097] Where η is the system efficiency, I o_OLP is the system output overcurrent value, I L_max is the primary peak current corresponding to the output overcurrent, Lp is the primary inductance of the transformer, N ps is the transformer primary-to-secondary turns ratio, Vo is the system output voltage, fs is the system operating switching frequency, Ts is the operating switching period, Vcs_max is the primary overcurrent point threshold, Rsens is the primary sampling resistor, K is the current ripple coefficient, D_DCM is the primary duty cycle under DCM, D is the primary duty cycle under CCM, Vin is the output voltage (converted DC value), and D_dem is the secondary demagnetization duty cycle.

[0098] Figure 4 is a circuit diagram of an overcurrent protection compensation circuit in one embodiment of the present invention; please refer to Figure 4 In one embodiment of the present invention, the secondary side demagnetization time T is detected by the DEM pin of the chip. dem , and the internal switching period T S , calculate the demagnetization duty ratio D_dem, and use D_dem to compensate the primary peak current value.

[0099] In one embodiment of the present invention, the overcurrent protection compensation circuit includes: a first demagnetization detection module 47, a frequency oscillator 41, a drive logic circuit 42, a switch cycle detection circuit 43, a secondary side demagnetization time detection circuit 44, a secondary side demagnetization duty cycle acquisition module 45, and a peak current compensation module 46. In one embodiment of the present invention, the overcurrent protection compensation circuit also includes a first power amplifier 49.

[0100] The output of the frequency oscillator 41 is connected to the input of the driving logic circuit 42 and the input of the switching cycle detection circuit 43 , respectively. The output of the switching cycle detection circuit 43 is connected to the secondary-side demagnetization duty ratio acquisition module 45 .

[0101] The input of the driving logic circuit 42 is also connected to the output of the first power amplifier 49 ; the output of the driving logic circuit 42 is respectively connected to the secondary demagnetization time detection circuit 44 , the Gate pin of the chip, and the first demagnetization detection module 47 .

[0102] The inputs of the secondary-side demagnetization time detection circuit 44 are respectively connected to the driving logic circuit 42 and the first demagnetization detection module 47 , and the output of the secondary-side demagnetization time detection circuit 44 is connected to the secondary-side demagnetization duty ratio acquisition module 45 .

[0103] The inputs of the secondary-side demagnetization duty cycle acquisition module 45 are respectively connected to the switch cycle detection circuit 43 and the secondary-side demagnetization time detection circuit 44 , and the output of the secondary-side demagnetization duty cycle acquisition module 45 is connected to the peak current compensation module 46 .

[0104] Figure 7 FIG. 1 is a circuit diagram of a secondary-side demagnetization duty ratio acquisition module of an overcurrent protection compensation circuit in an embodiment of the present invention; please refer to FIG. Figure 7 In one embodiment of the present invention, the secondary side demagnetization duty cycle acquisition module 45 includes a current source Io, a subtractor 451, a first comparator 453, and a first capacitor C; the output end of the current source Io is connected to the first end of the first capacitor C and the first input end of the subtractor 451 through a switch, and the second end of the first capacitor C is grounded; the second input end of the subtractor 451 is connected to the first set voltage Vthmax, the output end of the subtractor 451 is connected to the inverting input end of the first comparator 453, the non-inverting input end of the first comparator 453 is connected to the voltage Vcs, and the output end of the first comparator 453 outputs the corresponding output voltage.

[0105] Figure 8 FIG. 1 is a circuit diagram of a first demagnetization detection module of an overcurrent protection compensation circuit in an embodiment of the present invention; please refer to FIG. Figure 8 In one embodiment of the present invention, the first demagnetization detection module 47 includes a current detection element 471 and a second comparator 473; the current detection element 471 converts the passing current into a voltage and outputs it to the positive input terminal of the second comparator 472, and the negative input terminal of the second comparator 472 is connected to a second set voltage (such as 0.1V).

[0106] The first demagnetization detection module 447 is used to detect the signal coupled to the chip gate drive pin gate after the drain demagnetization of the switch tube to obtain T dem .

[0107] The frequency oscillator 41 is used to determine the internal switching frequency; the drive logic circuit 42 is used to generate a PWM on / off signal; the switching period detection circuit 43 is connected to the frequency oscillator 41 to obtain the switching period T through the internal frequency oscillator 41. S The secondary side demagnetization time detection circuit 44 is used to detect the starting point of demagnetization, and the starting point is obtained by the shutdown signal of the drive logic circuit 42.

[0108] The secondary-side demagnetization duty cycle acquisition module 45 is used to acquire the secondary-side demagnetization duty cycle D_dem, where D_dem=T dem / T S .

[0109] The peak current compensation module 46 compensates the peak current threshold Vth through the secondary demagnetization duty cycle D_dem, thereby maintaining a certain relationship between the overcurrent and D_dem to compensate for the consistency of the output current overload at different input voltages.

[0110] In another embodiment of the present invention, the overcurrent protection compensation circuit includes: a second demagnetization detection module 48, a frequency oscillator 41, a drive logic circuit 42, a switching cycle detection circuit 43, a secondary side demagnetization time detection circuit 44, a secondary side demagnetization duty cycle acquisition module 45, and a peak current compensation module 46. In one embodiment of the present invention, the overcurrent protection compensation circuit also includes a first power amplifier 49.

[0111] The output of the frequency oscillator 41 is respectively connected to the input of the driving logic circuit and the input of the switching cycle detection circuit, and the output of the switching cycle detection circuit is connected to the secondary side demagnetization duty cycle acquisition module.

[0112] The input of the driving logic circuit 42 is also connected to the output of the first power amplifier 49; the output of the driving logic circuit 42 is respectively connected to the secondary side demagnetization time detection circuit 44 and the Gate pin of the chip.

[0113] The inputs of the secondary-side demagnetization time detection circuit 44 are respectively connected to the driving logic circuit 42 and the second demagnetization detection module 48 , and the output of the secondary-side demagnetization time detection circuit 44 is connected to the secondary-side demagnetization duty ratio acquisition module 45 .

[0114] The inputs of the secondary-side demagnetization duty cycle acquisition module 45 are respectively connected to the switch cycle detection circuit 43 and the secondary-side demagnetization time detection circuit 44 , and the output of the secondary-side demagnetization duty cycle acquisition module 45 is connected to the peak current compensation module 46 .

[0115] The second demagnetization detection module 48 is used to detect the secondary demagnetization time T by sampling the DEM pin of the auxiliary winding. dem The frequency oscillator 41 is used to determine the internal switching frequency; the drive logic circuit 42 is used to generate a PWM on / off signal; the switching cycle detection circuit 43 is connected to the frequency oscillator 41 to obtain the switching cycle T through the internal frequency oscillator 41 S .

[0116] Fig. 9 FIG. 1 is a circuit diagram of a second demagnetization detection module of an overcurrent protection compensation circuit in an embodiment of the present invention; please refer to FIG. Fig. 9In one embodiment of the present invention, the second demagnetization detection module 48 includes a third comparator 481, a first inductor L, a first resistor R1, and a second resistor R2; the first end of the first inductor L is connected to the first end of the first resistor R1, and the second end of the first inductor L is grounded; the second end of the first resistor R1 is respectively connected to the first end of the second resistor R2 and the inverting input end of the third comparator 481; the non-inverting input end of the third comparator 481 is connected to a third set voltage (such as 80mV).

[0117] The secondary side demagnetization time detection circuit 44 is used to detect the starting point of demagnetization, which is obtained by the shutdown signal of the driving logic circuit 42. The secondary side demagnetization duty ratio acquisition module 45 is used to obtain the secondary side demagnetization duty ratio D_dem, D_dem=T dem / T S .

[0118] The peak current compensation module 46 compensates the peak current threshold Vth through the secondary demagnetization duty cycle D_dem, thereby maintaining a certain relationship between the overcurrent and D_dem to compensate for the consistency of the output current overload at different input voltages.

[0119] Figure 5 is a circuit diagram of an overcurrent protection compensation circuit in one embodiment of the present invention; please refer to Figure 5 In one embodiment of the present invention, the composition of the overcurrent protection compensation circuit can be referred to Figure 5 shown.

[0120] Figure 6 This is a schematic diagram of an OLP curve after compensation by an overcurrent protection compensation circuit in an embodiment of the present invention; please refer to Figure 6 In one embodiment of the present invention, the low voltage input system works in the CCM segment, and the compensation curve (corresponding to Figure 6 When the input voltage increases and enters DCM, the compensation becomes constant due to the constant D_dem ( Figure 6 The final compensation curve is as follows: Figure 6 Obviously, no matter where the critical mode point of the system is, this compensation method can effectively make the compensated OLP curve smoother and effectively solve the problem of chip adjustment rate under different inductance applications.

[0121] The present invention discloses a flyback circuit, comprising the above-mentioned overcurrent protection compensation circuit. In one embodiment of the present invention, the composition of the flyback circuit can refer to Figure 4 , Figure 5 Description.

[0122] The present invention discloses an overcurrent protection compensation method. In one embodiment of the present invention, the compensation method comprises: obtaining a secondary side demagnetization time T at a preset frequency.dem ; According to the secondary side demagnetization time T dem Compensate for the primary peak current value.

[0123] In another embodiment of the present invention, the compensation method includes: obtaining the secondary side demagnetization time T dem And the working switching cycle T S , and thereby obtain the secondary side demagnetization duty ratio D_dem; and compensate the primary side peak current value according to the obtained secondary side demagnetization duty ratio D_dem.

[0124] In one embodiment of the present invention, the primary side peak current value is compensated according to the secondary side demagnetization duty cycle D_dem as follows:

[0125]

[0126] Among them, I L_max is the primary peak current corresponding to the output overcurrent, I o_OLP is the system output overcurrent value, η is the system efficiency, N ps is the transformer primary-to-secondary turns ratio, D_dem is the secondary demagnetization duty cycle, Vo is the system output voltage, f S is the system operating switching frequency.

[0127] In one embodiment of the present invention, the secondary side demagnetization duty cycle D_dem is obtained as follows: D_dem=T dem / T S .

[0128] In one embodiment of the present invention, the secondary side demagnetization time T is obtained by detecting the signal coupled to the chip gate drive pin gate at the end of the drain demagnetization of the switch tube. dem In another embodiment of the present invention, the secondary side demagnetization time T is obtained by detecting the DEM pin sampled by the auxiliary winding. dem .

[0129] In summary, the overcurrent protection compensation circuit and method and the flyback circuit proposed in the present invention do not require additional devices to set and adjust the overcurrent point compensation amplitude, are simple to apply, and save costs. The compensation method of the present invention can adaptively obtain a better OLP compensation curve in DCM and CCM modes; it can make the compensated OLP curve smoother and solve the problem of chip adjustment rate under different inductance applications. In different inductance applications, no matter what input voltage position the system sets the critical mode to, the system can have a good OLP compensation curve.

[0130] The description and application of the present invention here are illustrative and are not intended to limit the scope of the present invention to the above-described embodiments. The deformation and changes of the embodiments disclosed here are possible, and the replacement of the embodiments and the various components equivalent to those of ordinary skill in the art are well known. It should be clear to those skilled in the art that the present invention can be realized in other forms, structures, arrangements, proportions, and with other components, materials and parts without departing from the spirit or essential characteristics of the present invention. Other deformations and changes can be made to the embodiments disclosed here without departing from the scope and spirit of the present invention.

Claims

1. An overcurrent protection compensation circuit, characterized in that: The compensation circuit comprises: a secondary-side demagnetization time sampling unit and a current compensation unit; the secondary-side demagnetization time sampling unit is used to sample the secondary-side demagnetization time T dem The current compensation unit is connected to the secondary demagnetization time sampling unit to obtain the secondary demagnetization time T at a preset frequency. dem Compensate for the primary peak current value; or, The compensation circuit includes a secondary-side demagnetization duty ratio acquisition unit and a current compensation unit. The secondary-side demagnetization duty ratio acquisition unit is used to respectively acquire the secondary-side demagnetization time T dem And the working switching cycle T S , and thereby obtain the secondary side demagnetization duty ratio D_dem; the current compensation unit is connected to the secondary side demagnetization duty ratio acquisition unit, and is used to compensate the primary side peak current value according to the acquired secondary side demagnetization duty ratio D_dem; The overcurrent protection compensation circuit comprises: The demagnetization detection module is used to detect the signal coupled to the chip gate drive pin gate through the drain of the switch tube to obtain T dem Or, the secondary demagnetization time T can be obtained by detecting the DEM pin sampled by the auxiliary winding. dem ; The switching cycle detection circuit is used to obtain the switching cycle T through the internal frequency oscillator. S ; Secondary side demagnetization duty cycle acquisition module, used to obtain the secondary side demagnetization duty cycle D_dem, D_dem = T dem / T S ; The peak current compensation module is used to compensate the peak current threshold Vth through the secondary side demagnetization duty cycle D_dem value, so as to maintain a certain relationship between the overcurrent and D_dem to compensate for the consistency of the output current overload at different input voltages.

2. The overcurrent protection compensation circuit according to claim 1, characterized in that: The current compensation unit compensates the primary peak current value in the following manner: Among them, I L_max is the primary peak current corresponding to the output overcurrent, I o_OLP is the system output overcurrent value, η is the system efficiency, N ps is the transformer primary-to-secondary turns ratio, D_dem is the secondary demagnetization duty cycle, Vo is the system output voltage, L m is the primary inductance of the transformer, f S is the system operating switching frequency.

3. The overcurrent protection compensation circuit according to claim 1, characterized in that: The secondary side demagnetization duty ratio acquisition unit acquires the secondary side demagnetization duty ratio D_dem in the following manner: D_dem=T dem / T S .

4. The overcurrent protection compensation circuit according to claim 1, characterized in that: The compensation circuit includes a secondary-side demagnetization duty ratio acquisition unit and a current compensation unit, and the compensation circuit also includes: Secondary side demagnetization time sampling unit, used to obtain the secondary side demagnetization time T dem ; Working switch cycle acquisition unit, used to obtain the working switch cycle T S ; The secondary-side demagnetization time sampling unit and the working switch cycle acquisition unit are respectively connected to the secondary-side demagnetization duty cycle acquisition unit, and send the acquired data to the secondary-side demagnetization duty cycle acquisition unit.

5. The overcurrent protection compensation circuit according to claim 1, characterized in that: The secondary side demagnetization duty cycle acquisition unit detects the secondary side demagnetization time T through the DEM pin. dem .

6. The overcurrent protection compensation circuit according to claim 1, characterized in that: The overcurrent protection compensation circuit further includes: a frequency oscillator, a driving logic circuit, and a secondary side demagnetization time detection circuit; the demagnetization detection module is a first demagnetization detection module; The output of the frequency oscillator is respectively connected to the input of the driving logic circuit and the input of the switching cycle detection circuit, and the output of the switching cycle detection circuit is connected to the secondary side demagnetization duty cycle acquisition module; The input of the driving logic circuit is also connected to the output of the first power amplifier; the output of the driving logic circuit is respectively connected to the secondary side demagnetization time detection circuit, the Gate pin of the chip, and the first demagnetization detection module; The input of the secondary-side demagnetization time detection circuit is respectively connected to the driving logic circuit and the first demagnetization detection module, and the output of the secondary-side demagnetization time detection circuit is connected to the secondary-side demagnetization duty ratio acquisition module; The input of the secondary-side demagnetization duty cycle acquisition module is respectively connected to the switch cycle detection circuit and the secondary-side demagnetization time detection circuit, and the output of the secondary-side demagnetization duty cycle acquisition module is connected to the peak current compensation module; The first demagnetization detection module is used to detect the signal coupled to the chip gate drive pin gate through the drain of the switch tube to obtain T dem ; The frequency oscillator is used to determine the internal switching frequency; The driving logic circuit is used to generate a PWM on / off signal; The secondary side demagnetization time detection circuit is used to detect the starting point of demagnetization, and the starting point is obtained by the shutdown signal of the driving logic circuit.

7. The overcurrent protection compensation circuit according to claim 1, characterized in that: The overcurrent protection compensation circuit further includes: a frequency oscillator, a driving logic circuit, and a secondary side demagnetization time detection circuit; the demagnetization detection module is a second demagnetization detection module; The output of the frequency oscillator is respectively connected to the input of the driving logic circuit and the input of the switching cycle detection circuit, and the output of the switching cycle detection circuit is connected to the secondary side demagnetization duty cycle acquisition module; The input of the driving logic circuit is also connected to the output of the first power amplifier; the output of the driving logic circuit is respectively connected to the secondary side demagnetization time detection circuit and the Gate pin of the chip; The input of the secondary-side demagnetization time detection circuit is respectively connected to the driving logic circuit and the second demagnetization detection module, and the output of the secondary-side demagnetization time detection circuit is connected to the secondary-side demagnetization duty ratio acquisition module; The input of the secondary-side demagnetization duty cycle acquisition module is respectively connected to the switch cycle detection circuit and the secondary-side demagnetization time detection circuit, and the output of the secondary-side demagnetization duty cycle acquisition module is connected to the peak current compensation module; The second demagnetization detection module is used to detect the secondary side demagnetization time T by sampling the DEM pin of the auxiliary winding. dem ; The frequency oscillator is used to determine the internal switching frequency; The driving logic circuit is used to generate a PWM on / off signal; The secondary side demagnetization time detection circuit is used to detect the starting point of demagnetization, and the starting point is obtained by the shutdown signal of the driving logic circuit.

8. A flyback circuit, characterized in that: It comprises the overcurrent protection compensation circuit as described in any one of claims 1 to 7.

9. An overcurrent protection compensation method, characterized in that: The compensation method comprises: obtaining the secondary side demagnetization time T at a preset frequency dem ; According to the secondary side demagnetization time T dem Compensate for the primary peak current value; or, The compensation method includes: obtaining the secondary side demagnetization time T dem And the working switching cycle T S , and thereby obtain the secondary side demagnetization duty ratio D_dem; compensate the primary side peak current value according to the obtained secondary side demagnetization duty ratio D_dem; The compensation method specifically includes: The T is obtained by detecting the signal coupled to the gate drive pin gate of the chip through the drain of the switch tube. dem Or, the secondary demagnetization time T can be obtained by detecting the DEM pin sampled by the auxiliary winding. dem ; The switching period T is obtained by the internal frequency oscillator. S ; Get the secondary side demagnetization duty cycle D_dem, D_dem = T dem / T S ; The peak current threshold Vth is compensated by the secondary-side demagnetization duty cycle D_dem, thereby maintaining a certain relationship between the overcurrent and D_dem to compensate for the consistency of the output current overload at different input voltages.

10. The overcurrent protection compensation method according to claim 9, characterized in that: The method of compensating the primary side peak current value according to the secondary side demagnetization duty cycle D_dem is as follows: Among them, I L_max is the primary peak current corresponding to the output overcurrent, I o_OLP is the system output overcurrent value, η is the system efficiency, N ps is the transformer primary-to-secondary turns ratio, D_dem is the secondary demagnetization duty cycle, Vo is the system output voltage, f S is the system operating switching frequency.

11. The overcurrent protection compensation method according to claim 9, characterized in that: The method for obtaining the secondary side demagnetization duty cycle D_dem is: D_dem=T dem / T S .

12. The overcurrent protection compensation method according to claim 9, characterized in that: The secondary side demagnetization time T is obtained by detecting the signal coupled to the gate drive pin gate of the chip through the drain of the switch tube. dem .

13. The overcurrent protection compensation method according to claim 9, characterized in that: The secondary demagnetization time T is obtained by detecting the DEM pin of the auxiliary winding sampling dem .