Control method, system and equipment based on switching power supply and medium thereof

Through intelligent control methods, dynamically adjusting the output settings and control strategies of switching power supplies, the problems of slow response speed and poor adaptability of traditional control methods are solved, and efficient adaptation to different load conditions and optimization of power control efficiency are achieved.

CN119582570APending Publication Date: 2025-03-07DONGGUAN CHENGLIANG LNTELLIGENT TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411485679.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-23
Publication Date
2025-03-07

AI Technical Summary

Technical Problem

Traditional switching power supply control methods have slow response speed and poor adaptability, especially when facing rapidly changing loads, and the optimization mechanism is insufficient.

Method used

An intelligent control method based on switching power supply is adopted, by identifying the circuit structure, generating circuit models, acquiring working status parameters, generating preliminary control strategies, dynamically adjusting output settings, detecting actual operating conditions, calculating optimization feedback data, determining optimization control strategies and executing control instructions, to achieve efficient control of switching power supply.

Benefits of technology

It improves the adaptability of switching power supplies to different load conditions, optimizes the power control efficiency, enhances the flexibility and response speed of the system, extends the service life of the power supply, and provides a more intelligent, efficient and safe control method.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119582570A_ABST
    Figure CN119582570A_ABST
Patent Text Reader

Abstract

The invention discloses a control method, system and device based on a switching power supply and a medium thereof, and the method comprises the steps: recognizing a to-be-controlled switching power supply and a circuit structure of a connecting device, and generating a circuit model of the to-be-controlled switching power supply according to a preset circuit element specification; obtaining working state parameters of the to-be-controlled switching power supply, and generating a preliminary control strategy according to the circuit model and the working state parameters; according to the preliminary control strategy, adjusting the output setting of the switching power supply to adapt to different load requirements; detecting the actual operation condition of the switching power supply based on the adjusted output setting; calculating optimization feedback data based on the actual operation condition and an optimization algorithm, and determining an optimization control strategy; on the basis of the determined optimization control strategy, generating a corresponding control instruction, and sending the control instruction to an automatic switching module of the switching power supply to control voltage output and power supply distribution; the adaptive capacity of the switching power supply to different load conditions is improved, and the control efficiency of the power supply is optimized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of power switch control technology, and in particular to a control method, system, device and medium based on a switching power supply. Background Art

[0002] With the increasing popularity and diversification of electronic devices, the requirements for power management are also getting higher and higher. Especially in the fields of portable electronic devices, industrial automation (such as 3D printers), efficient power management and conversion have become key factors. Switching power supplies have been widely used in these fields due to their small size, light weight and high efficiency.

[0003] However, traditional switching power supply control methods often have problems such as slow response speed and poor adaptability, especially when facing rapidly changing loads, it is difficult to maintain stable output; in addition, traditional methods also have shortcomings in the optimization mechanism of switching power supplies. Summary of the invention

[0004] In order to overcome the problems existing in the prior art, the present invention proposes an intelligent control method based on a switching power supply, aiming to improve the adaptability of the switching power supply to different load conditions and optimize the control efficiency of the power supply. The present application provides a control method, system, device and medium based on a switching power supply.

[0005] In the first aspect, the invention objective of the present application is achieved by adopting the following technical solutions: A control method based on a switching power supply, comprising: Identify the circuit structure of the switch power supply to be controlled and the connected device, and generate a circuit model of the switch power supply to be controlled according to preset circuit component specifications; Acquire the working state parameters of the switch power supply to be controlled, and generate a preliminary control strategy according to the circuit model and the working state parameters; According to the preliminary control strategy, adjusting the output setting of the switching power supply to adapt to different load requirements; Based on the adjusted output setting, detecting the actual operating condition of the switching power supply; calculating the optimization feedback data based on the actual operating condition and a preset optimization algorithm, and determining the optimization control strategy; Based on the determined optimization control strategy, the corresponding control instructions are generated and sent to the automatic switching module of the switching power supply to control the voltage output and power distribution.

[0006] By adopting the above technical solution, the present invention adopts an optimized control strategy of real-time detection of the switching power supply and dynamic adjustment, so that the switching power supply can better adapt to various load conditions and improve the flexibility of the power supply control system; specifically, by analyzing the circuit composition and component characteristics of the equipment devices connected inside the switching power supply, a highly accurate mathematical model of the power supply is established to provide data support for subsequent accurate analysis and control, and then by real-time detection of the working state of the switching power supply, combined with the pre-established circuit model, a preliminary control strategy that adapts to the current working environment can be quickly generated to improve the response speed; in the next step, in order to adapt to different load requirements, the output settings of the switching power supply are adjusted by dynamically adjusting parameters such as output voltage and current. Adjustment is performed so that the switching power supply can maintain optimal performance under different connected devices and different load conditions; then, based on the actual operating conditions and a preset optimization algorithm (a genetic algorithm, a particle swarm optimization algorithm, etc. may be used), an optimization control strategy is determined, so that the control strategy is continuously adjusted by continuously detecting and analyzing the actual operating conditions of the power supply, and finally, the voltage output and power distribution are controlled through control instructions and automatic switching modules. By integrating an intelligent control unit, refined control of power output and distribution is achieved, which not only improves the overall efficiency of the power supply, but also effectively extends the service life of the power supply. The present invention provides a more intelligent, efficient and safe switching power supply control method, which is suitable for a variety of application scenarios and has high practical value.

[0007] In a preferred example of the present application, the circuit structure of the switching power supply to be controlled and the connected device is identified, and a circuit model of the switching power supply to be controlled is generated according to preset circuit element specifications, specifically including: Identify the circuit structure of the switching power supply to be controlled and the circuit structure of the connected equipment, and obtain the basic parameters of each component in the circuit; Constructing a mathematical model of the circuit according to the basic parameters and preset circuit component specifications; The mathematical model is converted into a visual circuit model.

