A control method for a switching power supply and related components

By using fast loop control switching power supply in the test state and extending its maintenance time, the problem of frequent switching of switching power supply feedback circuits is solved, and the reliability and device life of switching power supply are improved.

CN114977755BActive Publication Date: 2025-07-29INVENTRONICS HANGZHOU
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111004445.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-30
Publication Date
2025-07-29
Estimated Expiration
2041-08-30

AI Technical Summary

Technical Problem

In the prior art, when the input parameters and output parameters change frequently in the prior art, the feedback circuit frequently switches the fast and slow rings, increasing the device pressure, which may lead to damage.

Method used

In the test state, fast loop is used for control, and through learning the maintenance time, the fast loop is extended to avoid switching between fast loops and slow loops. The fast loop is used to dynamically adjust the speed and respond quickly according to changes in input or output parameters.

Benefits of technology

Improves the reliability of switching power supplies, reduces device pressure, and avoids weakening and damage in response speed due to frequent switching.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114977755B_ABST
    Figure CN114977755B_ABST
Patent Text Reader

Abstract

The present invention discloses a control method for a switching power supply and related components. When the switching power supply is in a test state, the fast loop in the feedback circuit is used to control the power module in the switching power supply, and continuously learns the maintenance time of the test state and changes the maintenance time of the fast loop. The maintenance time of the fast loop is not less than the test time. That is, during the test, only the fast loop is used for adjustment, and there will be no switching process between the fast loop and the slow loop. Moreover, the dynamic adjustment speed of the fast loop is relatively fast, and it can quickly respond to changes in input sampling parameters or output sampling parameters. Thus, on the basis of ensuring the reliability of the output of the switching power supply, the stress on each device in the switching power supply can also be reduced, avoiding damage to the device caused by the weakening of the response speed of the switching power supply due to the frequent switching between the fast loop and the slow loop during testing, and improving the reliability 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 field of control of switching power supplies, and particularly to a control method for a switching power supply and related components. Background Art

[0002] In the feedback circuit of a switching power supply, a fast loop and a slow loop are usually set up, and then the power module in the switching power supply is controlled based on the fast loop or the slow loop. Specifically, the fast loop responds quickly when the switching power supply is turned on or there is external interference to control the power module, so as to maintain the stable output of the switching power supply; the slow loop controls the power circuit when the output of the switching power supply is relatively stable, so as to achieve functions such as improving the PF value of the switching power supply.

[0003] In the prior art, the fast loop is usually used when the switching power supply is turned on to achieve the fast start of the switching power supply. After the switching power supply is started, it is switched from the fast loop to the slow loop. After the switching power supply is started, if the input parameters or output parameters of the switching power supply change, the feedback circuit will be switched from the slow loop to the fast loop again for dynamic adjustment, and then enter the slow loop control after the adjustment. In the control method of the prior art, in the test situation, the input parameters and output parameters of the switching power supply change frequently. At this time, the feedback circuit of the switching power supply will switch frequently between the slow loop and the fast loop, increasing the pressure on each device in the switching power supply and easily causing damage to the switching power supply. Summary of the Invention

[0004] The object of the present invention is to provide a control method for a switching power supply and related components, which can reduce the pressure on each device in the switching power supply on the basis of ensuring the reliability of the output of the switching power supply, avoid the weakening of the response speed of the switching power supply caused by the frequent switching between the fast loop and the slow loop during testing and damage to the device, and improve the reliability of the switching power supply.

[0005] To solve the above technical problems, the present invention provides a control method for a switching power supply, including:

[0006] Sampling the input parameters and output parameters of the power module in the switching power supply to obtain input sampling parameters and output sampling parameters;

[0007] Judging whether the state of the switching power supply is a test state, where the test state is a state in which the number of changes of the input sampling parameters or the number of changes of the output sampling parameters exceeds a preset number within a first preset time;

[0008] If so, use the fast loop to control the power module and maintain it for a second time, and use the slow loop to control the power module after the second time;

[0009] Obtain the holding time of the test status multiple times, and record the maximum holding time among all the holding times;

[0010] Determine whether the second time is less than the maximum holding time;

[0011] If so, update the second time so that the second time is not less than the maximum holding time, and enter the step of continuously controlling the power module with the fast loop within the second time.

