Switching power supply and adaptive compensation method and device thereof

By responding to the duty cycle signal in the switching power supply, compensating the output with harmonic compensation slope, the problem of harmonic oscillation in the next high duty cycle is solved, and compensation efficiency and stability are improved.

CN118659654BActive Publication Date: 2024-11-22CHENGDU YICHONG WIRELESS POWER TECH CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202411148067.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-21
Publication Date
2024-11-22
Estimated Expiration
2044-08-21

AI Technical Summary

Technical Problem

Traditional switching power supplies are prone to subharmonic oscillations under large duty cycles, and it is difficult to obtain the required slope compensation information, reducing compensation efficiency and stability.

Method used

By a response to the duty cycle signal greater than the preset threshold, the output parameters of the switching power supply are obtained, the harmonic compensation slope is calculated based on the output parameters according to the preconfigured harmonic compensation relationship, and the output is compensated according to the slope, using sampling resistance and bias The circuit calculates the optimal harmonic compensation slope.

Benefits of technology

It realizes adaptively tracking changes in the output voltage signal or inductance value, obtaining the optimal harmonic compensation slope, without sacrificing dynamic characteristics or dynamic adjustment, improving compensation efficiency and stability of switching power supply.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118659654B_ABST
    Figure CN118659654B_ABST
Patent Text Reader

Abstract

The present invention provides a switching power supply and its adaptive compensation method and device, which relate to the technical field of electronic circuits. The method comprises: in response to a duty cycle signal being greater than a preset threshold, obtaining output parameters of the switching power supply, wherein the output parameters include an output voltage signal of the switching power supply and an inductance value of an inductor at the output end of the switching power supply; based on the output parameters, calculating a harmonic compensation slope according to a pre-configured harmonic compensation relationship; and compensating the output of the switching power supply according to the harmonic compensation slope. The switching power supply and its adaptive compensation method and device provided by the present invention can adaptively track changes in the output voltage signal or inductance value to obtain the optimal harmonic compensation slope, without sacrificing dynamic characteristics and making compensation due to changes in the output voltage signal or the output inductance value; and without making dynamic adjustments for different output voltage signals or inductance values, which not only improves the compensation efficiency, but also helps to improve the stability of the switching power supply.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electronic circuits, and in particular to a switching power supply and an adaptive compensation method and device thereof. Background Art

[0002] Traditional switching power supply control modes usually include current mode, voltage mode, COT (Constant-on-time mode) mode, and hysteresis control mode. Among them, the current mode is widely used due to its excellent characteristics such as safety, reliability, and convenience for external synchronization.

[0003] Usually, the current mode is also called the peak current mode. Under a large duty cycle, the current mode is prone to generate subharmonic oscillations due to the open-loop instability of the system. Therefore, an additional slope compensation circuit needs to be introduced.

[0004] However, in some application cases, it is not easy to obtain the required slope compensation information, which reduces the compensation efficiency and the stability of the switching power supply. Summary of the invention

[0005] In view of this, an object of the present invention is to provide a switching power supply and an adaptive compensation method and device thereof to alleviate the above technical problems.

[0006] In a first aspect, an embodiment of the present invention provides an adaptive compensation method for a switching power supply, which is applied to the switching power supply, and the method includes: in response to a duty cycle signal being greater than a preset threshold, obtaining output parameters of the switching power supply, wherein the output parameters include an output voltage signal of the switching power supply and an inductance value of an output inductor of the switching power supply; based on the output parameters, calculating a harmonic compensation slope according to a pre-configured harmonic compensation relationship; and compensating the output of the switching power supply according to the harmonic compensation slope.

[0007] In combination with the first aspect, an embodiment of the present invention provides a first possible implementation manner of the first aspect, wherein the output port of the above-mentioned switching power supply includes an upper tube and a lower tube connected in sequence; the connection point of the upper tube and the lower tube is connected to the output end of the switching power supply; the step of compensating the output of the switching power supply according to the harmonic compensation slope includes: inputting a compensation signal corresponding to the harmonic compensation slope into the connection point of the upper tube and the lower tube to transmit it to the output end, and compensating the signal output by the output end.