[0008] By adopting the above technical scheme, the circuit structure of the switching power supply to be controlled refers to the circuit layout inside the switching power supply, including the main circuit, control circuit, protection circuit and other parts, as well as the main components in these circuits (such as transformers, inductors, capacitors, MOS tubes, etc.); the connecting device refers to the circuit structure of the load device connected to the switching power supply, including the input end, output end and key components in the internal circuit of the load device; the circuit component specification refers to the specific parameters of each component in the circuit, such as resistance value, capacitance value, inductance value and on-resistance of MOS tube and other parameters; the visualized circuit model is used to simulate and analyze the performance and circuit behavior of the switching power supply and the connecting device; the present invention provides data support for subsequent mathematical modeling and simulation testing by identifying and recording the circuit structure and component parameters in detail, and constructs a mathematical model of the circuit, which can simulate and analyze the behavior of the circuit under different working conditions, provide a reference for optimizing the control strategy, and the visualized circuit model is convenient and intuitive to display the structure and connection relationship of the circuit, which is conducive to discovering potential design problems.

[0009] In a preferred example of the present application: the obtaining of the working state parameters of the switch power supply to be controlled and generating a preliminary control strategy according to the circuit model and the working state parameters specifically include: Acquire real-time working state parameters of the switch power supply to be controlled, and determine the working mode of the current power supply based on the real-time working state parameters; the real-time working state parameters include input voltage, output voltage, current and temperature; the working mode includes energy-saving mode, high-efficiency mode and safety mode; According to the working state parameters and the working mode of the current power supply, combined with the circuit model, the current efficiency level and stability index are calculated; Based on the calculation results, a preliminary control strategy is generated.

[0010] By adopting the above technical scheme, the working mode refers to the operating mode of the switching power supply under different working conditions, including energy-saving mode, high-efficiency mode and safety mode, wherein the energy-saving mode minimizes energy consumption under the premise of ensuring basic functions, and is suitable for low load or standby state; the high-efficiency mode maximizes energy conversion efficiency under the premise of ensuring output stability, and is suitable for high load or normal working state; the safety mode gives priority to ensuring the safety of the power supply when an abnormal situation is detected to prevent overheating, overvoltage, overcurrent and other faults, and is suitable for fault state or extreme conditions; the present invention ensures the accuracy and reliability of real-time working state parameters by using high-precision sensors and built-in monitoring modules, calculates the current efficiency level and stability index through real-time working state parameters and the current working mode of the power supply, combined with the circuit model, so as to comprehensively evaluate the current state of the high-efficiency power supply, and the generated preliminary control strategy is more in line with the current working mode and load conditions, and is conducive to enabling the switching power supply to maintain optimal performance under different load conditions.

[0011] In a preferred example of the present application, the optimization feedback data is calculated based on the actual operating conditions and the preset optimization algorithm to determine the optimization control strategy, specifically including: The real-time collected switching power supply operating parameters are stored in a pre-built database and marked with timestamps to form historical operating data; Based on the historical operation data and the current load status, using time series analysis to predict the load change trend within a future specified time period; Based on the predicted future load change trend and the performance parameters of the switching power supply, the optimal control parameters under the current and future load conditions are calculated according to the preset optimization algorithm to obtain the optimal control parameter group; According to the optimal control parameter group, combined with the safety operation specification requirements of the switching power supply, the priority and execution order of each control instruction are determined to obtain an optimized control strategy.

[0012] By adopting the above technical solution, based on the real-time acquisition and storage of the switching power supply operating parameters, subsequent data analysis and load change trend prediction are facilitated, and through time series analysis, the future load change trend can be accurately predicted. Then, the optimal control parameter group and safe operation specification requirements are comprehensively considered to generate a reasonable and safe control strategy to ensure that the switching power supply achieves the best performance of energy saving and efficient operation under the performance of safety specifications, thereby improving the reliability and safety of the control system.

[0013] In a preferred example of the present application: the method further includes: Acquire abnormal alarm information of the switching power supply, wherein the abnormal alarm information includes overvoltage, undervoltage, and overheating; Based on the abnormal alarm information, locate the abnormal alarm point; Acquire real-time energy consumption data of the switching power supply and target parameters set by the user; the real-time energy consumption data includes input power and output power, and the target parameters include expected output voltage and current; According to the target parameters and abnormal alarm points, combined with the current working mode of the switching power supply, the adjustment amount required to achieve the target is calculated; Based on the adjustment amount, a real-time adjustment instruction of the switching power supply is triggered.

[0014] By adopting the above technical scheme, the abnormal alarm information includes the abnormal situation detected by the switching power supply during operation; the abnormal alarm point refers to the specific position or component where the abnormality occurs, such as a certain output, a certain sensor or an IO port of a chip, which is convenient for circuit troubleshooting and maintenance work. When the switching power supply has an abnormal alarm, the present invention quickly locates the specific position of the abnormality, and calculates the adjustment amount required for the switching power supply to release the abnormal alarm based on the target parameters set by the user according to the current real-time energy consumption data of the switching power supply and the target parameters pre-set by the user, so as to facilitate the real-time adjustment of the output parameters of the switching power supply based on the current load conditions, thereby improving the control accuracy and efficiency of the switching power supply, and enhancing the abnormal maintenance mechanism and reliability of the system, and being suitable for a variety of application scenarios.

[0015] In a preferred example of the present application: the method further includes: Acquiring external environmental condition information, wherein the external environmental condition information includes grid voltage fluctuation conditions and ambient temperature change conditions; Calculating a predicted value of the impact on the performance of the switching power supply according to the external environmental condition information; Based on the predicted value, executing corresponding control strategy adjustment, the control strategy adjustment including preheating, cooling or adjusting the input voltage range; The actual effect of the adjusted switching power supply is obtained, compared with the predicted value, and the effectiveness of the adjustment of the control strategy is evaluated to obtain the adjustment evaluation information of the control strategy.

