A method, device, equipment and storage medium for testing high-power uninterruptible power supply
The mode switching control parameters of the high-power uninterruptible power supply are optimized through the fuzzy neural network model, which solves the instability and transient response problems during the switching process, improves the reliability and efficiency of the system, and ensures the adaptability to various loads and conditions. reliability and failure prevention.
Patent Information
- Application Number
- CN202410593214.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-14
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2044-05-14
AI Technical Summary
High-power uninterruptible power supplies face problems such as long transient response time and difficulty in ensuring system stability when switching operating modes. Traditional testing methods are inefficient and difficult to adapt to the testing needs of modern complex power systems.
The preset fuzzy neural network model is used to create mode switching control parameters. Through transient response analysis, curve fitting and fault detection, the mode switching control parameters are optimized to improve the switching effect and system stability.
It achieves more precise mode switching control, reduces instability and transient response problems, improves system reliability and efficiency, ensures rapid adaptation to various loads and conditions, and prevents failures in advance, enhancing Overall stability and security.
Smart Images

Figure CN118348450B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of deep learning technology, and in particular to a testing method, device, equipment and storage medium for a high-power uninterruptible power supply. Background Art
[0002] High-power uninterruptible power supplies are used to ensure stable and continuous power supply when the main power supply fails. With the development of technology and the increase in user needs, high-power uninterruptible power supplies are not only required to have basic power supply functions, but also need to support multiple operating modes to improve energy efficiency, optimize performance, and adapt to different environmental conditions and load requirements.
[0003] However, with the increase in operating modes, how to efficiently and seamlessly switch between modes, and how to ensure system stability and reliability in each mode, has become a major challenge in design and testing. Currently, most high-power uninterruptible power supplies face the problems of long transient response time and difficult to ensure system stability when switching modes. System instability during transients may cause potential harm to connected devices, such as data loss or hardware damage, especially during high load or critical operations. In addition, traditional mode switching test methods often rely on outdated technologies or manual test processes, which are not only inefficient but also difficult to adapt to the testing needs of modern complex power systems. Summary of the invention
[0004] The present application provides a testing method, device, equipment and storage medium for a high-power uninterruptible power supply, which are used to improve the switching effect between operating modes of the high-power uninterruptible power supply, thereby improving the performance stability of the high-power uninterruptible power supply.
[0005] In a first aspect, the present application provides a method for testing a high-power uninterruptible power supply, the method comprising:
[0006] Acquire multiple operation modes of a high-power uninterruptible power supply, and create mode switching control parameters between every two operation modes through a preset fuzzy neural network model;
[0007] According to the mode switching control parameters, performing mode switching and transient response analysis on the high-power uninterruptible power supply to obtain transient response data between every two operating modes;
[0008] Performing curve fitting and characteristic matrix construction on the transient response data respectively to obtain a transient response characteristic matrix between every two operating modes;
[0009] Inputting the transient response characteristic matrix into a preset fault detection model to perform fault detection respectively, and obtaining a fault detection result between every two operation modes;
[0010] According to the fault detection results, the mode switching control parameters are respectively optimized and analyzed to obtain target switching control parameters between every two operating modes.
[0011] In a second aspect, the present application provides a test device for a high-power uninterruptible power supply, the test device for a high-power uninterruptible power supply comprising:
[0012] An acquisition module is used to acquire multiple operation modes of the high-power uninterruptible power supply and to create mode switching control parameters between every two operation modes through a preset fuzzy neural network model;
[0013] A switching module, used to perform mode switching and transient response analysis on the high-power uninterruptible power supply according to the mode switching control parameters, and obtain transient response data between every two operating modes;
[0014] A construction module, used to perform curve fitting and characteristic matrix construction on the transient response data respectively, to obtain a transient response characteristic matrix between every two operating modes;
[0015] A detection module, used for inputting the transient response characteristic matrix into a preset fault detection model to perform fault detection, and obtaining a fault detection result between every two operation modes;
[0016] The analysis module is used to perform parameter optimization analysis on the mode switching control parameters according to the fault detection results to obtain target switching control parameters between every two operating modes.
[0017] A third aspect of the present application provides a test device for a high-power uninterruptible power supply, comprising: a memory and at least one processor, wherein the memory stores instructions; the at least one processor calls the instructions in the memory so that the test device for the high-power uninterruptible power supply executes the above-mentioned test method for the high-power uninterruptible power supply.
[0018] A fourth aspect of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, which, when executed on a computer, enable the computer to execute the above-mentioned method for testing a high-power uninterruptible power supply.
[0019] In the technical solution provided by the present application, by using a preset fuzzy neural network model to create mode switching control parameters between each two operating modes, the switching between different operating modes can be controlled more accurately. Accurate control reduces the instability and transient response problems during the switching process, thereby improving the reliability and efficiency of the entire system. By real-time acquisition of the initial response signal during the mode switching process and performing Fourier transform and other processing, the transient response data between each two operating modes can be analyzed in detail. This not only helps to identify and prevent possible performance degradation, but also ensures rapid adaptation to various loads and conditions in practical applications. The transient response feature matrix is input into the preset fault detection model for analysis, and potential faults or abnormal states of the system can be discovered in time. In addition, the fault detection results can be directly used to optimize the mode switching control parameters, thereby preventing faults from occurring in the advance stage and enhancing the overall stability and safety of the system. Based on the fault detection results, the mode switching control parameters are continuously optimized and analyzed, so that the test method is not limited to identifying problems, but also can dynamically adjust and optimize the operating parameters to adapt to changing operating conditions and requirements. This dynamic optimization mechanism ensures the best performance and lowest operating cost of the UPS system throughout its life cycle, thereby improving the switching effect between the operating modes of the high-power uninterruptible power supply, thereby improving the performance stability of the high-power uninterruptible power supply. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0021] Figure 1 A schematic diagram of an embodiment of a method for testing a high-power uninterruptible power supply in an embodiment of the present application;
[0022] Figure 2 It is a schematic diagram of an embodiment of a testing device for a high-power uninterruptible power supply in an embodiment of the present application. DETAILED DESCRIPTION
[0023] The embodiments of the present application provide a test method, device, equipment and storage medium for a high-power uninterruptible power supply. The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments described here can be implemented in an order other than that illustrated or described here. In addition, the terms "including" or "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0024] For ease of understanding, the specific process of the embodiment of the present application is described below. Figure 1 , an embodiment of a method for testing a high-power uninterruptible power supply in an embodiment of the present application includes:
[0025] Step S101, obtaining multiple operating modes of a high-power uninterruptible power supply, and creating mode switching control parameters between every two operating modes through a preset fuzzy neural network model;
[0026] It is understandable that the execution subject of the present application may be a test device of a high-power uninterruptible power supply, or a terminal or a server, which is not limited here. The present application embodiment is described by taking a server as the execution subject as an example.
[0027] Specifically, multiple operating modes of a high-power uninterruptible power supply are obtained, including a normal mode, an enhanced eco mode, and an aging test mode. These modes represent the operating status of the device under different performance requirements, such as the normal mode refers to the standard power output, the enhanced eco mode may add an energy efficiency management function, and the aging test mode is used to simulate the performance changes of the power supply device after long-term operation. A baseline operation test is performed on each operating mode based on a preset test duration, and the operating data of each mode within the specified duration is recorded. The baseline operating data is the basis for evaluating the power supply status and performance, and they reflect the performance of the voltage, current, power and other key parameters of the device in different modes. Feature extraction is performed on the baseline operating data to obtain an operating feature set for each operating mode. It usually includes data normalization processing, extraction of key performance indicators, etc., to identify key features reflecting the performance of the device from the original operating data. The operating feature set of each operating mode is input into a preset fuzzy neural network model for pattern feature recognition. Fuzzy neural networks combine the advantages of fuzzy logic and neural networks, can effectively process ambiguous and uncertain information, and obtain unique pattern features of each mode through training. These pattern features represent the typical performance and behavior patterns of the device in each mode. The internal model controller calculates the mode switching control parameters required for mode switching between each two operating modes based on the mode characteristics of each operating mode. The control parameters are the key to achieving smooth and efficient mode switching, and they need to be precisely adjusted to ensure that the stability and performance of the device are not affected during the switching process.
[0028] Step S102: performing mode switching and transient response analysis on the high-power uninterruptible power supply according to the mode switching control parameters to obtain transient response data between every two operating modes;
[0029] Specifically, the high-power uninterruptible power supply is switched in mode according to the mode switching control parameters. By controlling the circuit and software configuration in the power management system, it is ensured that the output of the power supply will not be interrupted during the switching from one operating mode to another, while minimizing the impact on the terminal equipment. During the mode switching process, the initial response signal of the power supply is automatically recorded. These signals include instantaneous changes in key electrical parameters such as current, voltage, and power. The initial response signal is Fourier transformed to convert the time domain signal into a frequency domain signal, which can more clearly identify the various frequency components in the signal and help analyze the performance of the power supply during the transient process. The frequency domain response data can show the frequency characteristics of the power supply output waveform during the mode switching process, including the main frequency and harmonics, which can help engineers identify possible electrical anomalies such as resonance or noise. Missing value interpolation and outlier removal are performed on the frequency domain response data. Missing value interpolation ensures the integrity of the data by estimating or using surrounding data points to fill in the blank parts of the data; outlier removal identifies and removes atypical data points that may be caused by measurement errors or external interference. Through the data processing steps, more accurate and clean transient response data are obtained, which reflect the power supply performance and behavior characteristics between each two operating modes.
[0030] Step S103, performing curve fitting and characteristic matrix construction on the transient response data respectively to obtain a transient response characteristic matrix between every two operating modes;
[0031] Specifically, the transient response data are time-aligned to ensure that data from different test cycles or mode switching instances can be compared on the same time axis to ensure the consistency and reliability of the analysis. The transient response data after time alignment is curve-fitted using statistical or machine learning methods, such as least squares or polynomial regression, to form a continuous transient response curve. The curve can clearly describe the behavioral changes of the power supply during different mode switching processes. The slope of the curve is calculated for multiple points on the transient response curve. The derivative of the curve at each point is calculated. The slope of the curve reveals the rate of change of the transient response and is a key parameter for understanding the dynamic changes in power supply performance. By analyzing the slope value, the target points that reflect the key characteristics of the transient response are screened out. For example, the point with the largest slope may represent the peak change of the power supply response. After the target points are selected, dynamic variable weight allocation is performed. Different analysis weights are assigned to different target points, which are usually determined based on the influence of each point or the importance of the impact on the power supply performance. For example, points that have a greater impact on the stability of the power supply may be assigned a higher weight. According to the weight data, a feature matrix is constructed for multiple target points to obtain a transient response feature matrix between each two operating modes. The feature matrix is a multidimensional data structure that contains features extracted from each target point, such as the slope of the curve, the time position of the point, etc. The matrix provides an intuitive and effective tool for judging the performance differences between different modes.
[0032] Step S104, respectively inputting the transient response characteristic matrix into a preset fault detection model to perform fault detection, and obtaining a fault detection result between every two operation modes;
[0033] Specifically, the transient response feature matrix is input into the preset fault detection model for fault detection to ensure the reliability and safety of the power system under different operating modes. The use of machine learning techniques, such as long short-term memory networks, is suitable for processing and predicting problems related to time series data, and can effectively manage the length and shortness changes of time intervals in the data. The structure of the fault detection model includes an input layer, multiple long short-term memory network hidden layers, and an output layer. The transient response feature matrix between each two operating modes is received through the input layer. The feature matrix summarizes the key electrical performance data of the power supply when switching between different modes, such as the amplitude and slope of the transient response. Through multiple long short-term memory networks, the transient response feature matrix is extracted from the hidden features to obtain the initial hidden feature matrix of each hidden layer. The long short-term memory network can learn long-term dependencies in the data through the gate control mechanism, which is crucial for understanding complex power supply behavior patterns. In the hidden layer, each layer generates an initial hidden feature matrix, which contains deeper feature information extracted from the original input. In order to improve the accuracy and sensitivity of fault detection, the initial hidden feature matrices of each hidden layer are fused using the attention mechanism. The attention mechanism highlights the most important features and suppresses less important information by assigning different weights to capture fault signals more effectively. Through the preset matrix weights, multiple layers of features are integrated to generate a comprehensive attention feature matrix. The attention feature matrix is used to perform fault classification calculations through the classification function of the output layer. Using classification algorithms, such as support vector machines or neural network classifiers, different types of faults are accurately distinguished based on the patterns learned during training, and the fault detection results between each two operating modes are output.
[0034] Step S105: Optimizing and analyzing the mode switching control parameters according to the fault detection results to obtain target switching control parameters between every two operating modes.
[0035] Specifically, random initial values are generated for the mode switching control parameters according to the fault detection results to obtain the corresponding random initial value set. The random initial value allows the algorithm to explore areas in the parameter space that may not be directly considered. After the initial value is generated, the preset reverse particle propagation algorithm is used to construct a particle population for the random initial value set to form the first particle population. Each particle represents a set of potential mode switching control parameters, and the diversity of the particle population ensures the ability of global search. The fitness of the first particle population is calculated to evaluate the performance of the parameter set represented by each particle in the simulation environment. The fitness of the particle is evaluated according to the degree to which the parameter set optimizes the power supply performance, including switching efficiency, stability, and response time. The calculated particle fitness set reflects the advantages and disadvantages of each particle. Through iterative calculation of the particle fitness set, the algorithm gradually adjusts the particle position and optimizes the search strategy to find a better solution. During the iteration process, the particle updates its speed and position according to its own and the group's historical optimal position, gradually tending to the possible optimal solution. In this process, the level of particle fitness directly affects the particle update direction and amplitude, ensuring that the algorithm can converge to the optimal solution within a reasonable number of iterations. The optimal solution obtained through iterative calculation is used to replace the original mode switching control parameters to generate the target switching control parameters between every two operating modes.
[0036] The first particle population is divided into populations, and the large population is divided into multiple smaller second particle populations, so that the characteristics of each small population can be processed and analyzed more accurately, making the optimization process more efficient and targeted. Each second particle population is assigned a different fitness calculation function due to its unique characteristics. These functions are customized according to the specific characteristics and needs of each population to ensure the accuracy and applicability of the fitness evaluation. Through the fitness calculation function corresponding to each second particle population, the fitness calculation is performed on each second particle population respectively, and the performance of each particle parameter set in the population is evaluated to determine its contribution to the optimization of the current power mode switching control parameters. After that, the particle position analysis of the first particle population is performed through the particle fitness set to obtain the current particle position set corresponding to the first particle population, and the adjustment direction and amplitude that may be required are indicated according to its fitness value. The particle position of the current particle position set is updated to obtain the updated particle position set, and a better parameter configuration is obtained. At the same time, after each position update, the particle fitness corresponding to the updated particle position set is synchronously calculated to verify the effectiveness of the position update and adjust the optimization strategy. Synchronous calculation ensures that each iteration is based on the latest data, so as to continuously approach the optimal solution. The updated particle fitness set is iterated multiple times, and the current particle fitness set is evaluated after each iteration to determine whether the optimization goal has been achieved by comparing it with the preset fitness threshold. The iterative calculation continues until the particle fitness meets the preset threshold, and the optimal solution corresponding to the first particle population is generated. The optimal solution represents the parameter configuration that can achieve the most efficient and stable power mode switching under the current test and evaluation conditions.
[0037] In the embodiment of the present application, by using a preset fuzzy neural network model to create a mode switching control parameter between each two operating modes, the switching between different operating modes can be controlled more accurately. Accurate control reduces the instability and transient response problems during the switching process, thereby improving the reliability and efficiency of the entire system. By real-time acquisition of the initial response signal during the mode switching process and performing Fourier transform and other processing, the transient response data between each two operating modes can be analyzed in detail. This not only helps to identify and prevent possible performance degradation, but also ensures rapid adaptation to various loads and conditions in practical applications. The transient response feature matrix is input into the preset fault detection model for analysis, and potential faults or abnormal states of the system can be discovered in time. In addition, the fault detection results can be directly used to optimize the mode switching control parameters, thereby preventing faults from occurring in the advance stage and enhancing the overall stability and safety of the system. Based on the fault detection results, the mode switching control parameters are continuously optimized and analyzed, so that the test method is not limited to identifying problems, but also can dynamically adjust and optimize the operating parameters to adapt to changing operating conditions and requirements. This dynamic optimization mechanism ensures the best performance and lowest operating cost of the UPS system throughout its life cycle, thereby improving the switching effect between the operating modes of the high-power uninterruptible power supply, thereby improving the performance stability of the high-power uninterruptible power supply.
[0038] In a specific embodiment, the process of executing step S101 may specifically include the following steps:
[0039] (1) Obtain multiple operating modes of high-power uninterruptible power supply, including normal mode, enhanced ecological mode and aging test mode;
[0040] (2) Based on the preset test duration, baseline operation tests are performed on multiple operation modes to obtain baseline operation data for each operation mode;
[0041] (3) Extracting features from the baseline operation data of each operation mode to obtain an operation feature set for each operation mode;
[0042] (4) Inputting the operation feature set of each operation mode into a preset fuzzy neural network model for pattern feature recognition to obtain the pattern features of each operation mode;
[0043] (5) The mode switching control parameters corresponding to the mode switching between every two operating modes are calculated according to the mode characteristics of each operating mode through the internal model controller.
[0044] Specifically, multiple operating modes of a high-power uninterruptible power supply are obtained, including normal mode, enhanced eco mode, and aging test mode. Normal mode is usually the standard operating state of the device and is suitable for daily power demand; enhanced eco mode may involve more efficient energy use and is suitable for reducing energy consumption when energy demand is low; aging test mode is designed to simulate the performance state of the device after long-term operation, which helps to evaluate the durability and long-term stability of the device. Perform baseline operation test on each mode, set a preset test duration, and ensure that the data collected during this period can reflect the performance of each mode in actual operation. For example, if the normal mode of the uninterruptible power supply is tested, it can be preset to run continuously for 24 hours, and record the parameters such as the voltage, current, frequency and stability of the power supply output; for the enhanced eco mode, it may focus on the ability to maintain output stability while reducing energy consumption; in the aging test mode, it will simulate how the wear caused by long-term operation affects the output characteristics of the device. Feature extraction is performed on the baseline operation data of each operating mode. From the large amount of data collected from each mode, key indicators reflecting the characteristics of each mode are extracted, such as average current load, peak response time, power efficiency change, etc. These key features are identified from complex data through data analysis techniques, such as principal component analysis or cluster analysis. The operating feature set is input into a pre-set fuzzy neural network model for pattern feature recognition. The fuzzy neural network model combines the advantages of fuzzy logic and neural networks, allowing the model to not only learn patterns in feature data, but also handle uncertainty and ambiguity. For example, the model can identify the uncertainty pattern of power stability with load changes in enhanced eco mode, or the trend of gradually decreasing efficiency in aging test mode. Through the internal model controller, the corresponding mode switching control parameters when switching between each two operating modes are calculated based on the mode characteristics of each operating mode. These parameters are adjusted based on the output of the fuzzy neural network model to ensure seamless transition from one mode to another in actual operation while minimizing possible performance losses or risks. For example, when switching from normal mode to enhanced eco mode, the controller can adjust the rate and time of power output based on the model's predictions to avoid output instability or excessive load on the equipment during the switching process.
[0045] In a specific embodiment, the process of executing step S102 may specifically include the following steps:
[0046] (1) According to the mode switching control parameters, the high-power uninterruptible power supply performs mode switching, and collects the initial response signal of the high-power uninterruptible power supply during the mode switching process;
[0047] (2) Perform Fourier transform on the initial response signal to obtain frequency domain response data;
[0048] (3) Missing value interpolation and outlier removal are performed on the frequency domain response data to obtain the transient response data between every two operating modes.
[0049] Specifically, the high-power uninterruptible power supply is switched in mode according to the mode switching control parameters. The control parameters specify the specific conditions and steps of the switching operation, such as the transition from the normal mode to the enhanced ecological mode. The control parameters will determine the speed of the switching, the specific time point when the switching starts, and the adjustment method of various control signals during the switching process. After the mode switching is started, the initial response signal of the power supply is recorded. These signals include changes in key electrical parameters such as current, voltage, and power. The initial response signal is Fourier transformed. Fourier transform is a mathematical method that converts time domain signals into frequency domain signals. Through this transformation, the performance of each frequency component in the signal can be seen more clearly. For example, during the mode switching process, the power supply output may briefly produce some high-frequency fluctuations, which may not be easily perceived in the time domain, but can be clearly identified in the frequency domain. Through Fourier transform, not only can these high-frequency components be identified, but also their amplitude and phase can be analyzed, and then their possible impact on the power system can be evaluated. The frequency domain response data may have missing values or outliers, and the frequency domain response data is interpolated for missing values and outliers are removed. Missing value interpolation is used to fill in the missing data points in the frequency domain data set due to various reasons (such as sensor failure, data transmission error, etc.). According to the characteristics and requirements of the data, linear interpolation, polynomial interpolation or more complex interpolation methods such as spline interpolation are selected. The most likely value of the missing point is estimated based on the surrounding data points to maintain the integrity and continuity of the data. Outlier removal is to identify and delete atypical data points that may be caused by measurement errors or external interference. The identification of outliers usually relies on statistical analysis methods such as standard deviation analysis or quartile-based IQR methods. Once the outliers are identified, they can be replaced with the mean or median, or completely removed from the data set to improve the quality and reliability of the data. The final transient response data reflects the true performance of the power supply when switching between each two operating modes. For example, if an abnormal frequency domain response is observed in a certain mode switching, this may indicate that there are potential design or functional problems in the power supply during the switching process between the two modes, which requires further technical investigation and improvement.
[0050] In a specific embodiment, the process of executing step S103 may specifically include the following steps:
[0051] (1) Performing time alignment on the transient response data respectively and performing curve fitting on the transient response data respectively to obtain the transient response curve;
[0052] (2) Calculating the slope of a plurality of curve points in the transient response curve to obtain the slope of each curve point;
[0053] (3) According to the slope of each curve point, multiple curve points are screened to obtain multiple target points;
[0054] (4) Dynamically assign variable weights to multiple target points to obtain weight data for each target point;
[0055] (5) Based on the weight data, a characteristic matrix is constructed for multiple target points to obtain the transient response characteristic matrix between every two operating modes.
[0056] Specifically, the transient response data are time-series aligned. The data may come from different sensors or be recorded at different time points, so the time tags of the data need to be adjusted to ensure that all data sequences are synchronized on the same time scale. The transient response data are curve-fitted. A smooth curve is generated based on the actual data points through mathematical models such as polynomial fitting, exponential or logarithmic functions. The curve can depict the overall trend of the data and help identify abnormal or atypical behaviors in the data. For example, in the process of a high-power uninterruptible power supply switching from normal mode to energy-saving mode, the fitted curve can show the details of the change of current and voltage over time, so as to observe whether there is a voltage sag or instantaneous peak during the switching process. The slope of the curve is calculated based on the fitted curve. By calculating the derivative of each point on the curve, the slope of each point is obtained, which represents the rate of change of the transient response at that point. The slope of the curve is an important indicator for analyzing the dynamic response characteristics of the power supply, which can reveal the stability and response sensitivity of the power supply under different operating conditions. The points on the curve are screened according to the slope of the curve, and the point with the most significant slope change is selected as the target point. These target points usually represent key turning points in the data, such as the maximum rise and fall rate point or the transition point from steady state to unstable state, which are of great value in analyzing power supply performance and predicting potential failures. Then, the target points are dynamically weighted. Different weights are assigned according to the importance of each point and the impact on the overall curve. The weight allocation is usually based on the characteristics of the point such as the slope size, the frequency of occurrence and its position in the overall data. Using the weighted target points, a transient response feature matrix between each two operating modes is constructed. In this matrix, each column can represent the characteristics of a target point, and each row represents a different test or operating scenario.
[0057] In a specific embodiment, the process of executing step S104 may specifically include the following steps:
[0058] (1) Inputting the transient response feature matrix into a preset fault detection model respectively, the fault detection model includes: an input layer, multiple long short-term memory networks and an output layer;
[0059] (2) Receive the transient response feature matrix through the input layer;
[0060] (3) Through multiple hidden layers, the hidden features of the transient response feature matrix are extracted respectively to obtain the initial hidden feature matrix of each hidden layer;
[0061] (4) Perform an attention mechanism fusion on the initial hidden feature matrix of each hidden layer according to the preset matrix weights to obtain an attention feature matrix;
[0062] (5) Through the classification function in the output layer, the attention feature matrix is used to perform fault classification calculations and obtain the fault detection results between every two operating modes.
[0063] Specifically, the transient response feature matrix is received through the input layer. Each feature matrix contains key power performance indicators, such as voltage, current, frequency and its rate of change, which can describe the behavior and state of the power supply under specific conditions in detail. Then, through multiple hidden layers, the transient response feature matrix is respectively extracted for hidden features. Long short-term memory network is a special type of recurrent neural network that is suitable for processing and predicting data related to time series and can learn long-term dependencies in the data. In these hidden layers, deeper time series features are extracted according to the transient response feature matrix. Each long short-term memory network layer outputs an initial hidden feature matrix that captures the time-dependent patterns and dynamic changes extracted from the input data. The initial hidden feature matrix is fused using the attention mechanism. The attention mechanism is a technology that can provide weighted focus in deep learning models. By assigning different importance to different parts of the data, the model can focus more on information that is more critical to the current task. In this model, by setting pre-defined matrix weights, the attention mechanism integrates the features output by each hidden layer to form a comprehensive attention feature matrix. Through the classification function in the output layer, the attention feature matrix is used for fault classification calculation to obtain the fault detection results between each two operating modes. Through the softmax function or other forms of logistic regression function, the possible fault types of the power supply are judged and classified according to the input attention feature matrix. The fault type includes whether a fault exists and can indicate the specific type and possible severity of the fault. For example, suppose that during the switch from normal mode to enhanced eco mode, the fault detection model finds a voltage drop problem by analyzing the transient response feature matrix. This situation may be caused by a faulty capacitor inside the power supply. The model accurately identifies and classifies this fault by comparing the normal operating data in various modes with the currently detected abnormal mode, so that the system can quickly locate the problem and replace it, thereby avoiding possible equipment damage or more serious operational failures.
[0064] In a specific embodiment, the process of executing step S105 may specifically include the following steps:
[0065] (1) Generate random initial values for the mode switching control parameters according to the fault detection results to obtain a corresponding set of random initial values, and construct a particle population for the random initial value set using a preset reverse particle propagation algorithm to obtain a first particle population;
[0066] (2) Calculate the particle fitness of the first particle population to obtain the particle fitness set corresponding to the first particle population, and perform iterative calculations through the particle fitness set to generate the optimal solution corresponding to the first particle population;
[0067] (3) The mode switching control parameters are replaced by the optimal solution to obtain the target switching control parameters between every two operating modes.
[0068] Specifically, random initial values are generated for the mode switching control parameters according to the fault detection results to obtain the corresponding random initial value sets. The generation of initial values directly affects the efficiency of subsequent optimization and the quality of the solution. The range and distribution of the initial values are guided by the fault detection results. For example, if voltage instability frequently occurs during a mode switching process, it can be assumed that the parameters related to voltage regulation need a wider adjustment range to find possible improved solutions. The randomly generated initial value set will be used as the starting position of the particle population, and each particle represents a set of possible mode switching control parameters. The random initial value set is processed by the preset reverse particle propagation algorithm to construct the first particle population. The position and speed of each particle are initialized. The position represents a set of potential control parameters, and the speed determines the direction and speed of these parameters to explore new solutions. Each particle in the particle swarm will evaluate the performance of the mode switching according to its position, which usually involves simulation or actual running tests to obtain relevant performance data. The particle fitness is calculated, and the fitness function is usually based on performance indicators during mode switching, such as switching time, system response, and stability. The fitness of each particle reflects how the parameter set it represents performs in actual applications. Through the fitness value, the particle swarm is iterated and calculated, and the particles update their positions and velocities according to the individual optimal solution and the global optimal solution. In this process, the particles gradually move closer to the best performing solution, and the average fitness of the entire population increases accordingly. After multiple iterations, the particle swarm will converge to the optimal solution, and the particle position at this time represents the best mode switching control parameters. Through this optimal solution, the original mode switching control parameters are replaced to obtain the target switching control parameters between each two operating modes. The new control parameters will make the power system perform better during the switching process, such as shortening the switching time, improving the system stability and reducing the failure rate. For example, if the original parameters cause a voltage drop when switching from normal mode to energy-saving mode, the optimized parameters can achieve a more stable voltage during this switching process, reduce the potential impact on connected devices, and improve the overall reliability of the system and user satisfaction.
[0069] In a specific embodiment, the execution step calculates the particle fitness of the first particle population to obtain a particle fitness set corresponding to the first particle population, and iterates the calculation through the particle fitness set to generate the optimal solution corresponding to the first particle population. The process may specifically include the following steps:
[0070] (1) Perform population segmentation on the first particle population to obtain multiple second particle populations;
[0071] (2) Match the fitness calculation function of each second particle population respectively to obtain the fitness calculation function corresponding to each second particle population;
[0072] (3) Through the fitness calculation function corresponding to each second particle population, the fitness of each second particle population is calculated respectively to obtain the particle fitness set;
[0073] (4) Perform particle position analysis on the first particle population through the particle fitness set to obtain the current particle position set corresponding to the first particle population;
[0074] (5) Update the particle position of the current particle position set to obtain an updated particle position set, and synchronously calculate the particle fitness corresponding to the updated particle position set to obtain an updated particle fitness set;
[0075] (6) The updated particle fitness set is iterated multiple times until the fitness meets the preset threshold, and the optimal solution corresponding to the first particle population is generated.
[0076] Specifically, the first particle population is population-segmented to divide the large population into smaller, more manageable populations. Each small population can focus on a specific area of the parameter space, thereby exploring possible solutions in more detail. For example, if the first particle population consists of 100 particles, it can be divided into 10 second particle populations, each containing 10 particles. This division can be performed based on the position of the particles in the parameter space, or randomly assigned to ensure that each population has the opportunity to explore different parts of the solution space. Each second particle population is assigned a fitness calculation function suitable for its exploration area. The fitness function of each population may be different to match its specific needs. For example, one population may focus on optimizing parameters for fast mode switching, while another population may focus on optimizing energy efficiency. The assignment allows the fitness calculation to more accurately reflect the performance of each population on its specific task. The fitness calculation function corresponding to each second particle population is used to calculate the fitness of each second particle population. The performance of the parameter set represented by each particle in the actual or simulated operating environment is evaluated. The fitness value is calculated based on the performance of the particles and may include multiple indicators such as efficiency, response time, stability, etc. The particle position analysis is performed on the first particle population through the particle fitness set. It includes evaluating the current position of each particle and their fitness value to determine whether its position needs to be updated. The position update is based on the information of the individual and global optimal solutions. Each particle adjusts its position and speed according to its own fitness and the currently known optimal fitness. After the position is updated, the fitness is calculated based on the new particle position set. This process is iterative, and each iteration may result in changes in particle positions and updates to fitness. The iterative process continues until the particle fitness meets the preset threshold or the maximum number of iterations is reached. The optimization process will stop when the performance of the particle group is no longer significantly improved or a very good solution has been found. For example, suppose the system goal is to minimize the transition time from normal mode to energy-saving mode without sacrificing output stability. Through the above particle swarm optimization process, various possible control parameter combinations are explored and these parameters are gradually adjusted and optimized. Ultimately, when the system reaches a parameter setting that minimizes the transfer time while maintaining stability, this set of parameters is considered the optimal solution and will be used in the actual system setting to improve the performance and efficiency of the high-power uninterruptible power supply.
[0077] The above describes the test method of the high-power uninterruptible power supply in the embodiment of the present application. The following describes the test device of the high-power uninterruptible power supply in the embodiment of the present application. Figure 2 , an embodiment of a test device for a high-power uninterruptible power supply in an embodiment of the present application includes:
[0078] An acquisition module 201 is used to acquire multiple operation modes of the high-power uninterruptible power supply and create mode switching control parameters between every two operation modes through a preset fuzzy neural network model;
[0079] The switching module 202 is used to perform mode switching and transient response analysis on the high-power uninterruptible power supply according to the mode switching control parameters, and obtain transient response data between every two operating modes;
[0080] A construction module 203 is used to perform curve fitting and characteristic matrix construction on the transient response data to obtain a transient response characteristic matrix between every two operating modes;
[0081] The detection module 204 is used to input the transient response characteristic matrix into a preset fault detection model to perform fault detection, and obtain the fault detection result between each two operation modes;
[0082] The analysis module 205 is used to perform parameter optimization analysis on the mode switching control parameters according to the fault detection results to obtain target switching control parameters between every two operating modes.
[0083] Through the synergy of the above components, the switching between different operating modes can be controlled more accurately by using the preset fuzzy neural network model to create the mode switching control parameters between each two operating modes. Accurate control reduces the instability and transient response problems during the switching process, thereby improving the reliability and efficiency of the entire system. By collecting the initial response signal during the mode switching process in real time and performing Fourier transform and other processing, the transient response data between each two operating modes can be analyzed in detail. This not only helps to identify and prevent possible performance degradation, but also ensures rapid adaptation to various loads and conditions in actual applications. The transient response feature matrix is input into the preset fault detection model for analysis, which can timely detect potential faults or abnormal conditions of the system. In addition, the fault detection results can be directly used to optimize the mode switching control parameters, thereby preventing faults from occurring in the advance stage and enhancing the overall stability and safety of the system. The continuous optimization analysis of the mode switching control parameters based on the fault detection results makes this test method not only limited to identifying problems, but also dynamically adjusts and optimizes the operating parameters to adapt to changing operating conditions and requirements. This dynamic optimization mechanism ensures the best performance and lowest operating cost of the UPS system throughout its life cycle, thereby improving the switching effect between the operating modes of the high-power uninterruptible power supply, thereby improving the performance stability of the high-power uninterruptible power supply.
[0084] The present application also provides a test device for a high-power uninterruptible power supply, the test device for the high-power uninterruptible power supply comprising a memory and a processor, the memory storing computer-readable instructions, and when the computer-readable instructions are executed by the processor, the processor executes the steps of the test method for the high-power uninterruptible power supply in the above-mentioned embodiments.
[0085] The present application also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium, wherein instructions are stored in the computer-readable storage medium, and when the instructions are executed on a computer, the computer executes the steps of the method for testing a high-power uninterruptible power supply.
[0086] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described systems, systems and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0087] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program codes.
[0088] As described above, the above embodiments 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, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these 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.
Claims
1. A method for testing a high-power uninterruptible power supply, characterized in that: The testing method of the high-power uninterruptible power supply comprises: Acquire multiple operating modes of a high-power uninterruptible power supply, and create mode switching control parameters between each two operating modes through a preset fuzzy neural network model; specifically include: acquire multiple operating modes of a high-power uninterruptible power supply, the multiple operating modes include: normal mode, enhanced ecological mode and aging test mode; based on a preset test duration, perform baseline operation tests on the multiple operating modes respectively to obtain baseline operation data of each operating mode; perform feature extraction on the baseline operation data of each operating mode to obtain an operation feature set of each operating mode; input the operation feature set of each operating mode into a preset fuzzy neural network model for mode feature recognition to obtain mode features of each operating mode; and calculate the corresponding mode switching control parameters when the mode is switched between each two operating modes according to the mode features of each operating mode through an internal model controller; According to the mode switching control parameters, performing mode switching and transient response analysis on the high-power uninterruptible power supply to obtain transient response data between every two operating modes; Performing curve fitting and characteristic matrix construction on the transient response data respectively to obtain a transient response characteristic matrix between every two operating modes; Inputting the transient response characteristic matrix into a preset fault detection model to perform fault detection respectively, and obtaining a fault detection result between every two operation modes; According to the fault detection results, the mode switching control parameters are respectively optimized and analyzed to obtain target switching control parameters between every two operating modes.
2. The method for testing a high-power uninterruptible power supply according to claim 1, characterized in that: The method of performing mode switching and transient response analysis on the high-power uninterruptible power supply according to the mode switching control parameter to obtain transient response data between every two operating modes includes: According to the mode switching control parameter, the high-power uninterruptible power supply performs mode switching, and collects an initial response signal of the high-power uninterruptible power supply during the mode switching process; Performing Fourier transform on the initial response signal to obtain frequency domain response data; Missing value interpolation and outlier removal are performed on the frequency domain response data to obtain transient response data between every two operating modes.
3. The method for testing a high-power uninterruptible power supply according to claim 1, characterized in that: The step of performing curve fitting and characteristic matrix construction on the transient response data respectively to obtain a transient response characteristic matrix between every two operating modes includes: Performing time sequence alignment on the transient response data respectively, and performing curve fitting on the transient response data respectively, to obtain a transient response curve; Calculating the slope of a plurality of curve points in the transient response curve to obtain the slope of each curve point; According to the curve slope of each curve point, the plurality of curve points are screened to obtain a plurality of target points; Performing dynamic variable weight allocation on the multiple target points to obtain weight data of each target point; According to the weight data, a characteristic matrix is constructed for the multiple target points to obtain a transient response characteristic matrix between every two operating modes.
4. The method for testing a high-power uninterruptible power supply according to claim 1, characterized in that: The step of inputting the transient response characteristic matrix into a preset fault detection model to perform fault detection to obtain a fault detection result between each two operation modes includes: The transient response characteristic matrix is respectively input into a preset fault detection model, wherein the fault detection model comprises: an input layer, a plurality of long short-term memory network hidden layers and an output layer; Receiving the transient response feature matrix through the input layer; Through the multiple long short-term memory network hidden layers, the transient response feature matrix is respectively extracted with hidden features to obtain an initial hidden feature matrix of each long short-term memory network hidden layer; According to the preset matrix weights, the initial hidden feature matrix of each long short-term memory network hidden layer is fused by the attention mechanism to obtain the attention feature matrix; The fault classification calculation is performed on the attention feature matrix through the classification function in the output layer to obtain the fault detection result between every two operating modes.
5. The method for testing a high-power uninterruptible power supply according to claim 1, characterized in that: The performing parameter optimization analysis on the mode switching control parameters according to the fault detection results to obtain target switching control parameters between each two operating modes includes: Generating random initial values for the mode switching control parameters according to the fault detection results to obtain a corresponding random initial value set, and constructing a particle population for the random initial value set by a preset reverse particle propagation algorithm to obtain a first particle population; Performing particle fitness calculation on the first particle population to obtain a particle fitness set corresponding to the first particle population, and performing iterative calculation through the particle fitness set to generate an optimal solution corresponding to the first particle population; The mode switching control parameters are replaced by the optimal solution to obtain target switching control parameters between every two operating modes.
6. The method for testing a high-power uninterruptible power supply according to claim 5, characterized in that: The performing particle fitness calculation on the first particle population to obtain a particle fitness set corresponding to the first particle population, and performing iterative calculation through the particle fitness set to generate an optimal solution corresponding to the first particle population, includes: Performing population segmentation on the first particle population to obtain a plurality of second particle populations; Matching the fitness calculation function of each second particle population respectively to obtain the fitness calculation function corresponding to each second particle population; Through the fitness calculation function corresponding to each second particle population, the fitness of each second particle population is calculated respectively to obtain a particle fitness set; Performing particle position analysis on the first particle population by using the particle fitness set to obtain a current particle position set corresponding to the first particle population; Performing particle position updates on the current particle position set to obtain an updated particle position set, and synchronously calculating particle fitness corresponding to the updated particle position set to obtain an updated particle fitness set; The updated particle fitness set is iterated multiple times until the fitness meets a preset threshold, thereby generating an optimal solution corresponding to the first particle population.
7. A test device for a high-power uninterruptible power supply, characterized in that: The testing device of the high-power uninterruptible power supply comprises: An acquisition module is used to acquire multiple operating modes of a high-power uninterruptible power supply, and to create mode switching control parameters between each two operating modes through a preset fuzzy neural network model; specifically comprising: acquiring multiple operating modes of a high-power uninterruptible power supply, wherein the multiple operating modes include: a normal mode, an enhanced ecological mode, and an aging test mode; based on a preset test duration, performing baseline operation tests on the multiple operating modes respectively to obtain baseline operation data of each operating mode; performing feature extraction on the baseline operation data of each operating mode to obtain an operation feature set of each operating mode; inputting the operation feature set of each operating mode into a preset fuzzy neural network model for mode feature recognition to obtain mode features of each operating mode; and calculating the corresponding mode switching control parameters when the mode is switched between each two operating modes according to the mode features of each operating mode through an internal model controller; A switching module, used to perform mode switching and transient response analysis on the high-power uninterruptible power supply according to the mode switching control parameters, and obtain transient response data between every two operating modes; A construction module, used to perform curve fitting and characteristic matrix construction on the transient response data respectively, to obtain a transient response characteristic matrix between every two operating modes; A detection module, used for inputting the transient response characteristic matrix into a preset fault detection model for fault detection to obtain a fault detection result between each two operation modes; The analysis module is used to perform parameter optimization analysis on the mode switching control parameters according to the fault detection results to obtain target switching control parameters between every two operating modes.
8. A high-power uninterruptible power supply test device, characterized in that: The high-power uninterruptible power supply test device comprises: a memory and at least one processor, wherein instructions are stored in the memory; The at least one processor calls the instruction in the memory to enable the high-power uninterruptible power supply testing device to execute the high-power uninterruptible power supply testing method according to any one of claims 1-6.
9. A computer-readable storage medium having instructions stored thereon, characterized in that: When the instructions are executed by the processor, the test method of the high-power uninterruptible power supply according to any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Intelligent power supply monitoring method for high-speed digital storage oscilloscope
CN117439380A