[0008] In combination with the first possible implementation of the first aspect, an embodiment of the present invention provides a second possible implementation of the first aspect, wherein the lower tube is configured with a sampling resistor; the switching power supply also includes a bias circuit connected in parallel with the lower tube, and the bias circuit includes a first capacitor and a bias voltage source connected in series; the switching power supply also includes a second capacitor, one end of the second capacitor is connected to the connection point of the upper tube and the lower tube, and the other end is grounded; based on the output parameter, the step of calculating the harmonic compensation slope according to a pre-configured harmonic compensation relationship includes: calculating the harmonic compensation slope according to the preset harmonic compensation relationship according to the output parameter and the resistance value of the sampling resistor.

[0009] In combination with the second possible implementation of the first aspect, an embodiment of the present invention provides a third possible implementation of the first aspect, wherein the calculation formula for calculating the harmonic compensation slope according to the preset harmonic compensation relationship is expressed as: Slope=Rcs*(Vout / L)*(C1 / C2); wherein Slope represents the harmonic compensation slope; Rcs represents the equivalent impedance of the sampling resistor, Vout represents the output voltage signal of the switching power supply, L represents the inductance value of the output inductor, C1 and C2 are the first capacitor and the second capacitor respectively, and the first capacitor and the second capacitor are capacitors configured for the switching power supply.

[0010] In combination with the second possible implementation of the first aspect, an embodiment of the present invention provides a fourth possible implementation of the first aspect, wherein the above-mentioned harmonic compensation relationship is established based on the following method: when the lower tube is turned on, the voltage signal of the sampling resistor is extracted; the voltage signal is differentiated to obtain a differential signal of the voltage signal; the differential signal of the voltage signal is input to the first capacitor to obtain a current change signal of the bias voltage source; when the upper tube is turned on, the current change signal of the bias voltage source is controlled to charge the second capacitor to obtain a harmonic compensation voltage; and the harmonic compensation relationship is established based on the harmonic compensation voltage and the current change signal of the bias voltage source.

[0011] In a second aspect, an embodiment of the present invention further provides an adaptive compensation device for a switching power supply, which is applied to the switching power supply, and the device includes: a response module, which is used to respond to a duty cycle signal being greater than a preset threshold value to obtain output parameters of the switching power supply, wherein the output parameters include an output voltage signal of the switching power supply and an inductance value of an output inductor of the switching power supply; a calculation module, which is used to calculate a harmonic compensation slope based on the output parameters according to a pre-configured harmonic compensation relationship; and a compensation module, which is used to compensate the output of the switching power supply according to the harmonic compensation slope.

[0012] In a third aspect, an embodiment of the present invention further provides a switching power supply, wherein the output port of the switching power supply comprises an upper tube and a lower tube connected in sequence; the connection point between the upper tube and the lower tube is connected to the output end of the switching power supply; and the connection point between the upper tube and the lower tube is also connected to a compensation port; the controller of the switching power supply is provided with the device described in the second aspect, for executing the method described in the first aspect above, so as to output a compensation signal corresponding to the harmonic compensation slope to the compensation port, so as to compensate the signal output from the output end of the switching power supply.

[0013] In combination with the third aspect, an embodiment of the present invention provides a first possible implementation of the third aspect, wherein the lower tube is configured with a sampling resistor for sampling the current of the lower tube; wherein one end of the sampling resistor is connected to the drain of the lower tube, and the other end is connected to the source of the lower tube.

[0014] In combination with the first possible implementation of the third aspect, an embodiment of the present invention provides a second possible implementation of the third aspect, wherein the above-mentioned switching power supply also includes a bias circuit connected in parallel with the lower tube; the bias circuit includes a first capacitor and a bias voltage source connected in series.

