Inverter safety test method and device, equipment and storage medium
By combining modeling and analysis of the inverter and harmonic suppression scheme, we build optimization models and generate dynamic optimization strategies, the problems of long test cycles and incomplete coverage in the existing technology are solved, and the performance test accuracy of the inverter is improved Sex and safety.
Patent Information
- Application Number
- CN202411163519.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-23
- Publication Date
- 2024-11-29
- Estimated Expiration
- 2044-08-23
AI Technical Summary
The existing inverter testing methods have long test cycles and incomplete coverage, which cannot reflect equipment performance in real time, and it is difficult to simulate complex operating conditions, resulting in a gap between the test results and actual application scenarios.
By modeling and analyzing the inverter characteristic data, a non-ideal state space model is obtained, harmonic analysis is performed based on this model, a three-layer optimization model is constructed in combination with real-time data flow, a dynamic optimization strategy is generated, and automated testing is performed, and fast Fuli is used to use Leaf transformation and wavelet analysis generate comprehensive performance diagnostic reports and optimization suggestions.
It improves the accuracy and safety of inverter performance testing, achieves more efficient testing efficiency and result accuracy, and can provide targeted optimization suggestions in complex environments.
Smart Images

Figure CN119047399A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of inverter testing, and in particular to a safety testing method, device, equipment and storage medium for an inverter. Background Art
[0002] As a key device, inverters play an increasingly important role in photovoltaic power generation, wind power generation and other fields. However, the safety and reliability of inverters have always been the focus of the industry. Traditional inverter testing methods often have problems such as long test cycles, incomplete coverage, and inability to reflect equipment performance in real time, making it difficult to meet the requirements of increasingly complex power systems for inverter performance.
[0003] In addition, inverters face many challenges in actual operation, such as harmonic interference, environmental factors, load fluctuations, etc. These factors will have an adverse effect on the output quality and stability of the inverter. Existing test methods are usually difficult to fully simulate these complex operating conditions, resulting in a certain gap between the test results and the actual application scenarios. Summary of the invention
[0004] The present invention provides a safety test method, device, equipment and storage medium for an inverter, which are used to improve the accuracy of performance testing of the inverter, thereby improving the safety of the inverter.
[0005] In a first aspect, the present invention provides a safety test method for an inverter, the safety test method for the inverter comprising:
[0006] Modeling and analyzing the inverter characteristic data to obtain a non-ideal state space model of the inverter;
[0007] Performing harmonic analysis based on the non-ideal state space model to obtain a harmonic suppression solution;
[0008] Performing conservative power theory transformation on the output current of the inverter to obtain a real-time data stream;
[0009] Building a three-layer optimization model in combination with the harmonic suppression scheme and the real-time data stream, and generating a dynamic optimization strategy according to the three-layer optimization model;
[0010] Based on the dynamic optimization strategy, the inverter is automatically tested to obtain a performance index test data set;
[0011] Perform fast Fourier transform and wavelet analysis on the performance index test data set to generate a comprehensive inverter performance diagnosis report and optimization suggestions.
[0012] In a second aspect, the present invention provides a safety test device for an inverter, the safety test device for the inverter comprising:
[0013] A modeling module is used to model and analyze the inverter characteristic data to obtain a non-ideal state space model of the inverter;
[0014] An analysis module, used for performing harmonic analysis based on the non-ideal state space model to obtain a harmonic suppression solution;
[0015] A conversion module, used for performing conservative power theory conversion on the output current of the inverter to obtain a real-time data stream;
[0016] A construction module, used to construct a three-layer optimization model in combination with the harmonic suppression scheme and the real-time data stream, and generate a dynamic optimization strategy according to the three-layer optimization model;
[0017] A testing module, used to perform automatic testing on the inverter based on the dynamic optimization strategy to obtain a performance indicator test data set;
[0018] The generation module is used to perform fast Fourier transform and wavelet analysis on the performance index test data set to generate a comprehensive inverter performance diagnosis report and optimization suggestions.
[0019] A third aspect of the present invention provides a safety testing device for an inverter, comprising: a memory and at least one processor, wherein instructions are stored in the memory; the at least one processor calls the instructions in the memory so that the safety testing device for the inverter executes the above-mentioned safety testing method for the inverter.
[0020] A fourth aspect of the present invention 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 inverter safety test method described above.
[0021] In the technical solution provided by the present invention, by modeling and analyzing the inverter characteristic data, the non-ideal state space model obtained can more accurately reflect the actual characteristics of the inverter, including the influence of parasitic parameters and environmental factors. Harmonic analysis is performed based on the non-ideal state space model, and the harmonic suppression scheme obtained can effectively reduce the harmonic content in the inverter output. The inverter output current is processed by conservative power theory transformation, and the obtained real-time data stream contains detailed harmonic and reactive current component information. The three-layer optimization model constructed by combining the harmonic suppression scheme and the real-time data stream can achieve the optimization of the target performance indicators and the evaluation of the comprehensive performance while ensuring the basic safety standards, thereby generating a more efficient and adaptable dynamic optimization strategy. The automated test based on the dynamic optimization strategy can efficiently perform multiple test tasks and adjust the test parameters in real time, greatly improving the test efficiency and the accuracy of the test results. Through the in-depth analysis of the test data by fast Fourier transform and wavelet analysis, not only a comprehensive performance diagnosis report can be obtained, but also targeted optimization suggestions can be provided, which improves the performance test accuracy of the inverter and thus improves the safety of the inverter. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] 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.
[0023] Figure 1 A schematic diagram of a safety test method for an inverter provided in an embodiment of the present application;
[0024] Figure 2 A schematic block diagram of the structure of a safety testing device for an inverter provided in an embodiment of the present application. DETAILED DESCRIPTION
[0025] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0026] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may also be decomposed, combined or partially merged, so the actual execution order may change based on actual conditions.
[0027] It should also be understood that the terms used in this application specification are only for the purpose of describing specific embodiments and are not intended to limit the application. As used in this application specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0028] It should be further understood that the term “and / or” used in the specification and appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0029] In conjunction with the accompanying drawings, some embodiments of the present application are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.
[0030] See also Figure 1 , Figure 1 A flow chart of a safety test method for an inverter provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the inverter safety testing method provided in the embodiment of the present application includes steps S100 to S600.
[0031] Step S100, modeling and analyzing the inverter characteristic data to obtain a non-ideal state space model of the inverter;
[0032] It is understandable that the execution subject of the present invention may be a safety test device of an inverter, or may be a terminal or a server, which is not limited here. The embodiment of the present invention is described by taking a server as the execution subject as an example.
[0033] Specifically, the topology of the inverter is analyzed to identify key electrical components in the system, such as inductors, capacitors, and switching devices. By analyzing these components, a basic circuit model containing these components is established. In the basic circuit model, the parameters of the non-ideal characteristic of the equivalent series resistance of the inductor are extracted to obtain a non-ideal inductor model that is more in line with the actual situation. The non-ideal characteristics of the inductor will have a significant impact on the overall performance of the inverter, especially under high-frequency operation, the equivalent series resistance of the inductor will cause additional energy loss and thermal effects. Based on the non-ideal inductor model, the switching state of the inverter is mathematically described. A switching function including the turn-on time and the turn-off time is defined, and the voltage and current relationship of the inverter is mathematically derived by combining the switching function with Kirchhoff's voltage and current laws. The derivation process should not only consider the voltage and current changes under ideal conditions, but also combine the actual dynamic characteristics of the switching device to obtain a state equation that reflects the actual switching behavior. The state equation is Laplace transformed and discretized to obtain a discrete state space expression of the inverter. According to the discrete state space expression, the input and output characteristics of the inverter are simulated and analyzed to obtain performance index data, including steady-state performance, such as the average and effective values of voltage and current, and dynamic performance indicators, such as response time, overshoot and steady-state error. Based on the performance index data, the environmental factors are modeled to build an environmental impact model including temperature coefficient and electromagnetic interference coefficient. For example, temperature changes may affect the actual values of inductance and capacitance, while electromagnetic interference may affect the accuracy of control signals. According to the environmental impact model, the discrete state space expression is modified to more accurately reflect the behavior of the inverter in the actual working environment, and a non-ideal state space model is obtained.
[0034] Step S200, performing harmonic analysis based on a non-ideal state space model to obtain a harmonic suppression solution;
[0035] Specifically, the non-ideal state space model is transformed in the frequency domain to obtain the frequency response function of the inverter output. The frequency response function is a mathematical expression that describes how the system responds to input signals of different frequencies. According to the frequency response function, the output of the inverter is harmonically decomposed to extract the amplitude and phase information of each harmonic. The presence of harmonics may cause problems such as equipment overheating, reduced efficiency, and interference with the power grid. The amplitude and phase information of each harmonic are statistically analyzed to obtain the harmonic distribution characteristics and the initial value of the total harmonic distortion, reflecting the overall situation of the harmonic distribution. Based on the harmonic distribution characteristics, the transfer function of the proportional integral controller is designed, and the fundamental wave control algorithm is developed. The role of the fundamental wave control algorithm is to ensure that the fundamental wave component of the inverter output is stable and accurate. At the same time, according to the initial value of the total harmonic distortion, the resonant part of the proportional resonant controller is constructed to form a selective control algorithm for subharmonics. The proportional resonant controller can effectively suppress harmonics of specific frequencies, thereby reducing the negative impact of harmonics on the system. The proportional integral controller and the proportional resonant controller are combined in parallel to obtain a composite controller structure. The composite controller can not only adjust the fundamental wave, but also selectively suppress specific harmonics. According to the composite controller structure, the state feedback matrix is designed to obtain the state equation of the closed-loop control system, which describes the dynamic behavior of the system under the action of the controller. The state equation of the closed-loop control system is subjected to stability analysis to determine the stability constraints of the controller parameters to ensure that the system will not be unstable during operation. The constraints provide the necessary boundaries for parameter optimization. Based on the stability constraints, the controller parameters are optimized and adjusted to obtain the harmonic suppression scheme. The harmonic suppression scheme can effectively reduce the harmonic content of the inverter output, improve the power quality, and ensure the stable and efficient operation of the inverter in various working environments.
[0036] Step S300, performing conservative power theory transformation on the output current of the inverter to obtain a real-time data stream;
[0037] Specifically, the output current of the inverter is sampled to obtain the original current data of the discrete time series. According to the original current data, the sampling frequency is adaptively adjusted to obtain the optimized sampling parameters. Based on the optimized sampling parameters, the original current data is resampled to obtain an equally spaced current sampling sequence to ensure the time uniformity of the data. The equally spaced current sampling sequence is orthogonally decomposed to decompose the instantaneous active component and reactive component of the current. According to the instantaneous active component and reactive component, the instantaneous active power and reactive power are calculated to form a time domain representation of the power. The time domain representation of the power is subjected to sliding window processing to obtain a frequency domain representation of the power. The sliding window processing technology can capture the frequency characteristics of power changes, so that the system can analyze the distribution and changes of power in the frequency domain. Based on the frequency domain representation of power, the fundamental and harmonic components are extracted to obtain the harmonic power spectrum. The harmonic power spectrum is an important tool for describing the proportion of each harmonic in the total power. It can be used to identify which harmonics have a significant impact on the system. According to the harmonic power spectrum, the active power and reactive power of each harmonic are calculated to obtain the harmonic power distribution matrix. The harmonic power distribution matrix is separated into odd and even harmonics to separate the eigenvectors of odd and even harmonics. These eigenvectors describe the power characteristics of odd and even harmonics, respectively, which helps to identify and control different types of harmonics. According to the eigenvectors of odd and even harmonics, a feature description model of real-time data stream is constructed to form a real-time data stream containing harmonic and reactive current component information.
[0038] Step S400: construct a three-layer optimization model in combination with the harmonic suppression scheme and the real-time data stream, and generate a dynamic optimization strategy according to the three-layer optimization model;
[0039] Specifically, the harmonic suppression scheme is parameterized to obtain a set of harmonic suppression control parameter sets. The parameter set includes key factors such as the gain of various controllers and the cutoff frequency of the filter, which directly affect the effect of harmonic suppression. At the same time, the performance evaluation index set of the inverter, such as harmonic distortion, power factor and efficiency, is extracted from the real-time data stream. These index sets reflect the actual performance of the inverter under different operating conditions. Based on the harmonic suppression control parameter set and the performance evaluation index set, the first-level optimization objective function is constructed to form a basic safety standard optimization model to ensure that the inverter operates under the minimum safety standard, that is, it does not exceed the safety thresholds such as harmonic distortion and temperature rise under basic conditions. Constraints are set for the basic safety standard optimization model to determine the parameter range that meets the minimum safety requirements. The constraints ensure that the inverter operates within a safe range and prevent any operation that may cause damage to the equipment or performance degradation. According to the determined parameter range and real-time data stream, the second-level optimization objective function is constructed to obtain the target performance index optimization model. This model can optimize the key performance indicators of the inverter, such as improving efficiency and reducing harmonic distortion. In order to achieve multi-objective optimization, the target performance index optimization model is assigned multi-objective weights to form a priority matrix of performance indicators, determine the relative importance of each performance indicator in the optimization process, and ensure that the indicators with the greatest impact on the overall system performance are optimized first under limited resources. Based on the priority matrix and real-time data stream, the third-level optimization objective function is constructed to form a comprehensive performance evaluation optimization model. The model considers the balance of multiple optimization objectives, such as maximizing efficiency while reducing harmonic distortion, or maintaining system stability while improving power factor. The comprehensive performance evaluation optimization model integrates multiple optimization objectives to ensure that the inverter can perform well in all aspects in a complex actual operating environment. The basic safety standard optimization model, the target performance index optimization model, and the comprehensive performance evaluation optimization model are integrated to obtain a unified optimization objective function. This function is a comprehensive expression of all optimization objectives, ensuring that the optimization objectives at different levels can be coordinated and consistent. Parameter optimization is performed based on the unified optimization objective function to obtain the optimal control parameter combination. By creating a dynamic adjustment strategy for the optimal control parameter combination, a dynamic optimization strategy that can automatically adapt to inverters of different power levels is generated. This strategy can automatically adjust control parameters according to the real-time operating status to cope with actual operating conditions such as load changes and grid fluctuations, ensuring that the inverter always operates in the best state.
[0040] Step S500: Based on the dynamic optimization strategy, the inverter is automatically tested to obtain a performance index test data set;
[0041] Specifically, according to the dynamic optimization strategy, an automated test sequence is generated, including detailed test items, parameter settings, and execution order, to form a complete test instruction set. The test instruction set covers all necessary test steps, including startup, monitoring, and data acquisition, to ensure the comprehensiveness and systematicness of the test process. The test instruction set is prioritized to determine the importance and execution order of the test items, and a test execution queue is obtained. Based on the sorted test execution queue, the inverter system is initialized and configured, including power settings, connection checks, and initial state settings of the equipment. With the completion of the initial configuration, the current test item is started and the original test data stream is collected. During the data acquisition process, the original test data stream is processed in real time, and the previously defined harmonic suppression scheme is applied to eliminate or weaken the harmonic components in the data to obtain the processed data after harmonic suppression. Based on the processed data after harmonic suppression, the performance indicators of the current test item, such as efficiency, power factor, and harmonic distortion, are calculated to obtain the single test results. Single test data is generated based on the single test results to record the specific performance of each test item. With the completion of each test item, the dynamic optimization strategy parameters are updated based on the single test data. Parameter updates are based on real-time data feedback and are designed to optimize the execution of subsequent tests to adapt to changing test conditions and inverter performance. Dynamic adjustments ensure that each test item can be performed under optimal conditions, improving the accuracy and effectiveness of the test. The next test item in the test execution queue is executed using the updated optimized control parameters. This process is repeated until all test items are completed to form a complete test data set. The complete test data set is integrated and standardized. This includes data cleaning, outlier processing, and unified unit and scale conversion to ensure data comparability and consistency, and ultimately form a performance indicator test data set.
[0042] Step S600: Perform fast Fourier transform and wavelet analysis on the performance index test data set to generate an inverter comprehensive performance diagnosis report and optimization suggestions.
[0043] Specifically, the performance index test data set is preprocessed, including removing noise and outliers, and normalizing the data to obtain a standardized test data matrix. The standardized test data matrix is subjected to fast Fourier transform to convert the data from the time domain to the frequency domain to obtain the frequency domain characteristic spectrum. The frequency domain characteristic spectrum shows the response characteristics of the inverter at different frequencies, especially the amplitude and phase information of the fundamental wave and each harmonic component. By extracting this information, a harmonic distribution diagram is generated to show the proportion and characteristics of each harmonic in the total output. The standardized test data matrix is subjected to wavelet decomposition to extract the multi-scale time-frequency characteristics of the data. The data is decomposed by wavelet transform to capture the characteristic changes at different time scales, providing finer time and frequency resolution than traditional Fourier transform. Singular value decomposition is performed based on the multi-scale time-frequency characteristics to extract the target characteristic components of the data. The characteristic vector space is constructed according to the target characteristic components to form a multi-dimensional representation of the inverter performance, including various performance indicators of the inverter, such as efficiency, harmonic distortion and thermal effect. Cluster analysis is performed on the multi-dimensional representation to classify the inverter performance data into different categories. Each category represents the performance of the inverter under specific operating conditions, such as normal, overloaded, or abnormal conditions. Based on the classification results and the preset performance indicator thresholds, pattern recognition is performed to evaluate the working status of the inverter. Pattern recognition helps determine whether the inverter is in optimal working condition and whether there are potential problems, such as equipment aging or deteriorating environmental conditions. A comprehensive inverter performance diagnostic report is generated based on the working status evaluation information. The report describes the current performance status of the inverter, potential problems, and the possibility of performance improvement. Based on the comprehensive performance diagnostic report, intelligent analysis is performed to make specific optimization suggestions. These suggestions may include adjusting control parameters, optimizing the cooling system, or suggesting equipment maintenance.
[0044] In the embodiment of the present invention, by modeling and analyzing the inverter characteristic data, the non-ideal state space model obtained can more accurately reflect the actual characteristics of the inverter, including the influence of parasitic parameters and environmental factors. Harmonic analysis is performed based on the non-ideal state space model, and the harmonic suppression scheme obtained can effectively reduce the harmonic content in the inverter output. The inverter output current is processed by conservative power theory transformation, and the obtained real-time data stream contains detailed harmonic and reactive current component information. The three-layer optimization model constructed by combining the harmonic suppression scheme and the real-time data stream can achieve the optimization of the target performance indicators and the evaluation of the comprehensive performance while ensuring the basic safety standards, thereby generating a more efficient and adaptable dynamic optimization strategy. The automated test based on the dynamic optimization strategy can efficiently perform multiple test tasks and adjust the test parameters in real time, greatly improving the test efficiency and the accuracy of the test results. Through the in-depth analysis of the test data by fast Fourier transform and wavelet analysis, not only a comprehensive performance diagnosis report can be obtained, but also targeted optimization suggestions can be provided, which improves the performance test accuracy of the inverter and thus improves the safety of the inverter.
[0045] In a specific embodiment, the process of executing step S100 may specifically include the following steps:
[0046] The topological structure of the inverter is analyzed to obtain a basic circuit model including inductors, capacitors and switching devices. Based on the basic circuit model, the equivalent series resistance of the inductor is extracted to obtain a non-ideal inductor model.
[0047] Based on the non-ideal inductor model, the switching state of the inverter is mathematically described to obtain a switching function including the turn-on time and the turn-off time. Based on the switching function and Kirchhoff's law, the relationship between the voltage and current of the inverter is mathematically derived to obtain the state equation of the inverter.
[0048] Perform Laplace transformation and discretization on the state equation to obtain the discrete state space expression of the inverter, and simulate and analyze the input and output characteristics of the inverter based on the discrete state space expression to obtain performance index data;
[0049] Based on the performance index data, the environmental factors are modeled to obtain an environmental impact model including the temperature coefficient and the electromagnetic interference coefficient. According to the environmental impact model, the discrete state space expression is corrected to obtain a non-ideal state space model.
[0050] Specifically, for a typical single-phase full-bridge inverter, its topology includes four power switching elements (such as IGBT or MOSFET) and two symmetrical DC capacitors. These switching elements are turned on or off at different times to control the waveform of the AC output. The control signal of each switching element determines its turn-on and turn-off time, thereby affecting the waveform of the output voltage and current. When establishing a basic circuit model, all electrical components are first idealized, ignoring the actual non-ideal characteristics such as the resistance of the inductor and the ESR (equivalent series resistance) of the capacitor. However, in order to more accurately simulate and analyze the behavior of the inverter, non-ideal factors need to be considered. For example, the equivalent series resistance (ESR) of the inductor is the resistance of the inductor winding, which will generate energy loss as the frequency increases. These parameters are obtained by experimental measurement or from the device data sheet, added to the model, and a non-ideal inductor model is constructed. The equivalent series resistance of the inductor L is set to R s , then the actual inductance can be expressed as L and R s Based on the non-ideal inductor model, the switching state of the inverter is mathematically described. The switching function S(t) defines the state of each switching element at different times. S(t) = 1 means the switch is on, and S(t) = 0 means the switch is off. The relationship between the inverter voltage and current is derived through the switching function and Kirchhoff's law. Set the DC input voltage to V dc , the load current is I L , the output voltage is V out , then the output voltage can be expressed as:
[0051] V out (t) = S1(t)·V dc -S2(t)·V dc ;
[0052] Among them, S1(t) and S2(t) represent the states of the two switches respectively. The relationship between current and voltage needs to take into account the change of inductor current, that is:
[0053]
[0054] Through these relationships, the state equation of the inverter is obtained, which describes the dynamic behavior of the system under different switching states. The state equation is Laplace transformed to convert it from the time domain to the s domain. The transformation simplifies the solution process of the differential equation, making it easier to analyze the frequency response of the system. In order to be applied in actual digital control systems, the equation after Laplace transformation is discretized and the continuous system is represented as a discrete time state space model. The discretized state space expression describes the state change of the system in each sampling period. According to the discrete state space expression, the input and output characteristics of the inverter are simulated and analyzed to evaluate the input and output characteristics of the inverter. For example, by changing the input voltage or load conditions, the performance indicators such as the response time, steady-state error, and harmonic distortion of the inverter are observed. Based on the performance indicator data, environmental factors such as temperature and electromagnetic interference are modeled. Environmental factors have a significant impact on the performance of the inverter. For example, temperature changes may cause changes in the characteristics of semiconductor devices, while electromagnetic interference may affect the accuracy of the control signal. Through experimental or literature data, models of temperature coefficient and electromagnetic interference coefficient are established, and these coefficients are used to correct the discrete state space model of the inverter. For example, the effect of temperature on resistance can be expressed as:
[0055] R(T)=R0(1+α(T-T0));
[0056] Where R0 is the resistance value at the reference temperature T0, and α is the temperature coefficient of resistance. Based on the modified model, a non-ideal state space model is obtained.
[0057] In a specific embodiment, the process of executing step S200 may specifically include the following steps:
[0058] Perform frequency domain transformation on the non-ideal state space model to obtain the frequency response function of the inverter output, and perform harmonic decomposition on the inverter output based on the frequency response function to obtain the amplitude and phase information of each harmonic;
[0059] Perform statistical analysis on the amplitude and phase information of each harmonic to obtain the harmonic distribution characteristics and the initial value of total harmonic distortion;
[0060] According to the harmonic distribution characteristics, the transfer function of the proportional-integral controller is designed to obtain the fundamental wave control algorithm. Based on the initial value of the total harmonic distortion, the resonant part of the proportional resonant controller is constructed to obtain the selective control algorithm for subharmonics.
[0061] The proportional-integral controller and the proportional-resonant controller are combined in parallel to obtain a composite controller structure, and a state feedback matrix is designed based on the composite controller structure to obtain the state equation of the closed-loop control system;
[0062] The stability analysis of the state equation of the closed-loop control system is performed to obtain the stability constraints of the controller parameters. Based on the stability constraints, the controller parameters are optimized to obtain a harmonic suppression solution.
[0063] Specifically, the state space equation is Laplace transformed from the time domain to the frequency domain to obtain the response characteristics of the system at different frequencies. The frequency response function H(s) describes the output response of the system at the input signal frequency s, usually in the form of:
[0064] H(s)=C(sI-A) -1 B+D;
[0065] Where A, B, C, and D are the matrices of the state space model, s is the complex frequency variable, and I is the unit matrix. By solving H(s), the response characteristics of the inverter at various frequencies are obtained. According to the frequency response function, the output of the inverter is harmonically decomposed to extract the amplitude and phase information of each harmonic. Assuming that the output voltage or current signal is y(t), its harmonic component can be expressed as:
[0066]
[0067] Among them, A n is the amplitude of the nth harmonic, ω0 is the fundamental frequency, φ n is the phase angle. Through Fourier transform, the specific values of these harmonic components are extracted to form a harmonic spectrum. The amplitude and phase information of each harmonic are statistically analyzed to obtain the harmonic distribution characteristics and the initial value of the total harmonic distortion (THD). The total harmonic distortion can be calculated by the following formula:
[0068]
[0069] Where A1 is the amplitude of the fundamental wave. THD provides a comprehensive indicator to measure the impact of harmonics on the overall performance of the system. According to the harmonic distribution characteristics, the transfer function of the proportional integral controller (PI controller) is designed to control the characteristics of the fundamental wave. The transfer function of the PI controller is usually expressed as:
[0070]
[0071] Among them, K p is the proportional gain, K i is the integral gain. The role of the PI controller is to eliminate the steady-state error and improve the stability of the system. Based on the initial value of the total harmonic distortion, the resonant part of the proportional resonant controller (PR controller) is constructed to selectively suppress specific subharmonics. The transfer function of the PR controller can be expressed as:
[0072]
[0073] Among them, K r is the resonant gain, ω c is the resonant frequency. The PR controller sets different resonant frequencies ω c Targeted suppression of harmonics of specific frequencies. The proportional-integral controller and the proportional-resonant controller are combined in parallel to obtain a composite controller structure. This structure can control the fundamental wave characteristics and suppress subharmonics, thereby improving the overall performance of the system. According to the composite controller structure, the state feedback matrix is designed to form the state equation of the closed-loop control system. The design of the state feedback matrix needs to consider the dynamic response characteristics of the system to ensure the stability of the closed-loop system. The state equation of the closed-loop control system is subjected to stability analysis to ensure that the system remains stable under various working conditions. Stability analysis can be performed using methods such as the root locus method or the Nyquist stability criterion to determine the stability of the system by analyzing the position of the system eigenvalues. Based on the stability constraints, the controller parameters are optimized to ensure the best performance of the system. During the optimization process, it is necessary to balance the relationship between the harmonic suppression effect and the response speed of the control system to avoid excessive suppression of harmonics and resulting in slow system response. An optimized harmonic suppression scheme is obtained, which can significantly reduce the harmonic content of the inverter output, improve the power quality, and protect the power equipment from harmonic interference. For example, in practical applications, if the output of an inverter mainly contains 5th and 7th harmonics, targeted suppression can be performed by setting the resonant frequency of the PR controller to the frequencies of these harmonics.
[0074] In a specific embodiment, the process of executing step S300 may specifically include the following steps:
[0075] The output current of the inverter is sampled to obtain original current data of discrete time series, and the sampling frequency is adaptively adjusted according to the original current data to obtain optimized sampling parameters;
[0076] Based on the optimized sampling parameters, the original current data is resampled to obtain an equally spaced current sampling sequence, and the equally spaced current sampling sequence is orthogonally decomposed to obtain the instantaneous active component and reactive component of the current;
[0077] According to the instantaneous active component and reactive component, the instantaneous active power and reactive power are calculated to obtain the time domain representation of the power, and the time domain representation of the power is processed by sliding window to obtain the frequency domain representation of the power;
[0078] Based on the frequency domain representation of power, the fundamental wave and harmonic components are extracted to obtain the harmonic power spectrum. Based on the harmonic power spectrum, the active power and reactive power of each harmonic are calculated to obtain the harmonic power distribution matrix.
[0079] The harmonic power distribution matrix is separated into odd and even harmonics to obtain the characteristic vectors of odd and even harmonics. Based on the characteristic vectors of odd and even harmonics, a characteristic description model of real-time data stream is constructed to obtain a real-time data stream containing harmonic and reactive current component information.
[0080] Specifically, a suitable sampling frequency is selected to sample the output current of the inverter to obtain the original current data of the discrete time series. By analyzing the initial sampled data, the sampling frequency is adaptively adjusted to optimize the data quality. For example, if the initial sampled data contains high-frequency components that exceed the Nyquist frequency of the current sampling rate, the sampling frequency needs to be increased to avoid aliasing. Adaptive adjustment is usually achieved by analyzing the spectrum of the sampled data to determine whether there is a phenomenon in which frequency components are incorrectly mapped to lower frequency regions. Based on the optimized sampling parameters, the original current data is resampled to obtain an equally spaced current sampling sequence. The resampling process is implemented by interpolation or other signal processing techniques to ensure that all data points are evenly distributed on the time axis. The equally spaced current sampling sequence is orthogonally decomposed. This decomposition method is often used to analyze the active and reactive components in non-sinusoidal waveforms, usually using Clarke or Park transforms. The results of the orthogonal decomposition include the instantaneous active component I of the current d and reactive component I q , where I d represents the active part, which is related to the actual power, while I q represents the reactive part, which is related to the ineffective transmission of energy. Through the instantaneous active component and reactive component, the instantaneous active power P(t) and reactive power Q(t) are calculated. These power values can be expressed by the following formula:
[0081] P(t)=V d (t)·I d (t);
[0082] Q(t)=V q (t)·I q (t);
[0083] Among them, V d and V q They correspond to I d and I qThe voltage component of the power. The obtained time domain representation of power provides a detailed view of the power variation on the time axis. The time domain representation of power is processed by sliding window to obtain the frequency domain representation of power. By moving a fixed-length time window and performing a fast Fourier transform on the data in each window, the time information is converted into frequency information, the frequency variation of power in different time periods is captured, and the dynamic characteristics of the harmonic components over time are revealed. Based on the frequency domain representation of power, the fundamental and harmonic components are extracted to form a harmonic power spectrum. The spectrum shows the power magnitude of each frequency component, especially the magnitude and position of the harmonic components. According to the harmonic power spectrum, the active power and reactive power of each harmonic are calculated. The calculation results are summarized into a harmonic power distribution matrix, in which each element corresponds to the active or reactive power value of a specific harmonic component. The harmonic power distribution matrix is separated into odd and even harmonics. The harmonic components are divided into odd harmonics and even harmonics, representing the harmonics caused by odd and even multiples of the fundamental frequency, respectively. The eigenvector provides a structured representation for different types of harmonic components, which helps to identify and classify harmonic sources. For example, odd harmonics are usually caused by nonlinear loads, while even harmonics may come from asymmetric faults in the power system. Based on the feature vectors of odd and even harmonics, a feature description model of the real-time data stream is constructed. The model combines the information of harmonic and reactive current components to provide a comprehensive status monitoring tool for the system. The real-time data stream can not only display the current system status, but also be used to predict and prevent possible problems, such as overload or power quality deterioration.
[0084] In a specific embodiment, the process of executing step S400 may specifically include the following steps:
[0085] Parameterize the harmonic suppression scheme to obtain a harmonic suppression control parameter set, and extract the inverter performance evaluation index set based on the real-time data stream;
[0086] Based on the harmonic suppression control parameter set and the performance evaluation index set, the first-level optimization objective function is constructed to obtain the basic safety standard optimization model;
[0087] Set constraints on the basic safety standard optimization model to obtain the parameter range that meets the minimum safety requirements, and build the second-level optimization objective function based on the parameter range and real-time data flow to obtain the target performance indicator optimization model;
[0088] Perform multi-objective weight allocation on the target performance index optimization model to obtain the priority matrix of the performance index, and build the third-layer optimization objective function based on the priority matrix and real-time data flow to obtain the comprehensive performance evaluation optimization model;
[0089] Integrate the basic safety standard optimization model, target performance index optimization model and comprehensive performance evaluation optimization model to obtain a unified optimization objective function;
[0090] Parameters are optimized according to a unified optimization objective function to obtain an optimal control parameter combination, and a dynamic adjustment strategy is created for the optimal control parameter combination to obtain a dynamic optimization strategy that can automatically adapt to inverters of different power levels.
[0091] Specifically, the harmonic suppression scheme is parameterized to obtain a harmonic suppression control parameter set. All relevant control parameters in the system are determined. These parameters may include the gain K of the proportional integral (PI) controller p and K i , and the resonant frequency f of the proportional resonant (PR) controller r and the resonant gain K r . For example, the PI controller is mainly used to control the fundamental wave output of the inverter, while the PR controller selectively suppresses specific harmonics. Therefore, the selection of the harmonic suppression control parameter set should be carefully adjusted according to the operating environment and load characteristics of the inverter. The performance evaluation index set of the inverter is extracted through the real-time data stream. These indicators may include total harmonic distortion (THD), power factor, efficiency, and distortion of the current waveform. The real-time data stream provides the latest information on the current operating status of the system, so that the evaluation indicators can reflect the actual performance of the system under various operating conditions. Based on the harmonic suppression control parameter set and the performance evaluation index set, the first-level optimization objective function is constructed to form a basic safety standard optimization model. The goal of the optimization model is to ensure that the system operates under the most basic safety requirements and avoid problems such as overheating and overload that endanger the stability of the system. The first-level optimization objective function can be expressed as:
[0092]
[0093] Among them, P i is the ith performance indicator, is the corresponding target value, w iis a weight coefficient used to indicate the importance of each indicator. Constraints are set for the basic safety standard optimization model to determine the parameter range that meets the minimum safety requirements. Constraints ensure that the system operates in a safe area. For example, the gain parameters of the PI and PR controllers should be within a range that does not cause system oscillation. These constraints are determined based on the physical characteristics of the system and the operating environment to ensure that the system can operate stably even under extreme conditions. According to the parameter range and real-time data stream, the second-level optimization objective function is constructed to obtain the target performance indicator optimization model. This model aims to optimize specific performance indicators, such as improving power factor or reducing harmonic distortion. The objective function of the second-level optimization may be more complex because it not only considers basic safety requirements, but also needs to optimize the balance between multiple performance indicators. For example, reducing harmonic distortion may increase system losses, so a trade-off needs to be made between the two. In order to reasonably allocate the importance of each performance indicator, the target performance indicator optimization model is assigned multi-objective weights to form a priority matrix of performance indicators. The matrix helps decision makers clarify the relative priority of each indicator in the overall optimization, so that they can focus on it when performing multi-objective optimization. Based on the priority matrix and real-time data flow, the third-layer optimization objective function is constructed to form a comprehensive performance evaluation optimization model. This model takes into account the overall performance of the system, such as stability and efficiency under different load conditions. The basic safety standard optimization model, the target performance indicator optimization model, and the comprehensive performance evaluation optimization model are integrated to obtain a unified optimization objective function. The optimization objective function integrates all optimization goals to ensure that all aspects of the needs can be taken into account during the optimization process. The unified optimization objective function can be expressed as:
[0094]
[0095] Among them, J k is the optimization objective function of the kth layer, λ k is the corresponding weight coefficient, which is used to balance the relative importance of each objective. According to the unified optimization objective function, the parameters are optimized to obtain the optimal control parameter combination, including the best settings of all control parameters, such as the gain and frequency settings of PI and PR controllers. A dynamic adjustment strategy is created for the optimal control parameter combination. The dynamic adjustment strategy enables the control system to automatically adjust the control parameters according to the real-time monitoring data stream to adapt to inverters with different power levels and load conditions.
[0096] In a specific embodiment, the process of executing step S500 may specifically include the following steps:
[0097] Generate an automated test sequence based on the dynamic optimization strategy to obtain a test instruction set including test items, parameter settings and execution order;
[0098] Prioritize the test instruction set to obtain the test execution queue, perform initialization configuration based on the test execution queue, start the current test project, and obtain the original test data stream;
[0099] Process the original test data stream in real time, apply the harmonic suppression scheme, and obtain the processed data after harmonic suppression;
[0100] Based on the processed data after harmonic suppression, the performance index of the current test item is calculated to obtain the single test result, and the single test data is generated according to the single test result;
[0101] According to the single test data, the dynamic optimization strategy parameters are updated to obtain the optimization control parameters for the next test item;
[0102] Based on the optimized control parameters, the next test item in the test execution queue is executed until all test items are completed to obtain a complete test data set;
[0103] The complete test data set is integrated and standardized to obtain the performance index test data set.
[0104] Specifically, the operating conditions, control parameters and performance indicators of the inverter are analyzed. The dynamic optimization strategy determines the items that need to be tested based on the real-time operating status and historical data of the system. For example, if the system behaves abnormally at a specific harmonic frequency, then the test items should include detailed tests of this harmonic frequency. The selection of test items usually includes basic performance tests, such as efficiency tests, harmonic distortion tests, and stability tests under specific conditions. After the test items are generated, a detailed test instruction set is formulated according to the dynamic optimization strategy. The instruction set includes specific parameter settings for each test item, such as test voltage, test current, frequency range, etc., as well as the order in which the tests are executed. For example, when performing an efficiency test, different load conditions are set to observe the performance of the inverter under light load, medium load and full load. The test instruction set is prioritized to determine which test items should be executed first to maximize test efficiency and data validity. The criteria for prioritization can be based on a variety of factors, including the complexity of the test items, the degree of impact on system performance, and urgency. For example, if the real-time data stream shows that the system has high harmonic distortion under high load, then the test items related to high load should be executed first. Initial configuration is performed based on the test execution queue, including setting up measuring instruments, configuring the data acquisition system, and adjusting the test environment. After the initial configuration is completed, the current test project is started and the original test data stream is collected. The original data stream contains basic electrical parameters such as unprocessed current and voltage. Based on the original test data stream, real-time processing is performed to apply the previously set harmonic suppression scheme. The harmonic suppression scheme may include using filters, adjusting controller parameters, etc. to reduce the interference of harmonics on the test results and obtain processed data after harmonic suppression. Based on the processed data, the performance indicators of the current test project are calculated. Performance indicators may include total harmonic distortion (THD), power factor, efficiency, etc., which help evaluate the performance of the inverter under different test conditions. The results of each test project are recorded as a single test result and the corresponding single test data is generated. For example, a single test result may show that the THD value is 5% and the power factor is 0.98 under specific load conditions. Based on the single test data, the dynamic optimization strategy parameters are updated. Parameter updates may involve adjusting the controller gain, modifying the characteristics of the filter, etc. to adapt to the new test data. Through adjustment, the optimized control parameters are updated, providing a more accurate control basis for the next test item. For example, if a certain harmonic component exceeds expectations in the previous test item, it may be necessary to increase the resonant gain of the PR controller to better suppress the harmonic. Based on the optimized control parameters, the next test item in the test execution queue is executed. This process continues until all test items are completed to form a complete test data set. The test data set includes the original and processed data of all test items, as well as the comprehensive analysis results of various performance indicators.The complete test data set is integrated and standardized, including data normalization, outlier processing, and data unit unification, to ensure data comparability and consistency, and obtain a performance indicator test data set.
[0105] In a specific embodiment, the process of executing step S600 may specifically include the following steps:
[0106] Perform data preprocessing on the performance index test data set to obtain a standardized test data matrix, and perform fast Fourier transform on the standardized test data matrix to obtain a frequency domain characteristic spectrum;
[0107] According to the frequency domain characteristic spectrum, the fundamental wave and each harmonic component are extracted to obtain the harmonic distribution diagram, and the standardized test data matrix is decomposed by wavelet to obtain multi-scale time-frequency characteristics;
[0108] Based on the multi-scale time-frequency features, singular value decomposition is performed to obtain the target characteristic components of the data, and based on the target characteristic components, a feature vector space is constructed to obtain a multi-dimensional representation of the inverter performance;
[0109] Perform cluster analysis on the multi-dimensional representation to obtain the classification results of the inverter performance, and perform pattern recognition based on the classification results and preset performance indicator thresholds to obtain the working status evaluation information of the inverter;
[0110] Generate an inverter comprehensive performance diagnosis report based on the working status evaluation information, and perform intelligent analysis on the inverter comprehensive performance diagnosis report to obtain optimization suggestions.
[0111] Specifically, the performance index test data set is first cleaned and standardized. Data cleaning includes removing outliers and processing missing data to ensure the integrity and accuracy of the data set. The purpose of standardization is to convert data of different dimensions into a unified scale to avoid analysis errors caused by magnitude differences. The standardized test data matrix is fast Fourier transformed to obtain the frequency domain characteristic spectrum. The time domain signal is converted to the frequency domain so that the amplitude and phase of each frequency component are clearly presented. The fast Fourier transform formula is expressed as:
[0112]
[0113] Among them, X(f) is the frequency domain feature, x[n] is the time domain signal, N is the number of sampling points, and f is the frequency. Through fast Fourier transform, detailed information of each frequency component in the inverter output signal is obtained, especially the amplitude and phase information of the fundamental wave and each harmonic. According to the frequency domain characteristic spectrum, the fundamental wave and each harmonic component are extracted, and the harmonic distribution diagram is drawn to show the relative strength and position of each harmonic, which helps to identify the main harmonic source. Wavelet decomposition is performed on the standardized test data matrix. Wavelet decomposition can provide information about the signal on different time scales. The wavelet transform formula is:
[0114]
[0115] Among them, W(a,b) is the wavelet coefficient, a and b are the scale and translation parameters respectively, ψ(t) is the mother wavelet function, and x(t) is the original signal. Through multi-scale analysis, the wavelet transform can capture the frequency changes of the signal in different time periods and obtain multi-scale time-frequency features. Based on the multi-scale time-frequency features, the data is subjected to singular value decomposition to extract the main characteristic components of the data. The basic form of singular value decomposition is:
[0116] A=UΣV * ;
[0117] Where A is the matrix to be decomposed, U and V are orthogonal matrices, and Σ is a diagonal matrix containing singular values. These singular values reflect the importance of each feature in the data. By selecting the first few largest singular values and their corresponding vectors, a low-dimensional feature vector space is constructed. Cluster analysis is performed on the multidimensional representation to identify different operating states. Cluster analysis helps find natural groupings in the data, which are used to classify the performance of the inverter under different working conditions. Based on the classification results and the preset performance indicator thresholds, pattern recognition is performed to provide working state evaluation information. For example, if the clustering results show that certain data points correspond to fault states, the system can identify potential fault risks. Generate a comprehensive inverter performance diagnostic report based on the working state evaluation information. The report contains the problems with the current state of the system and possible improvement directions. For example, if the clustering analysis shows that the harmonic distortion increases significantly under specific load conditions, the diagnostic report may recommend adding a harmonic filter or adjusting the control parameters.
[0118] See also Figure 2 , Figure 2 A schematic block diagram of the structure of the inverter safety test device 200 provided in the embodiment of the present application is shown in FIG. Figure 2 As shown, the inverter safety test device 200 includes:
[0119] A modeling module 210 is used to perform modeling analysis on the inverter characteristic data to obtain a non-ideal state space model of the inverter;
[0120] An analysis module 220 is used to perform harmonic analysis based on a non-ideal state space model to obtain a harmonic suppression solution;
[0121] The conversion module 230 is used to perform conservative power theory conversion on the output current of the inverter to obtain a real-time data stream;
[0122] A construction module 240 is used to construct a three-layer optimization model in combination with the harmonic suppression scheme and the real-time data stream, and generate a dynamic optimization strategy according to the three-layer optimization model;
[0123] The test module 250 is used to perform automatic testing on the inverter based on a dynamic optimization strategy to obtain a performance index test data set;
[0124] The generation module 260 is used to perform fast Fourier transform and wavelet analysis on the performance index test data set to generate a comprehensive inverter performance diagnosis report and optimization suggestions.
[0125] Through the cooperation of the above components, the non-ideal state space model obtained by modeling and analyzing the inverter characteristic data can more accurately reflect the actual characteristics of the inverter, including the influence of parasitic parameters and environmental factors. Harmonic analysis based on the non-ideal state space model can effectively reduce the harmonic content in the inverter output. The inverter output current is processed by conservative power theory transformation, and the real-time data stream obtained contains detailed harmonic and reactive current component information. The three-layer optimization model constructed by combining the harmonic suppression scheme and the real-time data stream can achieve the optimization of the target performance indicators and the evaluation of the comprehensive performance while ensuring the basic safety standards, thereby generating a more efficient and adaptable dynamic optimization strategy. Automated testing based on dynamic optimization strategies can efficiently perform multiple test tasks and adjust test parameters in real time, greatly improving the test efficiency and the accuracy of test results. In-depth analysis of test data through fast Fourier transform and wavelet analysis can not only obtain a comprehensive performance diagnosis report, but also provide targeted optimization suggestions, improve the performance test accuracy of the inverter, and thus improve the safety of the inverter.
[0126] The present application also provides a safety testing device for an inverter, wherein the safety testing device for the inverter comprises a memory and a processor, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the processor executes the steps of the safety testing method for the inverter in the above-mentioned embodiments.
[0127] 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. Instructions are stored in the computer-readable storage medium. When the instructions are executed on a computer, the computer executes the steps of the inverter safety testing method.
[0128] 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.
[0129] 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, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform 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 code.
[0130] 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 safety test method for an inverter, characterized in that: include: Modeling and analyzing the inverter characteristic data to obtain a non-ideal state space model of the inverter; Performing harmonic analysis based on the non-ideal state space model to obtain a harmonic suppression solution; Performing conservative power theory transformation on the output current of the inverter to obtain a real-time data stream; Building a three-layer optimization model in combination with the harmonic suppression scheme and the real-time data stream, and generating a dynamic optimization strategy according to the three-layer optimization model; Based on the dynamic optimization strategy, the inverter is automatically tested to obtain a performance index test data set; Perform fast Fourier transform and wavelet analysis on the performance index test data set to generate a comprehensive inverter performance diagnosis report and optimization suggestions.
2. The inverter safety testing method according to claim 1, characterized in that: The modeling and analysis of the inverter characteristic data to obtain a non-ideal state space model of the inverter includes: Analyze the topological structure of the inverter to obtain a basic circuit model including an inductor, a capacitor and a switch device, and extract parameters of the equivalent series resistance of the inductor based on the basic circuit model to obtain a non-ideal inductor model; Based on the non-ideal inductor model, a switching state of the inverter is mathematically described to obtain a switching function including a turn-on time and a turn-off time, and according to the switching function and Kirchhoff's law, a relationship between the voltage and current of the inverter is mathematically derived to obtain a state equation of the inverter; Performing Laplace transformation and discretization processing on the state equation to obtain a discrete state space expression of the inverter, and simulating and analyzing the input and output characteristics of the inverter based on the discrete state space expression to obtain performance index data; Based on the performance index data, the environmental factors are modeled to obtain an environmental impact model including a temperature coefficient and an electromagnetic interference coefficient, and according to the environmental impact model, the discrete state space expression is corrected to obtain a non-ideal state space model.
3. The inverter safety testing method according to claim 1, characterized in that: The harmonic analysis is performed based on the non-ideal state space model to obtain a harmonic suppression scheme, including: Performing frequency domain transformation on the non-ideal state space model to obtain a frequency response function of the inverter output, and performing harmonic decomposition on the inverter output according to the frequency response function to obtain amplitude and phase information of each harmonic; Perform statistical analysis on the amplitude and phase information of each harmonic to obtain the harmonic distribution characteristics and the initial value of total harmonic distortion; According to the harmonic distribution characteristics, a transfer function of a proportional-integral controller is designed to obtain a fundamental wave control algorithm, and based on the total harmonic distortion initial value, a resonant part of a proportional resonant controller is constructed to obtain a selective control algorithm for subharmonics; The proportional-integral controller and the proportional-resonant controller are combined in parallel to obtain a composite controller structure, and a state feedback matrix is designed according to the composite controller structure to obtain a state equation of a closed-loop control system; A stability analysis is performed on the state equation of the closed-loop control system to obtain stability constraints of controller parameters, and based on the stability constraints, the controller parameters are optimized to obtain a harmonic suppression solution.
4. The inverter safety testing method according to claim 1, characterized in that: The step of performing conservative power theory transformation on the output current of the inverter to obtain a real-time data stream includes: Sampling the output current of the inverter to obtain original current data of a discrete time series, and adaptively adjusting the sampling frequency according to the original current data to obtain optimized sampling parameters; Based on the optimized sampling parameters, the original current data is resampled to obtain an equally spaced current sampling sequence, and the equally spaced current sampling sequence is orthogonally decomposed to obtain an instantaneous active component and a reactive component of the current; Calculating instantaneous active power and reactive power according to the instantaneous active component and reactive component to obtain a time domain representation of power, and performing sliding window processing on the time domain representation of power to obtain a frequency domain representation of power; Based on the frequency domain representation of the power, the fundamental wave and harmonic components are extracted to obtain a harmonic power spectrum, and according to the harmonic power spectrum, the active power and reactive power of each harmonic are calculated to obtain a harmonic power distribution matrix; The harmonic power distribution matrix is subjected to odd and even harmonic separation to obtain characteristic vectors of odd and even harmonics, and a characteristic description model of a real-time data stream is constructed based on the characteristic vectors of odd and even harmonics to obtain a real-time data stream containing harmonic and reactive current component information.
5. The inverter safety testing method according to claim 4, characterized in that: The three-layer optimization model is constructed by combining the harmonic suppression scheme and the real-time data stream, and a dynamic optimization strategy is generated according to the three-layer optimization model, including: Parameterizing the harmonic suppression scheme to obtain a harmonic suppression control parameter set, and extracting a performance evaluation index set of the inverter according to the real-time data stream; Based on the harmonic suppression control parameter set and the performance evaluation index set, a first-level optimization objective function is constructed to obtain a basic safety standard optimization model; Setting constraints on the basic safety standard optimization model to obtain a parameter range that meets the minimum safety requirements, and constructing a second-level optimization objective function based on the parameter range and the real-time data stream to obtain a target performance indicator optimization model; Performing multi-objective weight assignment on the target performance indicator optimization model to obtain a priority matrix of performance indicators, and constructing a third-layer optimization objective function based on the priority matrix and the real-time data stream to obtain a comprehensive performance evaluation optimization model; Integrating the basic safety standard optimization model, the target performance indicator optimization model and the comprehensive performance evaluation optimization model to obtain a unified optimization objective function; Parameter optimization is performed according to the unified optimization objective function to obtain an optimal control parameter combination, and a dynamic adjustment strategy is created for the optimal control parameter combination to obtain a dynamic optimization strategy that can automatically adapt to inverters of different power levels.
6. The inverter safety testing method according to claim 1, characterized in that: The step of performing an automated test on the inverter based on the dynamic optimization strategy to obtain a performance index test data set includes: Generate an automated test sequence according to the dynamic optimization strategy to obtain a test instruction set including test items, parameter settings and execution order; Prioritizing the test instruction set to obtain a test execution queue, and performing initialization configuration based on the test execution queue to start the current test project and obtain an original test data stream; Processing the original test data stream in real time, applying the harmonic suppression scheme, and obtaining processed data after harmonic suppression; Based on the processed data after harmonic suppression, the performance index of the current test item is calculated to obtain a single test result, and the single test data is generated according to the single test result; According to the single test data, the dynamic optimization strategy parameters are updated to obtain the optimization control parameters for the next test item; Based on the optimized control parameters, executing the next test item in the test execution queue until all test items are completed to obtain a complete test data set; The complete test data set is integrated and standardized to obtain a performance index test data set.
7. The inverter safety testing method according to claim 1, characterized in that: The fast Fourier transform and wavelet analysis are performed on the performance index test data set to generate a comprehensive inverter performance diagnosis report and optimization suggestions, including: Performing data preprocessing on the performance index test data set to obtain a standardized test data matrix, and performing fast Fourier transform on the standardized test data matrix to obtain a frequency domain characteristic spectrum; According to the frequency domain characteristic spectrum, the fundamental wave and each harmonic component are extracted to obtain a harmonic distribution diagram, and the standardized test data matrix is subjected to wavelet decomposition to obtain multi-scale time-frequency features; Performing singular value decomposition based on the multi-scale time-frequency features to obtain target characteristic components of the data, and constructing a characteristic vector space based on the target characteristic components to obtain a multi-dimensional representation of the inverter performance; Performing cluster analysis on the multi-dimensional representation to obtain a classification result of the inverter performance, and performing pattern recognition based on the classification result and a preset performance indicator threshold to obtain working status evaluation information of the inverter; An inverter comprehensive performance diagnosis report is generated according to the working status evaluation information, and the inverter comprehensive performance diagnosis report is intelligently analyzed to obtain optimization suggestions.
8. A safety test device for an inverter, characterized in that: A safety test method for performing an inverter according to any one of claims 1 to 7, comprising: A modeling module is used to model and analyze the inverter characteristic data to obtain a non-ideal state space model of the inverter; An analysis module, used for performing harmonic analysis based on the non-ideal state space model to obtain a harmonic suppression solution; A conversion module, used for performing conservative power theory conversion on the output current of the inverter to obtain a real-time data stream; A construction module, used to construct a three-layer optimization model in combination with the harmonic suppression scheme and the real-time data stream, and generate a dynamic optimization strategy according to the three-layer optimization model; A testing module, used to perform automatic testing on the inverter based on the dynamic optimization strategy to obtain a performance indicator test data set; The generation module is used to perform fast Fourier transform and wavelet analysis on the performance index test data set to generate a comprehensive inverter performance diagnosis report and optimization suggestions.
9. A safety test device for an inverter, characterized in that: The inverter safety 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 inverter safety test device to execute the inverter safety test method according to any one of claims 1 to 7.
10. A computer-readable storage medium having instructions stored thereon, characterized in that: When the instructions are executed by the processor, the safety testing method for the inverter according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Current control method and system for medium-voltage direct-hanging energy storage converter in non-ideal power grid
CN113629763A
LMS-SOGI three-phase phase-locked loop design method and system suitable for non-ideal power grid
CN115912489A
Method and system for suppressing output voltage harmonic waves of three-phase inverter power supply
CN117955322A
Integrated power sharing control method for three-phase inverter-based generators with applications in microgrids
US20220077688A1
Cited By
Controller production energy-saving optimization method using current monitoring
CN119758929A
