Switching power supply with wide input voltage range and control method thereof

By designing a switching power supply with a wide input voltage range and its control method, using input detection comparison, parameter correction, parameter compensation and control execution modules, the problem of performance bottleneck in traditional switching power supply under a wide input voltage range is solved, and the stability, efficiency and adaptability of the power supply are improved.

CN119561349AInactive Publication Date: 2025-03-04首航慧通科技(北京)有限公司
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411727169.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-28
Publication Date
2025-03-04
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Traditional switching power supplies often face performance bottlenecks when dealing with application environments with wide input voltage ranges and cannot meet the equipment's high standards for power supply stability, efficiency and adaptability.

Method used

A switching power supply with a wide input voltage range and its control method are designed, including an input detection comparison module, a parameter correction module, a parameter compensation module and a control execution module. By acquiring input voltage and target output voltage, analyzing historical load records, collecting temperature and altitude data, intelligently adjusting control parameters to adapt to load changes and environmental changes.

Benefits of technology

It achieves the stability and efficiency of power output, improves the adaptability and overall performance of power supply, and ensures that the optimal working condition can be maintained under various environments and load conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119561349A_ABST
    Figure CN119561349A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of power management, and discloses a switching power supply with a wide input voltage range and a control method thereof, and the system comprises an input detection comparison module which compares an actual output voltage with a target output voltage, and judges whether to correct an initial control parameter or not according to a comparison result; the parameter correction module is used for setting a correction coefficient corresponding to the initial control parameter according to the load deviation coefficient and obtaining a correction control parameter; the parameter compensation module is used for obtaining a compensation coefficient based on the temperature data and the altitude data and obtaining a compensation control parameter when it is judged that the correction control parameter needs to be compensated; and the control execution module is configured to receive the compensation control parameters and control the switching action of the switching power supply according to the compensation control parameters. The adaptability and the stability of the power supply are improved, and the overall performance and the reliability of the power supply are improved through an intelligent control method.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power management, and in particular to a switching power supply with a wide input voltage range and a control method thereof. Background Art

[0002] A switching power supply with a wide input voltage range is a power supply device that can adapt to input voltage changes from tens of volts to hundreds of volts and is widely used in a variety of electronic devices. As the functions of modern electronic devices become increasingly complex, power management technology has become one of the key technologies to ensure the stable operation of the equipment. However, traditional switching power supplies often face performance bottlenecks when dealing with application environments with a wide input voltage range and cannot meet the high standards of equipment for power stability, efficiency, and adaptability.

[0003] Therefore, it is necessary to design a switching power supply with a wide input voltage range and a control method thereof to solve the problems existing in the current technology. Summary of the invention

[0004] In view of this, the present invention proposes a switching power supply with a wide input voltage range and a control method thereof, aiming to solve the problem in current technology that it is difficult to meet the high standards of power supply stability, efficiency and adaptability of the equipment.

[0005] In one aspect, the present invention provides a switching power supply with a wide input voltage range, comprising:

[0006] An input detection and comparison module is configured to collect an input voltage and a target output voltage, determine a conversion mode and initial control parameters according to the input voltage and the target output voltage to convert the input voltage, and obtain an actual output voltage; compare the actual output voltage with the target output voltage, and determine whether to modify the initial control parameters according to the comparison result; wherein the input voltage is not equal to the target output voltage, and the initial control parameters include an initial duty cycle and an initial switching frequency;

[0007] a parameter correction module, configured to extract corresponding historical load records from a historical load record library based on the initial control parameters when the input detection and comparison module determines that the initial control parameters should be corrected, analyze the historical load records, and calculate a load deviation coefficient based on the analysis result; set a correction coefficient corresponding to the initial control parameters according to the load deviation coefficient, and obtain a corrected control parameter;

[0008] a parameter compensation module, configured to collect temperature data and altitude data of the location of the switch power supply, and determine whether the correction control parameter needs to be compensated according to the temperature data and altitude data; when it is determined that the correction control parameter needs to be compensated, obtain a compensation coefficient based on the temperature data and altitude data, and obtain a compensation control parameter;

[0009] The control execution module is configured to receive the compensation control parameter and control the switching action of the switching power supply according to the compensation control parameter.

[0010] Furthermore, when the input voltage conversion is performed by determining the conversion mode and initial control parameters according to the input voltage and the target output voltage, it includes:

[0011] When the input voltage is less than the target output voltage, the conversion mode is determined to be boost conversion, and the initial duty cycle and initial switching frequency are determined to be:

[0012]

[0013]

[0014] When the input voltage is greater than the target output voltage, the conversion mode is determined to be step-down conversion, and the initial duty cycle and initial switching frequency are determined to be:

