A control method of a buck-boost circuit and related device

By combining feedforward and feedback control in the Buck-Boost circuit, the gain is determined and the duty cycle is adjusted, thus solving the problem of output voltage deviation caused by input voltage and load changes and achieving the stability of the circuit's output voltage.

CN115987100BActive Publication Date: 2026-08-04SHENZHEN SUPLET
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SHENZHEN SUPLET
Filing Date
2022-12-26
Publication Date
2026-08-04

AI Technical Summary

Technical Problem

In a Buck-Boost circuit, the output voltage will briefly deviate from the target output voltage when the input voltage and/or load changes.

Method used

By combining feedforward control and feedback control, the gain Gain is determined, and the duty cycle is adjusted based on Gain. This includes determining the output voltage feedback control parameter Vc, the input voltage feedforward control parameter k, and the output current feedforward control parameter c to stabilize the output voltage.

Benefits of technology

This effectively avoids brief deviations in the output voltage of the Buck-Boost circuit when the input voltage and/or load changes, thus achieving output voltage stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115987100B_ABST
    Figure CN115987100B_ABST
Patent Text Reader

Abstract

The application provides a control method of a Buck-Boost circuit and related equipment. The control method can determine a gain through a feedforward control signal and a feedback control signal, determine a working mode of the current Buck-Boost circuit based on the gain, and determine a duty cycle of the Buck-Boost circuit through the working mode and the gain. When the input voltage and / or the load of the Buck-Boost circuit changes, the application can adjust the size of the gain determined by the feedforward control signal and the feedback control signal, and adjust the duty cycle of the Buck-Boost circuit based on the gain to stabilize the output voltage. Since the feedforward control is more timely than the feedback control, the application avoids the situation that the output voltage of the Buck-Boost circuit deviates from the target output voltage temporarily.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of electronic technology, and more specifically, to a control method and related equipment for a Buck-Boost circuit. Background Technology

[0002] In a Buck-Boost circuit, the duty cycle can be adjusted using feedback control to stabilize the output voltage, ensuring that the output voltage equals the target output voltage. However, controlling the Buck-Boost circuit solely through feedback control can cause the output voltage to briefly deviate from the target output voltage when the input voltage and / or load changes. Summary of the Invention

[0003] In view of this, this application provides a control method and related device for a Buck-Boost circuit to solve the problem that the output voltage of the Buck-Boost circuit will temporarily deviate from the target output voltage when the input voltage and / or load changes.

[0004] To achieve the above objectives, the following solution is proposed:

[0005] A control method for a Buck-Boost circuit, the method comprising:

[0006] Determine the difference between the current output voltage and the target output voltage of the Buck-Boost circuit;

[0007] Based on the difference, the output voltage feedback control parameter V is determined. c , wherein, the V c The maximum value is V cmax ;

[0008] Based on the current input voltage V of the Buck-Boost circuit in Maximum target output voltage V out_h and the V cmax Determine the input voltage feedforward control parameter k;

[0009] Based on the current output current I of the Buck-Boost circuit out The topological equivalent internal resistance R of the Buck-Boost circuit and the V in Determine the output current feedforward control parameter c;

[0010] Through the V c The k and c determine the gain, and the operating mode of the Buck-Boost circuit is determined based on the gain.

[0011] The duty cycle of the Buck-Boost circuit in the operating mode is determined by the operating mode and the gain, and the Buck-Boost circuit is controlled based on the duty cycle.

[0012] Optionally, the current input voltage V based on the Buck-Boost circuit in Maximum target output voltage V out_h and the V cmax Determine the input voltage feedforward control parameter k, including:

[0013] Through formula

[0014] k=[(a×V out_h ) / V in ] / V cmax

[0015] Determine the input voltage feedforward control parameter k, where a is the output voltage margin coefficient and a>1, V in V is the current input voltage of the Buck-Boost circuit. out_h This represents the maximum target output voltage.