[0016] By adopting the above technical solution, the external environmental condition information refers to the external factors that affect the performance of the switching power supply, the grid voltage fluctuation refers to the instability of the grid input voltage, and the ambient temperature change refers to the temperature change of the surrounding environment of the switching power supply; the present invention predicts the impact of the external environmental condition number on the performance of the switching power supply, so as to execute the corresponding control strategy adjustment, so that the control system can effectively respond to the changes in external environmental conditions and maintain the stability and efficiency of the switching power supply; in order to further detect and improve the shortcomings of the control strategy and maintain the efficiency and high accuracy of the control strategy, the present invention will also compare and analyze the difference between the actual effect and the preset value, evaluate the effectiveness of the control strategy, which is conducive to improving user satisfaction and the overall performance of the control system.

[0017] In the second aspect, the invention objective of the present application is achieved by adopting the following technical solutions: A control system based on a switching power supply, used to execute a control method based on a switching power supply as described above, the system comprising: A circuit model generation module, used to identify the circuit structure of the switch power supply to be controlled and the connected device, and generate a circuit model of the switch power supply to be controlled according to preset circuit component specifications; A preliminary control strategy generating module, used for acquiring the working state parameters of the switch power supply to be controlled, and generating a preliminary control strategy according to the circuit model and the working state parameters; An output setting adjustment module, used to adjust the output setting of the switching power supply according to the preliminary control strategy to adapt to different load requirements; A control strategy optimization module, configured to detect the actual operating condition of the switching power supply based on the adjusted output setting; calculate optimization feedback data based on the actual operating condition and a preset optimization algorithm, and determine an optimization control strategy; The strategy execution module is used to generate corresponding control instructions based on the determined optimization control strategy, and send them to the automatic switching module of the switching power supply to control the voltage output and power distribution.

[0018] In a preferred example of the present application: the control strategy optimization module includes: The historical data collection submodule is used to store the real-time collected operating parameters of the switching power supply into a pre-built database and mark the timestamp to form historical operating data; A change trend prediction submodule is used to use time series analysis to predict the load change trend within a specified time period in the future based on the historical operation data and the current load status; The optimal parameter calculation submodule is used to calculate the optimal control parameters under current and future load conditions based on the predicted future load change trend and the performance parameters of the switching power supply according to a preset optimization algorithm to obtain an optimal control parameter group; The strategy optimization determination submodule is used to determine the priority and execution order of each control instruction according to the optimal control parameter group and the safety operation specification requirements of the switching power supply to obtain an optimized control strategy.

[0019] In the third aspect, the invention objective of this application is achieved by adopting the following technical solutions: A computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above-mentioned control method based on a switching power supply when executing the computer program.

[0020] In a fourth aspect, the invention objective of the present application is achieved by adopting the following technical solutions: A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above-mentioned control method based on a switching power supply are implemented.

[0021] In summary, the present application includes at least one of the following beneficial technical effects: 1. The optimized control strategy of real-time detection of the switching power supply and dynamic adjustment is adopted, so that the switching power supply can better adapt to various load conditions and improve the flexibility of the power control system; specifically, by analyzing the circuit composition and component characteristics of the equipment and devices connected inside the switching power supply, a highly accurate mathematical model of the power supply is established to provide data support for subsequent accurate analysis and control. Then, by real-time detection of the working state of the switching power supply, combined with the pre-established circuit model, a preliminary control strategy that adapts to the current working environment can be quickly generated to improve the response speed; the next step is to adjust the output settings of the switching power supply by dynamically adjusting the output voltage, current and other parameters to make the switch The power supply can maintain optimal performance under different connected devices and different load conditions; then, based on the actual operating conditions and the preset optimization algorithm (genetic algorithm, particle swarm optimization algorithm, etc. can be used), the optimization control strategy is determined to continuously detect and analyze the actual operating conditions of the power supply, and the control strategy is continuously adjusted. Finally, the voltage output and power distribution are controlled through control instructions and automatic switching modules. By integrating the intelligent control unit, the refined control of power output and distribution is achieved, which not only improves the overall efficiency of the power supply, but also effectively extends the service life of the power supply. The present invention provides a more intelligent, efficient and safe switching power supply control method, which is suitable for a variety of application scenarios and has high practical value. 2. Based on the real-time acquisition and storage of switching power supply operating parameters, subsequent data analysis and load change trend prediction are facilitated. Through time series analysis, future load change trends can be accurately predicted. Then, the optimal control parameter group and safety operation specification requirements are comprehensively considered to generate a reasonable and safe control strategy to ensure that the switching power supply achieves the best performance of energy saving and efficient operation under the performance of safety specifications, thereby improving the reliability and safety of the control system; 3. External environmental condition information refers to external factors that affect the performance of the switching power supply, grid voltage fluctuation refers to the instability of the grid input voltage, and ambient temperature change refers to the temperature change of the surrounding environment of the switching power supply. The present invention predicts the impact of the external environmental condition number on the performance of the switching power supply, so as to perform corresponding control strategy adjustments, so that the control system can effectively respond to changes in external environmental conditions and maintain the stability and efficiency of the switching power supply. In order to further detect and improve the shortcomings of the control strategy and maintain the efficiency and high accuracy of the control strategy, the present invention will also compare and analyze the difference between the actual effect and the preset value, evaluate the effectiveness of the control strategy, and help improve user satisfaction and the overall performance of the control system. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 is a flow chart of a control method based on a switching power supply in an embodiment of the present application; Figure 2This is a flow chart of step S1 in a control method based on a switching power supply in an embodiment of the present application; Figure 3 This is a flow chart of step S2 in a control method based on a switching power supply in an embodiment of the present application; Figure 4 This is a flow chart of step S4 in a control method based on a switching power supply in an embodiment of the present application; Figure 5 It is a circuit diagram of an automatic switching module in a control system based on a switching power supply in one embodiment of the present application; Figure 6 It is a schematic diagram of a device in an embodiment of the present application. DETAILED DESCRIPTION

