Control method and system for improving output precision of switching power supply

By dynamically adjusting the control mode and step length of the switching power supply, and according to the ripple amplitude and load parameters, the problem that fixed mode control in the existing technology cannot cope with load changes is solved, and the output accuracy of the switching power supply is improved and the stability enhancement is enhanced.

CN119543595APending Publication Date: 2025-02-28DONGGUAN CHENGLIANG LNTELLIGENT TECH CO LTD
View PDF 0 Cites 4 Cited by

Patent Information

Application Number
CN202411617445.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-13
Publication Date
2025-02-28

AI Technical Summary

Technical Problem

The existing switching power supply output accuracy control method adopts a fixed mode, which cannot effectively deal with power supply fluctuations caused by changes in equipment load, resulting in an increase in output voltage ripple, affecting stability and accuracy.

Method used

By obtaining the output voltage and current sampling values ​​of the switching power supply at multiple sampling time points, the ripple amplitude is determined. When the ripple amplitude exceeds the threshold, switch the control mode to the adjustment mode, and dynamically adjust the adjustment step according to the ripple amplitude and load parameters until the ripple amplitude returns to the standard range.

Benefits of technology

It has achieved a significant improvement in the output accuracy of the switching power supply, and can maintain stable output in complex environments with changes in load, reduce ripple amplitude, thereby improving the output accuracy of the switching power supply.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119543595A_ABST
    Figure CN119543595A_ABST
Patent Text Reader

Abstract

The invention discloses a control method and system for improving output precision of a switching power supply, and relates to the technical field of data processing. The method comprises the following steps: acquiring output voltage sampling values and output current sampling values of the switching power supply at a plurality of sampling time points; determining the current ripple amplitude of the switching power supply based on each output voltage sampling value and each output current sampling value; when the ripple amplitude exceeds an amplitude threshold, switching a control mode of the switching power supply to a preset adjustment mode, and determining a first adjustment step length according to the ripple amplitude; receiving a load parameter of the switching power supply, and determining a second adjustment step length according to the load parameter and the first adjustment step length; and in the preset adjustment mode, adjusting the switching power supply according to the second adjustment step length until the ripple amplitude of the switching power supply is within a standard amplitude range. By implementing the technical scheme provided by the invention, the effect of improving the output precision of the switching power supply is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a control method, system, electronic device and storage medium for improving the output accuracy of a switching power supply. Background Art

[0002] With the rapid development of electronic technology, switching power supplies have been widely used in various electronic devices due to their advantages such as high efficiency, small size and light weight. From portable consumer electronics to industrial control systems, switching power supplies play a vital role. However, as the requirements of electronic devices for power quality continue to increase, how to further improve the output accuracy of switching power supplies has become the focus of the industry.

[0003] At present, the existing control method of the output accuracy of the switching power supply adopts a fixed mode to control the switching power supply for voltage output. However, in actual applications, due to the change of equipment load, power supply fluctuations may occur. If only a fixed mode is used to control the switching power supply for voltage output, the ripple of the output voltage will increase, affecting the stable output of the switching power supply, thereby resulting in low output accuracy of the switching power supply. Summary of the invention

[0004] The present application provides a control method, system, electronic device and storage medium for improving the output accuracy of a switching power supply, which has the effect of improving the output accuracy of the switching power supply.

[0005] In a first aspect, the present application provides a control method for improving the output accuracy of a switching power supply, comprising: Obtaining output voltage sampling values ​​and output current sampling values ​​of the switching power supply at multiple sampling time points; Determine the current ripple amplitude of the switching power supply based on each of the output voltage sampling values ​​and each of the output current sampling values; When the ripple amplitude exceeds the amplitude threshold, the control mode of the switching power supply is switched to a preset regulation mode, and a first regulation step is determined according to the ripple amplitude; Receiving a load parameter of the switching power supply, and determining a second adjustment step size according to the load parameter and the first adjustment step size; In the preset adjustment mode, the switching power supply is adjusted according to the second adjustment step until the ripple amplitude of the switching power supply is within a standard amplitude range.

[0006] In a second aspect of the present application, a control system for improving the output accuracy of a switching power supply is provided, the system comprising: A data acquisition module, used to acquire output voltage sampling values ​​and output current sampling values ​​of the switching power supply at multiple sampling time points; A ripple amplitude determination module, used to determine the current ripple amplitude of the switching power supply based on each of the output voltage sampling values ​​and each of the output current sampling values; an adjustment step determination module, configured to switch the control mode of the switching power supply to a preset adjustment mode when the ripple amplitude exceeds an amplitude threshold, and determine a first adjustment step according to the ripple amplitude; receive a load parameter of the switching power supply, and determine a second adjustment step according to the load parameter and the first adjustment step; The switching power supply regulating module is used to regulate the switching power supply according to the second regulating step in the preset regulating mode until the ripple amplitude of the switching power supply is within the standard amplitude range.

[0007] In a third aspect of the present application, an electronic device is provided, comprising a memory, a processor, and a program stored in the memory and executable on the processor, wherein the program can implement a control method for improving the output accuracy of a switching power supply when loaded and executed by the processor.

[0008] In a fourth aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor implements a control method for improving the output accuracy of a switching power supply.

[0009] In summary, one or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages: By adopting the above technical solution, the output voltage sampling values ​​and output current sampling values ​​of the switching power supply at multiple sampling time points are obtained to fully reflect the working state of the power supply under different load conditions. Based on these sampling values, the current ripple amplitude of the switching power supply is accurately determined, so that the fluctuation of the output voltage can be detected in time. When the ripple amplitude exceeds the preset amplitude threshold, the system automatically switches the control mode of the switching power supply to the preset adjustment mode to ensure that the power supply can respond quickly to abnormal fluctuations. Subsequently, the first adjustment step is determined based on the actual measured ripple amplitude, so that the adjustment process is targeted and effective. After receiving the load parameters, the second adjustment step is further determined in combination with the first adjustment step, fully considering the impact of load changes on the power supply output, and enhancing the flexibility and adaptability of the adjustment. In the preset adjustment mode, the switching power supply is dynamically adjusted according to the second adjustment step until the ripple amplitude is restored to the standard amplitude range. Through this control process, the output accuracy of the switching power supply is significantly improved, and it can maintain a stable output in a complex environment with load changes, reduce the ripple amplitude, and thus improve the output accuracy of the switching power supply. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] Figure 1It is a flow chart of a control method for improving the output accuracy of a switching power supply provided by an embodiment of the present application; Figure 2 It is a structural schematic diagram of a control system for improving the output accuracy of a switching power supply provided by an embodiment of the present application; Figure 3 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application.

