Power supply switching control method and system for UPS (Uninterrupted Power Supply) device

The power supply voltage is obtained through multi-dimensional perception and intelligent calibration, combined with dynamic adaptive database and multi-objective optimization power switching control method, the power supply instability of the UPS device in the event of failure is solved, ensuring stable power supply of the load and reliability of the device.

CN120433402APending Publication Date: 2025-08-05STATE ENERGY CHANGZHOU NO 2 POWER GENERATION CO LTD

Patent Information

Application Number
CN202510563485.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-30
Publication Date
2025-08-05

AI Technical Summary

Technical Problem

It is difficult for existing UPS devices to provide stable power supply in the event of failure, and there is a problem of incomplete power supply functions.

Method used

The first power supply voltage is obtained by combining multi-dimensional perception and intelligent calibration, and the theoretical voltage threshold is queried through a dynamic adaptive optimization database, power supply switching instructions are generated, and soft switching is performed using the strategies of multi-objective optimization and intelligent control. Combining environmental adaptive calibration and multi-sensor fusion technology, we ensure the stability and reliability of load power supply.

Benefits of technology

It is realized that the load is supplied with stable power through the second power supply when the first power supply voltage is abnormal, which extends the service life of the battery and improves the overall performance and reliability of the UPS device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120433402A_ABST
    Figure CN120433402A_ABST
Patent Text Reader

Abstract

The invention relates to a power supply switching control method and system for a UPS device, and relates to the technical field of power supplies, and the method comprises the following steps: obtaining a first power supply voltage; querying a theoretical voltage threshold value corresponding to the first power supply voltage from a preset database; if the first power supply voltage is smaller than the theoretical voltage threshold, obtaining a second power supply parameter; and generating and executing a power supply switching instruction according to the second power supply parameter, the power supply switching instruction being used for executing power supply operation through the second power supply. The uninterruptible power supply has the effect that the uninterruptible power supply can always provide stable power supply operation for the load.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of power supply, and more particularly to a power switching control method and system for a UPS device. Background Art

[0002] An uninterruptible power supply (UPS) is a device that continues to supply power to the load even when the AC input power fails or is interrupted. Due to its excellent performance and convenient maintenance, it has been widely used in various fields. When the mains power is normal, the load is powered by the mains power, and the battery is not. When the mains power is abnormal, the battery provides power to the load.

[0003] For related technologies, reference may be made to Chinese patent publication number CN112018872A, which discloses a UPS control method and a UPS. The UPS control method includes: when the UPS is powered solely by AC power, obtaining the bus voltage of the UPS in real time; determining whether the bus voltage is less than a first preset voltage; if the bus voltage is less than the first preset voltage, controlling the UPS to switch to AC power and DC power supply simultaneously.

[0004] With respect to the above-mentioned related technologies, the inventors believe that the following defects exist: when the uninterruptible power supply fails, it is difficult for the uninterruptible power supply to provide stable power supply operation for the load, and there is a defect that the power supply function of the uninterruptible power supply is imperfect. Summary of the Invention

[0005] In order to improve the power supply function of an uninterruptible power supply (UPS), the present application provides a power switching control method and system for a UPS device.

[0006] In a first aspect, the present application provides a power switching control method for a UPS device, which adopts the following technical solution:

[0007] A power switching control method for a UPS device comprises the following steps:

[0008] Acquiring a first power supply voltage by combining multi-dimensional sensing with intelligent calibration;

[0009] querying a theoretical voltage threshold corresponding to the first power supply voltage from a preset database, wherein the preset database adopts a dynamic adaptive optimization architecture design;

[0010] If the first power supply voltage is less than the theoretical voltage threshold, obtaining a second power supply parameter and starting an intelligent acquisition mechanism for the second power supply parameter;

[0011] generating and executing a power supply switching instruction based on the power supply parameters of the second power supply, wherein the power supply switching instruction adopts a strategy combining multi-objective optimization and intelligent control, and controls the second power supply to perform a power supply operation through a soft switching technology;

[0012] The charging and discharging process of the second power source is adjusted according to the operating state and remaining capacity of the second power source.

[0013] By adopting the above technical solution, the first power supply provides uninterrupted power supply service to the load. When the voltage of the first power supply is low, it means that the first power supply is difficult to provide stable power supply operation to the load at this time. The control system generates a power supply switching instruction to supply power to the load through the second power supply. The second power supply serves as a backup power supply. When the voltage of the first power supply is abnormal, it performs power supply operation, so that the uninterruptible power supply can always provide stable power supply operation to the load.

[0014] Optionally, after the step of generating and executing the power supply switching instruction, the method further includes:

[0015] Obtaining charging time of the first power source;

[0016] Querying a preset database for a theoretical charging time threshold corresponding to the charging time of the first power source;

[0017] If the first power supply charging time is greater than the theoretical charging time threshold, a power failure instruction is generated and executed, and the power failure instruction is used to push a power failure signal to the user's smart terminal.

[0018] By adopting the above technical solution, when the voltage of the first power supply is low, the control system obtains the charging time of the first power supply. If the voltage of the first power supply has not reached the normal value after charging for a long time, it means that the first power supply may be faulty. The control system generates a power supply fault instruction, prompting the user to inspect and maintain the first power supply.

[0019] Optionally, after the step of generating and executing the power failure instruction, the method further includes:

[0020] Get the charging circuit input voltage;

[0021] querying a preset database for a theoretical charging input voltage corresponding to the charging circuit input voltage;

[0022] If the charging circuit input voltage does not meet the theoretical charging input voltage, a charging circuit fault prompt instruction is generated and executed, and the charging circuit fault prompt instruction is used to send a charging circuit fault prompt signal to the user's smart terminal.

[0023] By adopting the above technical solution, the control system detects whether there is a fault in the input part of the charging circuit. When there is a fault in the charging circuit, the control system generates a charging circuit fault prompt instruction, prompting the user to maintain the charging circuit, so that the user can perform maintenance on the first power supply in a targeted manner.

[0024] Optionally, before the step of generating and executing a charging circuit fault prompt instruction, the method further includes:

[0025] If the charging circuit input voltage meets the theoretical charging input voltage, obtaining the charging circuit output voltage;

[0026] Querying a preset database for a theoretical charging output voltage corresponding to the output voltage of the charging circuit;

[0027] If the output voltage of the charging circuit does not meet the theoretical charging output voltage, the step of generating and executing a charging circuit fault prompt instruction is performed.

[0028] By adopting the above technical solution, when the input part of the charging circuit is normal, the control system performs voltage detection on the output part of the charging circuit. When there is a fault in the output part of the charging circuit, the control system still generates a charging circuit fault prompt instruction to prompt the user to perform maintenance on the charging circuit.

[0029] Optionally, the step of querying a preset database for a theoretical charging output voltage corresponding to the output voltage of the charging circuit further includes:

[0030] If the output voltage of the charging circuit meets the theoretical charging output voltage, a battery damage instruction is generated and executed, and the battery damage instruction is used to push a battery damage signal to the user's smart terminal.

[0031] By adopting the above technical solution, when the charging circuit voltage is normal, it means that there is a fault in the battery itself. The control system generates a battery damage instruction, prompting the user that the battery needs to be maintained.

[0032] Optionally, also include:

[0033] Get the battery idle time;

[0034] Querying a preset database for a theoretical idle time threshold corresponding to the idle time of the battery;

[0035] If the battery idle time is greater than the theoretical idle time threshold, an automatic charge and discharge instruction is generated and executed.

[0036] By adopting the above technical solution, when the battery is idle for a long time, the control system periodically charges and discharges the battery, so that the performance of the battery is well guaranteed, thereby extending the service life of the battery.

[0037] Optionally, also include:

[0038] Get the working environment temperature;

[0039] Querying a preset ambient temperature corresponding to the working ambient temperature from a preset database;

[0040] If the working environment temperature does not meet the preset environment temperature, an environment temperature warning instruction is generated and executed, and the environment temperature warning instruction is used to push an environment temperature warning signal to the user's smart terminal.

[0041] By adopting the above technical solution, when the ambient temperature around the battery is not suitable for the battery operation, the control system generates an ambient temperature warning instruction, prompting the user to adjust the working environment of the battery in time, so that the battery can operate in a suitable environment, thereby extending the battery life.

[0042] In a second aspect, the present application provides a power switching control system for a UPS device, which adopts the following technical solution:

[0043] A power switching control system for a UPS device, comprising:

[0044] A first power supply voltage acquisition module, configured to acquire a first power supply voltage;

[0045] a theoretical voltage threshold query module, configured to query a preset database for a theoretical voltage threshold corresponding to the first power supply voltage;

[0046] a second power supply parameter acquisition module, configured to acquire a second power supply parameter if the first power supply voltage is less than the theoretical voltage threshold;

[0047] The power supply switching instruction generating module is used to generate and execute a power supply switching instruction according to the power supply parameter of the second power supply, wherein the power supply switching instruction is used to perform a power supply operation through the second power supply.

[0048] In a third aspect, the present application provides a smart terminal that adopts the following technical solution:

[0049] An intelligent terminal includes a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and executed by any one of the above-mentioned power switching control methods for a UPS device.

[0050] In a fourth aspect, the present application provides a computer-readable storage medium, which adopts the following technical solution:

[0051] A computer-readable storage medium stores a computer program capable of being loaded by a processor and executed by any one of the above-mentioned power switching control methods for a UPS device.

[0052] In summary, this application includes at least one of the following beneficial technical effects:

[0053] The first power supply provides uninterrupted power supply service to the load. When the voltage of the first power supply is low, it means that the first power supply is difficult to provide stable power supply operation to the load at this time. The control system generates a power supply switching instruction to supply power to the load through the second power supply. The second power supply serves as a backup power supply. When the voltage of the first power supply is abnormal, it performs power supply operation, so that the uninterruptible power supply can always provide stable power supply operation to the load.

[0054] When the voltage of the first power supply is low, the control system obtains the charging time of the first power supply. If the voltage of the first power supply has not reached the normal value after charging for a long time, it means that the first power supply may be faulty. The control system generates a power supply fault instruction, prompting the user to inspect and maintain the first power supply.

[0055] When the input part of the charging circuit is normal, the control system performs voltage detection on the output part of the charging circuit. When there is a fault in the output part of the charging circuit, the control system still generates a charging circuit fault prompt instruction to prompt the user to perform maintenance on the charging circuit. BRIEF DESCRIPTION OF THE DRAWINGS

[0056] Figure 1 It is a flow chart of a power switching control method for a UPS device according to an embodiment of the present application.