[0023] The present application is further described in detail below in conjunction with the accompanying drawings.

[0024] In one embodiment, if Figure 1 As shown, the present application discloses a control method based on a switching power supply, which specifically includes the following steps: S1: Identify the circuit structure of the switching power supply to be controlled and the connected equipment, and generate a circuit model of the switching power supply to be controlled according to preset circuit component specifications.

[0025] In this embodiment, the circuit structure of the switching power supply to be controlled refers to the circuit layout inside the switching power supply, including the main circuit, the control circuit, the protection circuit and other parts, as well as the main components in these circuits (such as transformers, inductors, capacitors, MOSFET, etc.); the circuit structure of the connected device refers to the circuit structure of the load device connected to the switching power supply, including the input end, the output end and the key components in the internal circuit of the load device; the circuit component specifications refer to the specific parameters of each component in the circuit, such as resistance value, capacitance value, inductance value, on-resistance of MOS tube, etc.; professional circuit scanning instruments or software can be used to identify the circuit structure and measure component parameters, and the circuit model can be constructed by SPICE simulation or MATLAB simulation.

[0026] S2: Obtain the working state parameters of the switching power supply to be controlled, and generate a preliminary control strategy according to the circuit model and the working state parameters.

[0027] In this embodiment, the working state parameters refer to the various parameters of the switching power supply in the current working state, such as input voltage, output voltage, current, and temperature; the preliminary control strategy refers to the preliminary control instructions generated according to the current load conditions and the current working state parameters and circuit model, which are used to adjust the output settings of the switching power supply.

[0028] Specifically, use sensors or built-in monitoring modules to collect parameters such as the input voltage, output voltage, current and temperature of the switching power supply in real time; then store the collected real-time working status parameters in a pre-built database for subsequent processing and analysis; next, determine the current working mode of the power supply (energy-saving mode, high-efficiency mode, safety mode) based on preset thresholds and rules; then calculate the current efficiency level and stability index based on the circuit model and real-time working status parameters; finally, generate a preliminary control strategy based on the calculation results, including adjusting the output voltage, current, switching frequency, etc.

[0029] S3: According to the preliminary control strategy, the output setting of the switching power supply is adjusted to adapt to different load requirements.

[0030] In this embodiment, the output setting of the switching power supply refers to the output voltage, current, switching frequency and other parameters of the switching power supply, and the load demand refers to the current load condition of the connected device, including the size and type of the load and the temperature range under normal operating conditions of the load.

[0031] S4: Based on the adjusted output setting, the actual operating condition of the switching power supply is detected; based on the actual operating condition and a preset optimization algorithm, the optimization feedback data is calculated to determine the optimization control strategy.

[0032] In this embodiment, the preset optimization algorithm includes a genetic algorithm or a particle swarm optimization algorithm; the optimization control strategy includes further adjusting the output voltage, current, switching frequency, etc.

[0033] S5: Based on the determined optimization control strategy, corresponding control instructions are generated and sent to the automatic switching module of the switching power supply to control the voltage output and power distribution.

[0034] Specifically, the control instruction is a control instruction used to adjust the output of the switching power supply; the automatic switching module is a control module in the switching power supply, which is responsible for adjusting the voltage output and power distribution based on the control instruction; by generating and executing optimized control instructions, fine control of the voltage output and power distribution can be achieved, thereby improving the control accuracy and response speed of the system and ensuring the stability and efficiency of the system.

[0035] In one embodiment, if Figure 2 As shown, in step S1, the circuit structure of the switch power supply to be controlled and the connected device is identified, and a circuit model of the switch power supply to be controlled is generated according to preset circuit component specifications, which specifically includes: S11: Identify the circuit structure of the switching power supply to be controlled and the circuit structure of the connected equipment, and obtain basic parameters of each component in the circuit.

[0036] Specifically, a circuit scanning tool is used to identify the circuit structure of a switching power supply, for example, the circuit structure includes a main circuit, a control circuit, a protection circuit and other parts, and then the circuit structure of the connecting device is identified, which includes the input and output ends of the connecting device and the key components of the internal circuit, and the basic parameters of each component in the circuit are recorded, such as resistance, capacitance, inductance, and on-resistance of the MOS tube.

[0037] S12: Construct a mathematical model of the circuit according to basic parameters and preset circuit component specifications.

[0038] In this embodiment, the parameters of each component in the input circuit are constructed to construct a mathematical model of the circuit, including node equations, loop equations, etc., and the constructed mathematical model is simulated and tested to ensure that the mathematical model can accurately reflect the performance and behavior of the actual circuit.

[0039] S13: Convert the mathematical model into a visual circuit model.

[0040] Specifically, use circuit design software (such as Cadence, Altium Designer, etc.) to convert the mathematical model into a visual circuit diagram, and mark the position, parameters and connection relationships of each component in the visual circuit diagram to ensure the clarity and accuracy of the circuit diagram.

[0041] In this embodiment, by constructing a mathematical model of the circuit, the behavior of the switching power supply circuit under different working conditions and different external environmental parameters can be simulated and analyzed, which is convenient for providing a scientific basis for the subsequent optimization control strategy operation and improving the control effect of the switching power supply control system.