[0011] Description of reference numerals: 300, electronic device; 301, processor; 302, communication bus; 303, user interface; 304, network interface; 305, memory. DETAILED DESCRIPTION

[0012] In order to enable technicians in this field to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments.

[0013] In the description of the embodiments of the present application, words such as "for example" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "for example" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "for example" or "for example" is intended to present related concepts in a specific way.

[0014] In the description of the embodiments of the present application, the meaning of the term "multiple" refers to two or more. For example, multiple systems refer to two or more systems, and multiple screen terminals refer to two or more screen terminals. In addition, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. The terms "include", "comprise", "have" and their variations all mean "including but not limited to", unless otherwise specifically emphasized.

[0015] The present application embodiment provides a control method for improving the output accuracy of a switching power supply. In one embodiment, please refer to Figure 1 , Figure 1The present invention provides a flow chart of a control method for improving the output accuracy of a switching power supply provided by an embodiment of the present invention. The method can be implemented by a computer program, which can be integrated into an application or run as an independent tool application. The method can also be implemented by a single-chip microcomputer or run in a control system for improving the output accuracy of a switching power supply based on a von Neumann system. Specifically, the method can include the following steps: Step 101: obtaining output voltage sampling values ​​and output current sampling values ​​of a switching power supply at multiple sampling time points.

[0016] The sampling time point refers to the time point at which the output voltage and output current of the switching power supply are sampled. In the embodiment of the present application, the sampling time point can be understood as the time point when the controller discretely samples the output voltage and output current of the switching power supply, which is used to achieve timed sampling of the output voltage and output current.

[0017] The output voltage sampling value refers to the digitized voltage value obtained after sampling the voltage at the output end of the switching power supply at the sampling time point. The output current sampling value refers to the digitized current value obtained after sampling the current at the output end of the switching power supply at the sampling time point. In the embodiment of the present application, the output voltage sampling value and the output current sampling value can be understood as the digitized voltage data and digitized current data of the output end of the switching power supply obtained by the controller through analog-to-digital conversion at the sampling time point. It is used to reflect the instantaneous output voltage value and instantaneous output current value of the switching power supply at the sampling time point in real time.

[0018] Specifically, at the output end of the switching power supply, a voltage sampling circuit and a current sampling circuit are configured to sample the output voltage and output current. The sampling time points can be evenly distributed, for example, sampling once every 10 milliseconds. The sampling circuit can be implemented by using a known voltage sampling amplifier circuit and a current sampling amplifier circuit to convert the sampled voltage and current into corresponding voltage values. The output of the sampling circuit is connected to the analog-to-digital conversion input port of the controller, and the controller reads the voltage sampling value and the current sampling value at a regular interval. The purpose of multi-point sampling is to monitor the changes in the output voltage and current in the time domain and detect whether there is ripple. Compared with only single-point sampling, multi-point sampling can more comprehensively reflect the fluctuation of voltage and current, which is conducive to calculating the ripple amplitude. Continuous sampling points can form a sampling curve. By analyzing the sampling curve, the ripple components in the voltage or current can be quantitatively detected, and the frequency and amplitude of the ripple can be calculated, so as to determine whether the ripple exceeds the normal range. Therefore, obtaining the output voltage and current sampling values ​​of the switching power supply at multiple sampling time points is the first step to achieve ripple detection and subsequent control, and is also the basis for ensuring the control effect. The controller can analyze the ripple conditions based on these sampled values ​​and adjust the control strategy accordingly, thereby improving the output accuracy of the switching power supply.

[0019] Step 102: Determine the current ripple amplitude of the switching power supply based on each output voltage sampling value and each output current sampling value.

[0020] The ripple amplitude refers to the peak voltage of the ripple component in the output voltage of the switching power supply. In the embodiment of the present application, the ripple amplitude can be understood as the peak voltage of the ripple voltage fluctuation after calculating the output voltage sampling value obtained at the sampling time point and extracting the ripple component therein, which is used to evaluate the output voltage quality of the switching power supply and detect the severity of the ripple problem existing in the output of the switching power supply.

[0021] Specifically, after the controller obtains all the output voltage sampling values ​​and output current sampling values ​​corresponding to the sampling time point, it first calculates the voltage change and current change of each sampling point, that is, the difference between the voltage and current between two adjacent sampling points. Then, the ratio of the voltage change and the corresponding current change of each sampling point is calculated, and the ratio of all sampling points is averaged to obtain the equivalent output impedance of the switching power supply. Next, the average value of the voltage sampling values ​​of all sampling points is calculated to represent the average output value of the voltage; the average value of the current sampling values ​​of all sampling points is calculated to represent the average output value of the current. According to the obtained data, the theoretical output voltage without ripple can be further calculated. The absolute value of the difference between the actual voltage sampling value and the theoretical output voltage at a certain sampling time is the amplitude of the ripple of the switching power supply at that time. Repeating this calculation can obtain the ripple amplitude of the switching power supply at each sampling time, and its maximum value is the current ripple peak amplitude of the switching power supply. The purpose of ripple amplitude calculation is to determine whether the ripple exceeds the limit and determine the subsequent control strategy. The calculation method uses the parameters of the output characteristics to fit the theoretical value, which can effectively extract the ripple component. By obtaining the quantitative indicator of ripple amplitude, the threshold can be set and a control scheme can be designed to reduce the ripple. Therefore, this step uses the output sampling value data to determine the actual degree of ripple problems in the switching power supply through the calculation method of impedance parameter and theoretical value fitting, providing a basis for subsequent closed-loop control.