[0057] Figure 2 This is a flow chart of obtaining the charging time of the first power source in an embodiment of the present application.

[0058] Figure 3 This is a flow chart of generating and executing a charging circuit fault prompt instruction in an embodiment of the present application.

[0059] Figure 4 This is a flow chart of obtaining the idle time of the battery in an embodiment of the present application.

[0060] Figure 5 This is a flow chart of querying a preset ambient temperature corresponding to a working ambient temperature from a preset database in an embodiment of the present application.

[0061] Figure 6 This is a module block diagram of a power switching control system for a UPS device according to an embodiment of the present application.

[0062] Explanation of the accompanying drawings: 1. First power supply voltage acquisition module; 2. Theoretical voltage threshold query module; 3. Second power supply parameter acquisition module; 4. Power supply switching instruction generation module. DETAILED DESCRIPTION

[0063] The following is combined with Figure 1-6 This application is described in further detail.

[0064] The embodiments of the present application disclose a power switching control method and system for a UPS device.

[0065] Reference Figure 1 , a power switching control method for a UPS device, comprising:

[0066] S101: Obtain a first power supply voltage.

[0067] Specifically, when the uninterruptible power supply needs to supply power to the load, the control system first starts the first power supply to supply power to the load. At this time, the control system needs to obtain the actual power supply voltage of the first power supply in advance, and then determine whether the power supply function of the first power supply is normal at this time. When obtaining the first power supply voltage, an innovative method combining multi-dimensional perception and intelligent calibration is adopted. Specifically, a high-precision voltage sensor array is set at the first power input end of the UPS device. The array includes at least three voltage sensors based on different principles, such as a voltage transformer based on the electromagnetic induction principle, a capacitive voltage sensor based on the capacitor voltage division principle, and a Hall voltage sensor based on the Hall effect. The first power supply voltage is synchronously collected by these three sensors based on different principles, and the three-way collected data is processed using a sensor fusion algorithm (such as the extended Kalman filter algorithm), effectively suppressing noise interference and improving the accuracy and reliability of voltage collection.

[0068] To address the impact of environmental factors on sensor measurement accuracy, an environmental parameter monitoring module is installed near the sensor installation location to collect real-time parameters such as ambient temperature, humidity, and air pressure. This model, built on a neural network algorithm and trained with extensive historical data, accurately reflects sensor measurement errors under varying environmental parameters. This mapping model is used to dynamically calibrate the sensor's measurements based on the real-time collected environmental parameters to obtain the final first power supply voltage. This multi-sensor fusion and environmentally adaptive calibration approach significantly improves the accuracy and stability of voltage acquisition compared to traditional single-sensor voltage acquisition methods, providing a reliable data foundation for subsequent power switching decisions.

[0069] S102: Query a preset database for a theoretical voltage threshold corresponding to the first power supply voltage.

[0070] Specifically, after the control system obtains the actual voltage of the first power supply, it queries the theoretical voltage threshold corresponding to the first power supply voltage from the preset database, wherein the theoretical voltage threshold is used to represent the lowest standard value of the battery voltage under normal conditions. The control system determines whether the first power supply is in a normal working state based on the theoretical voltage threshold. The preset database adopts a dynamic adaptive optimization architecture design. The database not only stores the preset theoretical voltage thresholds based on the type of the first power supply (such as mains power, generator, etc.), rated voltage, load characteristics, etc., but also has the ability to self-learn and update. In specific implementation, during the operation of the UPS device, the historical voltage data, load changes, power switching history records and other information of the first power supply are collected in real time, and the correlation between the first power supply voltage and factors such as load and environment is analyzed using data mining algorithms (such as association rule mining algorithms).

[0071] When it is necessary to query the theoretical voltage threshold corresponding to the current first power supply voltage, the basic theoretical voltage threshold range is first determined based on the type and load characteristics of the first power supply. Then, combined with the real-time collected environmental parameters (such as temperature, humidity, etc.) and historical operation data, the basic threshold is dynamically adjusted using a machine learning algorithm (such as a support vector regression algorithm). For example, when the ambient temperature rises, according to historical data, the internal resistance of the first power supply may change, thereby causing its actual available voltage threshold to change. The preset theoretical voltage threshold is then corrected accordingly through the algorithm. In addition, the database also supports manual intervention and manual calibration functions. When maintenance personnel find that there is an unreasonable situation in the power switching during actual operation, they can manually adjust the theoretical voltage threshold through the human-computer interaction interface. The adjusted threshold will be input into the database learning model as new sample data to further optimize the database threshold query results. This dynamic and adaptive database query method enables the theoretical voltage threshold to better adapt to changes in the actual operating environment and improves the scientificity and rationality of power switching decisions.

[0072] S103: If the first power supply voltage is less than the theoretical voltage threshold, obtain a second power supply parameter.

[0073] Specifically, when the power supply voltage of the first power supply is low, it means that the first power supply is in an abnormal state and it is difficult to provide stable power supply operation for the load. The control system obtains the power supply parameters of the second power supply so that the second power supply can be enabled to supply power to the load according to the power supply parameters of the second power supply. When it is detected that the voltage of the first power supply is less than the theoretical voltage threshold, the intelligent acquisition mechanism of the power supply parameters of the second power supply is started. A multifunctional sensor node is set at the second power supply (such as a battery pack, a backup generator, etc.). The node can collect multiple key power supply parameters of the second power supply in real time, including output voltage, output current, remaining capacity (for battery packs), output frequency (for AC power supplies such as generators), internal resistance (for battery packs), temperature (for battery packs and generators) and operating status (such as whether it is in a normal charging state, whether there is a fault warning, etc.).