[0012] Preferably, the test status includes one or a combination of more than one of the power-on / off test status, input spark test status, lightning strike test status, output spark test status, and short-circuit test status;

[0013] The power-on / off status or the spark test status is the status in which the input voltage of the power module changes from zero to the first voltage and then to zero repeatedly for a preset number of times;

[0014] The lightning strike test status is the status in which the input voltage of the power module changes from the second voltage to the third voltage repeatedly for a preset number of times, and the third voltage is greater than the second voltage;

[0015] The output spark test status is the status in which the output current of the power module changes from the first current to zero and then to the first current repeatedly for a preset number of times;

[0016] The short-circuit test status is the status in which the output current of the power module changes from the first current to the second current repeatedly for a preset number of times or the status in which the output voltage changes from the fourth voltage to zero repeatedly for a preset number of times.

[0017] Preferably, the power module includes N power circuits, and when the N power circuits are connected in series in sequence, N is not less than 2;

[0018] The input parameter is the input parameter of the first power circuit, and the output parameter is the output parameter of the Nth power circuit.

[0019] Preferably, controlling the power module with the fast loop and maintaining the second time, and controlling the power module with the slow loop after the second time, includes:

[0020] Within the second time, control the power module based on the PID algorithm and using the first set of PID parameters, and after the second time, control the power module based on the PID algorithm and using the second set of PID parameters;

[0021] The first set of PID parameters includes a first proportional parameter, a first integral parameter, and a first derivative parameter. The second set of PID parameters includes a second proportional parameter, a second integral parameter, and a second derivative parameter. The first proportional parameter is not less than the second proportional parameter, the first integral parameter is not less than the second integral parameter, and the first derivative parameter is not less than the second derivative parameter.

[0022] Preferably, before sampling the input parameters and output parameters of the switching power supply to obtain input sampling parameters and output sampling parameters, it further includes:

[0023] Performing a soft start on the switching power supply.

[0024] Preferably, the switching power supply further includes a feedback circuit. Performing a soft start on the switching power supply includes:

[0025] Within a third preset time after the switching power supply starts, controlling the operation of the switching tube in the power module with a control parameter. The control parameter gradually changes from a first switching parameter to a second switching parameter within a preset time. The output power of the power module corresponding to the first switching parameter is less than the output power of the power module corresponding to the second switching parameter;

[0026] Within the preset time, obtaining the output parameters of the power module in real time;

[0027] Within the preset time, calculating the difference between the output parameters and the target parameters;

[0028] Within the preset time, calculating and saving the feedback output value of the feedback circuit based on the difference;

[0029] When the difference between the output parameters and the target parameters is within a preset range or the control parameter changes to the second switching parameter, determining the feedback control parameter of the switching tube based on the current feedback output value, and controlling the operation of the switching tube in the power module based on the feedback control parameter to make the output parameters of the power circuit stable at the target parameters.

[0030] To solve the above technical problems, the present application also provides a control system for a switching power supply, including:

[0031] A sampling unit for sampling the input parameters and output parameters of the power module in the switching power supply to obtain input sampling parameters and output sampling parameters;

[0032] A first judgment unit for judging whether the state of the switching power supply is a test state, where the test state is a state in which the number of changes of the input sampling parameters or the number of changes of the output sampling parameters exceeds a preset number within a first preset time;

[0033] A first control unit, configured to control the power module using a fast loop and maintain for a second time when the switching power supply is in a test state, and control the power module using a slow loop after the second time;

[0034] An acquisition unit, configured to acquire the maintenance time of the test state multiple times and record the maximum maintenance time among all the maintenance times;

[0035] A second determination unit, configured to determine whether the second time is less than the maximum maintenance time;

[0036] A second control unit, configured to update the second time when the second time is less than the maximum maintenance time, so that the second time is not less than the maximum maintenance time, and enter the step of continuously controlling the power module using the fast loop within the second time.

[0037] To solve the above technical problems, the present application further provides a control device for a switching power supply, including:

[0038] A memory, configured to store a computer program;

[0039] A processor, configured to implement the steps of the above control method for the switching power supply when executing the computer program.

[0040] To solve the above technical problems, the present application further provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the above control method for the switching power supply.