[0022] Based on the above embodiment, as an optional embodiment, in step 102: determining the current ripple amplitude of the switching power supply based on each output voltage sampling value and each output current sampling value, this step may also include the following steps: Step 201: Based on each output voltage sampling value and each output current sampling value, determine the voltage change amount and current change amount between any two adjacent sampling time points.

[0023] Specifically, the controller takes out the output voltage sampling values ​​Uk and Uk+1 of two adjacent sampling time points k and k+1 from the sampling memory, and calculates the difference ΔUk=Uk+1-Uk, which is the voltage change between the kth sampling point and the k+1th sampling point. Similarly, the output current sampling values ​​Ik and Ik+1 of two adjacent sampling points are taken out, and the difference ΔIk=Ik+1-Ik is calculated, which is the current change between the two sampling points. Repeating this calculation can obtain the voltage change ΔU and current change ΔI between all adjacent sampling points. The purpose of calculating the change is to further analyze the output characteristic parameters of the switching power supply, that is, the output impedance, which will be used in the subsequent steps of calculating the target voltage. The ratio of the voltage change to the current change can represent the value of the output impedance. The voltage change and the current change are obtained by analyzing the sampling values, which lays the foundation for calculating the output impedance parameters and then obtaining the theoretical target voltage value. Finally, the ripple component can be extracted by comparing with the target voltage, the ripple amplitude is determined, and the control purpose is achieved.

[0024] Step 202: Calculate the ratio between each voltage change and the corresponding current change, average each ratio to obtain the output impedance; calculate the voltage mean value corresponding to each output voltage sampling value and the current mean value corresponding to each output current sampling value.

[0025] The output impedance refers to the equivalent output impedance of the switching power supply, which indicates the response sensitivity of its voltage output to the current change. In the embodiment of the present application, the output impedance can be understood as the equivalent impedance of the output end of the switching power supply by calculating the average value of the ratio of the voltage change to the corresponding current change at multiple sampling points.

[0026] Specifically, the voltage change ΔU and the corresponding current change ΔI of all sampling points are taken out in turn, and the ratio ΔU / ΔI is calculated, which is the impedance value of each sampling point. Then the impedance values ​​of all sampling points are averaged to obtain the equivalent output impedance Z of the switching power supply under the current load. At the same time, the arithmetic mean value Umean of all voltage sampling values ​​is calculated, which is expressed as the average output voltage; the arithmetic mean value Imean of all current sampling values ​​is calculated, which is expressed as the average output current. The purpose of impedance calculation is to obtain the load-dependent parameter of the equivalent output impedance of the switching power supply, and the average values ​​of voltage and current can represent the average operating point of the switching power supply. These two parameters will lay the foundation for the subsequent calculation of the target voltage. By further processing the sampling values, the output characteristic parameters of the switching power supply are obtained, which provide data for the subsequent establishment of the theoretical target voltage. Finally, the ripple amplitude is obtained by comparing the target voltage to achieve the control purpose of improving the output accuracy.

[0027] Step 203: Calculate the ripple amplitude of the switching power supply according to the output impedance, the current average value and the voltage average value.

[0028] Specifically, after calculating the output impedance, current mean, and voltage mean, the ripple component is extracted by calculation and theoretical value fitting to achieve the determination of the ripple amplitude. After obtaining the ripple amplitude as a quantitative indicator, it is compared with the threshold and the subsequent control scheme is designed. Therefore, this step establishes and solves the mathematical model of the switching power supply, calculates the target voltage using the output parameters, and then compares it with the actual sampling value to obtain the ripple amplitude, providing a data basis for subsequent closed-loop control.

[0029] Based on the above embodiment, as an optional embodiment, in step 203: calculating the ripple amplitude of the switching power supply according to the output impedance, the current average value and the voltage average value, this step may also include the following steps: Step 213: Subtract the product of the output impedance and the current average value from the voltage average value to obtain a target output voltage value.

[0030] The target output voltage value refers to the ripple-free output voltage value theoretically generated by the switching power supply under the current load condition. In the embodiment of the present application, the target output voltage value can be understood as the ideal no-load output voltage calculated by the mathematical model according to the output characteristic parameters of the switching power supply.

[0031] Specifically, according to the static characteristic equation U=Umean-Z×Imean of the equivalent model of the switching power supply, it can be obtained that the target output voltage when there is no ripple in theory should be: Utarget=Umean-Z×Imean, where Umean is the average output voltage, Z is the output impedance, and Imean is the average output current. According to this formula, the controller obtains the target output voltage value Utarget of the switching power supply by subtracting the impedance Z and multiplying it by the current Imean. In this way, by establishing a mathematical formula, the theoretical target voltage when there is no load is solved. This is the basis for realizing subsequent ripple extraction. Compared with the target voltage, the actual ripple amplitude can be calculated as the basis for subsequent control. Therefore, this step is based on the determination of the output parameters and the application of the equivalent model to calculate the target voltage, laying the mathematical foundation for realizing the entire closed-loop control. The accurate solution of the target voltage is directly related to the subsequent accurate ripple control effect.

[0032] Step 223: Obtain the actual output voltage value of the switching power supply at the current moment; and use the absolute value of the difference between the actual output voltage value and the target output voltage value as the ripple amplitude of the switching power supply.

[0033] The actual output voltage value refers to the actual output voltage value of the switching power supply at the current moment. In the embodiment of the present application, the actual output voltage value can be understood as the digital quantization value of the output voltage obtained by the controller through the sampling circuit at the output end of the switching power supply at the sampling moment.

[0034] Specifically, the output voltage of the switching power supply is sampled at a predetermined frequency to obtain the value of the actual output voltage at the current moment t. The controller has obtained the theoretical target output voltage value of the switching power supply under the current load conditions based on the previous calculation. The actual output voltage value obtained at the current sampling moment t is numerically subtracted from the target output voltage value, and the difference between the two is calculated. The absolute value of the difference is taken to obtain the amplitude of the ripple existing in the switching power supply at the current moment t. Repeating this process, the ripple amplitude at each sampling moment can be obtained, and the maximum value is taken as the current ripple peak value of the switching power supply. In this way, the actual output voltage is first sampled and then compared with the theoretical value, so that the ripple component can be effectively extracted and quantified into a parameter representing the ripple amplitude.