[0015]

[0016]

[0017] Wherein, D represents the duty cycle; fsw represents the switching frequency; Vin represents the input voltage; Vout represents the target output voltage; and fbase represents the reference switching frequency.

[0018] Furthermore, when comparing the actual output voltage with the target output voltage and determining whether to modify the initial control parameter according to the comparison result, the method includes:

[0019] Subtracting the actual output voltage from the target output voltage to obtain a voltage difference;

[0020] The voltage difference is compared with the voltage difference threshold, and whether to modify the initial control parameter is determined according to the comparison result:

[0021] When the voltage difference is within the voltage difference threshold, determining not to modify the initial control parameter;

[0022] When the voltage difference is outside the voltage difference threshold, it is determined to modify the initial control parameter.

[0023] Further, based on the initial control parameter, a corresponding historical load record is extracted from a historical load record library, and the historical load record is analyzed, and when the load deviation coefficient is calculated based on the analysis result, it includes:

[0024] dividing the historical load records into normal load behaviors and abnormal load behaviors;

[0025] Determining a load deviation factor corresponding to each of the abnormal load behaviors, and constructing a load deviation factor sequence;

[0026] Counting the number of normal load behaviors, which is recorded as the normal load number; counting the number of normal load behaviors, which is recorded as the abnormal load number;

[0027] The load deviation coefficient is calculated according to the load deviation factor sequence, the normal load quantity and the abnormal load quantity.

[0028] Furthermore, the load deviation coefficient is obtained by the following formula:

[0029]

[0030] Among them, P represents the load deviation coefficient; F1 represents the number of normal loads; F2 represents the number of abnormal loads; n represents the number of factors in the load deviation factor sequence; Ki represents the i-th load deviation factor in the load deviation factor sequence; Kmax represents the maximum load deviation factor in the load deviation factor sequence; α represents the normal load weight coefficient; β represents the abnormal load weight coefficient.

[0031] Further, when determining the load deviation factor corresponding to each abnormal load behavior, it includes:

[0032] Extracting an abnormal load value corresponding to each abnormal load behavior, and subtracting the abnormal load value from a standard load value to obtain a first load difference value;

[0033] Analyze all the normal load behaviors, extract the normal load value corresponding to each normal load behavior, and obtain a normal average load;

[0034] Subtracting the normal average load from the normal load value to obtain a second load difference value;

[0035] Calculating a load deviation factor corresponding to each of the abnormal load behaviors according to the first load difference and the second load difference;

[0036] C = ω1 × ΔL1 + ω1 × ΔL2;

[0037] Wherein, C represents the load deviation factor; ΔL1 represents the first load difference; ΔL2 represents the second load difference; ω1 represents the first deviation coefficient; ω2 represents the second deviation coefficient.

[0038] Furthermore, when setting a correction coefficient corresponding to the initial control parameter according to the load deviation coefficient and obtaining the corrected control parameter, it includes:

[0039] Setting a correction coefficient interval, wherein the correction coefficient interval includes a first correction coefficient, a second correction coefficient, and a third correction coefficient;

[0040] Calculating a coefficient difference between the load deviation coefficient and the load deviation coefficient threshold, comparing the coefficient difference with a first coefficient difference threshold and a second coefficient difference threshold, and modifying the initial control parameter according to the comparison result; wherein the first coefficient difference threshold is less than the second coefficient difference threshold;

[0041] When the coefficient difference is less than or equal to the first coefficient difference threshold, the first correction coefficient is selected as the correction coefficient corresponding to the initial control parameter, and the product value of the first correction coefficient and the initial control parameter is used as the correction control parameter;

[0042] When the coefficient difference is greater than the first coefficient difference threshold and less than or equal to the second coefficient difference threshold, the second correction coefficient is selected as the correction coefficient corresponding to the initial control parameter, and the product value of the second correction coefficient and the initial control parameter is used as the correction control parameter;

[0043] When the coefficient difference is greater than the second coefficient difference threshold, the third correction coefficient is selected as the correction coefficient corresponding to the initial control parameter, and the product value of the third correction coefficient and the initial control parameter is used as the correction control parameter.

[0044] Further, judging whether it is necessary to compensate the correction control parameter according to the temperature data and the altitude data includes:

[0045] Comparing the temperature data with the temperature threshold, comparing the altitude data with the altitude threshold, and judging whether it is necessary to compensate the correction control parameter according to the comparison result;

[0046] When the temperature data is greater than or equal to the temperature threshold, and / or the altitude data is greater than or equal to the altitude threshold, determining that the correction control parameter needs to be compensated;