[0016] Optionally, the current output current I based on the Buck-Boost circuit out The topological equivalent internal resistance R of the Buck-Boost circuit and the V in Determine the output current feedforward control parameter c, including:

[0017] Through formula

[0018] c = (I out ×R) / V in

[0019] Determine the output current feedforward control parameter c, where I out R is the current output current of the Buck-Boost circuit, and R is the topological equivalent internal resistance of the Buck-Boost circuit.

[0020] Optionally, the method via the V c The k and c determine the gain, and based on the gain, determine the operating mode of the Buck-Boost circuit, including:

[0021] Through formula

[0022] Gain = V c ×k+c

[0023] Determine the gain Gain;

[0024] The operating mode of the Buck-Boost circuit is determined based on the Gain.

[0025] Optionally, determining the operating mode of the Buck-Boost circuit based on the Gain includes:

[0026] If Gain ≥ x, then the operating mode of the Buck-Boost circuit is determined to be Boost mode;

[0027] If (x – 0.05) > Gain > y, then the operating mode of the Buck-Boost circuit is determined to be Buck-Boost mode;

[0028] If Gain ≤ (y – 0.05), then the operating mode of the Buck-Boost circuit is determined to be Buck mode;

[0029] Where x and y are the boundary values ​​for the switching of the Buck-Boost circuit's operating mode, x≥1.1, 0.9≥y, and 0.05 is the hysteresis value for the switching of the Buck-Boost circuit's operating mode.

[0030] Optionally, determining the duty cycle of the Buck-Boost circuit in the operating mode based on the operating mode and the gain includes:

[0031] Through formula

[0032] Gain = duty_k / (1 - duty_t)

[0033] Determine the duty cycle duty_k of the Buck circuit and the duty cycle duty_t of the Boost circuit under different operating modes respectively;

[0034] If the Buck-Boost circuit operates in Boost mode, then duty_k = 1, and duty_t = 1 - 1 / Gain;

[0035] If the Buck-Boost circuit operates in Buck-Boost mode, then duty_k = 0.8 and duty_t = 1 - 0.8 / Gain;

[0036] If the Buck-Boost circuit operates in Buck mode, then duty_t = 0 and duty_k = Gain.

[0037] A control device for a Buck-Boost circuit, the device comprising:

[0038] The difference determination unit is used to determine the difference between the current output voltage and the target output voltage of the Buck-Boost circuit;

[0039] Feedback parameter determination unit, used to determine the output voltage feedback control parameter V based on the difference. c , wherein, the V c The maximum value is V cmax ;

[0040] The input voltage parameter determination unit is used to determine the current input voltage V of the Buck-Boost circuit. in Maximum target output voltage V out_h and the V cmax Determine the input voltage feedforward control parameter k;

[0041] Output current parameter determination unit, used to determine the current I of the Buck-Boost circuit. out The topological equivalent internal resistance R of the Buck-Boost circuit and the V in Determine the output current feedforward control parameter c;

[0042] The mode determination unit is used to determine the mode through the V c The k and c determine the gain, and the operating mode of the Buck-Boost circuit is determined based on the gain.

[0043] A duty cycle control unit is used to determine the duty cycle of the Buck-Boost circuit in the operating mode by means of the operating mode and the Gain, and to control the Buck-Boost circuit based on the duty cycle.

[0044] Optionally, the input voltage parameter determination unit is specifically used for:

[0045] Through formula

[0046] k=[(a×V out_h ) / V in ] / V cmax

[0047] Determine the input voltage feedforward control parameter k, where a is the output voltage margin coefficient and a>1, V in V is the current input voltage of the Buck-Boost circuit. out_h This represents the maximum target output voltage.

[0048] An electronic device, comprising a memory and a processor;

[0049] The memory is used to store programs;

[0050] The processor is used to execute the program to implement each step of the control method for the Buck-Boost circuit described above.

[0051] A readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the control method for the Buck-Boost circuit described above.