[0035] Step 103: When the ripple amplitude exceeds the amplitude threshold, the control mode of the switching power supply is switched to a preset regulation mode, and a first regulation step is determined according to the ripple amplitude.

[0036] The preset regulation mode refers to the closed-loop regulation control mode of the switching power supply set in advance by the controller. In the embodiment of the present application, the preset regulation mode can be understood as the closed-loop feedback regulation mode that the controller automatically switches to when an excessive ripple is detected at the output end of the switching power supply to suppress the ripple.

[0037] The first adjustment step refers to the initial adjustment amplitude determined by the controller according to the measured ripple when the switching power supply just enters the closed-loop regulation control state. In the embodiment of the present application, the first adjustment step can be understood as a reasonable adjustment amount calculated by the controller according to the ripple peak amplitude measured at that time after the ripple exceeds the limit, which is used for the initial rapid adjustment of the switching power supply parameters.

[0038] Specifically, when the detected ripple amplitude at the output end of the switching power supply exceeds the preset allowable ripple amplitude threshold, the switching power supply control mode is switched to the closed-loop regulation mode, and the adjustment step of the first stage is determined according to the actual detected ripple amplitude, so that the excessive ripple in the switching power supply can be effectively suppressed in real time and its output quality can be improved. The controller will pre-set a maximum ripple amplitude threshold allowed within the normal working range as a standard for over-limit judgment. When detecting the ripple at the output end of the switching power supply, the controller will obtain the ripple amplitude in real time and compare it with the set ripple amplitude threshold. Once it is detected that the ripple amplitude exceeds the preset threshold, the controller will immediately trigger the control instruction, switch the switching power supply to the closed-loop regulation control mode, and start the ripple suppression regulation process. While switching, the controller will also calculate the reasonable adjustment step of the first stage according to the actual ripple amplitude obtained by measurement, and the step is proportional to the measured ripple amplitude. Then, the determined first adjustment step is used to start adjusting the relevant control parameters of the switching power supply to suppress the ripple at the output end. During the entire regulation process, the controller continuously monitors the changes in the ripple amplitude and dynamically adjusts the control amount until the ripple returns to the allowable range. Through this rapid judgment and closed-loop regulation control method, the excessive ripple in the switching power supply can be effectively suppressed, allowing it to quickly return to normal working state and ensure its output voltage quality.

[0039] Based on the above embodiment, as an optional embodiment, in step 103: determining the first adjustment step according to the ripple amplitude, this step may also include the following steps: Step 301: Obtain a power supply model of a switching power supply, and determine a reference ripple amplitude range corresponding to the power supply model in a database.

[0040] The power supply model refers to the specific specification information of the switching power supply, including characteristic parameters such as brand and model number. In the embodiment of the present application, the power supply model can be understood as a model encoding string read by the controller from the inside of the switching power supply to represent the specific parameters of the power supply, which is used to search the historical working data of the power supply of this model in the preset database to obtain its reference ripple amplitude range as the basis for subsequent judgment of whether it exceeds the limit.

[0041] The database refers to an information base storing a large amount of switching power supply working data. In the embodiment of the present application, the database can be understood as a preset storage unit in the controller, which contains historical data of various switching power supply models under long-term operation.

[0042] The reference ripple amplitude range refers to the normal ripple amplitude range of a certain switching power supply model when it works for a long time. In the embodiment of the present application, the reference ripple amplitude range can be understood as the normal ripple floating range obtained based on the historical working data of the switching power supply model in the database.

[0043] Specifically, identify the specific model information of the switching power supply, such as brand, model, and other power supply models. Then, search the historical working data of the power supply model in the preset database to determine the reference ripple range of the normal ripple range under long-term operation. The reference ripple range reflects the design characteristics and performance indicators of the switching power supply of this model, and is the basis for setting a reasonable ripple limit for this model. In this way, by obtaining the reference ripple range of the specified model, a unified fixed ripple threshold can be replaced to set a more personalized judgment standard, improve the accuracy of the judgment, and help to achieve more accurate closed-loop control in the future, thereby improving the ripple problem of the switching power supply in a targeted manner. Therefore, this step queries historical data according to the actual situation of the power supply, realizes the function of accurately obtaining the reference ripple limit, and lays the foundation for the subsequent judgment of over-limit ripple and startup control.

[0044] Step 302: Calculate the difference between the ripple amplitude and the minimum amplitude in the reference ripple amplitude interval.

[0045] Specifically, according to the measured switching power supply model, the reference ripple amplitude interval corresponding to the model is found in the database, and the interval gives the ripple amplitude range of the switching power supply of this model when it is working normally. It includes maximum and minimum values. Then the controller measures the actual ripple amplitude of the switching power supply in the current working state. Subsequently, the controller takes the minimum value of the reference ripple amplitude interval, subtracts it from the measured current actual ripple amplitude, and calculates the difference between the two. If the difference is greater than 0, it means that the current ripple has exceeded the reference interval and needs to be controlled and adjusted. If the difference is less than or equal to 0, it means that the current ripple is normal. By calculating the difference between the current ripple and the minimum value of the reference interval, it can be determined whether the ripple of the switching power supply exceeds the standard range, and it is possible to accurately determine whether control is required.

[0046] Step 303: Divide the difference by the amplitude span in the reference ripple amplitude interval to obtain an adjustment coefficient; multiply the adjustment coefficient by the amplitude median in the reference ripple amplitude interval to obtain a first adjustment step.

[0047] The amplitude span refers to the difference between the maximum and minimum values ​​of the reference ripple amplitude interval. In the embodiment of the present application, the amplitude span can be understood as the full range amplitude of the reference ripple interval of a certain switching power supply model determined based on historical data.

[0048] The adjustment coefficient refers to the degree to which the current ripple exceeds the minimum value of the reference ripple interval. In the embodiment of the present application, the adjustment coefficient can be understood as the ratio of the difference between the current ripple and the reference minimum value divided by the amplitude span of the reference interval.

