Switching power supply system and switching frequency adjusting method and device

By using a power management chip to calculate and determine the optimal frequency in a switching power supply system and then programming it online into the power control chip, the power loss problem caused by component deviation and chip error is solved, thereby improving the power conversion efficiency of the switching power supply system.

CN116207954BActive Publication Date: 2026-06-09西安远图未来科技有限公司

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
西安远图未来科技有限公司
Filing Date
2023-03-24
Publication Date
2026-06-09

AI Technical Summary

Technical Problem

Due to deviations in the capacitance of inductors and capacitors in soft switching and errors in the power control chip, the impedance of the switching transistor is high when it is not fully turned on, resulting in power loss and affecting the power conversion efficiency of the switching power supply system. The loss is more significant when the system power increases.

Method used

The power management chip of the switching power supply system calculates multiple adjustment frequencies based on the total system deviation and the error of the power control chip. The optimal frequency is determined by comparing and testing efficiency. Finally, the optimal frequency is programmed into the power control chip online to control the on and off of the soft switch.

Benefits of technology

This achievement ensures the highest power conversion efficiency of the switching power supply system under different system deviation conditions, reduces losses caused by device deviation and chip error, and improves the overall power conversion efficiency of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116207954B_ABST
    Figure CN116207954B_ABST
Patent Text Reader

Abstract

The application provides a switching power supply system and a switching frequency adjusting method and device. The method comprises the following steps: obtaining a system total deviation of the switching power supply system; calculating a first adjusting frequency according to the system total deviation and an initial frequency; the system total deviation is determined by a device deviation of a soft switch and a deviation of a power supply control chip; the initial frequency is used to represent a switching frequency at an initial moment of the switching power supply system; calculating a first test efficiency according to the first adjusting frequency; the first test efficiency is used to represent a power conversion efficiency of the switching power supply system when the switching frequency is the first adjusting frequency; determining an optimal frequency according to an initial efficiency and the first test efficiency; the initial efficiency is used to represent the power conversion efficiency of the switching power supply system when the switching frequency is the initial frequency; and online burning the optimal frequency to the power supply control chip, so that the power supply control chip controls the soft switch to turn on and turn off according to the optimal frequency. The method is beneficial to realize the switching power supply system with high power conversion efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to switching power supply technology, and more particularly to a switching power supply system and a switching frequency regulation method and apparatus. Background Technology

[0002] A switching power supply system typically includes a soft switch and a power control chip. The power control chip has a fixed switching frequency programmed into it. The soft switch turns on and off at this frequency to obtain the output voltage change. In known technologies, this switching frequency is usually the LC resonant frequency of the soft switch.

[0003] Due to deviations in the capacitance of inductors and capacitors in soft switching, as well as errors in the power control chip, the impedance of the switching transistor in soft switching will be very high when it is not fully turned on, resulting in power loss. This loss becomes increasingly larger as the system power increases, which is detrimental to improving the system's power conversion efficiency. Summary of the Invention

[0004] This application provides a switching power supply system and a switching frequency adjustment method and apparatus, which are used to determine the optimal frequency based on the total device deviation of the system and the error of the power control chip, and to program the optimal frequency into the power control chip to obtain a switching power supply system with high conversion efficiency.

[0005] On one hand, this application provides a switching frequency adjustment method, the method comprising:

[0006] The total system deviation of the switching power supply system is obtained, and a first adjustment frequency is calculated based on the total system deviation and the initial frequency. The total system deviation is determined by the device deviation of the soft switch and the deviation of the power control chip, and the initial frequency is used to represent the initial switching frequency of the switching power supply system.

[0007] The first test efficiency is calculated based on the first adjustment frequency, and the first test efficiency is used to represent the power conversion efficiency of the switching power supply system when the switching frequency is the first adjustment frequency.

[0008] The optimal frequency is determined based on the initial efficiency and the first test efficiency, wherein the initial efficiency is used to represent the power conversion efficiency of the switching power supply system when the switching frequency is the initial frequency;

[0009] The optimal frequency is programmed online into the power control chip so that the power control chip controls the soft switch to turn on and off according to the optimal frequency.

[0010] In another possible implementation, calculating the first adjustment frequency based on the total system deviation and the initial frequency includes:

[0011] Based on the total system deviation, a first frequency deviation is determined, wherein the first frequency deviation is the absolute value of the total system deviation;

[0012] Based on the first frequency deviation and the first preset rule, a first adjustment span is calculated. The first preset rule is used to divide the first frequency deviation n into equal parts to obtain the first adjustment span, where n is an integer greater than 1.

[0013] The first adjustment frequency is determined based on the first adjustment span and the initial frequency. The first adjustment frequency is obtained by increasing or decreasing the initial frequency according to the first adjustment span. The number of the first adjustment frequencies is 2n.

[0014] In another possible implementation, after calculating the first test efficiency based on the first adjustment frequency, the method further includes:

[0015] Based on the first test efficiency, a first frequency and a second frequency are determined, and the test efficiencies corresponding to the first frequency and the second frequency are the two largest test efficiencies among the first test efficiencies.

[0016] Based on the first frequency and the second frequency, a second adjustment frequency is determined, wherein the second adjustment span corresponding to the second adjustment frequency is smaller than the first adjustment span;

[0017] Calculate the second test efficiency based on the second adjustment frequency;

[0018] The step of determining the optimal frequency based on the initial efficiency and the first test efficiency includes:

[0019] The optimal frequency is determined based on the initial efficiency, the first test efficiency, and the second test efficiency.