[0047] When the temperature data is less than the temperature threshold, and the altitude data is less than the altitude threshold, it is determined that the correction control parameter does not need to be compensated.

[0048] Further, when it is determined that the modified control parameter needs to be compensated, a compensation coefficient is obtained based on the temperature data and the altitude data, and the compensated control parameter is obtained, including:

[0049] The compensation coefficient is obtained by the following formula:

[0050]

[0051] Among them, K represents the compensation coefficient; μ1 represents the temperature compensation coefficient; T represents the temperature data; Tr represents the temperature threshold; δ represents the offset constant of temperature compensation; μ2 represents the altitude compensation coefficient; H represents the altitude data; Hr represents the altitude threshold; γ represents the altitude adjustment coefficient.

[0052] Compared with the prior art, the beneficial effects of the present invention are as follows: the input detection comparison module of the switching power supply with a wide input voltage range provided by the present invention can flexibly respond to different input voltage conditions by collecting input voltage and target output voltage, ensuring stable power supply output. By comparing with the target output voltage, the system can intelligently adjust the control parameters to adapt to load changes, thereby improving the adaptability and efficiency of the power supply; the introduction of the parameter correction module further enhances the intelligence level of the system, and by analyzing historical load records, the control parameters can be accurately adjusted to adapt to long-term load change trends; the parameter compensation module takes into account the impact of environmental factors on power supply performance, and ensures that the switching power supply can maintain the best working state in various environments through the collection and analysis of temperature and altitude data; the control execution module executes the switching action according to the compensated control parameters, ensuring the precise control and efficient operation of the switching power supply. The switching power supply design of the present invention not only improves the adaptability and stability of the power supply, but also improves the overall performance and reliability of the power supply through intelligent control methods.

[0053] In another aspect, the present invention further provides a method for controlling a switching power supply with a wide input voltage range, comprising the following steps:

[0054] S100: collecting input voltage and target output voltage, determining conversion mode and initial control parameters according to the input voltage and target output voltage to convert the input voltage, and obtaining actual output voltage; comparing the actual output voltage with the target output voltage, and judging whether to modify the initial control parameters according to the comparison result; wherein the input voltage is not equal to the target output voltage, and the initial control parameters include an initial duty cycle and an initial switching frequency;

[0055] S200: when it is determined that the initial control parameter is to be corrected, extracting corresponding historical load records from a historical load record library based on the initial control parameter, analyzing the historical load records, and calculating a load deviation coefficient based on the analysis result; setting a correction coefficient corresponding to the initial control parameter according to the load deviation coefficient, and obtaining a corrected control parameter;

[0056] S300: collecting temperature data and altitude data of the location of the switch power supply, and judging whether it is necessary to compensate the correction control parameter according to the temperature data and the altitude data; when it is judged that the correction control parameter needs to be compensated, obtaining a compensation coefficient based on the temperature data and the altitude data, and obtaining a compensation control parameter;

[0057] S400: Receive the compensation control parameter, and control the switching action of the switching power supply according to the compensation control parameter.

[0058] It is understandable that the above-mentioned switching power supply with a wide input voltage range and the control method thereof have the same beneficial effects, which will not be described in detail here. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:

[0060] Figure 1 A flow chart of a switching power supply control method with a wide input voltage range provided by an embodiment of the present invention;

[0061] Figure 2 This is a structural block diagram of a switching power supply with a wide input voltage range provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0062] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art. It should be noted that, in the absence of conflict, the embodiments of the present invention and the features described in the embodiments can be combined with each other. The present invention will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0063] See also Figure 2 As shown, in some embodiments of the present application, this embodiment provides a switching power supply with a wide input voltage range, including:

[0064] The input detection and comparison module is configured to collect input voltage and target output voltage, determine the conversion mode and initial control parameters according to the input voltage and target output voltage to convert the input voltage and obtain the actual output voltage; compare the actual output voltage with the target output voltage, and determine whether to modify the initial control parameters according to the comparison result; wherein the input voltage is not equal to the target output voltage, and the initial control parameters include an initial duty cycle and an initial switching frequency;

[0065] The parameter correction module is configured to extract corresponding historical load records from the historical load record library based on the initial control parameters when the input detection and comparison module determines that the initial control parameters should be corrected, analyze the historical load records, and calculate the load deviation coefficient based on the analysis results; set the correction coefficient corresponding to the initial control parameters according to the load deviation coefficient, and obtain the corrected control parameters;

[0066] The parameter compensation module is configured to collect temperature data and altitude data of the location of the switching power supply, and determine whether it is necessary to compensate the correction control parameter according to the temperature data and the altitude data; when it is determined that the correction control parameter needs to be compensated, a compensation coefficient is obtained based on the temperature data and the altitude data, and a compensation control parameter is obtained;