[0049] The median amplitude refers to the average of the maximum and minimum values ​​of the reference ripple amplitude interval. In the embodiment of the present application, the median amplitude can be understood as the middle value calculated based on the historical reference ripple interval data of the switching power supply of this model.

[0050] Specifically, after calculating the difference between the current ripple amplitude and the minimum value of the reference interval, the amplitude span of the reference ripple interval of the switching power supply is obtained, that is, the difference between the maximum value and the minimum value. The difference between the current ripple and the minimum value is divided by the amplitude span of the reference interval to obtain an adjustment coefficient, and then the median amplitude of the reference interval is taken, that is, the average of the maximum value and the minimum value. The obtained adjustment coefficient is multiplied by the median amplitude, and the adjustment step length of the first stage is finally calculated. In this way, through mathematical calculations, a reasonable adjustment step length can be obtained, which can ensure effective adjustment without over-adjustment. This method of intelligently determining the step length can make the adjustment more accurate and controllable, thereby quickly improving the over-limit ripple. Through this step, a suitable adjustment step length can be calculated to make the subsequent closed-loop control more precise.

[0051] Step 104: receiving a load parameter of the switching power supply, and determining a second adjustment step size according to the load parameter and the first adjustment step size.

[0052] The load parameter refers to the relevant characteristic data of the load connected to the output end of the switching power supply. In the embodiment of the present application, the load parameter can be understood as the real-time power, voltage, current and other information of the load detected by the controller, which is used to evaluate the current load status, determine the corresponding second adjustment step, and realize precise control of the load.

[0053] The second adjustment step refers to a more accurate control adjustment amount obtained after fine-tuning the load parameters. In the embodiment of the present application, the second adjustment step can be understood as an appropriate control amount calculated based on the first adjustment step and combined with the actual load conditions.

[0054] Specifically, the load at the output end of the switching power supply is monitored in real time, and the real-time power, voltage, current and other parameters of the load are detected. After obtaining these load parameters, the controller analyzes and determines the specific conditions of the current load, such as load size, load type, etc., and has calculated a first round of adjustment step length in the first stage of control. The controller will combine the adjustment step length of the first stage with the current load conditions for analysis. Under different load conditions, the required fine adjustment amplitude is also different. Through this analysis, a more accurate adjustment step length for the second stage can be calculated. Using this second adjustment step length for control can achieve accurate adjustment according to load requirements, thereby achieving efficient and stable control and improving ripple. By detecting the load and calculating the second step length, the closed-loop control can be more flexible to adapt to load changes and improve the control quality and effect.

[0055] Step 105: In a preset adjustment mode, the switching power supply is adjusted according to a second adjustment step until the ripple amplitude of the switching power supply is within a standard amplitude range.

[0056] Among them, the standard amplitude range refers to the reasonable range that the ripple amplitude should be in when the switching power supply is working normally. In the embodiment of the present application, the standard amplitude range can be understood as a normal floating amplitude range pre-set according to the benchmark ripple range of this model of switching power supply.

[0057] Specifically, the output ripple of the switching power supply is monitored in real time, and its model parameters are detected. According to the obtained parameters, the controller calculates the difference between the current ripple and the reference interval of the model, and then calculates the reasonable first adjustment step through mathematical calculation. Next, the controller detects the real-time status of the load, and determines a more accurate second adjustment step according to the load parameters and the first step. Then, according to the current status, a suitable preset adjustment mode is selected, in which the second step is used to control the switching power supply, and the working parameters of the switching power supply are gradually adjusted so that the ripple amplitude gradually approaches and finally reaches the normal standard range. In the whole process, the controller continuously monitors the ripple amplitude through closed-loop feedback until the ripple returns to normal before the whole adjustment process ends. Through this step, the closed-loop feedback process of accurate detection of over-limit ripple, intelligent calculation of control parameters, and precise adjustment control is realized, which not only takes into account the reference parameters but also dynamically adjusts according to the load requirements, so that the ripple problem of the switching power supply can be eliminated efficiently and stably, and the output voltage quality can be improved.

[0058] Based on the above embodiment, as an optional embodiment, in step 105: in a preset adjustment mode, the switching power supply is adjusted according to the second adjustment step until the ripple amplitude of the switching power supply is within the standard amplitude range. This step may also include the following steps: Step 401: adjusting the PWM duty cycle of the switching power supply according to the second adjustment step.

[0059] The PWM duty cycle of the switching power supply refers to the ratio of the switch-on time in the PWM wave to the PWM cycle time. In the embodiment of the present application, the PWM duty cycle of the switching power supply can be understood as the percentage of the switch-on time in the PWM wave modulation signal output by the controller to the total PWM cycle time.

[0060] Specifically, a more accurate second adjustment step is calculated according to the detected load parameters. Then, the controller gradually adjusts the PWM duty cycle of the switching power supply according to the second adjustment step. The PWM duty cycle determines the on-time of the switch tube. Increasing the duty cycle can extend the on-time, thereby increasing the output voltage; on the contrary, reducing the duty cycle can shorten the on-time, causing the output voltage to drop. By accurately calculating the step length, the controller can reasonably increase or decrease the PWM duty cycle to suppress or enhance the voltage, thereby effectively improving the ripple. The controller will gradually adjust the PWM duty cycle and continuously monitor the changes in the ripple amplitude until the ripple returns to the normal range before stopping the duty cycle adjustment. Through this closed-loop control process, the output ripple of the switching power supply can be efficiently smoothed by adjusting the PWM duty cycle, the power quality can be improved, and fast and accurate ripple control can be achieved. This technology reasonably utilizes the principle of PWM modulation and sets a suitable control amount in combination with the load parameters, making the entire control process more intelligent and accurate.

[0061] Based on the above embodiment, as an optional embodiment, in step 401: adjusting the PWM duty cycle of the switching power supply according to the second adjustment step, this step may also include the following steps: Step 411: Acquire the current PWM duty cycle value of the switching power supply, and determine the duty cycle increment value corresponding to the second adjustment step based on a preset mapping table.

[0062] The preset mapping table refers to a table of correspondence between PWM duty cycle values ​​and adjustment step sizes stored in the controller. In the embodiment of the present application, the preset mapping table can be understood as a lookup table pre-established in the controller, which specifies the adjustment step size amplitudes that match different duty cycle levels.