[0020] In another possible implementation, determining the second adjustment frequency based on the first frequency and the second frequency includes:

[0021] The second frequency deviation is determined based on the first frequency and the second frequency;

[0022] The second adjustment span is calculated based on the second frequency deviation and the second preset rule. The second preset rule is used to divide the second frequency deviation m into equal parts to obtain the second adjustment span, where m is an integer greater than 0 and m is less than n.

[0023] Within the first frequency and the second frequency, the second adjustment frequency is determined based on the second adjustment span.

[0024] In another possible implementation, determining the optimal frequency based on the initial efficiency, the first test efficiency, and the second test efficiency includes:

[0025] According to the third preset rule, the initial efficiency, the first test efficiency, and the second test efficiency are sorted to obtain an efficiency sequence; the third preset rule is used to arrange the initial efficiency, the first test efficiency, and the second test efficiency in descending order.

[0026] The frequency corresponding to the first test efficiency in the efficiency sequence is taken as the optimal frequency; the first test efficiency is the highest value among the initial efficiency, the first test efficiency, and the second test efficiency.

[0027] Secondly, this application provides a switching power supply system, the system comprising:

[0028] A soft switch is used to acquire a switching command and turn on or off according to the switching command to pulse modulate the input voltage and realize voltage conversion. The soft switch includes a capacitor, an inductor and a switching transistor.

[0029] A power control chip is used to acquire the switching frequency, generate a switching command based on the switching frequency, and send it to the soft switch;

[0030] A power management chip is used to calculate power conversion efficiency based on input power and output power, and is also used to connect to the power control chip and execute the switching frequency adjustment method as described in any of the first aspects.

[0031] Thirdly, this application provides a switching frequency adjustment device, which includes a calculation module, a determination module, and an adjustment module, wherein...

[0032] The calculation module is used to obtain the total system deviation of the switching power supply system, and calculate the first adjustment frequency based on the total system deviation and the initial frequency; the total system deviation is determined by the device deviation of the soft switch and the deviation of the power control chip, and the initial frequency is used to represent the initial switching frequency of the switching power supply system;

[0033] The calculation module is further configured to calculate a first test efficiency based on the first adjustment frequency, wherein the first test efficiency is used to represent the power conversion efficiency of the switching power supply system when the switching frequency is the first adjustment frequency.

[0034] The determining module is used to determine the optimal frequency based on the initial efficiency and the first test efficiency, wherein the initial efficiency is used to represent the power conversion efficiency of the switching power supply system when the switching frequency is the initial frequency;

[0035] The adjustment module is used to program the optimal frequency online into the power control chip, so that the power control chip controls the soft switch to turn on and off according to the optimal frequency.

[0036] In another possible implementation, the computing module is specifically used for:

[0037] Based on the total system deviation, a first frequency deviation is determined, wherein the first frequency deviation is the absolute value of the total system deviation;

[0038] Based on the first frequency deviation and the first preset rule, a first adjustment span is calculated. The first preset rule is used to divide the first frequency deviation n into equal parts to obtain the first adjustment span, where n is an integer not less than 1.

[0039] The first adjustment frequency is determined based on the first adjustment span and the initial frequency. The first adjustment frequency is obtained by increasing or decreasing the initial frequency according to the first adjustment span. The number of the first adjustment frequencies is 2n.

[0040] In another possible implementation, the computing module is also used for:

[0041] Based on the first test efficiency, a first frequency and a second frequency are determined, and the test efficiencies corresponding to the first frequency and the second frequency are the two largest test efficiencies among the first test efficiencies.

[0042] Based on the first frequency and the second frequency, a second adjustment frequency is determined, wherein the second adjustment span corresponding to the second adjustment frequency is smaller than the first adjustment span;

[0043] Calculate the second test efficiency based on the second adjustment frequency;

[0044] The determining module is specifically used for:

[0045] The optimal frequency is determined based on the initial efficiency, the first test efficiency, and the second test efficiency.

[0046] In another possible implementation, the computing module is specifically used for:

[0047] The second frequency deviation is determined based on the first frequency and the second frequency;

[0048] The second adjustment span is calculated based on the second frequency deviation and the second preset rule. The second preset rule is used to divide the second frequency deviation m into equal parts to obtain the second adjustment span, where m is an integer not less than 1.

[0049] Within the first frequency and the second frequency, the second adjustment frequency is determined based on the second adjustment span.

[0050] In another possible implementation, the determining module is specifically used for:

[0051] According to the third preset rule, the initial efficiency, the first test efficiency, and the second test efficiency are sorted to obtain an efficiency sequence; the third preset rule is used to arrange the initial efficiency, the first test efficiency, and the second test efficiency in descending order.

[0052] The frequency corresponding to the first test efficiency in the efficiency sequence is taken as the optimal frequency; the first test efficiency is the highest value among the initial efficiency, the first test efficiency, and the second test efficiency.

[0053] Fourthly, this application provides an electronic device, comprising: at least one processor and a memory;

[0054] The memory stores computer-executed instructions;

[0055] The at least one processor executes computer execution instructions stored in the memory, causing the at least one processor to perform the switching frequency adjustment method as described in any of the first aspects above.

[0056] Fifthly, this application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the switching frequency adjustment method as described in any of the first aspects above.