[0052] This application proposes a control method and related equipment for a Buck-Boost circuit. The method determines the gain through feedforward and feedback control signals, and determines the current operating mode of the Buck-Boost circuit based on the gain. The duty cycle of the Buck-Boost circuit is then determined based on the operating mode and the gain. When the input voltage and / or load of the Buck-Boost circuit changes, this application can adjust the gain determined by the feedforward and feedback control signals, and adjust the duty cycle of the Buck-Boost circuit based on the gain to stabilize the output voltage. Because feedforward control is more timely than feedback control, this application avoids the situation where the output voltage of the Buck-Boost circuit briefly deviates from the target output voltage when the input voltage and / or load changes. Attached Figure Description

[0053] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of this application. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.

[0054] Figure 1 A flowchart illustrating a control method for a Buck-Boost circuit provided in this application embodiment;

[0055] Figure 2 A flowchart illustrating another control method for a Buck-Boost circuit provided in an embodiment of this application;

[0056] Figure 3 A flowchart illustrating another control method for a Buck-Boost circuit provided in this application embodiment;

[0057] Figure 4 A flowchart illustrating another control method for a Buck-Boost circuit provided in this application embodiment;

[0058] Figure 5 A flowchart illustrating another control method for a Buck-Boost circuit provided in this application embodiment;

[0059] Figure 6 A flowchart illustrating another control method for a Buck-Boost circuit provided in this application embodiment;

[0060] Figure 7 This is a schematic diagram of a Buck-Boost circuit provided in an embodiment of this application;

[0061] Figure 8 This is a schematic diagram of the structure of a control device for a Buck-Boost circuit provided in an embodiment of this application;

[0062] Figure 9 This is a hardware structure block diagram of an electronic device provided in an embodiment of this application. Detailed Implementation

[0063] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0064] like Figure 1 As shown in the figure, this application provides a control method for a Buck-Boost circuit, which may include:

[0065] S10. Determine the difference between the current output voltage and the target output voltage of the Buck-Boost circuit.

[0066] The target output voltage can be a fixed value or an adjustable, non-fixed value. The maximum target output voltage can be denoted as V. out_h The current output voltage of the Buck-Boost circuit can be measured using a voltage measurement circuit. The difference between the current output voltage and the target output voltage of the Buck-Boost circuit corresponds to a voltage error signal V. error .

[0067] S11. Determine the output voltage feedback control parameter V based on the difference. c , where V c The maximum value is V cmax .

[0068] Specifically, this application can obtain the relationship with V through a feedback compensation algorithm or a feedback compensation circuit. error The corresponding output voltage feedback control parameter V cAmong them, the feedback compensation algorithm can use the Proportion-Integral-Differential (PID) algorithm for the difference, V c The value range of can be [0, V] cmax ].

[0069] S12, Current input voltage V based on Buck-Boost circuit in Maximum target output voltage V out_h and V cmax Determine the input voltage feedforward control parameter k.

[0070] Wherein, the current input voltage V of the Buck-Boost circuit in It can be measured using a voltage measurement circuit. In a Buck-Boost circuit, because the input voltage directly affects the output voltage, the input voltage can be used as a feedforward control signal to control the Buck-Boost circuit, and the output voltage can be measured using the current input voltage V. in V out_h and V cmax Determine the input voltage feedforward control parameter k. It can be seen that if the current input voltage V... in Changes in this parameter will affect the voltage feedforward control parameter k. Therefore, when this application controls the duty cycle based on k, it can promptly adjust the current input voltage V. in The changes adjust the current output voltage to prevent it from deviating from the target output voltage.

[0071] S13, Current output current I based on Buck-Boost circuit out The topological equivalent internal resistances R and V of the Buck-Boost circuit in Determine the output current feedforward control parameter c.