[0074] These sensor nodes communicate with the UPS control module via wireless sensor networks (such as ZigBee and Bluetooth Mesh), enabling real-time transmission of power supply parameters. To ensure the reliability and security of data transmission, data encryption techniques (such as the AES encryption algorithm) are used to encrypt the transmitted power supply parameters, and a data verification mechanism is implemented in the control module to verify the integrity of the received data. Furthermore, corresponding parameter collection strategies are designed for different types of secondary power sources. For example, for battery packs, in addition to collecting conventional voltage and current parameters, the remaining capacity is estimated in real time using the ampere-hour integration method combined with internal resistance detection technology. A temperature sensor monitors the battery pack temperature to prevent overheating and underheating that may affect battery performance and lifespan. For backup generators, parameters such as output frequency, voltage stability, and fuel level are collected to ensure stable operation after the generator is switched. This comprehensive and intelligent power supply parameter acquisition method enables the control module to accurately assess the status of the secondary power source, providing a sufficient basis for generating appropriate power switching instructions.

[0075] S104: Generate and execute a power supply switching instruction.

[0076] Specifically, the control system generates and executes a power supply switching instruction based on the power supply parameters of the second power supply, wherein the power supply switching instruction is used to perform a power supply operation through the second power supply, thereby realizing the switching operation of the uninterruptible power supply.

[0077] When the first power supply is abnormal, the control system supplies power to the load through the second power supply, making the second power supply a backup power supply. When the first power supply voltage is abnormal, the power supply operation is performed, so that the uninterruptible power supply can always provide stable power supply operation for the load. When generating the power supply switching instruction, a strategy combining multi-objective optimization and intelligent control is adopted. The control module first conducts a comprehensive analysis of the acquired power supply parameters of the second power supply and establishes a multi-objective optimization model. The model takes the stability of power switching, the minimization of the impact of the switching process on the load, and the optimization of the energy efficiency of the second power supply as objective functions. The fuzzy control algorithm is used to coordinate and optimize multiple objectives. The optimal switching time and switching method are determined based on the matching degree between the output voltage and frequency of the second power supply and the rated voltage and frequency of the load, as well as the remaining capacity, internal resistance and other parameters.

[0078] Once a power source switching command is generated, soft switching technology is implemented during the execution process to reduce the impact of power switching on the load. Specifically, a soft switching element, such as a bidirectional thyristor or solid-state relay, is installed in the UPS device's power switching circuit. This switching element is controlled by a PWM (pulse width modulation) signal output by the control module, achieving a smooth transition between the first and second power sources. During the switching process, the load's voltage and current changes are monitored in real time, and a feedback control algorithm is used to dynamically adjust the switching process to ensure the continuity and stability of the load power supply.

[0079] In addition, to improve the service life and operating efficiency of the second power source, the operating status and remaining capacity of the second power source are also taken into account when executing the power switching instruction. When the second power source is a battery pack and the remaining capacity is lower than the preset threshold, a charging control strategy is added to the switching instruction. While the load is powered by the second power source, the charging circuit of the battery pack is started to charge the battery properly to avoid damage to the battery due to excessive discharge. When the second power source is a backup generator, the output power of the generator is dynamically adjusted according to the operating parameters and load requirements of the generator to ensure that it operates within the efficient operating range. This power switching execution method based on multi-objective optimization and soft switching technology not only ensures stable power supply to the load, but also achieves efficient utilization and protection of the second power source, significantly improving the overall performance and reliability of the UPS device.

[0080] Reference Figure 2 After S104, a power failure instruction is generated according to the charging time of the first power supply, which specifically includes the following steps:

[0081] S201: Obtain charging time of a first power source.

[0082] Specifically, when the control system generates a power source switching instruction, it indicates that the first power source is experiencing an abnormal voltage state. The control system then further analyzes the abnormal voltage condition of the first power source, obtains the actual charging time of the first power source, and determines whether the abnormal voltage condition is due to insufficient charging time. High-precision current sensors, voltage sensors, and temperature sensors are deployed in the charging circuit of the first power source (e.g., a battery pack) to collect real-time charging current, charging voltage, and battery surface temperature. The current sensor uses a Hall effect sensor with a measurement accuracy of ±0.1%, while the temperature sensor uses a distributed fiber optic temperature measurement system with an accuracy of ±0.5°C, covering the temperature of each cell in the battery pack. Based on the changing characteristics of the charging voltage and current, the control system automatically divides the charging process into constant current charging, constant voltage charging, and floating charging stages using a fuzzy clustering algorithm. When the charging voltage reaches the rated charging voltage and the charging current continues to decline, the constant voltage stage is determined to have begun; when the charging current falls below 1% of the rated capacity, the floating charging stage is determined to have begun.