[0057] This application provides a switching power supply system and a method and apparatus for adjusting the switching frequency. The method is executed by the power management chip of the switching power supply system. First, the power management chip determines a first adjustment frequency based on the total device deviation of the system and the error of the power control chip, and calculates a first test efficiency based on the first adjustment frequency. Second, the power management chip determines a first frequency and a second frequency based on the first test efficiency, determines a second frequency deviation based on the first and second frequencies, and determines a second adjustment frequency based on the second frequency deviation. Finally, the second test efficiency is calculated based on the second adjustment frequency, and an optimal frequency is determined based on the first test efficiency, the second test efficiency, and the initial efficiency. The optimal frequency corresponds to the highest test efficiency.

[0058] Using the method of this application, the power management chip of the switching power supply system adjusts the switching frequency according to the total device deviation of the system and the error of the power control chip to find the optimal frequency that maximizes the power conversion efficiency. The optimal frequency is then programmed into the power control chip online to achieve a switching power supply system with high power conversion efficiency. Attached Figure Description

[0059] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0060] Figure 1a A structural block diagram of a switching power supply system provided in an embodiment of this application;

[0061] Figure 1b Example diagram of a 48V to 12V switching power supply system provided in the embodiments of this application;

[0062] Figure 2 A schematic flowchart of a switching frequency adjustment method provided in this application embodiment is shown below;

[0063] Figure 3 A flowchart illustrating a switching frequency adjustment method provided in this application embodiment. Figure 2 ;

[0064] Figure 4 A flowchart illustrating a switching frequency adjustment method provided in this application embodiment. Figure 3 ;

[0065] Figure 5 This is a schematic diagram of the structure of a switching frequency adjustment device provided in an embodiment of this application;

[0066] Figure 6 An electronic device provided in the embodiments of this application.

[0067] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation

[0068] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0069] Switching power supply systems utilize electronic switching devices (such as transistors, field-effect transistors, and silicon controlled thyristors) and power control chips to control these devices to continuously "turn on" and "turn off," allowing them to pulse-modulate the input voltage and thus achieve DC / AC and DC / DC voltage variations, as well as adjustable and automatic voltage regulation of the output voltage.

[0070] In known technologies, to address the problem of low power conversion efficiency caused by losses in electronic switching devices, switching power supply systems typically employ soft switching, such as zero-voltage switching or zero-current switching. Therefore, a switching power supply system generally includes a soft switch and a power control chip. The power control chip has a fixed switching frequency programmed into it, and it controls the soft switch to turn on and off using this frequency. In known technologies, this switching frequency is typically the LC resonant frequency of the soft switch.

[0071] For the aforementioned switching power supply system, due to variations in the capacitance of the inductors and capacitors in the soft switch, as well as inherent errors in the power control chip itself, the impedance of the switching transistor in the soft switch will be very high when it is not fully turned on, resulting in power loss. Furthermore, as the system power of the switching power supply increases, the loss becomes increasingly significant, thus hindering the improvement of the power conversion efficiency of the switching power supply system.

[0072] This application provides a switching power supply system and a method and apparatus for adjusting the switching frequency. In this application, the power management chip of the switching power supply system calculates multiple adjustment frequencies based on the total system deviation of the switching power supply system, and calculates the test efficiency for each adjustment frequency. Finally, by comparing the test efficiencies corresponding to multiple adjustment frequencies, the adjustment frequency that achieves the highest test efficiency is determined. This adjustment frequency is then used as the optimal frequency and programmed online into the power control chip of the switching power supply system, so that the power control chip controls the soft switch to turn on and off at the optimal frequency.

[0073] Using the method of this application, the power management chip of the switching power supply system first obtains multiple adjustment frequencies based on the total system deviation, then determines the optimal frequency by comparing the test efficiency of the multiple adjustment frequencies, and then programs the optimal frequency into the power control chip online, thereby realizing a switching power supply system with high power conversion efficiency.

[0074] The following detailed description of some embodiments of this application is provided in conjunction with the accompanying drawings. Where the embodiments do not conflict, the following embodiments and features thereof can be combined with each other.

[0075] Figure 1a A structural block diagram of a switching power supply system provided in this application embodiment is shown below. Figure 1aAs shown, the switching power supply system of this application includes a soft switch, a power control chip, and a power management chip. Specifically, the power management chip is connected to the power control chip and is used to program the switching frequency online into the power control chip, and also to execute the switching frequency adjustment method provided in this application. The power control chip obtains the switching frequency programmed online by the power management chip, and generates switching commands for controlling the soft switch to turn on and off based on the switching frequency. The soft switch is connected to the power control chip to receive the switching commands, and turns on and off according to the switching commands to pulse modulate the input voltage and realize voltage conversion. The soft switch includes a capacitor, an inductor, and a switching transistor, and the switching frequency is consistent with the resonant frequency of the soft switch.

[0076] In this embodiment, the power management chip calculates the power conversion efficiency based on the detected input power and output power. Optionally, the switching power supply system further includes a power detection chip connected to the power management chip, through which the power management chip obtains the input power and output power.

[0077] For example, Figure 1b An example diagram of a 48V to 12V switching power supply system provided in this application embodiment is shown below. Figure 1b As shown, after the switching power supply system receives a 48V input, the power control chip controls the soft switch to turn on and off at the switching frequency programmed into the power management chip, ultimately obtaining a 12V output. The power detection chip detects the input power before conversion and the output power after conversion, and sends the detection results to the power management chip.

[0078] Figure 2 A schematic flowchart of a switching frequency adjustment method provided in this application embodiment is shown below. Figure 2 As shown, the method provided in this embodiment includes:

[0079] S201, Obtain the total system deviation, and calculate the first adjustment frequency based on the total system deviation and the initial frequency.