[0072] Among them, the current output current I of the Buck-Boost circuit out It can be measured using a current measuring circuit. R can be the topological equivalent internal resistance of the Buck-Boost circuit. The internal resistance of a Buck-Boost circuit can include the internal resistance of an inductor, the internal resistance of a capacitor, the internal resistance of the printed circuit board (PCB) traces, etc. R can be measured experimentally. A Buck-Boost circuit can be connected to a load because when the load changes, it causes the output current I at the output terminal to change. out Changes in voltage can affect the output voltage, so the output current at the Buck-Boost circuit's output terminal can be used as the feedforward control signal to control the Buck-Boost circuit, and this can be achieved through I0. out R and V inDetermine the output current feedforward control parameter c.

[0073] It is evident that changes in the load will affect the output current feedforward control parameter c. Thus, when this application controls the duty cycle based on c, it can promptly adjust the current output voltage according to changes in the load to prevent it from deviating from the target output voltage.

[0074] S14, via V c k and c determine the gain, and the operating mode of the Buck-Boost circuit is determined based on the gain.

[0075] Gain can be obtained through V c Given that k and c are determined, it is evident that any change in at least one of the following—the load, the current input voltage, or the current output voltage—will affect the gain value. This embodiment can determine the current operating mode of the Buck-Boost circuit using the gain. Operating modes can include Boost mode, Buck-Boost mode, and Buck mode. The operating mode needs to be determined before controlling the Buck-Boost circuit because different control methods are used in different operating modes. Specifically, this application can determine the operating mode of the Buck-Boost circuit based on the gain value.

[0076] S15. Determine the duty cycle of the Buck-Boost circuit in the working mode by the working mode and Gain, and control the Buck-Boost circuit based on the duty cycle.

[0077] Once the operating mode is determined, the corresponding Buck-Boost circuit control method can be determined based on the determined operating mode. Different control methods correspond to different duty cycles. Finally, the duty cycle of the Buck-Boost circuit is controlled based on the determined duty cycle, which facilitates timely stabilization of the Buck-Boost circuit's output voltage.

[0078] This application proposes a control method for a Buck-Boost circuit. The Gain is determined using feedforward and feedback control signals, and the current operating mode of the Buck-Boost circuit is determined based on the Gain. The duty cycle of the Buck-Boost circuit is then determined using the operating mode and the Gain. When the input voltage and / or load of the Buck-Boost circuit changes, this application can adjust the magnitude of the Gain determined by the feedforward and feedback control signals, and adjust the duty cycle of the Buck-Boost circuit based on the Gain to stabilize the output voltage. Because feedforward control is more timely than feedback control, this application avoids the situation where the output voltage of the Buck-Boost circuit briefly deviates from the target output voltage when the input voltage and / or load changes.

[0079] like Figure 2 As shown, in another control method for a Buck-Boost circuit provided according to an embodiment of this application, Figure 1 Step S12 shown can be specifically described as follows:

[0080] S16. Using the formula k=[(a×V out_h ) / V in ] / V cmax Determine the input voltage feedforward control parameter k, where a is the output voltage margin coefficient and a>1, V in V is the current input voltage of the Buck-Boost circuit. out_h This represents the maximum target output voltage.

[0081] The value of 'a' can be 1.2. Setting 'a' is to provide a margin for the maximum target output voltage, which is a × V. out_h This represents the maximum output voltage of the Buck-Boost circuit. It can be seen that the maximum output voltage is slightly larger than the maximum target output voltage because the voltage drop caused by the load current will reduce the output voltage. This application uses 'a' to ensure that the output voltage can reach the maximum target output voltage even when the load current is large. In the formula, a × V... out_h V cmax Since they are all fixed quantities, they can be determined through V. in The changes in the feedforward control parameter k are determined by the changes in the data.

[0082] like Figure 3 As shown, in another control method for a Buck-Boost circuit provided according to an embodiment of this application, Figure 1 Step S13 shown can specifically include:

[0083] S17, using the formula c = (I out ×R) / V inDetermine the output current feedforward control parameter c, where I out R is the current output current of the Buck-Boost circuit, and R is the topological equivalent internal resistance of the Buck-Boost circuit.

[0084] In this case, since the change in the Buck-Boost circuit is due to a change in load, which cannot be specifically represented, feedforward control can be performed based on the changes in parameters affected by the load change. Therefore, this embodiment selects the current output current as I. out The feedforward signal and load changes affect the current output current I of the Buck-Boost circuit. out The change occurs. According to the formula c = (I out ×R) / V in R is the topological equivalent internal resistance of the Buck-Boost circuit, and I is... out ×R represents the decrease in output voltage caused by load changes. To prevent this voltage drop, compensation is needed for this decrease. (I out ×R) / V in This indicates that the decrease in output voltage due to load changes is factored into the gain. Therefore, it can be calculated based on I... out The changes determine the changes in the feedforward control parameter c.

[0085] Furthermore, the feedforward control parameters differ depending on the specific changes. When the input voltage changes, the Buck-Boost circuit is mainly controlled by the input voltage feedforward control parameter k; when the load changes, the Buck-Boost circuit is mainly controlled by the output current feedforward control parameter c.

[0086] like Figure 4 As shown, in another control method for a Buck-Boost circuit provided according to an embodiment of this application, Figure 1 Step S14 shown may include:

[0087] S18. Using the formula Gain = V c ×k+c determines the gain Gain;

[0088] S19. Determine the operating mode of the Buck-Boost circuit based on Gain.

[0089] Among them, V c In this formula, V is a fixed quantity because c The parameters are determined based on feedback control, and V is generated based on the change in the output voltage of the Buck-Boost circuit after that change has already occurred. c That is, during the operation of the Buck-Boost circuit in this instance, Vc The output voltage change has already been determined based on the previous operation of the Buck-Boost circuit, and V in and / or I out This is a parameter that varies based on changes in input voltage and / or load during the operation of the Buck-Boost circuit. Changes in input voltage and / or load will affect the output voltage of the running Buck-Boost circuit. Therefore, before the output voltage of the Buck-Boost circuit changes, V can be determined. in and / or I out The changes in k and / or c are determined to control the Buck-Boost circuit in a timely manner, preventing the output voltage from deviating from the target output voltage due to changes in input voltage and / or load.

[0090] like Figure 5 As shown, in another control method for a Buck-Boost circuit provided according to an embodiment of this application, Figure 1 Step S14 shown can specifically include:

[0091] S20, via V c k and c determine the gain.

[0092] If Gain ≥ x, then execute step S21; if (x – 0.05) > Gain > y, then execute step S22; if Gain ≤ (y – 0.05), then execute step S23; where x and y are the boundary values ​​for the Buck-Boost circuit's operating mode switching, x ≥ 1.1, 0.9 ≥ y, and 0.05 is the hysteresis value for the Buck-Boost circuit's operating mode switching.

[0093] S21. Determine that the operating mode of the Buck-Boost circuit is Boost mode;

[0094] S22. Determine that the operating mode of the Buck-Boost circuit is Buck-Boost mode;

[0095] S23. Determine that the operating mode of the Buck-Boost circuit is Buck mode.

[0096] Here, x can be 1.1, y can be 0.9, and 0.05 is a hysteresis value used to prevent the Buck-Boost circuit from repeatedly switching its operating mode. Adding a hysteresis value to the gain determination prevents confusion caused by small changes in gain when determining the Buck-Boost circuit's operating mode, increasing the anti-interference capability of the operating mode determination process.

[0097] Optionally, in other embodiments, Figure 4 Step S19 shown may include Figure 5 Steps S21 to S23 in the process. And... Figure 4 Step S18 shown is based on and Figure 5 The same triggering conditions as step S20 are used to trigger steps S21 to S23 respectively. The triggering conditions are as follows:

[0098] If Gain ≥ x, then execute step S21; if (x – 0.05) > Gain > y, then execute step S22; if Gain ≤ (y – 0.05), then execute step S23; where x and y are the boundary values ​​for the Buck-Boost circuit's operating mode switching, x ≥ 1.1, 0.9 ≥ y, and 0.05 is the hysteresis value for the Buck-Boost circuit's operating mode switching.

[0099] like Figure 6 As shown, in another control method for a Buck-Boost circuit provided according to an embodiment of this application, Figure 1 Step S15 shown may specifically include:

[0100] S24. The duty cycle duty_k of the Buck circuit and the duty cycle duty_t of the Boost circuit under different working modes are determined by the formula Gain=duty_k / (1-duty_t), and the Buck-Boost circuit is controlled based on the duty cycle duty_k and duty_t.

[0101] If the Buck-Boost circuit operates in Boost mode, then let duty_k = 1 and duty_t = 1 - 1 / Gain;

[0102] If the Buck-Boost circuit operates in Buck-Boost mode, then let duty_k = 0.8 and duty_t = 1 - 0.8 / Gain;

[0103] If the Buck-Boost circuit operates in Buck mode, then set duty_t = 0 and duty_k = Gain.

[0104] Duty cycle refers to the percentage of time the circuit is on during its entire operating cycle. For example, a duty cycle of 0.5 means the circuit is on for 50% of its operating cycle, or half of the entire cycle. The duty cycle of a Buck-Boost circuit can include the Buck circuit's duty cycle (duty_k) and the Boost circuit's duty cycle (duty_t). The required duty cycle is determined based on the defined operating mode, and the Buck-Boost circuit is controlled accordingly. Figure 7The Buck-Boost circuit shown includes a voltage input terminal VIN, an inductor L, capacitors Cin and Cout, a voltage output terminal VOUT, and four power transistors: Q1, Q2, Q3, and Q4. The duty cycle of the Buck circuit, duty_k, is the same as that of the first power transistor Q1, and the duty cycle of the Boost circuit, duty_t, is the same as that of the third power transistor Q3. By determining the duty cycle through the operating mode and gain, the duty cycles of Q1 and Q3 can be controlled to stabilize the output voltage of the Buck-Boost circuit. This ensures that when the input voltage and / or load changes, but the output voltage has not yet changed, the duty cycle is controlled to prevent the output voltage from briefly deviating from the target output voltage.

[0105] When using V in When used as a feedforward control signal for control, V in When V decreases, k increases, Gain increases, and the duty cycle increases; in As the value increases, k decreases, Gain decreases, and the duty cycle decreases.

[0106] When using I out When used as a feedforward control signal for control, I out When I decreases, c decreases, Gain decreases, and the duty cycle decreases; out As the value increases, c increases, Gain increases, and the duty cycle increases.

[0107] The duty cycle at this point is the same as that of the Buck-Boost circuit.

[0108] Corresponding to the above method embodiments, this application also provides a control device for a Buck-Boost circuit. For example... Figure 8 As shown, the device may include:

[0109] The difference determination unit 100 is used to determine the difference between the current output voltage and the target output voltage of the Buck-Boost circuit;

[0110] Feedback parameter determination unit 110 is used to determine the output voltage feedback control parameter V based on the difference. c , where V c The maximum value is V cmax ;

[0111] Input voltage parameter determination unit 120, used for determining the current input voltage V based on the Buck-Boost circuit. in Maximum target output voltage V out_h and V cmax Determine the input voltage feedforward control parameter k;

[0112] Output current parameter determination unit 130, used for determining the current output current I based on the Buck-Boost circuit. out The topological equivalent internal resistances R and V of the Buck-Boost circuit in Determine the output current feedforward control parameter c;

[0113] Pattern determination unit 140, used for V c k and c determine the gain, and the operating mode of the Buck-Boost circuit is determined based on the gain;