[0042] In one embodiment, if Figure 3 As shown, in step S2, the working state parameters of the switch power supply to be controlled are obtained, and a preliminary control strategy is generated according to the circuit model and the working state parameters, which specifically includes: S21: Acquire real-time working state parameters of the switching power supply to be controlled, and determine the working mode of the current power supply based on the real-time working state parameters; the real-time working state parameters include input voltage, output voltage, current and temperature; the working modes include energy-saving mode, high-efficiency mode and safety mode.

[0043] In this embodiment, the working mode refers to the operating mode of the switching power supply under different working conditions; the energy-saving mode refers to minimizing energy consumption while ensuring basic functions, and is suitable for low load or standby status; the high-efficiency mode refers to maximizing energy conversion efficiency while ensuring output stability, and is suitable for high load or normal working status; the safety mode refers to giving priority to ensuring the safety of the power supply when an abnormal situation is detected to prevent overheating, overvoltage and other faults, and is suitable for fault status or extreme conditions.

[0044] Specifically, according to the design specifications of the switching power supply and the actual application requirements, the judgment thresholds and rules for the working mode are pre-set; according to the preset thresholds and rules, the working mode of the current power supply is judged: if the input voltage, output voltage, current and temperature are all within the normal range and the load is low, the energy-saving mode is entered; if the input voltage, output voltage, current and temperature are all within the normal range and the load is high, the high-efficiency mode is entered; if any abnormal situation is detected (such as overvoltage, overcurrent, overheating, etc.), the safety mode is entered.

[0045] Furthermore, the determined different working modes are stored in the system log to facilitate subsequent analysis and debugging.

[0046] S22: Calculate the current efficiency level and stability index according to the working state parameters and the working mode of the current power supply in combination with the circuit model.

[0047] In this embodiment, the efficiency level refers to the energy conversion efficiency of the switching power supply, which is usually expressed as the ratio of output power to input power; the stability index refers to the output stability of the switching power supply under different working conditions, including output voltage fluctuation, current fluctuation, etc.; Specifically, efficiency level = output power / input power; stability index = output voltage fluctuation range + output current fluctuation range.

[0048] S23: Generate a preliminary control strategy based on the calculation results.

[0049] In this embodiment, the preliminary control strategy is to generate a control strategy adapted to the current working mode based on the calculated efficiency level and stability index; Specifically, according to the current working mode and the calculated efficiency level and stability index, a preliminary control strategy is generated: in energy-saving mode, the output voltage and current are adjusted, the switching frequency is reduced, and energy loss is reduced; in high-efficiency mode, the switching frequency and duty cycle are optimized to improve energy conversion efficiency; in safety mode, protective measures are immediately taken, such as reducing the output voltage, shutting down the output, etc., to ensure power supply safety. Finally, the generated preliminary control strategy is sent to the control module to execute the corresponding control instructions; the control module can use a high-performance microcontroller or DSP to ensure the rapid execution and real-time response of the control strategy.

[0050] In one embodiment, if Figure 4 As shown, in step S4, based on the actual operating conditions and the preset optimization algorithm, the optimization feedback data is calculated and the optimization control strategy is determined, which specifically includes: S41: The real-time collected operating parameters of the switching power supply are stored in a pre-built database and timestamped to form historical operating data.

[0051] In this embodiment, the real-time collected operating parameters of the switching power supply refer to various parameters of the switching power supply in the current working state; the pre-built database refers to a database used to store the operating parameters of the switching power supply, which can be a relational database (such as MySQL, PostgreSQL) or a time series database (such as InfluxDB, TimescaleDB); the timestamp refers to an identifier for recording the data collection time, which is used to track the time sequence of the data, and the historical operating data refers to the operating parameters of the switching power supply and their timestamps stored in the database to ensure the traceability of the data.

[0052] S42: Based on historical operating data and current load status, use time series analysis to predict load change trends within a specified time period in the future.

[0053] Specifically, the predicted future load change trend and the performance parameters of the switching power supply are extracted from the database; then, a preset optimization algorithm (such as a genetic algorithm, a particle swarm optimization algorithm, etc.) is used to calculate the optimal control parameters under the current and future load conditions; and the calculated optimal control parameter group is stored in the database.

[0054] S43: Based on the predicted future load change trend and the performance parameters of the switching power supply, the optimal control parameters under the current and future load conditions are calculated according to a preset optimization algorithm to obtain an optimal control parameter group.

[0055] In this embodiment, the performance parameters of the switching power supply refer to the inherent characteristic parameters of the switching power supply, such as maximum output power, maximum circuit, and efficiency curve; the preset optimization algorithm refers to an algorithm used to calculate the optimal control parameters, such as a genetic algorithm, a particle swarm optimization algorithm, and a gradient descent method; the optimal control parameter group refers to a set of control parameters that can enable the switching power supply to achieve optimal performance under current and future load conditions.

[0056] S44: According to the optimal control parameter group and in combination with the safety operation specification requirements of the switching power supply, the priority and execution order of each control instruction are determined to obtain an optimized control strategy.

[0057] In this embodiment, the safe operation specification requirements refer to the safety standards and specifications that the switching power supply must comply with during operation, such as overvoltage protection, overcurrent protection, and overtemperature protection; the optimized control strategy refers to the finalized control strategy, including the execution order and parameter settings of various control instructions.

[0058] Specifically, the optimal control parameter group is extracted from the database and combined with the safety operation specification requirements of the switching power supply; according to the safety operation specification requirements, the priority and execution order of each control instruction are determined.

[0059] In one embodiment, a control method based on a switching power supply further includes: S10: Acquire abnormal alarm information of the switching power supply, where the abnormal alarm information includes overvoltage, undervoltage, and overheating.