[0080] The total system deviation is determined by the device deviation of the soft switching and the deviation of the power control chip, and the initial frequency is used to represent the initial switching frequency of the switching power supply system.

[0081] Specifically, in this embodiment, the device deviation of the soft switch includes the deviation of the capacitor and the inductor. The total system deviation is obtained by summing the device deviation of the soft switch and the deviation of the power control chip. For example, if the combined deviation of the capacitor and the inductor is ±20%, and the deviation of the power control chip is ±10%, then the total system deviation is ±30%. It can be understood that the device deviation of the capacitor and the inductor, as well as the deviation of the power control chip, can be determined by their model numbers.

[0082] Optionally, in practical applications, if the influence of the device deviation of the soft switch and the deviation of the power control chip on the power conversion efficiency is known, then weighting coefficients can be assigned to the device deviation of the soft switch and the deviation of the power control chip according to the corresponding influence. When calculating the total system deviation, the device deviation of the soft switch and the deviation of the power control chip are multiplied by the corresponding weighting coefficients respectively.

[0083] Understandably, the switching frequency will be affected when the total system deviation exists. In this embodiment, the total system deviation is considered when setting the switching frequency, and is used as the frequency deviation. The initial frequency is adjusted appropriately according to the frequency deviation. That is, the first adjustment frequency is calculated based on the total system deviation and the initial frequency. Since the existence of deviation will cause the corresponding indicators to increase or decrease, it is understandable that in this embodiment, there are at least two first adjustment frequencies, one of which is greater than the initial frequency and the other is less than the initial frequency.

[0084] In the example above, if the total system deviation is ±30%, the first adjustment frequency calculated based on the total system deviation and the initial frequency can be the initial frequency +30% or the initial frequency -30%.

[0085] S202, calculate the first test efficiency based on the first adjustment frequency.

[0086] The first test efficiency is used to represent the power conversion efficiency of the switching power supply system when the switching frequency is the first adjustment frequency.

[0087] In this embodiment, the power management chip calculates the ratio of input power to output power at each first adjustment frequency to obtain the first test efficiency corresponding to the first adjustment frequency.

[0088] S203, determine the optimal frequency based on the initial efficiency and the first test efficiency.

[0089] The initial efficiency is determined by the initial input power and the initial output power.

[0090] In this embodiment, the power management chip calculates the initial efficiency based on the input power and output power at the initial frequency.

[0091] Specifically, the input power of the switching power supply system can be directly read by the power management chip, and the output power can be obtained through the power detection chip that communicates with the power management chip. In this embodiment, there are no limitations on these aspects, as long as the power management chip can ultimately obtain the power.

[0092] After calculating the first test efficiency corresponding to each first adjustment frequency, the power management chip determines the optimal frequency by comparing the first test efficiencies. Specifically, the power management chip can arrange the first test efficiencies in descending order, and the first adjustment frequency corresponding to the highest first test efficiency is the optimal frequency.

[0093] Understandably, the smaller the initial adjustment range, the closer the initial adjustment frequency obtained by the power management chip will be, and the more accurate the determined optimal frequency will be. Therefore, in practical applications, without pursuing computational efficiency, minimizing the adjustment range is beneficial for obtaining the optimal frequency that maximizes the power conversion efficiency of the switching power supply system.

[0094] Optionally, in practical applications, if both computational efficiency and computational accuracy are required, the first adjustment span can be made larger firstly. After obtaining the first adjustment frequency and the corresponding first test efficiency, several larger first test efficiencies can be determined. Then, the first adjustment frequency corresponding to the first test efficiency can be adjusted more finely with a smaller adjustment span to ensure the accuracy of the optimal frequency.

[0095] S204 programs the optimal frequency online into the power control chip, enabling the power control chip to control the soft switch to turn on and off according to the optimal frequency.

[0096] In this embodiment, after obtaining the optimal frequency, the power management chip programs the optimal frequency into the power control chip, and the power control chip controls the switching transistor in the soft switch to turn on and off according to the optimal frequency.

[0097] The method provided in this embodiment involves the power management chip first determining at least two first adjustment frequencies based on the total system deviation of the switching power supply system before programming the switching frequency to the power control chip. Secondly, it calculates the first test efficiency corresponding to each of the first adjustment frequencies and determines the optimal efficiency based on the at least two first test efficiencies. Finally, it programs the optimal efficiency online into the power control chip, enabling the power control chip to control the soft switching of the switching power supply system based on the optimal frequency, thereby achieving a switching power supply system with high power conversion efficiency.

[0098] Figure 3 A flowchart illustrating a switching frequency adjustment method provided in this application embodiment. Figure 2 The following is combined with Figure 3 This application further defines the embodiments. Specifically, based on the above embodiments, this embodiment focuses on providing a detailed explanation of how to calculate the first adjustment frequency. Figure 3 As shown, this embodiment includes the following:

[0099] S301, obtain the total system deviation, and determine the first frequency deviation based on the total system deviation. The first frequency deviation is the absolute value of the total system deviation.

[0100] The limitation on the total system deviation is as described in the limitation of S201 in the above embodiments, and will not be repeated here. In this embodiment, the total system deviation characterizes the first frequency deviation. Specifically, the total system deviation is obtained by summing the device deviation of the soft switch and the deviation of the power control chip, thereby obtaining the first frequency deviation.

[0101] For example, if the total system deviation is ±20%, then the first frequency deviation is 20%.

[0102] S302, calculate the first adjustment span according to the first frequency deviation and the first preset rule. The first preset rule is used to divide the first frequency deviation n into equal parts to obtain the first adjustment span, where n is an integer not less than 1.