[0114] Duty cycle control unit 150 is used to determine the duty cycle of the Buck-Boost circuit in the operating mode by means of the operating mode and Gain, and to control the Buck-Boost circuit based on the duty cycle.

[0115] In another control device for a Buck-Boost circuit provided according to an embodiment of this application, the input voltage parameter determination unit 120 can be specifically used to: determine the input voltage parameter using the formula k = [(a × V out_h ) / V in ] / V cmax Determine the input voltage feedforward control parameter k, where a is the output voltage margin coefficient and a>1, V in V is the current input voltage of the Buck-Boost circuit. out_h This represents the maximum target output voltage.

[0116] In another control device for a Buck-Boost circuit according to an embodiment of this application, the output current parameter determination unit 130 can be specifically used to: determine the output current parameter using the formula c = (I out ×R) / V in Determine the output current feedforward control parameter c, where I out R is the current output current of the Buck-Boost circuit, and R is the topological equivalent internal resistance of the Buck-Boost circuit.

[0117] In another control device for a Buck-Boost circuit according to an embodiment of this application, the mode determination unit 140 may include:

[0118] Gain calculation subunit, used to calculate Gain = V c ×k+c determines the gain Gain;

[0119] The operating mode determination sub-unit is used to determine the operating mode of the Buck-Boost circuit based on the gain.

[0120] In another control device for a Buck-Boost circuit according to an embodiment of this application, the mode determination unit 140, which determines the operating mode of the Buck-Boost circuit based on Gain, can be configured as follows:

[0121] Based on the relationship between Gain, x, x–0.05, y, and y–0.05, the operating mode of the Buck-Boost circuit is determined.

[0122] If Gain ≥ x, then the Buck-Boost circuit is determined to operate in Boost mode.

[0123] If (x – 0.05) > Gain > y, then the Buck-Boost circuit is determined to operate in Buck-Boost mode.

[0124] If Gain ≤ (y – 0.05), then the Buck-Boost circuit is determined to operate in Buck mode.

[0125] Where x and y are the boundary values ​​for the switching of the Buck-Boost circuit's operating mode, x≥1.1, 0.9≥y, and 0.05 is the hysteresis value for the switching of the Buck-Boost circuit's operating mode.

[0126] In another control device for a Buck-Boost circuit provided according to an embodiment of this application, the duty cycle control unit 150 can be specifically used to: determine the duty cycle duty_k of the Buck circuit and the duty cycle duty_t of the Boost circuit under different operating modes by using the formula Gain=duty_k / (1-duty_t), and control the Buck-Boost circuit based on the duty cycle duty_k and duty_t.

[0127] If the Buck-Boost circuit operates in Boost mode, then duty_k = 1, duty_t = 1 - 1 / Gain;

[0128] If the Buck-Boost circuit operates in Buck-Boost mode, then duty_k = 0.8, duty_t = 1 - 0.8 / Gain;

[0129] If the Buck-Boost circuit operates in Buck mode, then duty_t = 0 and duty_k = Gain.

[0130] This application also provides an electronic device. Figure 9 A hardware block diagram of the electronic device is shown, with reference to... Figure 9 The hardware structure of the electronic device may include: memory 1 and processor 2;

[0131] Memory 1 is used to store programs;

[0132] Processor 2 is used to execute programs to implement the various steps of any of the Buck-Boost circuit control methods described above.

[0133] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the various steps of any of the above-described control methods for the Buck-Boost circuit.

[0134] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0135] In a typical configuration, the device includes one or more processors (CPUs), memory, and a bus. The device may also include input / output interfaces, network interfaces, etc.

[0136] Memory may include non-persistent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, like read-only memory (ROM) or flash RAM, and memory includes at least one memory chip. Memory is an example of computer-readable media.

[0137] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0138] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0139] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes the element.

[0140] The various embodiments in this specification are described in a related manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the apparatus embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions of the method embodiments.

[0141] The above are merely embodiments of this application and are not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.

Claims