[0063] The duty cycle increment value refers to the duty cycle adjustment amplitude that needs to be adjusted this time determined by searching the mapping table based on the current duty cycle and the second step length. In the embodiment of the present application, the duty cycle increment value can be understood as the corresponding duty cycle adjustment amount found by the controller in the preset mapping table based on the current duty cycle value and the calculation step length.

[0064] Specifically, the current PWM duty cycle value of the switching power supply is monitored in real time. At the same time, the controller has obtained the second adjustment step through preliminary calculations. A mapping relationship table is preset in the controller to establish a corresponding relationship between the duty cycle value and the adjustment step. Therefore, the controller can directly search this mapping table based on the currently detected duty cycle value and the calculated second step to quickly and in real time obtain the duty cycle increment value that matches the current situation. This increment value is the specific amplitude of the duty cycle that needs to be adjusted this time. By looking up the mapping table, repeated calculations can be avoided, and the duty cycle adjustment amount that is suitable for the second step can be quickly obtained, thereby improving the speed and accuracy of control.

[0065] Step 421: determine whether the ripple amplitude is greater than or equal to the upper limit of the standard amplitude range; if so, subtract the duty cycle increment value from the duty cycle value to obtain the target PWM duty cycle value; if not, increase the duty cycle value by the duty cycle increment value to obtain the target PWM duty cycle value.

[0066] The target PWM duty cycle value refers to the optimal duty cycle value calculated according to the ripple situation for eliminating the ripple. In the embodiment of the present application, the target PWM duty cycle value can be understood as the final target duty cycle for adjustment obtained by the controller through judgment and calculation based on the relationship between the current ripple amplitude and the standard range.

[0067] Specifically, after calculating the current ripple amplitude, this ripple amplitude is then compared with the upper limit of the standard amplitude range. If the ripple amplitude is greater than or equal to the upper limit, it means that there is an excessive ripple that needs to be suppressed. At this time, the controller will subtract the determined duty cycle increment value from the current duty cycle value to obtain a target duty cycle value for reducing the output voltage. On the contrary, if the calculated ripple amplitude is within the standard range, it means that the voltage needs to be further increased to enhance the effect. At this time, the controller will increase the current duty cycle value by the duty cycle increment value to obtain a target duty cycle value for increasing the output voltage. In this way, the controller can determine whether the duty cycle needs to be reduced or increased according to the specific situation of the ripple, thereby obtaining the final target duty cycle value, which is used to accurately adjust the output voltage, effectively suppress or enhance the voltage, eliminate ripples, and achieve fast and accurate closed-loop control.

[0068] Step 431: Adjust the current PWM duty cycle value of the switching power supply to the target PWM duty cycle value.

[0069] Specifically, the target PWM duty cycle value is calculated according to the ripple situation to suppress the ripple. Next, the controller needs to adjust the current duty cycle value of the switching power supply to the target duty cycle value just determined. The specific implementation method is that the controller sends a control signal to the PWM generation module to change the duty cycle of the PWM wave, thereby changing the on-time of the switch tube. By adjusting the PWM duty cycle, the on-ratio of the switch tube can be accurately changed, and the output voltage value can be changed to the level required by the target duty cycle. In this way, after determining the target duty cycle, the controller can quickly change the on-time of the switch tube, adjust the output voltage, and change the duty cycle from the current value to the calculated target value. Through a closed-loop control, the ripple is eliminated quickly and effectively, and the power quality is improved.

[0070] Step 402: After each adjustment, a target output voltage sampling value and a target output current sampling value of the switching power supply are obtained; based on the target output voltage sampling value and the target output current sampling value, a target ripple amplitude of the switching power supply is calculated.

[0071] Among them, the target output voltage sampling value and the target output current sampling value refer to the sample data of the voltage and current collected in real time at the target output end of the switching power supply after the duty cycle is adjusted. In the embodiment of the present application, the target output voltage sampling value and the target output current sampling value can be understood as the voltage and current values ​​of the target output end of the switching power supply obtained instantly by the controller through the sampling circuit after the duty cycle is adjusted.

[0072] The target ripple amplitude refers to the peak-to-peak value of the ripple at the target output end of the switching power supply after adjustment calculated based on the target output voltage and current. In the embodiment of the present application, the target ripple amplitude can be understood as the peak value of the ripple at the target end of the switching power supply after adjustment calculated based on the sampled target output voltage and current after processing.

[0073] Specifically, after each adjustment of the duty cycle, the controller will immediately collect the voltage and current at the target output end of the switching power supply to obtain the instantaneous sampling value after this adjustment. The controller then processes the sampled target voltage and current data inputs and calculates the ripple amplitude at the target end of the switching power supply through an algorithm. This target ripple amplitude can directly reflect the specific effect after this PWM duty cycle adjustment. The controller needs to judge whether the adjustment effect meets the standard based on the calculated target ripple amplitude. If the target ripple amplitude still exceeds the normal range, the duty cycle needs to be adjusted further; if it has reached the standard range, the closed-loop control is completed. Through such real-time sampling and calculation, it can ensure that the effect can be accurately judged after each duty cycle adjustment, thereby achieving accurate and efficient closed-loop control and quickly improving the ripple problem of the switching power supply.

[0074] Step 403: determine whether the target ripple amplitude is within the standard amplitude range; if so, end the operation of adjusting the PWM duty cycle of the switching power supply; if not, repeat the operation of adjusting the PWM duty cycle of the switching power supply.

[0075] Specifically, the target ripple amplitude is calculated based on the sampled data. Then, this target ripple amplitude is compared with the standard amplitude range. If the target ripple amplitude is already within the standard range, it means that the effect of this duty cycle adjustment has met the requirements, and the duty cycle adjustment operation can be ended directly. However, if the target ripple amplitude is still beyond the standard range, it means that this adjustment has not completely eliminated the ripple, and the previous duty cycle adjustment process needs to be repeated and adjusted appropriately again. The controller will adjust the duty cycle multiple times and eventually control the target ripple to within the standard normal range. Through this judgment and control, it can be determined when to end the duty cycle adjustment according to the target ripple situation, thereby achieving precise control of the entire adjustment process and quickly adjusting the ripple of the switching power supply to within the standard amplitude range.