[0083] The control system establishes a charging time calculation model based on the extended Kalman filter (EKF), comprehensively considering the battery aging degree (assessed by the internal resistance change rate), the influence of ambient temperature and the characteristics of the charging stage, and corrects the theoretical charging time in real time. The formula is as follows: actual =t clock ×f(SoH,T,stage), where t clock is the initial value of the hardware timer, and f is a correction function that incorporates the battery's state of health (SoH), temperature T, and charging stage. This method improves charging time accuracy to ±2%, significantly improving the ±10% error of traditional timers and providing a precise data foundation for subsequent fault diagnosis.

[0084] S202: Query a preset database for a theoretical charging time threshold corresponding to the first power supply charging time.

[0085] Specifically, after the control system obtains the actual charging time of the first power source, it queries the theoretical charging time threshold corresponding to the charging time of the first power source from the preset database, wherein the theoretical charging time threshold is pre-set and generated to represent the maximum charging time required for the first power source to be fully charged. The preset database adopts a self-evolving threshold model with dynamic learning and adaptive adjustment capabilities. The database not only stores the theoretical threshold calculated based on the rated capacity of the battery and the nominal value of the charging current, but also accesses historical charging data (including charging time for different load scenarios, ambient temperature, and battery aging cycle), real-time operating parameters (such as the ripple factor of the charging power source and the grid fluctuation index) and aging characteristic curves provided by the battery manufacturer.

[0086] The control system utilizes a long short-term memory (LSTM) network to implement a dynamic threshold update algorithm. This algorithm takes time series data (e.g., the previous 10 charging times, battery SoH trends, and ambient temperature fluctuations) as input and outputs a theoretical charging time threshold for the current operating conditions. The model automatically updates every 24 hours, dynamically adjusting network weights by comparing actual charging times against predicted thresholds, ensuring that threshold matching improves over time. If actual charging times exceed the historical threshold for three consecutive times, the database's abnormal scenario learning module is triggered. Using association rule mining (e.g., the Apriori algorithm), the algorithm analyzes the correlation between abnormal charging times and factors such as charging equipment failures (e.g., charger voltage drift) and battery pack consistency deterioration (cell voltage difference >50mV). It then automatically generates a modified threshold for these abnormal scenarios, enabling the database to evolve. This mechanism enables the theoretical threshold to adapt in real time to battery aging, environmental changes, and device status, resolving the problem of traditional fixed thresholds being unable to cope with complex operating conditions and reducing the false positive rate from 15% to below 3%.

[0087] S203: If the first power supply charging time is greater than the theoretical charging time threshold, generate and execute a power supply failure instruction.

[0088] Specifically, if the voltage of the first power supply does not reach the normal value after a long period of charging, it indicates that the first power supply may be faulty. The control system generates a power supply fault instruction, wherein the power supply fault instruction is used to push a power supply fault signal to the user's smart terminal, prompting the user to repair and maintain the first power supply. actual When the charge time exceeds 1.5× the theoretical charging time threshold (the threshold is configurable), multi-dimensional fault diagnosis is initiated: The system performs charging device diagnosis, analyzes the charger output voltage waveform, and uses a fast Fourier transform (FFT) to detect whether the ripple factor exceeds 5%, thereby determining whether there is a rectifier module fault. The system also performs a battery pack health assessment, calculating the voltage standard deviation of each cell in the pack. If it exceeds 10% of the rated value, the battery consistency is considered to have deteriorated. Furthermore, the system conducts an environmental investigation, combining real-time temperature and humidity data to eliminate any potential causes of charging efficiency degradation due to overheating (for example, a 20% increase in the threshold is allowed for temperatures above 40°C). After the fault command is executed, the system automatically initiates a backup plan: If a charger fault is detected, charging continues via a redundant charging module (if available), while marking the faulty module as "pending repair." If the battery pack is identified as aging, the system provides a warning message suggesting charging strategy adjustments (such as reducing the charging current to 0.5C) and triggers a battery life prediction model to plan replacement cycles in advance.

[0089] Reference Figure 3 After S203, a charging circuit fault prompt instruction is generated according to the charging circuit input voltage, which specifically includes the following steps:

[0090] S301: Obtain charging circuit input voltage.

[0091] Specifically, when the control system finds that there is a fault in the first power supply, the control system analyzes and investigates the specific fault problem of the first power supply. The control system obtains the input voltage of the charging circuit and then performs problem detection on the input part of the charging circuit. In the process of collecting the input voltage of the charging circuit, multimodal perception and dynamic error compensation technology are used to break through the limitations of traditional single-point measurement. High-precision voltage sensors (accuracy ±0.2% FS) are installed on the phase line, neutral line and protective ground line of the charging circuit input end. At the same time, electric field induction non-contact voltage sensors are deployed near the input terminals to form a three-dimensional measurement network combining contact and non-contact. The contact sensor uses a voltage divider resistor and a high-speed ADC chip (16-bit resolution, sampling rate 1kHz) to achieve real-time voltage acquisition. The non-contact sensor is used to monitor the electric field distribution around the line to assist in determining whether there is electric field distortion caused by poor contact or insulation aging.

[0092] To address the harmonic interference (such as third and fifth harmonics) and transient overvoltages commonly found in power grids, a noise filtering algorithm based on wavelet packet transform was designed. First, the original voltage signal was subjected to a five-layer wavelet packet decomposition, high-frequency noise bands (>200Hz) were extracted and threshold noise reduction was performed. Finally, a pure voltage waveform was obtained through signal reconstruction. Experimental results show that this algorithm can improve the signal-to-noise ratio of voltage measurements to over 45dB, effectively suppressing interference generated by nonlinear loads such as inverters and motors.