[0060] In this embodiment, the abnormal alarm information refers to abnormal conditions detected by the switching power supply during operation, including overvoltage, undervoltage and overheating; Specifically, the built-in monitoring module is used to detect the output voltage, input voltage and internal temperature of the switching power supply in real time; when the output voltage is detected to exceed the safety upper limit, the overvoltage alarm information is recorded; when the output voltage is detected to be lower than the safety lower limit, the undervoltage alarm information is recorded; when the internal temperature is detected to exceed the safety upper limit, the overheating alarm information is recorded.

[0061] S20: Based on the abnormal alarm information, locate the abnormal alarm point.

[0062] Specifically, the abnormal alarm point refers to the specific location or component where the abnormality occurs, such as a certain output or a certain sensor; S30: Acquire real-time energy consumption data of the switching power supply and target parameters set by the user; the real-time energy consumption data includes input power and output power, and the target parameters include expected output voltage and current.

[0063] Specifically, real-time energy consumption data refers to the energy consumption data of the switching power supply in the current working state, including input power and output power; target parameters refer to the performance targets that the user wants the switching power supply to achieve, including the expected output voltage and current; S40: Calculate the adjustment amount required to achieve the target according to the target parameters and the abnormal alarm point in combination with the current working mode of the switching power supply.

[0064] In this embodiment, the adjustment amount refers to the parameter value that needs to be adjusted in order to achieve the target parameter, such as output voltage, current, and switching frequency.

[0065] Specifically, according to the target parameters set by the user and the current working mode (energy-saving mode, high-efficiency mode, safety mode), the type of parameters that need to be adjusted (such as output voltage, current, switching frequency, etc.) is determined; then, combined with the information of the abnormal alarm point, the adjustment amount required to achieve the target is calculated. For example, if an overvoltage alarm occurs, the output voltage may need to be reduced; if an overheating alarm occurs, the output power may need to be reduced; by comprehensively considering the target parameters, abnormal alarm points and working modes, the optimal adjustment amount is calculated, which can achieve the best performance of the switching power supply under different conditions, improving the adaptability and flexibility of the system.

[0066] S50: Based on the adjustment amount, trigger the real-time adjustment instruction of the switching power supply.

[0067] Specifically, according to the calculated adjustment amount, a corresponding control instruction is generated, such as adjusting the output voltage, current, switching frequency, etc.; the generated control instruction is sent to the control module of the switching power supply to perform the corresponding adjustment operation.

[0068] In one embodiment, a control method based on a switching power supply further includes: S101: Acquire external environmental condition information, where the external environmental condition information includes grid voltage fluctuation conditions and ambient temperature change conditions.

[0069] In this embodiment, the external environmental condition information refers to external factors that affect the performance of the switching power supply, mainly including grid voltage fluctuation conditions and ambient temperature changes; grid voltage fluctuation conditions refer to the instability of the grid input voltage, such as voltage increase or decrease; ambient temperature change conditions refer to changes in the ambient temperature around the switching power supply, such as temperature increase or decrease.

[0070] Specifically, a voltage sensor is used to monitor the grid input voltage in real time and record voltage fluctuations; a temperature sensor is used to monitor the ambient temperature around the switching power supply in real time and record temperature changes.

[0071] S102: Calculate a predicted value of the impact on the performance of the switching power supply according to the external environmental condition information.

[0072] Specifically, the predicted value of performance impact refers to the degree of influence of changes in external environmental conditions on the performance of the switching power supply, such as output voltage fluctuation, efficiency reduction, temperature increase, etc.

[0073] S103: Based on the predicted value, perform corresponding control strategy adjustment, where the control strategy adjustment includes preheating, cooling or adjusting the input voltage range.

[0074] In this embodiment, control strategy adjustment refers to taking corresponding measures to optimize the performance of the switching power supply according to the predicted value, including preheating, cooling or adjusting the input voltage range; preheating refers to increasing the operating temperature of the switching power supply by increasing internal heat in a low temperature environment; cooling refers to reducing the operating temperature of the switching power supply by increasing heat dissipation measures in a high temperature environment; adjusting the input voltage range refers to adjusting the input voltage range according to the grid voltage fluctuation to maintain output stability.

[0075] Specifically, according to the predicted value, determine the control strategy to be adopted: if the ambient temperature is too low, execute the preheating strategy to increase the operating temperature by increasing internal heat generation; if the ambient temperature is too high, execute the cooling strategy to reduce the operating temperature by increasing heat dissipation measures; if the grid voltage fluctuates greatly, adjust the input voltage range to keep the output stable; generate corresponding control instructions and send them to the control module of the switching power supply to perform corresponding adjustment operations; then obtain the actual effect of the adjusted switching power supply, compare and analyze it with the predicted value, evaluate the effectiveness of the adjustment of the control strategy, and obtain the adjustment evaluation information of the control strategy.

[0076] S104: Obtaining the actual effect of the adjusted switching power supply, performing comparative analysis with the predicted value, evaluating the effectiveness of the adjustment of the control strategy, and obtaining adjustment evaluation information of the control strategy.

[0077] Specifically, after executing the control strategy adjustment, continue to monitor the performance parameters of the switching power supply in real time, such as output voltage, current, temperature, etc.; compare and analyze the actual effect with the predicted value to evaluate the effectiveness of the control strategy; generate adjustment evaluation information of the control strategy, including the advantages and disadvantages of the control strategy and improvement suggestions.

[0078] Specifically, the actual effect refers to the actual performance of the switching power supply after the control strategy is adjusted; comparative analysis refers to comparing the actual effect with the predicted value to evaluate the effectiveness of the control strategy; adjustment evaluation information refers to detailed information on the evaluation results, including the pros and cons of the control strategy and suggestions for improvement.

[0079] It should be understood that the serial numbers of the steps in the above embodiments do not imply a sequence of execution. The execution sequence of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0080] In one embodiment, a control system based on a switching power supply is provided. The control system based on the switching power supply corresponds to a control method based on a switching power supply in the above embodiment.