[0067] The control execution module is configured to receive the compensation control parameter and control the switching action of the switching power supply according to the compensation control parameter.

[0068] In this embodiment, the input detection and comparison module supports alternating current (AC) and direct current (DC) input, and can realize automatic identification and conversion of input voltage. Specifically, the input voltage range is 85-305VAC (AC input) and 120-430VDC (DC input). Under AC input, the module uses alternating current to direct current conversion (AC-DC conversion) to convert 220VAC to 24-36VDC; under DC input, DC voltage conversion is performed directly to adapt to the different requirements of a wide input voltage range. The input voltage detection and comparison module automatically adjusts the working mode according to the input voltage type (AC or DC) to ensure that the input voltage can be stably converted to the target output voltage.

[0069] In this embodiment, the switching power supply also includes a variety of protection functions to ensure the safety and stability of the system. These protection functions include: output overvoltage protection: when the output voltage exceeds the set safety range, the switching power supply automatically triggers the overvoltage protection mechanism and stops the output to prevent the over-high voltage from damaging the load device. Input undervoltage protection: when the input voltage is lower than the preset minimum value, the input undervoltage protection function will be activated to stop the power supply output to prevent the power supply from running when the input voltage is too low, avoiding damage to the power supply itself or the load device. Overload protection: when the load exceeds the rated output power of the power supply, the overload protection function will automatically cut off the power supply output to protect the power supply from being damaged by overload. Short circuit protection (no damage to the power supply): if a short circuit occurs at the output end of the power supply, the switching power supply will automatically enter the protection state and cut off the output current to avoid further damage to the power supply. This protection mechanism ensures that the power supply can resume normal operation when a short circuit occurs without replacing components. Overcurrent protection: when the output current of the power supply exceeds the set safety range, the overcurrent protection mechanism will be activated to automatically limit the output current to prevent the power supply from being damaged by overcurrent. Over-temperature protection: When the power supply temperature exceeds the predetermined safety threshold, the over-temperature protection function will automatically disconnect the power supply output to avoid power supply damage due to overheating. Self-recovery function: After being activated, all protection functions will automatically recover after the abnormal situation is eliminated without human intervention. That is, once the input voltage returns to normal, the load returns to a safe range, or the temperature returns to normal, the switching power supply will automatically restart and resume normal output operation.

[0070] It can be seen that the input detection comparison module of the switching power supply with a wide input voltage range provided in this embodiment can flexibly respond to different input voltage conditions by collecting input voltage and target output voltage to ensure stable power supply output. By comparing with the target output voltage, the system can intelligently adjust the control parameters to adapt to load changes, thereby improving the adaptability and efficiency of the power supply; the introduction of the parameter correction module further enhances the intelligence level of the system. By analyzing historical load records, the control parameters can be accurately adjusted to adapt to long-term load change trends; the parameter compensation module takes into account the impact of environmental factors on power supply performance, and ensures that the switching power supply can maintain the best working state in various environments through the collection and analysis of temperature and altitude data; the control execution module executes the switching action according to the compensated control parameters, ensuring the precise control and efficient operation of the switching power supply. The switching power supply design of this embodiment not only improves the adaptability and stability of the power supply, but also improves the overall performance and reliability of the power supply through intelligent control methods.

[0071] Specifically, when the conversion mode and initial control parameters are determined according to the input voltage and the target output voltage to convert the input voltage, it includes:

[0072] When the input voltage is less than the target output voltage, the conversion mode is determined to be boost conversion, and the initial duty cycle and initial switching frequency are determined as follows:

[0073]

[0074]

[0075] When the input voltage is greater than the target output voltage, the conversion mode is determined to be step-down conversion, and the initial duty cycle and initial switching frequency are determined as follows:

[0076]

[0077]

[0078] Wherein, D represents the duty cycle; fsw represents the switching frequency; Vin represents the input voltage; Vout represents the target output voltage; and fbase represents the reference switching frequency.

[0079] It can be seen that the reference switching frequency is a key parameter that determines the switching frequency range of the switching power supply. In this embodiment, the reference switching frequency fbase is set to a fixed value to ensure that the switching power supply can maintain a stable switching frequency under different input voltage conditions, thereby ensuring the performance and efficiency of the power supply. The setting of the reference switching frequency is based on the specific requirements and load characteristics of the power supply design to adapt to various applications. By accurately controlling the switching frequency, the heat loss and electromagnetic interference of the power supply can be effectively managed, further improving the reliability and life of the power supply.