[0041] The present application provides a control method for a switching power supply and related components. When the switching power supply is in a test state, the fast loop in the feedback circuit is used to control the power module in the switching power supply, and continuously learn the maintenance time of the test state, and change the maintenance time of the fast loop, so that the maintenance time of the fast loop is not less than the test time. That is, during the test, only the fast loop is used for adjustment, and there will be no switching process between the fast loop and the slow loop. Moreover, the dynamic adjustment speed of the fast loop is relatively fast, and it can quickly respond to changes in input sampling parameters or output sampling parameters. Therefore, on the basis of ensuring the reliability of the switching power supply output, it can also reduce the pressure on each device in the switching power supply, avoid damage to the device caused by the weakening of the switching power supply response speed due to the frequent switching between the fast loop and the slow loop during testing, and improve the reliability of the switching power supply. Description of the Drawings

[0042] To more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required in the prior art and the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.

[0043] Figure 1 It is a schematic flowchart of a control method for a switching power supply provided by the present invention;

[0044] Figure 2 It is a structural block diagram of a control system for a switching power supply provided by the present invention;

[0045] Figure 3 It is a structural block diagram of a control device for a switching power supply provided by the present invention. Specific embodiments

[0046] The core of the present invention is to provide a control method for a switching power supply and related components. On the basis of ensuring the reliability of the output of the switching power supply, it can also reduce the pressure on each device in the switching power supply, avoid the weakening of the switching power supply response speed caused by the frequent switching between the fast loop and the slow loop during testing, and damage the devices, thereby improving the reliability of the switching power supply.

[0047] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art without creative efforts based on the embodiments of the present invention belong to the scope of protection of the present invention.

[0048] Please refer to Figure 1 , Figure 1 It is a schematic flowchart of a control method for a switching power supply provided by the present invention. The method includes:

[0049] S11: Sample the input parameters and output parameters of the power module in the switching power supply to obtain input sampling parameters and output sampling parameters;

[0050] S12: Determine whether the state of the switching power supply is a test state, where the test state is a state in which the number of changes in the input sampling parameters or the number of changes in the output sampling parameters exceeds a preset number within a first preset time;

[0051] S13: If so, use the fast loop to control the power module and maintain it for a second time, and use the slow loop to control the power module after the second time;

[0052] S14: Obtain the maintenance time of the test status multiple times and record the maximum maintenance time among all the maintenance times;

[0053] S15: Determine whether the second time is less than the maximum maintenance time;

[0054] S16: If so, update the second time so that the second time is not less than the maximum maintenance time, and enter S13.

[0055] Considering that when testing a switching power supply in the prior art, it is necessary to continuously change the input parameters or output parameters of the switching power supply. At this time, when using the control method in the prior art, it is necessary to continuously control the feedback circuit to switch between the fast loop and the slow loop, which weakens the response speed of the switching power supply, causes excessive pressure on the device, and may damage the switching power supply.

[0056] To solve the above technical problems, this application designs a control method for a switching power supply: in the test state, control the feedback circuit of the switching power supply to use only one loop, that is, only the fast loop or the slow loop, so as to avoid frequent switching between the fast loop and the slow loop and reduce the pressure on the switching power supply. And by continuously learning the maintenance time of the test state and changing the maintenance time of the fast loop, the maintenance time of the fast loop is not less than the test time. Based on this, the control method of the switching power supply in this application is: determine whether the current switching power supply is in the test state according to the input parameters or output parameters of the power module. If so, continuously control the power module with the fast loop within the second time, so as to avoid frequent switching of the feedback circuit in the switching power supply between the fast loop and the slow loop.

[0057] Among them, the determination method of the test state in this application is: if the number of changes of the input sampling parameters or output sampling parameters of the power module exceeds the preset number within the first preset time, it is determined that the switching power supply is in the test state at this time, and then the above steps are executed. At the same time, if the number of changes of the input sampling parameters and the number of changes of the output sampling parameters do not exceed the preset number within the first preset time, it is determined that the switching power supply is in the non-test state at this time.

[0058] In addition, the second time is not less than the test time, and it can also be equal to the test time or greater than the test time (to more reliably ensure that there is no switching between the fast loop and the slow loop within the test time). As a preferred embodiment, the determination method of the second time can be: obtain the maintenance time of the test state multiple times, record the maximum maintenance time among all the maintenance times, then determine whether the second time is less than the maximum maintenance time. If so, update the second time at this time so that the second time is not less than the maximum maintenance time, and then enter the step of continuously controlling the power module with the fast loop within the second time.