[0093] S302: Query a preset database for a theoretical charging input voltage corresponding to the charging circuit input voltage.

[0094] Specifically, after the control system obtains the input voltage of the charging circuit, it queries the theoretical charging input voltage corresponding to the charging circuit input voltage from the preset database, where the theoretical charging input voltage is the voltage value of the input part of the charging circuit under normal conditions. The preset database uses an intelligent threshold engine with dynamic semantic association to achieve adaptive generation and real-time update of the theoretical voltage. The theoretical charging input voltage is no longer a fixed value, but a constraint range dynamically determined by the following parameters: First, the equipment rated parameters, including the input voltage range of the charging module and the optimal operating range of the power factor correction (PFC) circuit; the real-time harmonic content, voltage fluctuation coefficient (K factor), and flicker value (Pst) of the power grid are obtained through the power line carrier (PLC) to establish the dynamic allowable range of the input voltage: V theory =[V nom ×(1-δ low ),V nom ×(1+δ high )], where V theory Indicates the range of theoretical charging input voltage; Vnom Represents the rated input voltage, that is, the standard input voltage value designed for the charging circuit (such as the common AC 220V); δ low The voltage lower limit adjustment coefficient is used to calculate the voltage lower limit based on the rated voltage, reflecting the proportion of the voltage that can be lower than the rated value. For example, if δ low =0.15, then the lower limit is V nom ×(1-0.15), indicating that the allowable voltage is 15% lower than the rated value; δ high The voltage upper limit adjustment coefficient is used to calculate the voltage upper limit based on the rated voltage, reflecting the proportion of the voltage that can be higher than the rated value. For example, if δ high =0.15, the upper limit is V nom ×(1+0.15) indicates that the allowable voltage is 15% higher than the rated value. This formula dynamically determines the appropriate range of the charging circuit input voltage by combining the rated voltage with the upper and lower limit adjustment coefficients to accommodate the voltage requirements of different operating conditions (such as grid fluctuations and load changes). It is used to adjust in real time based on grid fluctuations, automatically narrowing the allowable range when fluctuations are severe.

[0095] S303: Determine whether the charging circuit input voltage meets the theoretical charging input voltage.

[0096] Specifically, the control system analyzes the numerical value of the charging circuit input voltage based on the theoretical charging input voltage to determine whether the input part of the charging circuit is in a normal state at this time.

[0097] If the judgment is no, jump to S304;

[0098] If the answer is yes, then execute S305 to S307.

[0099] S304: Generate and execute a charging circuit fault prompt instruction.

[0100] Specifically, the control system detects whether there is a fault in the input part of the charging circuit. When there is a fault in the input part of the charging circuit, the control system generates a charging circuit fault prompt instruction, wherein the charging circuit fault prompt instruction is used to send a charging circuit fault prompt signal to the user's smart terminal.

[0101] The control system prompts the user that there is a fault in the charging circuit at this time, so that the user can perform targeted maintenance on the charging circuit of the first power supply after receiving the charging circuit fault prompt signal. The generation and execution of the fault prompt instruction adopts an intelligent decision-making system based on fault entropy weight, realizing closed-loop processing from abnormality detection to precise positioning. When the input voltage exceeds the limit, the system automatically starts the three-level fault troubleshooting:

[0102] Level 1 troubleshooting: Compare the symmetry of the three-phase voltages (a phase voltage difference greater than 10% indicates a three-phase imbalance in the grid), analyze the harmonic content of the voltage waveform, and use FFT to detect the amplitude of each harmonic. If the fifth harmonic is greater than 6%, it is marked as nonlinear load interference.

[0103] Secondary inspection: Check the status of the surge protector (SPD) at the front end of the charging circuit (use the leakage current sensor to determine whether it is faulty), the voltage drop across the contactor (contact resistance >50mΩ indicates poor contact), and use an infrared thermal imaging module (accuracy ±2°C) to scan the terminal temperature (a temperature difference >15°C indicates a contact fault warning).

[0104] Level 3 troubleshooting: Use the real-time power data of the charging module to reversely infer the rationality of the input voltage. If the deviation between the calculated value and the measured value is greater than 8%, it is determined to be a sensor failure or data transmission abnormality.

[0105] A fault risk model based on the entropy weight method is established. The risk value R = 0.4ΔV + 0.3t + 0.2f + 0.1L is calculated by comprehensively considering the voltage deviation degree (ΔV%), duration (t), historical occurrence frequency (f), and load importance level (L). The fault is divided into four levels based on the R value, corresponding to different prompt strategies:

[0106] When R<40, a yellow warning will be displayed on the local HMI and a fault log will be recorded;

[0107] When 40≤R<70, a graphic message with a fault code (such as "Input voltage fluctuates, it is recommended to check the grid connection") is pushed through the WeChat service account;

[0108] When 70≤R<90, an SMS warning is triggered, along with the fault location (e.g., "abnormal voltage in phase A of the charging circuit, terminal number CN101") and temporary treatment measures (e.g., switching to a backup input circuit);

[0109] When R≥90, the emergency number reserved by the user will be dialed immediately, and a fault work order with GPS positioning will be sent to the operation and maintenance platform, which will automatically dispatch the order to the nearest maintenance personnel.