1. A control method for a Buck-Boost circuit, characterized in that, The method includes: Determine the difference between the current output voltage and the target output voltage of the Buck-Boost circuit; Based on the difference, the output voltage feedback control parameter V is determined. c , wherein, the V c The maximum value is V cmax ; Through formula k=[(a×V out_h ) / V in ] / V cmax Determine the input voltage feedforward control parameter k, where a is the output voltage margin coefficient and a>1, V in V is the current input voltage of the Buck-Boost circuit. out_h The maximum target output voltage; Through formula c=(I out ×R) / V in Determine the output current feedforward control parameter c, where I out R is the current output current of the Buck-Boost circuit, and R is the topological equivalent internal resistance of the Buck-Boost circuit. Through formula Gain=V c ×k+c Determine the gain (Gain); The operating mode of the Buck-Boost circuit is determined based on the Gain. The duty cycle of the Buck-Boost circuit in the operating mode is determined by the operating mode and the gain, and the Buck-Boost circuit is controlled based on the duty cycle.

2. The method according to claim 1, characterized in that, Determining the operating mode of the Buck-Boost circuit based on the Gain includes: If Gain ≥ x, then the operating mode of the Buck-Boost circuit is determined to be Boost mode; If (x – 0.05) > Gain > y, then the operating mode of the Buck-Boost circuit is determined to be Buck-Boost mode; If Gain ≤ (y – 0.05), then the operating mode of the Buck-Boost circuit is determined to be Buck mode; Where x and y are the boundary values ​​for the switching of the Buck-Boost circuit's operating mode, x≥1.1, 0.9≥y, and 0.05 is the hysteresis value for the switching of the Buck-Boost circuit's operating mode.

3. The method according to claim 1, characterized in that, Determining the duty cycle of the Buck-Boost circuit in the operating mode based on the operating mode and the gain includes: Through formula Gain = duty_k / (1 - duty_t) Determine the duty cycle duty_k of the Buck circuit and the duty cycle duty_t of the Boost circuit under different operating modes respectively; If the Buck-Boost circuit operates in Boost mode, then duty_k = 1, and duty_t = 1 - 1 / Gain; If the Buck-Boost circuit operates in Buck-Boost mode, then duty_k = 0.8, and duty_t = 1 - 0.8 / Gain; If the Buck-Boost circuit operates in Buck mode, then duty_t = 0 and duty_k = Gain.

4. A control device for a Buck-Boost circuit, characterized in that, The device includes: The difference determination unit is used to determine the difference between the current output voltage and the target output voltage of the Buck-Boost circuit; Feedback parameter determination unit, used to determine the output voltage feedback control parameter V based on the difference. c , wherein, the V c The maximum value is V cmax ; The input voltage parameter determination unit is used to determine the input voltage parameter using the formula. k=[(a×V out_h ) / V in ] / V cmax Determine the input voltage feedforward control parameter k, where a is the output voltage margin coefficient and a>1, V in V is the current input voltage of the Buck-Boost circuit. out_h The maximum target output voltage; The output current parameter determination unit is used to determine the output current parameter using the formula. c=(I out ×R) / V in Determine the output current feedforward control parameter c, where I out R is the current output current of the Buck-Boost circuit, and R is the topological equivalent internal resistance of the Buck-Boost circuit. Pattern determination unit, used to determine the pattern using formulas Gain=V c ×k+c Determine the gain (Gain); The operating mode of the Buck-Boost circuit is determined based on the Gain. A duty cycle control unit is used to determine the duty cycle of the Buck-Boost circuit in the operating mode by means of the operating mode and the Gain, and to control the Buck-Boost circuit based on the duty cycle.

5. An electronic device, characterized in that, Including memory and processor; The memory is used to store programs; The processor is configured to execute the program to implement the various steps of the control method for the Buck-Boost circuit as described in any one of claims 1-3.

6. A readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the various steps of the control method for the Buck-Boost circuit as described in any one of claims 1-3.