[0059] It should be noted that the method for maintaining the acquisition time of the test status multiple times can be to determine whether the switching power supply is in the test status at fixed intervals. If so, record the maintenance time of the test status at this time as one maintenance time. It can also be to continuously determine whether the switching power supply is in the test status in real time and record the maintenance time of the test status in real time. When the maintenance time of the test status is greater than the second time, update the second time to make it greater than the maintenance time.

[0060] Specifically, it can be to first set the fast loop delay time Δloop and the delay times n, sample the maintenance time of each test status and the number of tests within the set time, denoted as Δcount and n1 respectively, and update the value of Δpair or n, or update both simultaneously so that Δt * n ≥ Δt1 * n1. In this application, by identifying the test status and delaying the control time of the fast loop in the feedback loop in the test status, and at the same time, by analyzing the number of tests and time, continuously update the fast loop delay time, it can be ensured that there is no switching between the fast loop and the slow loop during the test time, thereby improving the reliability of the switching power supply during the test.

[0061] As a preferred embodiment, the test status includes one or a combination of multiple of the power-on / off test status, input spark test status, lightning strike test status, output spark test status, and short-circuit test status;

[0062] The power-on / off status or the spark test status is a status in which the input voltage of the power module changes suddenly from zero to the first voltage and then suddenly to zero, and this process is repeated a preset number of times;

[0063] The lightning strike test status is a status in which the input voltage of the power module changes suddenly from the second voltage to the third voltage, and this process is repeated a preset number of times, and the third voltage is greater than the second voltage;

[0064] The output spark test status is a status in which the output current of the power module changes suddenly from the first current to zero and then suddenly to the first current, and this process is repeated a preset number of times;

[0065] The short-circuit test status is a status in which the output current of the power module changes suddenly from the first current to the second current and this process is repeated a preset number of times, or a status in which the output voltage changes suddenly from the fourth voltage to zero and this process is repeated a preset number of times.

[0066] In the power-on / off test, if the tester performs 10 power-on / off tests on the switching power supply within 30 seconds in one round of testing, then in this test, 30 seconds is the maintenance time of this test.

[0067] Among them, the first voltage, second voltage, and third voltage mentioned in this embodiment are non-zero voltage amplitudes, and the first current and second current are non-zero current amplitudes, which are specifically determined according to the actual situation, and this application does not make special limitations here.

[0068] It should be noted that the time for maintaining each test state in this application refers to the time maintained by the tester for each group of tests in each test item. For example:

[0069] In the on-off test, the tester performed 10 on-off tests on the switching power supply within 30 seconds in one round of testing. Then, in this test, 30 seconds is the maintenance time for this test.

[0070] In addition, as a preferred embodiment, in the on-off test state, when the input voltage changes, the changed input voltage can be recorded or stored, so that the data will not be lost after shutdown, that is, the data will not be lost after power failure, thereby avoiding data loss and improving data security.

[0071] In summary, in the control method of the switching power supply in this application, during the test process, by delaying the fast loop and learning the maintenance time of the test process, the delay time is continuously updated, so that only the fast loop is used for adjustment during the test process, and there will be no switching process between the fast loop and the slow loop. Moreover, the dynamic adjustment speed of the fast loop is relatively fast, and it can quickly respond to changes in input sampling parameters or output sampling parameters. Thus, on the basis of ensuring the reliability of the switching power supply output, the pressure on each device in the switching power supply can be reduced, and the damage to the switching power supply caused by the reduction of the response speed of the switching power supply due to the frequent switching between the fast loop and the slow loop can be avoided, improving the reliability of the switching power supply.

[0072] On the basis of the above embodiments:

[0073] As a preferred embodiment, the power module includes N power circuits, and when the N power circuits are connected in series in sequence, N is not less than 2;

[0074] The input parameter is the input parameter of the first power circuit, and the output parameter is the output parameter of the Nth power circuit.

[0075] Considering that the power module may be N power circuits connected in series in sequence, at this time, the input parameter of the corresponding power module is the input parameter of the first power circuit after series connection, where the input parameter can include, but is not limited to, input voltage and input current; the output parameter of the corresponding power module is the output parameter of the last power circuit after series connection, where the output parameter can include, but is not limited to, output voltage and output current, etc. This application does not make special limitations here.