[0081] A control system based on a switching power supply includes a circuit model generation module, a preliminary control strategy generation module, an output setting adjustment module, a control strategy optimization module and a strategy execution module. The detailed description of each functional module is as follows: A circuit model generation module is used to identify the circuit structure of the switch power supply to be controlled and the connected equipment, and generate a circuit model of the switch power supply to be controlled according to preset circuit component specifications; A preliminary control strategy generation module is used to obtain the working state parameters of the switch power supply to be controlled, and generate a preliminary control strategy according to the circuit model and the working state parameters; An output setting adjustment module, used to adjust the output setting of the switching power supply according to a preliminary control strategy to adapt to different load requirements; A control strategy optimization module is used to detect the actual operating status of the switching power supply based on the adjusted output settings; calculate the optimization feedback data based on the actual operating status and the preset optimization algorithm to determine the optimization control strategy; The strategy execution module is used to generate corresponding control instructions based on the determined optimization control strategy, and send them to the automatic switching module of the switching power supply to control the voltage output and power distribution.

[0082] Optionally, the control strategy optimization module includes: The historical data collection submodule is used to store the real-time collected operating parameters of the switching power supply into a pre-built database and mark the timestamp to form historical operating data; The change trend prediction submodule is used to use time series analysis to predict the load change trend within a specified time period in the future based on historical operation data and current load status; The optimal parameter calculation submodule is used to calculate the optimal control parameters under current and future load conditions based on the predicted future load change trend and the performance parameters of the switching power supply according to a preset optimization algorithm to obtain an optimal control parameter group; The strategy optimization determination submodule is used to determine the priority and execution order of various control instructions according to the optimal control parameter group and the safety operation specification requirements of the switching power supply to obtain the optimized control strategy.

[0083] Optional, such as Figure 5 As shown, a control system based on a switching power supply also includes: like Figure 5 As shown, Figure 5 Taking the circuit diagram shown as an example, the automatic switching module includes the FT8400 chip, the FT60F210-URT chip, the MOS tube Q1 and the relay RELAY1. The FT8400 chip is used in the circuit to stabilize the output voltage or current after the power supply is switched. The FT60F210-URT microcontroller collects analog voltage input through the ADC interface. If the digital signal is processed according to the preset threshold and logic algorithm, it is determined whether the input voltage is within the normal range; control other electronic components such as the MOS tube Q1 and the relay RELAY1, such as Figure 5MOS tube Q1 is connected to the controlled end of relay RELAY1. MOS tube Q1 is an NPN transistor. The FT60F210-URT chip controls the conduction of MOS tube Q1 by outputting a high-level control signal, and the low-level control signal makes MOS tube Q1 cut off. When relay RELAY1 receives the conduction signal of MOS tube Q1, it controls pin 3 to automatically switch between pin 4 and pin 5. (When relay RELAY1 is operating normally, pin 3 is connected to pin 4, and the switching power supply is operating normally) to realize the automatic power switching operation efficiently; when the FT8400 chip detects the input voltage When the voltage is not within the normal range, a high-level control signal is output to control the MOS tube Q1 to turn on, the coil of relay RELAY1 is energized, and relay RELAY1 controls pins 3 and 5 to be connected. The circuit is abnormally cut off, so that the switching power supply is in an abnormal protection state. The FT60F210-URT chip controls the MOS tube Q1 to turn on or off according to the control signal to indirectly control relay RELAY1 to perform corresponding power switching operations. The FT60F210-URT chip is the main control chip. By detecting the output voltage parameters, it ensures that the power switching operation is successful and stable.

[0084] For the specific definition of a control system based on a switching power supply, please refer to the definition of a control method based on a switching power supply in the above text, which will not be repeated here; each module in the above-mentioned control system based on a switching power supply can be implemented in whole or in part by software, hardware and a combination thereof; each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.

[0085] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 6 As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store working state parameters, optimization feedback data and optimization control strategies, etc. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a control method based on a switching power supply is implemented.

[0086] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program: S1: Identify the circuit structure of the switch power supply to be controlled and the connected equipment, and generate a circuit model of the switch power supply to be controlled according to preset circuit component specifications; S2: Obtain the working state parameters of the switch power supply to be controlled, and generate a preliminary control strategy according to the circuit model and the working state parameters; S3: According to the preliminary control strategy, adjust the output setting of the switching power supply to adapt to different load requirements; S4: Based on the adjusted output setting, detect the actual operating condition of the switching power supply; calculate the optimization feedback data based on the actual operating condition and the preset optimization algorithm, and determine the optimization control strategy; S5: Based on the determined optimization control strategy, corresponding control instructions are generated and sent to the automatic switching module of the switching power supply to control the voltage output and power distribution.

[0087] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented: S1: Identify the circuit structure of the switch power supply to be controlled and the connected equipment, and generate a circuit model of the switch power supply to be controlled according to preset circuit component specifications; S2: Obtain the working state parameters of the switch power supply to be controlled, and generate a preliminary control strategy according to the circuit model and the working state parameters; S3: According to the preliminary control strategy, adjust the output setting of the switching power supply to adapt to different load requirements; S4: Based on the adjusted output setting, detect the actual operating condition of the switching power supply; calculate the optimization feedback data based on the actual operating condition and the preset optimization algorithm, and determine the optimization control strategy; S5: Based on the determined optimization control strategy, corresponding control instructions are generated and sent to the automatic switching module of the switching power supply to control the voltage output and power distribution.

[0088] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0089] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.