[0103] In this embodiment, n can be input by the user in advance into the power management chip, or it can be automatically determined by the power management chip based on the first frequency deviation. For example, after obtaining the first frequency deviation, n can be automatically determined as the smallest divisor of the first frequency deviation other than 1. Alternatively, after the power management chip determines the first frequency deviation, it can display the first frequency deviation through the connected host computer and prompt the user to input n to obtain n. This embodiment does not limit the method of obtaining n.

[0104] S303, determine the first adjustment frequency based on the first adjustment span and the initial efficiency. The first adjustment frequency is obtained by increasing or decreasing the initial frequency according to the first adjustment span. The number of first adjustment frequencies is 2n.

[0105] Specifically, the power management chip divides the first frequency deviation into n equal parts according to a first preset rule, obtaining a first adjustment span used to determine the first adjustment frequency. Finally, the initial frequency is increased or decreased according to the first adjustment span to obtain 2n first adjustment frequencies. Therefore, there are at least two first adjustment frequencies.

[0106] For example, when the first frequency deviation is 20%, if n is 4, then the first adjustment span is 5%. In this case, increasing the initial frequency by 5% yields four first adjustment frequencies: 105%, 110%, 115%, and 120%. Decreasing the initial frequency by 5% yields four more first adjustment frequencies: 95%, 90%, 85%, and 80%, for a total of 2n = 2 × 4 = 8 first adjustment frequencies.

[0107] In this embodiment, n is made as large as possible, for example, it can be 20, even if the first adjustment span is 1%, in order to obtain the optimal frequency more accurately.

[0108] S304, calculate the first test efficiency based on the first adjustment frequency.

[0109] The first test efficiency is used to represent the power conversion efficiency of the switching power supply system when the switching frequency is the first adjustment frequency.

[0110] Specifically, for each first adjustment frequency, the power management chip calculates the ratio of input power to output power at that first adjustment frequency, thereby obtaining the first test efficiency corresponding to the first adjustment frequency. As can be seen from S303 above, the number of first test efficiencies is 2n.

[0111] S305 determines the optimal frequency based on the initial efficiency and the first test efficiency.

[0112] The initial efficiency is used to represent the power conversion efficiency of a switching power supply system when the switching frequency is the initial frequency.

[0113] In this embodiment, the power management chip determines the optimal frequency that maximizes efficiency by comparing the initial efficiency with the first test efficiency obtained based on the first adjustment frequency. The optimal frequency can be determined by: sorting the initial efficiency and the first test efficiency from largest to smallest, with the frequency at the top being the optimal frequency; sorting them from smallest to largest, with the frequency at the bottom being the optimal frequency; or using a preset algorithm to sequentially find the highest efficiency among the initial and first test efficiencies and determining the corresponding frequency as the optimal frequency. In this embodiment, the method of determining the optimal frequency is not limited, as long as the efficiency corresponding to the optimal frequency is the largest of the initial and first test efficiencies.

[0114] S306 programs the optimal frequency online into the power control chip, enabling the power control chip to control the soft switch to turn on and off according to the optimal frequency.

[0115] The method provided in this embodiment involves the power management chip first determining the total frequency deviation based on the total system deviation when calculating the first adjustment frequency. Secondly, it calculates the first adjustment span based on the total frequency deviation and a first preset rule. Finally, it adjusts the initial frequency according to the first adjustment span to obtain the first adjustment frequency. Further, the power management chip determines the optimal frequency by comparing the first test efficiency and the initial efficiency at each first adjustment frequency, and then programs the optimal frequency into the power control chip.

[0116] The method in this embodiment fully considers the impact of device deviations in soft switching and deviations in the power control chip on the switching frequency. A first adjustment frequency is set based on this impact, and the highest efficiency is selected from the first test efficiency and initial efficiency corresponding to each first adjustment frequency. The switching frequency corresponding to this efficiency is then taken as the optimal frequency. This embodiment effectively reduces the impact of device deviations in soft switching and deviations in the power control chip itself on the power conversion efficiency of the switching power supply system, thus facilitating the realization of a switching power supply system with high power conversion efficiency.

[0117] Figure 4 A flowchart illustrating a switching frequency adjustment method provided in this application embodiment. Figure 3 The following is combined with Figure 4 This application further defines the embodiments. Specifically, this embodiment focuses on providing a detailed explanation of how to further and accurately determine the optimal frequency. Figure 4 As shown, this embodiment includes the following:

[0118] S401, obtain the total system deviation, and determine the first frequency deviation based on the total system deviation. The first frequency deviation is the absolute value of the total system deviation.

[0119] S402, calculate the first adjustment span according to the first frequency deviation and the first preset rule. The first preset rule is used to divide the first frequency deviation n into equal parts to obtain the first adjustment span, where n is an integer not less than 1.

[0120] S403, determine the first adjustment frequency based on the first adjustment span and the initial efficiency. The first adjustment frequency is obtained by increasing or decreasing the initial frequency according to the first adjustment span. The number of first adjustment frequencies is 2n.

[0121] In this embodiment, after obtaining the first frequency deviation, the power management chip automatically determines the smallest divisor of the first frequency deviation other than 1 as n. For example, if the first frequency deviation is 25kHz, then n is automatically determined to be 5. Further, the first adjustment span is determined to be 5kHz.

[0122] S404, calculate the first test efficiency based on the first adjustment frequency, and determine the first frequency and the second frequency based on the first test efficiency.