[0015] In combination with the first possible implementation of the third aspect, an embodiment of the present invention provides a third possible implementation of the third aspect, wherein the above-mentioned switching power supply also includes a second capacitor, one end of the second capacitor is connected to the connection point of the upper tube and the lower tube, and the other end is grounded.

[0016] The embodiments of the present invention bring the following beneficial effects:

[0017] The switching power supply and its adaptive compensation method and device provided in the embodiment of the present invention can respond to a duty cycle signal being greater than a preset threshold value, obtain the output parameters of the switching power supply, and then calculate the harmonic compensation slope based on the output parameters according to a pre-configured harmonic compensation relationship, and then compensate the output of the switching power supply according to the harmonic compensation slope. In addition, since the output parameters include the output voltage signal of the switching power supply and the inductance value of the inductor at the output end of the switching power supply, it is possible to adaptively track the changes in the output voltage signal or the inductance value to obtain the optimal harmonic compensation slope, and there is no need to sacrifice dynamic characteristics and make compensation due to changes in the output voltage signal or the output inductance value; there is no need to make dynamic adjustments for different output voltage signals or inductance values, which not only improves the compensation efficiency, but also helps to improve the stability of the switching power supply.

[0018] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention are realized and obtained by the structures particularly pointed out in the description, claims and drawings.

[0019] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without paying any creative work.

[0021] Figure 1 It is a structural schematic diagram of an output port of a traditional switching power supply;

[0022] Figure 2 A circuit diagram of an output port of a switching power supply provided by an embodiment of the present invention;

[0023] Figure 3 A flowchart of an adaptive compensation method for a switching power supply provided by an embodiment of the present invention;

[0024] Figure 4 A schematic structural diagram of an adaptive compensation device for a switching power supply provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0025] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0026] Figure 1 The figure shows a schematic diagram of the structure of an output port of a traditional switching power supply, including an upper tube Mp, a lower tube Mn, an inductor L, a capacitor C, and feedback resistors RFB1 and RFB2 connected in series at the output port.