[0090] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, it should be understood by those skilled in the art that the technical solutions described in the aforementioned embodiments may still be modified, or some of the features thereof may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A control method based on a switching power supply, characterized in that: include: Identify the circuit structure of the switch power supply to be controlled and the connected device, and generate a circuit model of the switch power supply to be controlled according to preset circuit component specifications; Acquire the working state parameters of the switch power supply to be controlled, and generate a preliminary control strategy according to the circuit model and the working state parameters; According to the preliminary control strategy, adjusting the output setting of the switching power supply to adapt to different load requirements; Detect the actual operating status of the switching power supply based on the adjusted output settings; Calculating optimization feedback data based on the actual operating conditions and a preset optimization algorithm to determine an optimization control strategy; Based on the determined optimization control strategy, the corresponding control instructions are generated and sent to the automatic switching module of the switching power supply to control the voltage output and power distribution.

2. A control method based on a switching power supply according to claim 1, characterized in that: The step of identifying the circuit structure of the switch power supply to be controlled and the connected device, and generating a circuit model of the switch power supply to be controlled according to preset circuit element specifications, specifically includes: Identify the circuit structure of the switching power supply to be controlled and the circuit structure of the connected equipment, and obtain the basic parameters of each component in the circuit; Constructing a mathematical model of the circuit according to the basic parameters and preset circuit component specifications; The mathematical model is converted into a visual circuit model.

3. A control method based on a switching power supply according to claim 1, characterized in that: The obtaining of the working state parameters of the switch power supply to be controlled and generating a preliminary control strategy according to the circuit model and the working state parameters specifically includes: Acquire real-time working state parameters of the switch power supply to be controlled, and determine the working mode of the current power supply based on the real-time working state parameters; the real-time working state parameters include input voltage, output voltage, current and temperature; the working mode includes energy-saving mode, high-efficiency mode and safety mode; According to the working state parameters and the working mode of the current power supply, combined with the circuit model, the current efficiency level and stability index are calculated; Based on the calculation results, a preliminary control strategy is generated.

4. A control method based on a switching power supply according to claim 1, characterized in that: The step of calculating the optimization feedback data based on the actual operating conditions and the preset optimization algorithm and determining the optimization control strategy specifically includes: The real-time collected switching power supply operating parameters are stored in a pre-built database and marked with timestamps to form historical operating data; Based on the historical operation data and the current load status, using time series analysis to predict the load change trend within a future specified time period; Based on the predicted future load change trend and the performance parameters of the switching power supply, the optimal control parameters under the current and future load conditions are calculated according to the preset optimization algorithm to obtain the optimal control parameter group; According to the optimal control parameter group, combined with the safety operation specification requirements of the switching power supply, the priority and execution order of each control instruction are determined to obtain an optimized control strategy.

5. A control method based on a switching power supply according to claim 4, characterized in that: The method also includes: Acquire abnormal alarm information of the switching power supply, wherein the abnormal alarm information includes overvoltage, undervoltage, and overheating; Based on the abnormal alarm information, locate the abnormal alarm point; Acquire real-time energy consumption data of the switching power supply and target parameters set by the user; the real-time energy consumption data includes input power and output power, and the target parameters include expected output voltage and current; According to the target parameters and abnormal alarm points, combined with the current working mode of the switching power supply, the adjustment amount required to achieve the target is calculated; Based on the adjustment amount, a real-time adjustment instruction of the switching power supply is triggered.

6. A control method based on a switching power supply according to claim 4, characterized in that: The method also includes: Acquiring external environmental condition information, wherein the external environmental condition information includes grid voltage fluctuation conditions and ambient temperature change conditions; Calculating a predicted value of the impact on the performance of the switching power supply according to the external environmental condition information; Based on the predicted value, executing corresponding control strategy adjustment, the control strategy adjustment including preheating, cooling or adjusting the input voltage range; The actual effect of the adjusted switching power supply is obtained, compared with the predicted value, and the effectiveness of the adjustment of the control strategy is evaluated to obtain the adjustment evaluation information of the control strategy.

7. A control system based on a switching power supply, characterized in that: Used to execute a control method based on a switching power supply according to any one of claims 1 to 6, the system comprising: A circuit model generation module, used to identify the circuit structure of the switch power supply to be controlled and the connected device, and generate a circuit model of the switch power supply to be controlled according to preset circuit component specifications; A preliminary control strategy generating module, used for acquiring the working state parameters of the switch power supply to be controlled, and generating a preliminary control strategy according to the circuit model and the working state parameters; An output setting adjustment module, used to adjust the output setting of the switching power supply according to the preliminary control strategy to adapt to different load requirements; A control strategy optimization module, configured to detect the actual operating condition of the switching power supply based on the adjusted output setting; calculate optimization feedback data based on the actual operating condition and a preset optimization algorithm, and determine an optimization control strategy; The strategy execution module is used to generate corresponding control instructions based on the determined optimization control strategy, and send them to the automatic switching module of the switching power supply to control the voltage output and power distribution.

8. A control system based on a switching power supply according to claim 7, characterized in that: The control strategy optimization module includes: The historical data collection submodule is used to store the real-time collected operating parameters of the switching power supply into a pre-built database and mark the timestamp to form historical operating data; A change trend prediction submodule is used to use time series analysis to predict the load change trend within a specified time period in the future based on the historical operation data and the current load status; The optimal parameter calculation submodule is used to calculate the optimal control parameters under current and future load conditions based on the predicted future load change trend and the performance parameters of the switching power supply according to a preset optimization algorithm to obtain an optimal control parameter group; The strategy optimization determination submodule is used to determine the priority and execution order of each control instruction according to the optimal control parameter group and the safety operation specification requirements of the switching power supply to obtain an optimized control strategy.

9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the control method based on a switching power supply as claimed in any one of claims 1 to 6 are implemented.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of a control method based on a switching power supply as claimed in any one of claims 1 to 6 are implemented.

Citation Information

Cited By

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

    CN120428638A