[0110] If a persistent input voltage anomaly is detected and identified as an external power grid issue, the system automatically switches to the backup charging input circuit and simultaneously initiates balanced charging of the energy storage battery to ensure UPS endurance during the fault handling process. Once the main charging circuit is repaired, a fuzzy control algorithm gradually restores power to the main circuit, preventing sudden switching from impacting equipment.

[0111] S305: Obtain the output voltage of the charging circuit.

[0112] Specifically, when the input part of the charging circuit is normal, the control system needs to continue to perform voltage detection on the output part of the charging circuit. The control system obtains the output voltage of the charging circuit and then performs voltage detection operation on the output part of the charging circuit.

[0113] S306: Query a preset database for a theoretical charging output voltage corresponding to the output voltage of the charging circuit.

[0114] Specifically, after the control system obtains the output voltage of the charging circuit, it queries a preset database for a theoretical charging output voltage corresponding to the output voltage of the charging circuit, wherein the theoretical charging output voltage is the voltage value of the output part of the charging circuit in a normal state.

[0115] S307: Determine whether the output voltage of the charging circuit meets the theoretical charging output voltage.

[0116] Specifically, the control system compares the output voltage of the charging circuit with the theoretical charging output voltage, analyzes and determines whether the output voltage of the charging circuit meets the theoretical charging output voltage, and then determines whether the output part of the current circuit is in a normal working state.

[0117] If the judgment is no, jump to S308;

[0118] If the answer is yes, jump to S309.

[0119] S308: Generate and execute a charging circuit fault prompt instruction.

[0120] Specifically, when the output voltage of the charging circuit does not meet the theoretical charging output voltage, it indicates that there is a fault in the output portion of the charging circuit. The control system then generates and executes a charging circuit fault prompt instruction. When there is a fault in the output portion of the charging circuit, the control system still generates a charging circuit fault prompt instruction, prompting the user to perform maintenance on the charging circuit.

[0121] S309: Generate and execute a battery damage instruction.

[0122] Specifically, when the output voltage of the charging circuit meets the theoretical charging output voltage, it means that the voltages at the input and output ends of the charging circuit are both at normal values, and the charging circuit is in a normal working state. At this time, the battery itself may be damaged.

[0123] The control system generates and executes a battery damage instruction, wherein the battery damage instruction is used to push a battery damage signal to the user's smart terminal, prompting the user that the battery needs maintenance.

[0124] Reference Figure 4This embodiment discloses a power switching control method for a UPS device, which specifically includes the following steps:

[0125] S401: Obtain battery idle time.

[0126] Specifically, when the battery is idle for a long time, the control system obtains the continuous limit time of the battery through a timer set in the battery, and the battery idle time is used to represent the continuous limit time of the battery.

[0127] S402: Query a preset database for a theoretical idle time threshold corresponding to the battery idle time.

[0128] Specifically, after the control system obtains the continuous idle time of the battery, it queries the theoretical idle time threshold corresponding to the battery idle time from a preset database, wherein the theoretical idle time threshold is preset and is used to specify the maximum time period that the battery is in an idle state.

[0129] S403: If the battery idle time is greater than the theoretical idle time threshold, an automatic charge and discharge instruction is generated and executed.

[0130] Specifically, when the battery is idle for a long time, the control system periodically charges and discharges the battery according to the theoretical idle time threshold, so that the battery performance is well guaranteed and the battery service life is extended.

[0131] Reference Figure 5 This embodiment discloses a power switching control method for a UPS device, which specifically includes the following steps:

[0132] S501: Obtain the working environment temperature.

[0133] Specifically, when the uninterruptible power supply is working, the control system performs temperature measurement operation through a thermometer set in the uninterruptible power supply. The control system obtains the working environment temperature of the uninterruptible power supply at this time and determines whether the uninterruptible power supply is working in a relatively suitable ambient temperature at this time.

[0134] S502: Query a preset ambient temperature corresponding to the working ambient temperature from a preset database.

[0135] Specifically, after obtaining the working environment temperature of the uninterruptible power supply, the control system searches a preset database for a preset environment temperature corresponding to the working environment temperature, wherein the preset environment temperature is a temperature range that is more suitable for the uninterruptible power supply during operation.

[0136] S503: If the working environment temperature does not meet the preset environment temperature, an environment temperature warning instruction is generated and executed.

[0137] Specifically, when the ambient temperature around the battery becomes unsuitable for operation, the control system generates an ambient temperature warning instruction, which is used to push an ambient temperature warning signal to the user's smart terminal. The control system prompts the user to promptly adjust the battery's operating environment, thereby enabling the battery to operate in a suitable environment and extending its service life.

[0138] The implementation principle of a power switching control method for a UPS device in an embodiment of the present application is as follows: a first power supply provides uninterrupted power supply service to a load. When the voltage of the first power supply is low, it means that the first power supply is difficult to provide stable power supply operation to the load at this time. The control system generates a power supply switching instruction and supplies power to the load through the second power supply. The second power supply serves as a backup power supply and performs power supply operation when the voltage of the first power supply is abnormal, so that the uninterruptible power supply can always provide stable power supply operation to the load.

[0139] Based on the above method, the embodiment of the present application also discloses a power switching control system for a UPS device. Figure 6 , a power switching control system for a UPS device, comprising:

[0140] The first power supply voltage acquisition module 1 is configured to acquire a first power supply voltage.