[0076] Reference Figure 2 , a control system for improving the output accuracy of a switching power supply provided by an embodiment of the present application, the system comprises: a data acquisition module, a ripple amplitude determination module, an adjustment step determination module, and a switching power supply adjustment module, wherein: A data acquisition module, used to acquire output voltage sampling values ​​and output current sampling values ​​of the switching power supply at multiple sampling time points; A ripple amplitude determination module is used to determine the current ripple amplitude of the switching power supply based on each output voltage sampling value and each output current sampling value; An adjustment step determination module is used to switch the control mode of the switching power supply to a preset adjustment mode when the ripple amplitude exceeds the amplitude threshold, and determine a first adjustment step according to the ripple amplitude; receive a load parameter of the switching power supply, and determine a second adjustment step according to the load parameter and the first adjustment step; The switching power supply regulating module is used to regulate the switching power supply according to a second regulating step in a preset regulating mode until the ripple amplitude of the switching power supply is within a standard amplitude range.

[0077] On the basis of the above embodiment, the ripple amplitude determination module is also used to determine the voltage change and current change between any two adjacent sampling time points based on each output voltage sampling value and each output current sampling value; calculate the ratio between each voltage change and the corresponding current change, average each ratio to obtain the output impedance; calculate the voltage mean corresponding to each output voltage sampling value and the current mean corresponding to each output current sampling value; calculate the ripple amplitude of the switching power supply based on the output impedance, current mean and voltage mean.

[0078] Based on the above embodiment, the ripple amplitude determination module is also used to subtract the product between the output impedance and the current mean from the voltage mean to obtain the target output voltage value; obtain the actual output voltage value of the switching power supply at the current moment; and use the absolute value of the difference between the actual output voltage value and the target output voltage value as the ripple amplitude of the switching power supply.

[0079] On the basis of the above embodiment, the adjustment step determination module is also used to obtain the power supply model of the switching power supply, and determine the reference ripple amplitude range corresponding to the power supply model in the database; calculate the difference between the ripple amplitude and the minimum amplitude in the reference ripple amplitude range; divide the difference by the amplitude span in the reference ripple amplitude range to obtain the adjustment coefficient; multiply the adjustment coefficient by the median amplitude in the reference ripple amplitude range to obtain the first adjustment step.

[0080] Based on the above embodiment, the adjustment step determination module is also used to obtain the load power value in the load parameter; calculate the ratio of the load power value to the preset nominal power value to obtain the load proportional coefficient; multiply the first adjustment step by the load proportional coefficient to obtain the second adjustment step.

[0081] On the basis of the above embodiment, the switching power supply adjustment module is also used to adjust the PWM duty cycle of the switching power supply according to the second adjustment step; after each adjustment, obtain the target output voltage sampling value and the target output current sampling value of the switching power supply; calculate the target ripple amplitude of the switching power supply based on the target output voltage sampling value and the target output current sampling value; determine whether the target ripple amplitude is within the standard amplitude range; if so, end the operation of adjusting the PWM duty cycle of the switching power supply; if not, repeat the operation of adjusting the PWM duty cycle of the switching power supply.

[0082] On the basis of the above embodiment, the switching power supply adjustment module is also used to obtain the current PWM duty cycle value of the switching power supply, and determine the duty cycle increment value corresponding to the second adjustment step based on a preset mapping table; judge whether the ripple amplitude is greater than or equal to the upper limit value of the standard amplitude range; if so, subtract the duty cycle increment value from the duty cycle value to obtain the target PWM duty cycle value; if not, increase the duty cycle value by the duty cycle increment value to obtain the target PWM duty cycle value; adjust the current PWM duty cycle value of the switching power supply to the target PWM duty cycle value.

[0083] It should be noted that: when the device provided in the above embodiment realizes its function, only the division of the above functional modules is used as an example. In actual application, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0084] The present application also discloses an electronic device. Figure 3 , Figure 3 The electronic device 300 may include: at least one processor 301 , at least one network interface 304 , a user interface 303 , a memory 305 , and at least one communication bus 302 .

[0085] The communication bus 302 is used to realize the connection and communication between these components.

[0086] The user interface 303 may include a display interface and a camera interface. Optionally, the user interface 303 may also include a standard wired interface and a wireless interface.

[0087] The network interface 304 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).

[0088] Among them, the processor 301 may include one or more processing cores. The processor 301 uses various interfaces and lines to connect various parts in the entire server, and executes various functions of the server and processes data by running or executing instructions, programs, code sets or instruction sets stored in the memory 305, and calling data stored in the memory 305. Optionally, the processor 301 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 301 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface diagrams and applications, etc.; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 301, and it can be implemented separately through a chip.

[0089] Among them, the memory 305 may include a random access memory (Random Access Memory, RAM) and may also include a read-only memory (Read-Only Memory). Optionally, the memory 305 includes a non-transitory computer-readable storage medium. The memory 305 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 305 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 305 may optionally also be at least one storage device located away from the aforementioned processor 301. Refer to Figure 3 , the memory 305 as a computer storage medium may include an operating system, a network communication module, a user interface module and an application program of a control method for improving the output accuracy of a switching power supply.

[0090] exist Figure 3In the electronic device 300 shown, the user interface 303 is mainly used to provide an input interface for the user and obtain the data input by the user; and the processor 301 can be used to call the application program stored in the memory 305 for a control method for improving the output accuracy of the switching power supply. When executed by one or more processors 301, the electronic device 300 executes one or more methods in the above-mentioned embodiments. It should be noted that for the aforementioned method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should know that the present application is not limited to the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required for the present application.

[0091] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0092] In the several embodiments provided in this application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.

[0093] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0094] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0095] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a memory and includes several instructions for a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned memory includes: various media that can store program codes, such as USB flash drives, mobile hard drives, magnetic disks or optical disks.