[0027] Among them, the upper tube Mp and the lower tube Mn are in the form of MOS tubes, also known as power tubes, that is, Figure 1The P-type MOS tube in the embodiment of FIG. 1 is a P-type MOS tube in which the source of the upper tube Mp is connected to the drain of the lower tube Mn, the connection point is represented by SW, the drain of the upper tube Mp is connected to the power supply VIN, the source of the lower tube Mn is grounded, and the gates of the upper tube Mp and the lower tube Mn are connected to the controller of the switching power supply, and the controller of the switching power supply is usually equipped with a driving circuit of the upper tube Mp and the lower tube Mn ( Figure 1 (not shown), the output end of the driving circuit is connected to the gate of the upper tube Mp and the lower tube Mn, so as to control the conduction state of the upper tube Mp and the lower tube Mn through a pulse signal with a certain duty cycle, thereby controlling the output of the switching power supply.

[0028] In specific implementation, based on the above Figure 1 The switching power supply shown in the figure is prone to subharmonic oscillation at a large duty cycle, so an additional slope compensation circuit is required. Figure 1 The switching power supply shown is not easy to obtain the required slope compensation information. For example, the information of the output voltage VOUT is unclear. There is no specific pin for VOUT, only the information of FB, and it is impossible to determine which negative voltage is output. In addition, the inductor L at the output end has a large adjustment range for different applications, such as from 1uH to 22uH. In addition, the range of the output voltage application scenario is also relatively large, and it can generally be dynamically adjusted online from 2V to 20V.

[0029] There are some solutions to the above problems for each single point. For example, when there is no vout pin, the vout information can be obtained indirectly through filtering of the SW node. However, when the inductance value cannot be determined, the compensation signal can only sacrifice some dynamic response characteristics to compensate according to the worst case, or make different gears and make it adjustable for different output voltages and inductance values. However, as a general buck / boost switching power supply, there are not many resources for dynamic configuration, or the configuration process is not very intelligent, which seriously reduces the compensation efficiency and the stability of the switching power supply.

[0030] Based on this, a switching power supply and an adaptive compensation method and device thereof provided in an embodiment of the present invention can effectively alleviate the above-mentioned problem.

[0031] To facilitate understanding of this embodiment, an adaptive compensation method for a switching power supply disclosed in an embodiment of the present invention is first introduced in detail.

[0032] In a possible implementation manner, the adaptive compensation method for a switching power supply in the embodiment of the present invention is applied to the switching power supply. For ease of understanding, the switching power supply in the embodiment of the present invention is first described.

[0033] Specifically, the switching power supply in the embodiment of the present invention generally includes a converter, such as a DCDC converter or an ACDC converter, to convert the electric energy input from the power grid system into a power supply matching the load. Therefore, the input port of the switching power supply is generally connected to the power grid system, and the output port is generally connected to the load.

[0034] Furthermore, the output port of the switching power supply in the embodiment of the present invention includes an upper tube and a lower tube connected in sequence; the connection point between the upper tube and the lower tube is connected to the output end of the switching power supply; and the connection point between the upper tube and the lower tube is also connected to the compensation port.

[0035] For ease of understanding, Figure 2 A circuit diagram of an output port of a switching power supply according to an embodiment of the present invention is also shown. Figure 2 As shown, it includes an upper tube Mp, a lower tube Mn, an inductor L, and a capacitor C.

[0036] Specifically, Figure 2 In the embodiment of the present invention, the lower tube Mn is configured with a sampling resistor Rcs for sampling the current of the lower tube Mn; wherein one end of the sampling resistor Rcs is connected to the drain of the lower tube Mn, and the other end is connected to the source of the lower tube Mn, and the source of the lower tube Mn is grounded.

[0037] in, Figure 2 In the figure, the upper tube Mp and the lower tube Mn are described in the form of MOS tubes, and the source of the upper tube Mp is connected to the drain of the lower tube Mn, the connection point is represented by SW, the drain of the upper tube Mp is connected to the power supply VIN, the source of the lower tube Mn is grounded, and the gates of the upper tube Mp and the lower tube Mn are connected to the controller of the switching power supply, and the controller of the switching power supply is usually equipped with a driving circuit of the upper tube Mp and the lower tube Mn ( Figure 2 (not shown), the output end of the driving circuit is connected to the gate of the upper tube Mp and the lower tube Mn, so as to control the conduction state of the upper tube Mp and the lower tube Mn through a pulse signal with a certain duty cycle, thereby controlling the output of the switching power supply.

[0038] Furthermore, the switching power supply in the embodiment of the present invention further includes a bias circuit connected in parallel with the lower tube; Figure 2 As shown, the bias circuit includes a first capacitor C1 and a bias voltage source Vbias connected in series.

[0039] Furthermore, the switching power supply in the embodiment of the present invention further includes a second capacitor C2, one end of which is connected to the connection point SW of the upper tube Mp and the lower tube Mn, and the other end of which is grounded.

[0040] And, based on Figure 2 The schematic diagram of the switching circuit is shown in Figure 3A flow chart of an adaptive compensation method for a switching power supply is also shown. Figure 3 As shown, the following steps are included:

[0041] Step S302, in response to the duty cycle signal being greater than a preset threshold, obtaining output parameters of the switching power supply;

[0042] The output parameters in the embodiment of the present invention include an output voltage signal of the switching power supply and an inductance value of an inductor at the output end of the switching power supply;

[0043] Step S304, calculating the harmonic compensation slope according to the pre-configured harmonic compensation relationship based on the output parameters;

[0044] Step S306: Compensate the output of the switching power supply according to the harmonic compensation slope.

[0045] Typically, the duty cycle signal refers to the duty cycle of a pulse signal that controls the conduction state of the upper tube Mp and the lower tube Mn. In actual use, the controller of the switching power supply can obtain the duty cycle of the pulse signal in real time, and when the duty cycle signal is greater than a preset threshold, obtain the output parameters of the switching power supply, and then execute the adaptive compensation method of the embodiment of the present invention.

[0046] Furthermore, in the above step S302, the output voltage signal included in the output parameter refers to Figure 2 The output voltage Vout in the above output inductor refers to Figure 2 Further, the above harmonic compensation slope in the embodiment of the present invention is also called ramp information. Therefore, in the embodiment of the present invention, what is actually achieved is adaptively tracking the change of the output voltage or the inductance value of the output inductor to obtain the optimal ramp information for harmonic compensation.

[0047] Therefore, the adaptive compensation method for a switching power supply provided in an embodiment of the present invention can obtain the output parameters of the switching power supply in response to a duty cycle signal being greater than a preset threshold, and then calculate the harmonic compensation slope based on the output parameters according to a pre-configured harmonic compensation relationship, and then compensate the output of the switching power supply according to the harmonic compensation slope. In addition, since the output parameters include the output voltage signal of the switching power supply and the inductance value of the inductor at the output end of the switching power supply, it is possible to adaptively track the change of the output voltage signal or the inductance value to obtain the optimal harmonic compensation slope, and there is no need to sacrifice dynamic characteristics and make compensation due to changes in the output voltage signal or the output inductance value; there is no need to make dynamic adjustments for different output voltage signals or inductance values, which not only improves the compensation efficiency, but also helps to improve the stability of the switching power supply.

[0048] Further, based on the upper tube and the lower tube included in the output port of the switching power supply in the embodiment of the present invention, in the embodiment of the present invention, when the output of the switching power supply is compensated according to the harmonic compensation slope, the compensation signal corresponding to the harmonic compensation slope is input to the connection point of the upper tube and the lower tube, that is, Figure 2 The connection point SW in the circuit is transmitted to the output end to compensate the signal Vout outputted from the output end.

[0049] Further, based on the above Figure 2 The sampling resistor Rcs configured in the middle and lower tubes, the first capacitor C1 and the bias voltage source Vbias of the bias circuit, and the second capacitor C2, in the embodiment of the present invention, based on the output parameters, when the harmonic compensation slope is calculated according to the pre-configured harmonic compensation relationship, the harmonic compensation slope is actually calculated according to the output parameters and the resistance value of the sampling resistor according to the preset harmonic compensation relationship.

[0050] Specifically, the calculation formula for calculating the harmonic compensation slope is expressed as:

[0051] Slope=Rcs*(Vout / L)*(C1 / C2);

[0052] Among them, Slope represents the harmonic compensation slope, also known as slope information, Rcs represents the equivalent impedance of the above-mentioned sampling resistor, Vout represents the output voltage signal of the switching power supply, L represents the inductance value of the output inductor, C1 and C2 are the first capacitor and the second capacitor respectively, and the first capacitor and the second capacitor are capacitors configured for the switching power supply.

[0053] Furthermore, the harmonic compensation relationship in the embodiment of the present invention is established based on the following method:

[0054] (1) When the lower tube is turned on, the voltage signal of the sampling resistor is extracted;

[0055] In actual use, for the slope information of the peak current mode control of the switching power supply, m is usually required. a ≥m2 / 2, where m a It represents the slope that needs to be compensated, or the compensation slope, m2=Vout / L, which represents the falling slope of the inductor current in the follow-up phase; therefore, the compensation slope cannot be obtained based on Vout or the inductance value of the inductor L alone, but if Vout / L is regarded as a whole and the value of this whole can be obtained, the required slope information can be obtained.

[0056] Therefore, in the embodiment of the present invention, in the peak current mode, the current sampling of the lower tube Mn can be performed. Specifically, Figure 2 Take this as an example to illustrate: Figure 2The current of the lower tube Mn can be sampled to the sampling resistor Rcs, thereby generating a voltage signal Vcs proportional to the current. The voltage signal Vcs is the voltage signal of the sampling resistor when the lower tube is turned on. Since it changes with time, it can be expressed as:

[0057] Vcs(t)=IL(t)*Rcs; where IL(t) represents the current obtained by sampling the lower tube Mn and changes with time.

[0058] (2) Performing differential processing on the voltage signal to obtain a differential signal of the voltage signal;

[0059] The differential signal of the voltage signal is actually a signal that changes with time;

[0060] In this process, the above Vcs(t) is actually differentiated, and both sides are divided by dt to obtain:

[0061] Vcs(t) / dt=Rcs*IL(t) / dt;

[0062] When the lower tube is turned on, IL(t) / dt=Vout / L, so:

[0063] Vcs(t) / dt=Rcs*Vout / L.

[0064] It can be seen from the formula that the information of Vout / L appears on the right side. Therefore, this information can be sampled and held and introduced into the loop control as ramp information.

[0065] (3) inputting the differential signal of the voltage signal into the first capacitor to obtain a current change signal of the bias voltage source;

[0066] In specific implementation, the process (3) is also performed when the lower tube is turned on. At this time, the signal that changes with time is actually Vcs(t), which is sent to one end of the first capacitor C1. The current of the bias voltage source Vbias connected to the other end of the first capacitor C1 can be expressed as Ics(t).

[0067] Therefore, according to the law of charge conservation, we can get:

[0068] Ics(t)=C1*d(Vcs(t)) / dt;

[0069] =C1*d(IL(t)*Rcs) / dt;

[0070] =C1*Rcs*d(IL(t)) / dt;

[0071] =C1*Rcs*(Vout / L);

[0072] That is, Ics(t) is the current change signal of the bias voltage source, indicating that the signal changes with time, and Ics(t)=C1*Rcs*(Vout / L). From this formula, a constant current information proportional to the current drop slope of the output inductor can be obtained;

[0073] (4) When the upper tube is turned on, the current change signal of the bias voltage source is controlled to charge the second capacitor to obtain a harmonic compensation voltage;

[0074] (5) A harmonic compensation relationship is established based on the harmonic compensation voltage and the current change signal of the bias voltage source.

[0075] For the result obtained in (3), when the upper tube is turned on, the second capacitor C2 is charged to generate a harmonic compensation voltage, which is expressed as Vslope. Differentiating it, we can get:

[0076] dVslope / dt=Ics(t) / C2;

[0077] Wherein, dVslope represents the differentiation of Vslope, and d represents the differential sign. By combining this formula with the above Ics(t)=C1*Rcs*(Vout / L), the final expression formula of the harmonic compensation relationship can be obtained, namely:

[0078] Slope= dVslope / dt=Rcs*(out / L)*(C1 / C2).

[0079] The resistor Rcs is actually the equivalent impedance of current sampling and is a constant value; C1 / C2 is the ratio of the capacitors, which can offset the changes in their absolute values ​​under different process angles or temperatures; Vout / L is the slope information to be obtained.

[0080] In summary, the adaptive compensation method for the switching power supply provided in the embodiment of the present invention can adaptively track the changes in the output voltage or inductance value to obtain the optimal slope information; there is no need to sacrifice the dynamic characteristics and make compensation due to changes in the output voltage or the output inductance value; there is no need to make dynamic adjustments for different output voltage values ​​or inductance values, which not only improves the compensation efficiency, but also helps to improve the stability of the switching power supply.

[0081] Furthermore, an embodiment of the present invention also provides an adaptive compensation device for a switching power supply, which is applied to a switching power supply, such as Figure 4 The schematic diagram of the structure of an adaptive compensation device of a switching power supply shown in FIG. 1 includes the following structures:

[0082] A response module 40, configured to obtain output parameters of the switching power supply in response to the duty cycle signal being greater than a preset threshold, wherein the output parameters include an output voltage signal of the switching power supply and an inductance value of an output end inductor of the switching power supply;

[0083] A calculation module 42, configured to calculate a harmonic compensation slope based on the output parameter and in accordance with a pre-configured harmonic compensation relationship;

[0084] The compensation module 44 is used to compensate the output of the switching power supply according to the harmonic compensation slope.

[0085] Furthermore, an embodiment of the present invention also provides a switching power supply, wherein a controller of the switching power supply is provided with the above-mentioned adaptive compensation device of the switching power supply, which is used to execute the above-mentioned adaptive compensation method of the switching power supply, so as to output a compensation signal corresponding to the harmonic compensation slope to the compensation port, and compensate the signal output from the output end of the switching power supply.

[0086] The adaptive compensation device of the switching power supply and the switching power supply provided in the embodiments of the present invention have the same technical features as the adaptive compensation method of the switching power supply provided in the above embodiments, and therefore can also solve the same technical problems and achieve the same technical effects.

[0087] The computer program product of the switching power supply and its adaptive compensation method and device provided in the embodiments of the present invention includes a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the method described in the previous method embodiment. The specific implementation can be found in the method embodiment, which will not be repeated here.

[0088] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system and device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0089] Finally, it should be noted that the above embodiments are only specific implementations of the present invention, which are used to illustrate the technical solutions of the present invention, rather than to limit them. The protection scope of the present invention is not limited thereto. Although the present invention is described in detail with reference to the above embodiments, those skilled in the art should understand that any person skilled in the art can still modify the technical solutions recorded in the above embodiments within the technical scope disclosed by the present invention, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. An adaptive compensation method for a switching power supply, characterized in that: Applied to a switching power supply, the method comprises: In response to the duty cycle signal being greater than a preset threshold, obtaining output parameters of the switching power supply, wherein the output parameters include an output voltage signal of the switching power supply and an inductance value of an inductor at an output end of the switching power supply; Based on the output parameters, calculating the harmonic compensation slope according to a pre-configured harmonic compensation relationship; Compensating the output of the switching power supply according to the harmonic compensation slope; Wherein, the output port of the switching power supply comprises an upper tube and a lower tube connected in sequence; the connection point between the upper tube and the lower tube is connected to the output end of the switching power supply; The lower tube is provided with a sampling resistor; the switching power supply further includes a bias circuit connected in parallel with the lower tube, the bias circuit including a first capacitor and a bias voltage source connected in series; the switching power supply further includes a second capacitor, one end of the second capacitor is connected to a connection point between the upper tube and the lower tube, and the other end is grounded; The step of calculating the harmonic compensation slope based on the output parameter according to a preconfigured harmonic compensation relationship comprises: Calculating the harmonic compensation slope according to the output parameter and the resistance value of the sampling resistor according to the preset harmonic compensation relationship; The calculation formula for calculating the harmonic compensation slope according to the preset harmonic compensation relationship is expressed as: Slope=Rcs*(Vout / L)*(C1 / C2); Among them, Slope represents the harmonic compensation slope; Rcs represents the equivalent impedance of the sampling resistor, Vout represents the output voltage signal of the switching power supply, L represents the inductance value of the output inductor, C1 and C2 are the first capacitor and the second capacitor respectively, and the first capacitor and the second capacitor are capacitors configured for the switching power supply.

2. The method according to claim 1, characterized in that The step of compensating the output of the switching power supply according to the harmonic compensation slope comprises: A compensation signal corresponding to the harmonic compensation slope is input to a connection point between the upper tube and the lower tube to be transmitted to the output end, so as to compensate the signal output from the output end.

3. The method according to claim 1, characterized in that The harmonic compensation relationship is established based on the following method: When the lower tube is turned on, extracting the voltage signal of the sampling resistor; Performing differentiation processing on the voltage signal to obtain a differential signal of the voltage signal; Inputting the differential signal of the voltage signal into the first capacitor to obtain a current change signal of the bias voltage source; When the upper tube is turned on, the current change signal of the bias voltage source is controlled to charge the second capacitor to obtain a harmonic compensation voltage; The harmonic compensation relationship is established based on the harmonic compensation voltage and the current change signal of the bias voltage source.

4. An adaptive compensation device for a switching power supply, characterized in that: Applied to a switching power supply, the device comprises: A response module, configured to obtain output parameters of the switching power supply in response to a duty cycle signal being greater than a preset threshold, wherein the output parameters include an output voltage signal of the switching power supply and an inductance value of an inductor at an output end of the switching power supply; A calculation module, configured to calculate a harmonic compensation slope based on the output parameter and in accordance with a pre-configured harmonic compensation relationship; A compensation module, used for compensating the output of the switching power supply according to the harmonic compensation slope; Wherein, the output port of the switching power supply comprises an upper tube and a lower tube connected in sequence; the connection point between the upper tube and the lower tube is connected to the output end of the switching power supply; The lower tube is provided with a sampling resistor; the switching power supply further includes a bias circuit connected in parallel with the lower tube, the bias circuit including a first capacitor and a bias voltage source connected in series; the switching power supply further includes a second capacitor, one end of the second capacitor is connected to a connection point between the upper tube and the lower tube, and the other end is grounded; The step of calculating the harmonic compensation slope based on the output parameter according to a preconfigured harmonic compensation relationship comprises: Calculating the harmonic compensation slope according to the output parameter and the resistance value of the sampling resistor according to the preset harmonic compensation relationship; The calculation formula for calculating the harmonic compensation slope according to the preset harmonic compensation relationship is expressed as: Slope=Rcs*(Vout / L)*(C1 / C2); Among them, Slope represents the harmonic compensation slope; Rcs represents the equivalent impedance of the sampling resistor, Vout represents the output voltage signal of the switching power supply, L represents the inductance value of the output inductor, C1 and C2 are the first capacitor and the second capacitor respectively, and the first capacitor and the second capacitor are capacitors configured for the switching power supply.

5. A switching power supply, characterized in that: The output port of the switching power supply comprises an upper tube and a lower tube connected in sequence; the connection point between the upper tube and the lower tube is connected to the output end of the switching power supply; Furthermore, the connection point between the upper tube and the lower tube is also connected to a compensation port; The controller of the switching power supply is provided with the device described in claim 4, which is used to execute the method described in any one of claims 1 to 3 above, so as to output a compensation signal corresponding to the harmonic compensation slope to the compensation port, and compensate the signal output from the output end of the switching power supply.

6. The switching power supply according to claim 5, characterized in that: The lower tube is provided with a sampling resistor for sampling the current of the lower tube; Wherein, one end of the sampling resistor is connected to the drain of the lower tube, and the other end is connected to the source of the lower tube.

7. The switching power supply according to claim 6, characterized in that: The switching power supply further includes a bias circuit connected in parallel with the lower tube; The bias circuit includes a first capacitor and a bias voltage source connected in series.

8. The switching power supply according to claim 5, characterized in that: The switching power supply further includes a second capacitor, one end of which is connected to a connection point between the upper tube and the lower tube, and the other end of which is grounded.

Citation Information

Patent Citations

  • Total harmonic distortion optimization circuit and method, driving controller and switch power supply system

    CN106953508A

  • Self-adaptive slope compensation BOOST circuit

    CN114552987A

  • Slope compensation circuit of multiphase control circuit

    CN115528913A

  • Voltage regulation circuit, method and related equipment

    CN115733356A

  • Slope compensation circuit, method for generating oblique wave compensation signal and electronic chip

    CN116015061A