[0141] The theoretical voltage threshold query module 2 is used to query the theoretical voltage threshold corresponding to the first power supply voltage from a preset database.

[0142] The second power supply parameter acquisition module 3 is used to acquire the second power supply parameter if the first power supply voltage is less than the theoretical voltage threshold.

[0143] The power supply switching instruction generating module 4 is used to generate and execute a power supply switching instruction according to the power supply parameters of the second power supply. The power supply switching instruction is used to perform a power supply operation through the second power supply.

[0144] An embodiment of the present application further discloses an intelligent terminal, which includes a memory and a processor, wherein the memory stores a computer program that can be loaded and executed by the processor, such as the above-mentioned power switching control method for a UPS device.

[0145] The present application also discloses a computer-readable storage medium. The computer-readable storage medium stores a computer program capable of being loaded by a processor and executed by a power switching control method for a UPS device, such as the above-described method. The computer-readable storage medium includes, for example, a USB flash drive, a mobile hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, among other media capable of storing program code.

[0146] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the scope of protection of the invention. Obviously, the embodiments described are only some embodiments of the present invention, rather than all embodiments. Based on these embodiments, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in this field can still combine, add, delete or make other adjustments to the features in the various embodiments of the present invention according to the circumstances without conflict, without making creative work, so as to obtain different other technical solutions that do not deviate from the concept of the present invention in essence, and these technical solutions also fall within the scope of protection of the present invention.

Claims

1. A power switching control method for a UPS device, characterized in that: The following steps are involved: Acquiring a first power supply voltage by combining multi-dimensional sensing with intelligent calibration; querying a theoretical voltage threshold corresponding to the first power supply voltage from a preset database, wherein the preset database adopts a dynamic adaptive optimization architecture design; If the first power supply voltage is less than the theoretical voltage threshold, obtaining a second power supply parameter and starting an intelligent acquisition mechanism for the second power supply parameter; generating and executing a power supply switching instruction based on the power supply parameters of the second power supply, wherein the power supply switching instruction adopts a strategy combining multi-objective optimization and intelligent control, and controls the second power supply to perform a power supply operation through a soft switching technology; The charging and discharging process of the second power source is adjusted according to the operating state and remaining capacity of the second power source.

2. A power switching control method for a UPS device according to claim 1, characterized in that: After the step of generating and executing the power supply switching instruction, the method further includes: Obtaining charging time of the first power source; Querying a preset database for a theoretical charging time threshold corresponding to the charging time of the first power source; If the first power supply charging time is greater than the theoretical charging time threshold, a power failure instruction is generated and executed, and the power failure instruction is used to push a power failure signal to the user's smart terminal.

3. The power switching control method for a UPS device according to claim 2, wherein: After the step of generating and executing the power failure instruction, the method further includes: Get the charging circuit input voltage; querying a preset database for a theoretical charging input voltage corresponding to the charging circuit input voltage; If the charging circuit input voltage does not meet the theoretical charging input voltage, a charging circuit fault prompt instruction is generated and executed, and the charging circuit fault prompt instruction is used to send a charging circuit fault prompt signal to the user's smart terminal.

4. The power switching control method for a UPS device according to claim 3, wherein: Before the step of generating and executing the charging circuit fault prompt instruction, the method further includes: If the charging circuit input voltage meets the theoretical charging input voltage, obtaining the charging circuit output voltage; Querying a preset database for a theoretical charging output voltage corresponding to the output voltage of the charging circuit; If the output voltage of the charging circuit does not meet the theoretical charging output voltage, the step of generating and executing a charging circuit fault prompt instruction is performed.

5. The power switching control method for a UPS device according to claim 4, wherein: The step of querying a preset database for a theoretical charging output voltage corresponding to the output voltage of the charging circuit further includes: If the output voltage of the charging circuit meets the theoretical charging output voltage, a battery damage instruction is generated and executed, and the battery damage instruction is used to push a battery damage signal to the user's smart terminal.

6. The power switching control method for a UPS device according to claim 1, wherein: Also includes: Get the battery idle time; Querying a preset database for a theoretical idle time threshold corresponding to the idle time of the battery; If the battery idle time is greater than the theoretical idle time threshold, an automatic charge and discharge instruction is generated and executed.

7. The power switching control method for a UPS device according to claim 1, wherein: Also includes: Get the working environment temperature; Querying a preset ambient temperature corresponding to the working ambient temperature from a preset database; If the working environment temperature does not meet the preset environment temperature, an environment temperature warning instruction is generated and executed, and the environment temperature warning instruction is used to push an environment temperature warning signal to the user's smart terminal.

8. A power switching control system for a UPS device, characterized in that: include: A first power supply voltage acquisition module (1), used for acquiring a first power supply voltage; A theoretical voltage threshold query module (2) is used to query a theoretical voltage threshold corresponding to the first power supply voltage from a preset database; A second power supply parameter acquisition module (3) is used to acquire the second power supply parameter if the first power supply voltage is less than the theoretical voltage threshold; A power supply switching instruction generating module (4) is used to generate and execute a power supply switching instruction according to the power supply parameter of the second power supply, wherein the power supply switching instruction is used to perform a power supply operation through the second power supply.

Citation Information

Patent Citations

  • UPS control method and UPS

    CN112018872A

Cited By

  • Fault determination method and device of power supply system, electronic equipment and power supply system

    CN120824905A