[0080] Specifically, the actual output voltage is compared with the target output voltage, and judging whether to modify the initial control parameters according to the comparison result includes:

[0081] Subtract the actual output voltage from the target output voltage to obtain a voltage difference;

[0082] Compare the voltage difference with the voltage difference threshold, and determine whether to modify the initial control parameters based on the comparison result:

[0083] When the voltage difference is within the voltage difference threshold, it is determined that the initial control parameters are not to be corrected;

[0084] When the voltage difference is outside the voltage difference threshold, it is determined to modify the initial control parameters.

[0085] It can be seen that the setting of the voltage difference threshold is based on the balance between power supply output stability and response speed. In this embodiment, the voltage difference threshold is set to a fixed value to ensure that the system can respond and adjust the control parameters in time when the load fluctuates, while avoiding system instability caused by frequent parameter adjustments. By setting a reasonable voltage difference threshold, it can be ensured that the switching power supply can provide stable and reliable output under various load conditions, while reducing unnecessary control parameter adjustments and improving the overall efficiency and life of the system.

[0086] Specifically, based on the initial control parameters, the corresponding historical load records are extracted from the historical load record library, and the historical load records are analyzed. When the load deviation coefficient is calculated based on the analysis results, it includes:

[0087] Divide historical load records into normal load behavior and abnormal load behavior;

[0088] Determine the load deviation factor corresponding to each abnormal load behavior and construct a load deviation factor sequence;

[0089] The number of normal load behaviors is counted and recorded as the normal load number; the number of normal load behaviors is counted and recorded as the abnormal load number;

[0090] The load deviation coefficient is calculated based on the load deviation factor sequence, the normal load number and the abnormal load number.

[0091] Specifically, the load deviation coefficient is obtained by the following formula:

[0092]

[0093] Among them, P represents the load deviation coefficient; F1 represents the number of normal loads; F2 represents the number of abnormal loads; n represents the number of factors in the load deviation factor sequence; Ki represents the i-th load deviation factor in the load deviation factor sequence; Kmax represents the maximum load deviation factor in the load deviation factor sequence; α represents the normal load weight coefficient; β represents the abnormal load weight coefficient.

[0094] It can be seen that the calculation of the load deviation coefficient P takes into account the impact of normal load and abnormal load on the system, where α and β are weight coefficients used to balance the impact of normal load and abnormal load on the load deviation coefficient. When the normal load weight coefficient α is large, the system is more inclined to maintain the current control parameters, because normal load behavior indicates that the system is running stably; and when the abnormal load weight coefficient β is large, the system will pay more attention to abnormal load behavior, so as to adjust the control parameters in time to cope with possible load fluctuations.

[0095] Specifically, when determining the load deviation factor corresponding to each abnormal load behavior, it includes:

[0096] Extracting an abnormal load value corresponding to each abnormal load behavior, subtracting the abnormal load value from the standard load value to obtain a first load difference value;

[0097] Analyze all normal load behaviors, extract the normal load value corresponding to each normal load behavior, and obtain the normal average load;

[0098] Subtract the normal average load from the normal load value to obtain a second load difference value;

[0099] Calculating a load deviation factor corresponding to each abnormal load behavior according to the first load difference and the second load difference;

[0100] C = ω1 × ΔL1 + ω1 × ΔL2;

[0101] Wherein, C represents the load deviation factor; ΔL1 represents the first load difference; ΔL2 represents the second load difference; ω1 represents the first deviation coefficient; ω2 represents the second deviation coefficient.

[0102] It can be seen that the calculation of the load deviation factor C takes into account the difference between the abnormal load and the normal load, where the first deviation coefficient ω1 and the second deviation coefficient ω2 are used to adjust the weight of the influence of different load differences on the load deviation factor. When the difference between the abnormal load value and the standard load value is large, the first deviation coefficient ω1 is large, which indicates that the abnormal load has a greater impact on the system and needs to be given priority; and when the difference between the normal load value and the normal average load is large, the second deviation coefficient ω2 is large, which indicates that the fluctuation of the normal load has a greater impact on the system, and the control parameters need to be adjusted accordingly to adapt to the changes in the normal load. By reasonably setting the values ​​of ω1 and ω2, it can be ensured that the system can respond appropriately when facing different load conditions, thereby improving the adaptability and stability of the switching power supply.

[0103] Specifically, when the correction coefficient corresponding to the initial control parameter is set according to the load deviation coefficient and the corrected control parameter is obtained, it includes:

[0104] Setting a correction coefficient interval, wherein the correction coefficient interval includes a first correction coefficient, a second correction coefficient, and a third correction coefficient;