[0123] Among them, the test efficiencies corresponding to the first frequency and the second frequency are the two highest test efficiencies among the first test efficiencies.

[0124] For example, if there are 8 first test efficiencies, arranged in descending order, namely 89%, 86%, 83%, 81%, 78%, 76%, 70%, and 68%, then the test efficiencies corresponding to the first frequency and the second frequency are 89% and 86%, respectively.

[0125] S405, based on the first frequency and the second frequency, determine the second frequency deviation, and based on the second frequency deviation and the second preset rule, calculate the second adjustment span, wherein the second adjustment span is less than the first adjustment span.

[0126] The second preset rule is used to divide the second frequency deviation m into equal parts to obtain the second adjustment span, where m is an integer not less than 1.

[0127] In this embodiment, the power management chip automatically determines the maximum approximation of the second frequency deviation as m.

[0128] Understandably, the second frequency deviation is the absolute value of the difference between the first and second frequencies. For example, if the first frequency is 18kHz and the second frequency is 24kHz, then the second frequency deviation is 6kHz. In this case, the second rule is used to divide the second frequency deviation into 6 equal parts, and the second adjustment span is 1kHz.

[0129] S406, within the first frequency and the second frequency, determine the second adjustment frequency according to the second adjustment span, and calculate the second test efficiency according to the second adjustment frequency.

[0130] It is understandable that the number of second adjustment frequencies is m-1.

[0131] In this embodiment, after obtaining the first frequency and the second frequency, the power management chip further adjusts between the first frequency and the second frequency with a smaller second adjustment span, thereby more accurately identifying the optimal frequency that can maximize the power conversion efficiency of the switching power supply system.

[0132] S407, according to the third preset rule, sort the initial efficiency, the first test efficiency and the second test efficiency to obtain the efficiency sequence.

[0133] The third preset rule is used to arrange the initial efficiency, the first test efficiency, and the second test efficiency in descending order.

[0134] Specifically, the power management chip sorts the calculated initial efficiency, first test efficiency, and second test efficiency in descending order to obtain an efficiency sequence. The earlier an element appears in the efficiency sequence, the larger its value.

[0135] S408 takes the frequency corresponding to the first test efficiency in the efficiency sequence as the optimal frequency and burns the optimal frequency into the power control chip.

[0136] Among them, the first test efficiency is the highest value among the initial efficiency, the first test efficiency, and the second test efficiency.

[0137] Understandably, the first test efficiency value is the largest. In practical applications, the initial efficiency, the first test efficiency, and the second test efficiency can be arranged in ascending order to obtain an efficiency sequence, and the last element in this efficiency sequence can be used as the first test efficiency.

[0138] The method provided in this embodiment involves the power management chip first adjusting the initial frequency with a large first adjustment span when determining the optimal frequency, resulting in multiple first adjustment frequencies. After calculation, a first test efficiency corresponding to each first adjustment frequency is obtained. Next, based on the first test efficiency, the power management chip determines a first frequency and a second frequency, and further adjusts the first and second frequencies with a smaller second adjustment span within the first and second frequencies.

[0139] The method described in this embodiment achieves several advantages. First, the power management chip does not need to calculate excessive adjustment frequencies and their corresponding test efficiencies, effectively reducing the computational load and thus improving its computational efficiency. Simultaneously, it lowers the performance requirements for the power management chip. Second, after determining the two highest first test efficiencies, the power management chip further adjusts the frequency between the first and second frequencies corresponding to these two first test efficiencies with a smaller second adjustment span. This effectively improves the accuracy of the final optimal frequency, thereby facilitating the realization of a high-efficiency switching power supply system.

[0140] For example, the power management chip obtains an initial frequency of 100kHz, an initial efficiency of 75%, and a total system deviation of 25% for the switching power supply system. Then, when n is 5, the first adjustment span is 5%, and there are 2 × 5 = 10 first adjustment frequencies: 75kHz, 80kHz, 85kHz, 90kHz, 95kHz, 105kHz, 110kHz, 115kHz, 120kHz, and 125kHz. If, by comparison, the switching frequencies of 110kHz and 125kHz correspond to the two highest test efficiencies, then 110kHz and 125kHz are determined to be the first and second frequencies, respectively.

[0141] At this point, the power management chip calculates the second frequency deviation to be 15kHz. The power management chip will then calculate 14 second adjustment frequencies, namely 111kHz, 112kHz, 113kHz, 114kHz, 115kHz, 116kHz, 117kHz, 118kHz, 119kHz, 120kHz, 121kHz, 122kHz, 123kHz, and 124kHz.

[0142] Furthermore, the power management chip calculates the second test efficiency corresponding to each of the 14 second adjustment frequencies, and sorts the initial efficiency, the first test efficiency, and the second test efficiency. If, at this point, the power management chip determines that the switching frequency corresponding to the first test efficiency is 118kHz, then 118kHz is taken as the optimal frequency and programmed into the power control chip online.

[0143] The above embodiments describe a switching frequency adjustment method from the perspective of process flow. The following embodiments describe a switching frequency adjustment device from the perspective of virtual module or virtual unit. For details, please refer to the following embodiments.

[0144] This application provides a switching frequency adjustment device, such as... Figure 5 As shown, the device includes a calculation module 51, a determination module 52, and an adjustment module 53, wherein,

[0145] The calculation module 51 is used to obtain the total system deviation of the switching power supply system and calculate the first adjustment frequency based on the total system deviation and the initial frequency. The total system deviation is determined by the device deviation of the soft switch and the deviation of the power control chip. The initial frequency is used to represent the switching frequency of the switching power supply system at the beginning.