[0076] It should be noted that the power circuit in this application can include, but is not limited to, a DC / DC (Direct current-Direct current converter) circuit, or it can be other power circuits. This application does not make special limitations here.

[0077] As a preferred embodiment, a fast loop is used to control the power module and maintain a second time, and after the second time, a slow loop is used to control the power module, including:

[0078] Based on the PID algorithm (Proportion Integral Differential), the first set of PID parameters is used to control the power module and maintain the second time, and after the second time, based on the PID algorithm, the second set of PID parameters is used to control the power module;

[0079] The first set of PID parameters includes a first proportional parameter, a first integral parameter, and a first differential parameter. The second set of PID parameters includes a second proportional parameter, a second integral parameter, and a second differential parameter, and the first proportional parameter is not less than the second proportional parameter, the first integral parameter is not less than the second integral parameter, and the first differential parameter is not less than the second differential parameter.

[0080] It should be noted that the first proportional parameter can be equal to the second proportional parameter, the first integral parameter can be equal to the second integral parameter, and the first differential parameter can be equal to the second differential parameter. However, there is no case where the first proportional parameter and the second proportional parameter, the first integral parameter and the second integral parameter, and the first differential parameter and the second differential parameter are all equal.

[0081] This application aims to provide a specific method for controlling a power module based on a fast loop or a slow loop. Specifically, the PID algorithm is used to control the power module. When using the PID algorithm for control, the corresponding control parameters include a proportional parameter, an integral parameter, and a differential parameter. Correspondingly, within the second time, based on the first proportional parameter, the first integral parameter, and the first differential parameter of the fast loop and the PID algorithm, the power module is controlled to quickly respond when the output parameter or the output parameter changes in the power module of the switching power supply, so as to stabilize the output parameter of the switching power supply to the target parameter; after the second time, based on the second proportional parameter, the second integral parameter, and the second differential parameter of the slow loop and the PID algorithm, the power module is controlled to enable the switching power supply to have performance such as a high PF value.

[0082] Specifically, the PID algorithm is as follows:

[0083]

[0084] u k is the output value after the kth sampling, u o is the output value of the switching power supply when it is not powered on, e k is the output value u of the circuit at the kth sampling k and the difference from the expected value, e k-1The output value u of the circuit during the (k - 1)-th sampling k-1 The difference from the expected value. In the PID algorithm, based on the circuit output quantity u k Calculate the difference e from the expected value k , where KP is the proportional parameter (the first proportional parameter or the second proportional parameter), KI is the integral parameter (the first integral parameter or the second integral parameter), KD is the differential parameter (the first differential parameter or the second differential parameter). After performing the above operations, the controller outputs the corresponding control strategy according to the operation result (feedback output value), such as increasing or decreasing the frequency or duty cycle, etc., so that u k Stabilizes at the expected value.

[0085] As a preferred embodiment, before sampling the input parameters and output parameters of the switching power supply to obtain the input sampling parameters and output sampling parameters, it further includes:

[0086] Soft-start the switching power supply, including:

[0087] Within the third preset time after the switching power supply starts, control the action of the switching tube in the power module with the control parameter. The control parameter gradually changes from the first switching parameter to the second switching parameter within the preset time, and the output power of the power module corresponding to the first switching parameter is less than the output power of the power module corresponding to the second switching parameter;

[0088] During the preset time, obtain the output parameters of the power module in real time;

[0089] During the preset time, calculate the difference between the output parameters and the target parameters;

[0090] During the preset time, calculate and save the feedback output value of the feedback circuit based on the difference;

[0091] When the difference between the output parameters and the target parameters is within the preset range or the control parameter changes to the second switching parameter, and based on the current feedback output value, determine the feedback control parameter of the switching tube, and control the action of the switching tube in the power module based on the feedback control parameter, so that the output parameters of the power circuit are stabilized at the target parameters.

[0092] Considering that when directly starting the switching power supply, there may be a large inrush current, which may cause damage to the switching power supply at this time.