[0105] Calculating the coefficient difference between the load deviation coefficient and the load deviation coefficient threshold, comparing the coefficient difference with the first coefficient difference threshold and the second coefficient difference threshold, and correcting the initial control parameter according to the comparison result; wherein the first coefficient difference threshold is less than the second coefficient difference threshold;

[0106] When the coefficient difference is less than or equal to the first coefficient difference threshold, the first correction coefficient is selected as the correction coefficient corresponding to the initial control parameter, and the product value of the first correction coefficient and the initial control parameter is used as the correction control parameter;

[0107] When the coefficient difference is greater than the first coefficient difference threshold and less than or equal to the second coefficient difference threshold, the second correction coefficient is selected as the correction coefficient corresponding to the initial control parameter, and the product value of the second correction coefficient and the initial control parameter is used as the correction control parameter;

[0108] When the coefficient difference is greater than the second coefficient difference threshold, the third correction coefficient is selected as the correction coefficient corresponding to the initial control parameter, and the product value of the third correction coefficient and the initial control parameter is used as the correction control parameter.

[0109] In this embodiment, the first correction coefficient is preferably 0.95, the second correction coefficient is preferably 1.05, and the third correction coefficient is preferably 1.10. Through such a setting, it can be ensured that when the load deviation coefficient is small, that is, when the load change is not large, the adjustment range of the initial control parameters is small, and the stability of the system is maintained; when the load deviation coefficient is large, the system can adjust the control parameters through a larger correction coefficient to adapt to the larger load change. This hierarchical correction coefficient setting method not only ensures the rapid response of the system, but also avoids the risk of instability caused by excessive adjustment.

[0110] Specifically, judging whether it is necessary to compensate the correction control parameters according to the temperature data and the altitude data includes:

[0111] Compare the temperature data with the temperature threshold, and the altitude data with the altitude threshold, and determine whether compensation of the correction control parameters is required based on the comparison results;

[0112] When the temperature data is greater than or equal to the temperature threshold, and / or the altitude data is greater than or equal to the altitude threshold, it is determined that compensation of the correction control parameter is required;

[0113] When the temperature data is less than the temperature threshold, and the altitude data is less than the altitude threshold, it is determined that no compensation is required for the correction control parameter.

[0114] Specifically, when it is determined that the correction control parameter needs to be compensated, a compensation coefficient is obtained based on the temperature data and the altitude data, and the compensation control parameter is obtained, including:

[0115] The compensation coefficient is obtained by the following formula:

[0116]

[0117] Among them, K represents the compensation coefficient; μ1 represents the temperature compensation coefficient; T represents the temperature data; Tr represents the temperature threshold; δ represents the offset constant of temperature compensation; μ2 represents the altitude compensation coefficient; H represents the altitude data; Hr represents the altitude threshold; γ represents the altitude adjustment coefficient.

[0118] It can be seen that the temperature compensation coefficient μ1 and the altitude compensation coefficient μ2 are set according to the sensitivity of the temperature and altitude to the power supply performance. When the temperature or altitude exceeds the normal operating range, the compensation coefficient K will increase accordingly to ensure that the switching power supply can maintain optimal performance under different environmental conditions. The temperature compensation offset constant δ and the altitude adjustment coefficient γ are used to adjust the degree of influence of temperature and altitude changes on the compensation coefficient. By accurately calculating the compensation coefficient, the power supply performance fluctuations caused by environmental changes can be effectively compensated, thereby ensuring that the power supply can operate stably in various extreme environments. When the temperature data and altitude data are both within the normal threshold range, there is no need to compensate for the correction control parameters, and the system will keep the current control parameters unchanged to maintain the stable output of the power supply. This dynamic compensation mechanism based on environmental data further enhances the adaptability and reliability of the switching power supply and ensures the stability and efficiency of the power supply in various complex environments.

[0119] See also Figure 1 As shown, in some embodiments of the present application, this embodiment provides a switching power supply control method with a wide input voltage range, comprising the following steps:

[0120] S100: collecting input voltage and target output voltage, determining conversion mode and initial control parameters according to the input voltage and target output voltage to convert the input voltage and obtain actual output voltage; comparing the actual output voltage with the target output voltage, and judging whether to modify the initial control parameters according to the comparison result; wherein the input voltage is not equal to the target output voltage, and the initial control parameters include an initial duty cycle and an initial switching frequency;

[0121] S200: when it is determined that the initial control parameter is to be corrected, the corresponding historical load record is extracted from the historical load record library based on the initial control parameter, and the historical load record is analyzed, and the load deviation coefficient is calculated based on the analysis result; the correction coefficient corresponding to the initial control parameter is set according to the load deviation coefficient, and the corrected control parameter is obtained;