[0146] The calculation module 51 is also used to calculate the first test efficiency based on the first adjustment frequency, wherein the first test efficiency is used to represent the power conversion efficiency of the switching power supply system when the switching frequency is the first adjustment frequency.

[0147] The determination module 52 is used to determine the optimal frequency based on the initial efficiency and the first test efficiency. The initial efficiency is used to represent the power conversion efficiency of the switching power supply system when the switching frequency is the initial frequency.

[0148] The adjustment module 53 is used to program the optimal frequency online into the power control chip so that the power control chip controls the soft switch to turn on and off according to the optimal frequency.

[0149] In another possible implementation of this application embodiment, the calculation module 51 is specifically used for:

[0150] Based on the total system deviation, the first frequency deviation is determined, which is the absolute value of the total system deviation.

[0151] Based on the first frequency deviation and the first preset rule, the first adjustment span is calculated. The first preset rule is used to divide the first frequency deviation n into equal parts to obtain the first adjustment span, where n is an integer not less than 1.

[0152] Based on the first adjustment span and the initial frequency, the first adjustment frequency is determined. The first adjustment frequency is obtained by increasing or decreasing the initial frequency according to the first adjustment span. The number of first adjustment frequencies is 2n.

[0153] In another possible implementation of this embodiment, the calculation module 51 is further configured to:

[0154] Based on the first test efficiency, a first frequency and a second frequency are determined, and the test efficiencies corresponding to the first frequency and the second frequency are the two largest test efficiencies among the first test efficiencies.

[0155] Based on the first frequency and the second frequency, a second adjustment frequency is determined, and the second adjustment span corresponding to the second adjustment frequency is smaller than the first adjustment span.

[0156] Calculate the second test efficiency based on the second adjustment frequency;

[0157] Module 52 is specifically used for:

[0158] The optimal frequency is determined based on the initial efficiency, the first test efficiency, and the second test efficiency.

[0159] In another possible implementation of this application embodiment, the calculation module 51 is specifically used for:

[0160] The second frequency deviation is determined based on the first and second frequencies;

[0161] The second adjustment span is calculated based on the second frequency deviation and the second preset rule. The second preset rule is used to divide the second frequency deviation m into equal parts to obtain the second adjustment span, where m is an integer not less than 1.

[0162] Within the first and second frequencies, the second adjustment frequency is determined based on the second adjustment span.

[0163] In another possible implementation of this application embodiment, the determining module 52 is specifically used for:

[0164] According to the third preset rule, the initial efficiency, the first test efficiency, and the second test efficiency are sorted to obtain an efficiency sequence; the third preset rule is used to arrange the initial efficiency, the first test efficiency, and the second test efficiency in descending order.

[0165] The frequency corresponding to the first test efficiency in the efficiency sequence is taken as the optimal frequency; the first test efficiency is the highest value among the initial efficiency, the first test efficiency, and the second test efficiency.

[0166] The switching frequency adjustment device provided in this application is applicable to the above method embodiments, and will not be described again here.

[0167] This application provides an electronic device, such as... Figure 6 As shown, Figure 6The illustrated electronic device includes a processor 61 and a memory 62. The processor 61 and the memory 62 are connected, for example, via a bus 63. Optionally, the electronic device may also include a transceiver 64. It should be noted that in practical applications, the transceiver 64 is not limited to one type, and the structure of this electronic device does not constitute a limitation on the embodiments of this application.

[0168] Processor 61 may be a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. Processor 61 may also be a combination that implements computational functions, such as a combination of one or more microprocessors 61, a combination of a DSP and a microprocessor 61, etc.

[0169] Bus 63 may include a pathway for transmitting information between the aforementioned components. Bus 63 may be a Peripheral Component Interconnect (PCI) bus 63 or an Extended Industry Standard Architecture (EISA) bus 63, etc. Bus 63 can be divided into address bus 63, data bus 63, control bus 63, etc. For ease of representation, Figure 6 The bus 63 is represented by only one thick line, but this does not mean that there is only one bus 63 or one type of bus 63.