[0096] The above are only exemplary embodiments of the present disclosure and cannot be used to limit the scope of the present disclosure. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the disclosure of the specification and practice, those skilled in the art will easily think of other embodiments of the present disclosure.

[0097] This application is intended to cover any variation, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the art not recorded in the present disclosure. The description and examples are to be regarded as exemplary only.

Claims

1. A control method for improving the output accuracy of a switching power supply, characterized in that: include: Obtaining output voltage sampling values ​​and output current sampling values ​​of the switching power supply at multiple sampling time points; Determine the current ripple amplitude of the switching power supply based on each of the output voltage sampling values ​​and each of the output current sampling values; When the ripple amplitude exceeds the amplitude threshold, the control mode of the switching power supply is switched to a preset regulation mode, and a first regulation step is determined according to the ripple amplitude; Receiving a load parameter of the switching power supply, and determining a second adjustment step size according to the load parameter and the first adjustment step size; In the preset adjustment mode, the switching power supply is adjusted according to the second adjustment step until the ripple amplitude of the switching power supply is within a standard amplitude range.

2. The control method for improving the output accuracy of a switching power supply according to claim 1, characterized in that: The step of determining the ripple amplitude of the switching power supply based on each of the output voltage sampling values ​​and each of the output current sampling values ​​comprises: Based on each of the output voltage sampling values ​​and each of the output current sampling values, determining a voltage change amount and a current change amount between any two adjacent sampling time points; Calculating the ratio between each voltage change and each corresponding current change, averaging each ratio to obtain output impedance; Calculating a voltage mean value corresponding to each of the output voltage sampling values ​​and a current mean value corresponding to each of the output current sampling values; The ripple amplitude of the switching power supply is calculated according to the output impedance, the current average value and the voltage average value.

3. The control method for improving the output accuracy of a switching power supply according to claim 2, characterized in that: The calculating the ripple amplitude of the switching power supply according to the output impedance, the current average value and the voltage average value comprises: Subtract the product of the output impedance and the current average from the voltage average to obtain a target output voltage value; Obtaining the actual output voltage value of the switching power supply at the current moment; The absolute value of the difference between the actual output voltage value and the target output voltage value is used as the ripple amplitude of the switching power supply.

4. The control method for improving the output accuracy of a switching power supply according to claim 1, characterized in that: The step of determining a first adjustment step according to the ripple amplitude includes: Obtaining a power supply model of the switching power supply, and determining a reference ripple amplitude range corresponding to the power supply model in a database; Calculating a difference between the ripple amplitude and a minimum amplitude in the reference ripple amplitude interval; Dividing the difference by the amplitude span in the reference ripple amplitude interval to obtain an adjustment coefficient; The adjustment coefficient is multiplied by the median amplitude in the reference ripple amplitude range to obtain a first adjustment step.

5. The control method for improving the output accuracy of a switching power supply according to claim 1, characterized in that: The determining the second adjustment step size according to the load parameter and the first adjustment step size includes: Obtaining a load power value from the load parameters; Calculating the ratio of the load power value to the preset nominal power value to obtain a load proportional coefficient; The first adjustment step length is multiplied by the load proportional coefficient to obtain a second adjustment step length.

6. The control method for improving the output accuracy of a switching power supply according to claim 1, characterized in that: The step of adjusting the switching power supply in the preset adjustment mode according to the second adjustment step until the ripple amplitude of the switching power supply is within a standard amplitude range includes: According to the second adjustment step, adjusting the PWM duty cycle of the switching power supply; After each adjustment, a target output voltage sampling value and a target output current sampling value of the switching power supply are obtained; Calculating a target ripple amplitude of the switching power supply based on the target output voltage sampling value and the target output current sampling value; Determining whether the target ripple amplitude is within a standard amplitude range; If yes, then the operation of adjusting the PWM duty cycle of the switching power supply ends; If not, the operation of adjusting the PWM duty cycle of the switching power supply is repeated.

7. The control method for improving the output accuracy of a switching power supply according to claim 1, characterized in that: The step of adjusting the PWM duty cycle of the switching power supply according to the second adjustment step size includes: Acquire a current PWM duty cycle value of the switching power supply, and determine a duty cycle increment value corresponding to the second adjustment step based on a preset mapping table; Determining whether the ripple amplitude is greater than or equal to an upper limit value of the standard amplitude range; If yes, subtract the duty cycle increment value from the duty cycle value to obtain a target PWM duty cycle value; If not, increasing the duty cycle value by the duty cycle increment value to obtain a target PWM duty cycle value; The current PWM duty cycle value of the switching power supply is adjusted to the target PWM duty cycle value.

8. A control system for improving the output accuracy of a switching power supply, characterized in that: The system comprises: A data acquisition module, used to acquire output voltage sampling values ​​and output current sampling values ​​of the switching power supply at multiple sampling time points; A ripple amplitude determination module, used to determine the current ripple amplitude of the switching power supply based on each of the output voltage sampling values ​​and each of the output current sampling values; an adjustment step determination module, configured to switch the control mode of the switching power supply to a preset adjustment mode when the ripple amplitude exceeds an amplitude threshold, and determine a first adjustment step according to the ripple amplitude; receive a load parameter of the switching power supply, and determine a second adjustment step according to the load parameter and the first adjustment step; The switching power supply regulating module is used to regulate the switching power supply according to the second regulating step in the preset regulating mode until the ripple amplitude of the switching power supply is within the standard amplitude range.

9. An electronic device, characterized in that: It includes a processor, a memory, a user interface and a network interface, the memory is used to store instructions, the user interface and the network interface are used to communicate with other devices, and the processor is used to execute the instructions stored in the memory so that the electronic device executes the control method for improving the output accuracy of the switching power supply as described in any one of claims 1-7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed, the control method for improving the output accuracy of the switching power supply according to any one of claims 1 to 7 is executed.

Citation Information

Cited By

  • High-frequency active differential signal probe and control method thereof

    CN119827812A

  • Pulse power supply current feedback control system and related device

    CN119853645A

  • A Pulse Power Supply Current Feedback Control System and Related Devices

    CN119853645B

  • Method and device for determining filter inductance parameter of switching power supply conversion circuit and medium

    CN121984329A