[0122] S300: collecting temperature data and altitude data of the location of the switch power supply, and judging whether it is necessary to compensate the correction control parameter according to the temperature data and the altitude data; when it is judged that the correction control parameter needs to be compensated, obtaining a compensation coefficient based on the temperature data and the altitude data, and obtaining a compensation control parameter;

[0123] S400: receiving compensation control parameters, and controlling the switching action of the switching power supply according to the compensation control parameters.

[0124] In this embodiment, when the switching action of the switching power supply is controlled according to the compensation control parameter, the switching frequency and the duty cycle are adjusted according to the compensation control parameter to adapt to different working environments and load changes.

[0125] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0126] The present application is described with reference to flowcharts and / or block diagrams of methods, devices (systems) and computer program products according to embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0127] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0128] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0129] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

Claims

1. A switching power supply with a wide input voltage range, characterized in that: include: An input detection and comparison module is configured to collect an input voltage and a target output voltage, determine a conversion mode and initial control parameters according to the input voltage and the target output voltage to convert the input voltage, and obtain an actual output voltage; compare the actual output voltage with the target output voltage, and determine whether to modify the initial control parameters according to the comparison result; wherein the input voltage is not equal to the target output voltage, and the initial control parameters include an initial duty cycle and an initial switching frequency; a parameter correction module, configured to extract corresponding historical load records from a historical load record library based on the initial control parameters when the input detection and comparison module determines that the initial control parameters should be corrected, analyze the historical load records, and calculate a load deviation coefficient based on the analysis result; set a correction coefficient corresponding to the initial control parameters according to the load deviation coefficient, and obtain a corrected control parameter; a parameter compensation module, configured to collect temperature data and altitude data of the location of the switch power supply, and determine whether the correction control parameter needs to be compensated according to the temperature data and altitude data; when it is determined that the correction control parameter needs to be compensated, obtain a compensation coefficient based on the temperature data and altitude data, and obtain a compensation control parameter; The control execution module is configured to receive the compensation control parameter and control the switching action of the switching power supply according to the compensation control parameter.

2. The switching power supply with a wide input voltage range according to claim 1, characterized in that: When determining a conversion method and initial control parameters according to the input voltage and the target output voltage to convert the input voltage, the method includes: When the input voltage is less than the target output voltage, the conversion mode is determined to be boost conversion, and the initial duty cycle and initial switching frequency are determined to be: When the input voltage is greater than the target output voltage, the conversion mode is determined to be step-down conversion, and the initial duty cycle and initial switching frequency are determined to be: Wherein, D represents the duty cycle; fsw represents the switching frequency; Vin represents the input voltage; Vout represents the target output voltage; and fbase represents the reference switching frequency.

3. The switching power supply with a wide input voltage range according to claim 1, characterized in that: The actual output voltage is compared with the target output voltage, and judging whether to modify the initial control parameter according to the comparison result includes: Subtracting the actual output voltage from the target output voltage to obtain a voltage difference; The voltage difference is compared with the voltage difference threshold, and whether to modify the initial control parameter is determined according to the comparison result: When the voltage difference is within the voltage difference threshold, determining not to modify the initial control parameter; When the voltage difference is outside the voltage difference threshold, it is determined to modify the initial control parameter.

4. The switching power supply with a wide input voltage range according to claim 1, characterized in that: Extracting corresponding historical load records from a historical load record library based on the initial control parameters, analyzing the historical load records, and calculating the load deviation coefficient based on the analysis results includes: dividing the historical load records into normal load behaviors and abnormal load behaviors; Determining a load deviation factor corresponding to each of the abnormal load behaviors, and constructing a load deviation factor sequence; Counting the number of normal load behaviors, which is recorded as the normal load number; counting the number of normal load behaviors, which is recorded as the abnormal load number; The load deviation coefficient is calculated according to the load deviation factor sequence, the normal load quantity and the abnormal load quantity.

5. The switching power supply with a wide input voltage range according to claim 4, characterized in that: The load deviation coefficient is obtained by the following formula: Among them, P represents the load deviation coefficient; F1 represents the number of normal loads; F2 represents the number of abnormal loads; n represents the number of factors in the load deviation factor sequence; Ki represents the i-th load deviation factor in the load deviation factor sequence; Kmax represents the maximum load deviation factor in the load deviation factor sequence; α represents the normal load weight coefficient; β represents the abnormal load weight coefficient.