[0170] The memory 62 may be a read-only memory 62 (ROM) or other type of static storage device capable of storing static information and instructions, a random access memory 62 (RAM) or other type of dynamic storage device capable of storing information and instructions, or an electrically erasable programmable read-only memory 62 (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital universal optical discs, Blu-ray discs, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but not limited thereto.

[0171] The memory 62 is used to store application code that executes the solution of this application, and its execution is controlled by the processor 61. The processor 61 is used to execute the application code stored in the memory 62 to implement the content shown in the foregoing method embodiments.

[0172] This application also provides a computer-readable storage medium, which may include various media capable of storing program code, such as a USB flash drive, a portable hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk. Specifically, the computer-readable storage medium stores program instructions, which are used to implement the industrial gateway data processing method in the above embodiments.

[0173] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the technical solution of the above method embodiments. Its implementation principle and technical effects are similar, and will not be repeated here.

[0174] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this application are indicated by the claims.

[0175] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.

Claims

1. A method for adjusting switching frequency, characterized in that, The method includes: The total system deviation of the switching power supply system is obtained, and a first adjustment frequency is calculated based on the total system deviation and the initial frequency. The total system deviation is determined by the device deviation of the soft switch and the deviation of the power control chip, and the initial frequency is used to represent the initial switching frequency of the switching power supply system. The first test efficiency is calculated based on the first adjustment frequency, and the first test efficiency is used to represent the power conversion efficiency of the switching power supply system when the switching frequency is the first adjustment frequency. The optimal frequency is determined based on the initial efficiency and the first test efficiency, wherein the initial efficiency is used to represent the power conversion efficiency of the switching power supply system when the switching frequency is the initial frequency; The optimal frequency is programmed into the power control chip online, so that the power control chip controls the soft switch to turn on and off according to the optimal frequency; The step of calculating the first adjustment frequency based on the total system deviation and the initial frequency includes: Based on the total system deviation, a first frequency deviation is determined, wherein the first frequency deviation is the absolute value of the total system deviation; Based on the first frequency deviation and the first preset rule, a first adjustment span is calculated. The first preset rule is used to divide the first frequency deviation n into equal parts to obtain the first adjustment span, where n is an integer not less than 1. The first adjustment frequency is determined based on the first adjustment span and the initial frequency. The first adjustment frequency is obtained by increasing or decreasing the initial frequency according to the first adjustment span. The number of the first adjustment frequencies is 2n.

2. The method according to claim 1, characterized in that, After calculating the first test efficiency based on the first adjustment frequency, the method further includes: Based on the first test efficiency, a first frequency and a second frequency are determined, and the test efficiencies corresponding to the first frequency and the second frequency are the two largest test efficiencies among the first test efficiencies. Based on the first frequency and the second frequency, a second adjustment frequency is determined, wherein the second adjustment span corresponding to the second adjustment frequency is smaller than the first adjustment span; Calculate the second test efficiency based on the second adjustment frequency; The step of determining the optimal frequency based on the initial efficiency and the first test efficiency includes: The optimal frequency is determined based on the initial efficiency, the first test efficiency, and the second test efficiency.

3. The method according to claim 2, characterized in that, Determining the second adjustment frequency based on the first frequency and the second frequency includes: The second frequency deviation is determined based on the first frequency and the second frequency; The second adjustment span is calculated based on the second frequency deviation and the second preset rule. The second preset rule is used to divide the second frequency deviation m into equal parts to obtain the second adjustment span, where m is an integer not less than 1. Within the first frequency and the second frequency, the second adjustment frequency is determined based on the second adjustment span.

4. The method according to claim 2, characterized in that, Determining the optimal frequency based on the initial efficiency, the first test efficiency, and the second test efficiency includes: According to the third preset rule, the initial efficiency, the first test efficiency, and the second test efficiency are sorted to obtain an efficiency sequence; the third preset rule is used to arrange the initial efficiency, the first test efficiency, and the second test efficiency in descending order. The frequency corresponding to the first test efficiency in the efficiency sequence is taken as the optimal frequency; the first test efficiency is the highest value among the initial efficiency, the first test efficiency, and the second test efficiency.

5. A switching power supply system, characterized in that, The system includes: A soft switch is used to acquire a switching command and turn on or off according to the switching command to pulse modulate the input voltage and realize voltage conversion. The soft switch includes a capacitor, an inductor and a switching transistor. A power control chip is used to acquire the switching frequency, generate a switching command based on the switching frequency, and send it to the soft switch; A power management chip is used to calculate the power conversion efficiency based on the input power and the output power, and is also used to connect to the power control chip and execute the switching frequency adjustment method as described in any one of claims 1-4.

6. A switching frequency regulating device, characterized in that, include: The calculation module is used to obtain the total system deviation of the switching power supply system and calculate the first adjustment frequency based on the total system deviation and the initial frequency. The total system deviation is determined by the device deviation of soft switching and the deviation of the power control chip, and the initial frequency is used to represent the initial switching frequency of the switching power supply system. The calculation module is further configured to calculate a first test efficiency based on the first adjustment frequency, wherein the first test efficiency is used to represent the power conversion efficiency of the switching power supply system when the switching frequency is the first adjustment frequency. The determining module is used to determine the optimal frequency based on the initial efficiency and the first test efficiency, wherein the initial efficiency is used to represent the power conversion efficiency of the switching power supply system when the switching frequency is the initial frequency; An adjustment module is used to program the optimal frequency online into the power control chip, so that the power control chip controls the soft switch to turn on and off according to the optimal frequency. The calculation module is specifically used to determine a first frequency deviation based on the total system deviation, wherein the first frequency deviation is the absolute value of the total system deviation; calculate a first adjustment span based on the first frequency deviation and a first preset rule, wherein the first preset rule is used to divide the first frequency deviation into n equal parts to obtain the first adjustment span, wherein n is an integer not less than 1; and determine a first adjustment frequency based on the first adjustment span and the initial frequency, wherein the first adjustment frequency is obtained by increasing or decreasing the initial frequency according to the first adjustment span, and the number of the first adjustment frequencies is 2n.

7. The apparatus according to claim 6, characterized in that, The computing module is also used for: Based on the first test efficiency, a first frequency and a second frequency are determined, and the test efficiencies corresponding to the first frequency and the second frequency are the two largest test efficiencies among the first test efficiencies. Based on the first frequency and the second frequency, a second adjustment frequency is determined, wherein the second adjustment span corresponding to the second adjustment frequency is smaller than the first adjustment span; Calculate the second test efficiency based on the second adjustment frequency; The determining module is specifically used for: The optimal frequency is determined based on the initial efficiency, the first test efficiency, and the second test efficiency.

8. An electronic device, characterized in that, include: At least one processor and memory; The memory stores computer-executed instructions; The at least one processor executes computer execution instructions stored in the memory, causing the at least one processor to perform the switching frequency adjustment method as described in any one of claims 1-4.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the switching frequency adjustment method as described in any one of claims 1-4.