[0093] To solve the above problems, in this application, soft start is performed when the switching power supply is started. Specifically, the output power of the power module in the switching power supply is controlled to gradually increase to reduce the inrush current. When controlling the control parameters of the power circuit to achieve soft start of the switching power supply, since the feedback circuit does not work during the soft start period, when switching to the feedback process after the soft start ends, there will also be a large inrush current and the effect of soft start cannot be fully achieved. Therefore, in this application, a method is designed in which the feedback loop performs calculations during the soft start period but does not execute the calculation results. When using this method to switch to the feedback loop, the difference between the corresponding output parameter and the expected parameter is small, and the corresponding feedback output value calculated based on this difference is small. Then, when controlling the power circuit based on this feedback output value, large inrush current is avoided, thereby avoiding damage to the switching power supply.

[0094] Please refer to Figure 2 , Figure 2 FIG. is a structural block diagram of a control system for a switching power supply provided by the present invention. The system includes:

[0095] A sampling unit 21 for sampling the input parameters and output parameters of the power module in the switching power supply to obtain input sampling parameters and output sampling parameters;

[0096] A first determination unit 22 for determining whether the state of the switching power supply is a test state, where the test state is a state in which the number of changes in the input sampling parameters or the number of changes in the output sampling parameters exceeds a preset number within a first preset time;

[0097] A first control unit 23 for, when the switching power supply is in the test state, using a fast loop to control the power module and maintaining it for a second time, and using a slow loop to control the power module after the second time;

[0098] An acquisition unit 24 for acquiring the maintenance time of the test state multiple times and recording the maximum maintenance time among all the maintenance times;

[0099] A second determination unit 25 for determining whether the second time is less than the maximum maintenance time;

[0100] A second control unit 26 for, when the second time is less than the maximum maintenance time, updating the second time so that the second time is not less than the maximum maintenance time, and entering the step of continuously using the fast loop to control the power module within the second time.

[0101] To solve the above technical problems, this application also provides a control system for a switching power supply. For the introduction of the control system for the switching power supply, please refer to the above embodiments, and this application will not elaborate here.

[0102] Please refer to Figure 3 ,Figure 3 The structural block diagram of a control device for a switching power supply provided by the present invention, the device includes:

[0103] A memory 31 for storing a computer program;

[0104] A processor 32 for implementing the steps of the above-mentioned control method of the switching power supply when executing the computer program.

[0105] To solve the above technical problems, the present application also provides a control device for a switching power supply. For the introduction of the control device for the switching power supply, please refer to the above embodiments, and the present application will not elaborate herein.

[0106] To solve the above technical problems, the present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned control method of the switching power supply are implemented. For the specific introduction of the computer-readable storage medium, please refer to the above embodiments, and the present application will not elaborate herein.

[0107] In this specification, the various embodiments are described in a progressive manner. Each embodiment focuses on the differences from other embodiments. The same or similar parts among the various embodiments can be referred to each other. For the devices disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple. For the relevant parts, please refer to the description in the method part.

[0108] It should also be noted that in this specification, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variant thereof is intended to cover a non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not expressly listed, or also includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "including a..." does not exclude the existence of another identical element in the process, method, article or device including the element.

[0109] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be obvious to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but will be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A control method for a switching power supply, characterized in that, Including: Sampling the input parameters and output parameters of the power module in the switching power supply to obtain input sampling parameters and output sampling parameters; Determining whether the state of the switching power supply is a test state, where the test state is a state in which the number of changes in the input sampling parameters or the number of changes in the output sampling parameters exceeds a preset number within a first preset time; If so, using a fast loop to control the power module and maintaining it for a second time, and using a slow loop to control the power module after the second time; Obtaining the maintenance time of the test state multiple times and recording the maximum maintenance time among all the maintenance times; Determining whether the second time is less than the maximum maintenance time; If so, updating the second time so that the second time is not less than the maximum maintenance time, and entering the step of continuously using the fast loop to control the power module within the second time; Wherein, the using a fast loop to control the power module and maintaining it for a second time, and using a slow loop to control the power module after the second time includes: Based on the PID algorithm and using a first set of PID parameters to control the power module and maintain the second time, and after the second time, based on the PID algorithm and using a second set of PID parameters to control the power module; The first set of PID parameters includes a first proportional parameter, a first integral parameter, and a first derivative parameter, the second set of PID parameters includes a second proportional parameter, a second integral parameter, and a second derivative parameter, and the first proportional parameter is not less than the second proportional parameter, the first integral parameter is not less than the second integral parameter, and the first derivative parameter is not less than the second derivative parameter.