6. The switching power supply with a wide input voltage range according to claim 4, characterized in that: Determining the load deviation factor corresponding to each abnormal load behavior includes: Extracting an abnormal load value corresponding to each abnormal load behavior, and subtracting the abnormal load value from a standard load value to obtain a first load difference value; Analyze all the normal load behaviors, extract the normal load value corresponding to each normal load behavior, and obtain a normal average load; Subtracting the normal average load from the normal load value to obtain a second load difference value; Calculating a load deviation factor corresponding to each of the abnormal load behaviors according to the first load difference and the second load difference; C = ω1 × ΔL1 + ω1 × ΔL2; Wherein, C represents the load deviation factor; ΔL1 represents the first load difference; ΔL2 represents the second load difference; ω1 represents the first deviation coefficient; ω2 represents the second deviation coefficient.

7. The switching power supply with a wide input voltage range according to claim 1, characterized in that: When the correction coefficient corresponding to the initial control parameter is set according to the load deviation coefficient and the corrected control parameter is obtained, it includes: Setting a correction coefficient interval, wherein the correction coefficient interval includes a first correction coefficient, a second correction coefficient, and a third correction coefficient; Calculating a coefficient difference between the load deviation coefficient and the load deviation coefficient threshold, comparing the coefficient difference with a first coefficient difference threshold and a second coefficient difference threshold, and modifying the initial control parameter according to the comparison result; wherein the first coefficient difference threshold is less than the second coefficient difference threshold; When the coefficient difference is less than or equal to the first coefficient difference threshold, the first correction coefficient is selected as the correction coefficient corresponding to the initial control parameter, and the product value of the first correction coefficient and the initial control parameter is used as the correction control parameter; When the coefficient difference is greater than the first coefficient difference threshold and less than or equal to the second coefficient difference threshold, the second correction coefficient is selected as the correction coefficient corresponding to the initial control parameter, and the product value of the second correction coefficient and the initial control parameter is used as the correction control parameter; When the coefficient difference is greater than the second coefficient difference threshold, the third correction coefficient is selected as the correction coefficient corresponding to the initial control parameter, and the product value of the third correction coefficient and the initial control parameter is used as the correction control parameter.

8. The switching power supply with a wide input voltage range according to claim 1, characterized in that: When judging whether it is necessary to compensate the correction control parameter according to the temperature data and the altitude data, it includes: Comparing the temperature data with the temperature threshold, comparing the altitude data with the altitude threshold, and judging whether it is necessary to compensate the correction control parameter according to the comparison result; When the temperature data is greater than or equal to the temperature threshold, and / or the altitude data is greater than or equal to the altitude threshold, determining that the correction control parameter needs to be compensated; When the temperature data is less than the temperature threshold, and the altitude data is less than the altitude threshold, it is determined that the correction control parameter does not need to be compensated.

9. The switching power supply with a wide input voltage range according to claim 8, characterized in that: When it is determined that the modified control parameter needs to be compensated, a compensation coefficient is obtained based on the temperature data and the altitude data, and the compensated control parameter is obtained, including: The compensation coefficient is obtained by the following formula: Among them, K represents the compensation coefficient; μ1 represents the temperature compensation coefficient; T represents the temperature data; Tr represents the temperature threshold; δ represents the offset constant of temperature compensation; μ2 represents the altitude compensation coefficient; H represents the altitude data; Hr represents the altitude threshold; γ represents the altitude adjustment coefficient.

10. A method for controlling a switching power supply with a wide input voltage range, applied to the switching power supply with a wide input voltage range as claimed in any one of claims 1 to 9, characterized in that: include: Collecting input voltage and target output voltage, determining conversion mode and initial control parameters according to the input voltage and target output voltage to convert the input voltage, and obtaining actual output voltage; Comparing the actual output voltage with the target output voltage, and determining whether to modify the initial control parameters according to the comparison result; wherein the input voltage is not equal to the target output voltage, and the initial control parameters include an initial duty cycle and an initial switching frequency; When it is determined that the initial control parameter is to be corrected, the corresponding historical load record is extracted from the historical load record library based on the initial control parameter, and the historical load record is analyzed, and the load deviation coefficient is calculated based on the analysis result; the correction coefficient corresponding to the initial control parameter is set according to the load deviation coefficient, and the corrected control parameter is obtained; collecting temperature data and altitude data of the location of the switch power supply, and judging whether it is necessary to compensate the correction control parameter according to the temperature data and altitude data; when it is judged that the correction control parameter needs to be compensated, obtaining a compensation coefficient based on the temperature data and altitude data, and obtaining a compensation control parameter; The compensation control parameter is received, and a switching action of the switching power supply is controlled according to the compensation control parameter.

Citation Information

Cited By

  • Power supply control method, power supply unit, electronic equipment and storage medium

    CN120428638A