2. The control method of the switching power supply according to claim 1, characterized in that, The test state includes one or a combination of multiple of the power-on / off test state, the input arcing test state, the lightning strike test state, the output arcing test state, and the short-circuit test state; The power-on / off test state or the input arcing test state is a state in which the input voltage of the power module suddenly changes from zero to a first voltage and then suddenly changes to zero for a preset number of repetitions; The lightning strike test state is a state in which the input voltage of the power module suddenly changes from a second voltage to a third voltage for a preset number of repetitions, and the third voltage is greater than the second voltage; The output arcing test state is a state in which the output current of the power module suddenly changes from a first current to zero and then suddenly changes to the first current for a preset number of repetitions; The short-circuit test state is a state in which the output current of the power module suddenly changes from a first current to a second current and then suddenly changes to the first current for a preset number of repetitions or a state in which the output voltage suddenly changes from a fourth voltage to zero and then suddenly changes to the fourth voltage for a preset number of repetitions.

3. The control method of the switching power supply according to claim 2, characterized in that, The power module includes N power circuits, and when the N power circuits are connected in series in sequence, N is not less than 2; The input parameter is the input parameter of the first power circuit, and the output parameter is the output parameter of the Nth power circuit.

4. The control method of the switching power supply according to any one of claims 1-3, characterized in that, Before sampling the input parameters and output parameters of the switching power supply to obtain input sampling parameters and output sampling parameters, it further includes: Performing a soft start on the switching power supply.

5. The control method of the switching power supply according to claim 4, characterized in that, The switching power supply further includes a feedback circuit, and performing a soft start on the switching power supply includes: Within a third preset time after the start of the switching power supply, control the operation of the switching transistor in the power module with control parameters. The control parameters are gradually changed from a first switching parameter to a second switching parameter within a preset time. The output power of the power module corresponding to the first switching parameter is less than the output power of the power module corresponding to the second switching parameter; Within the preset time, obtain the output parameters of the power module in real time; Within the preset time, calculate the difference between the output parameters and the target parameters; Within the preset time, calculate and save the feedback output value of the feedback circuit based on the difference; When the difference between the output parameters and the target parameters is within a preset range or the control parameters are changed to the second switching parameter, determine the feedback control parameters of the switching transistor based on the current feedback output value, and control the operation of the switching transistor in the power module to make the output parameters of the power circuit stable at the target parameters.

6. A control system for a switching power supply, characterized in that, Comprising: A sampling unit for sampling the input parameters and output parameters of the power module in the switching power supply to obtain input sampling parameters and output sampling parameters; A first judgment unit for judging whether the state of the switching power supply is a test state, wherein the test state is a state in which the number of changes of the input sampling parameters or the number of changes of the output sampling parameters exceeds a preset number within a first preset time; A first control unit for controlling the power module with a fast loop and maintaining a second time when the switching power supply is in the test state, and controlling the power module with a slow loop after the second time; An acquisition unit for acquiring the maintenance time of the test state multiple times and recording the maximum maintenance time among all the maintenance times; A second judgment unit for judging whether the second time is less than the maximum maintenance time; A second control unit for updating the second time when the second time is less than the maximum maintenance time so that the second time is not less than the maximum maintenance time, and entering the step of continuously controlling the power module with a fast loop within the second time; Wherein, the first control unit is used to control the power module based on the PID algorithm and use a first set of PID parameters to maintain the second time, and after the second time, control the power module based on the PID algorithm and use a second set of PID parameters; The first set of PID parameters includes a first proportional parameter, a first integral parameter and a first derivative parameter, and the second set of PID parameters includes a second proportional parameter, a second integral parameter and a second derivative parameter, and the first proportional parameter is not less than the second proportional parameter, the first integral parameter is not less than the second integral parameter, and the first derivative parameter is not less than the second derivative parameter.

7. A control device for a switching power supply, characterized in that, Comprising: A memory for storing a computer program; A processor for implementing the steps of the control method of the switching power supply as described in any one of claims 1-5 when executing the computer program.

8. A computer-readable storage medium, characterized in that, A computer program is stored on a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the control method of the switching power supply as described in any one of claims 1-5 are implemented.

Citation Information

Patent Citations

  • Power converter and power converter frequency characteristic testing and adjusting method

    CN104980043A

  • Changeable loop control circuit and switching power supply

    CN205792193U