Inverter open circuit fault diagnosis method and device based on spatial trajectory classification model

Through the method based on the spatial trajectory classification model, the problems of insufficient diagnostic accuracy and high algorithm complexity in inverter open-circuit fault diagnosis are solved, and high-precision fault location of three-level inverters is achieved, with high anti-noise interference ability. and broad applicability.

CN114487920BActive Publication Date: 2024-08-23CENT SOUTH UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210102105.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-27
Publication Date
2024-08-23
Estimated Expiration
2042-01-27

AI Technical Summary

Technical Problem

Existing inverter open-circuit fault diagnosis methods have problems such as insufficient diagnostic accuracy and high algorithm complexity. Especially in the fault diagnosis of three-level inverters, it is difficult to effectively locate the open-circuit fault of a single or two power tubes.

Method used

A method based on the spatial trajectory classification model is adopted to collect the three-phase current data of the inverter, convert it into spatial trajectory data, and input it into the pre-trained fault diagnosis model for fault classification to determine the location of the open circuit fault. The method includes obtaining historical data to build a fault diagnosis model, using permutation networks and multi-layer perceptron layers for feature extraction and processing, and finally outputting classification results through a fully connected layer.

Benefits of technology

It realizes online fault location of single and two power tube open-circuit faults in the inverter. It has high diagnostic accuracy, strong anti-noise interference ability, wide application range, and simplifies the fault diagnosis process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114487920B
    Figure CN114487920B
Patent Text Reader

Abstract

The present invention provides an inverter open circuit fault diagnosis method and device based on a spatial trajectory classification model, comprising: collecting three-phase current data of the inverter, and converting the three-phase current data into spatial trajectory data; inputting the spatial trajectory data into a pre-trained fault diagnosis model for fault classification; and determining the location of the open circuit fault in the inverter according to the classification output result of the fault diagnosis model. The present invention can realize online fault location of single and double power tube open circuit faults of the inverter, with high diagnostic accuracy, strong anti-noise interference ability, and wide application range.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of power electronics, and in particular relates to a method and a device for diagnosing an inverter open circuit fault based on a spatial trajectory classification model. Background Art

[0002] Inverters have become an indispensable and important equipment in the field of industrial applications. With the continuous improvement of industrial application requirements and the rapid development of power electronics technology, multi-level inverter technology has emerged to achieve high-voltage and high-power output by changing its own topology. Fault diagnosis of three-level inverters has become a hot topic in current research. Real-time and effective fault diagnosis is the basis and prerequisite for research such as fault-tolerant control.

[0003] According to the differences in the source of features extracted by fault diagnosis, the open circuit fault diagnosis methods of inverters can be further divided into two categories: voltage-based fault diagnosis methods and current-based fault diagnosis methods. In the diagnosis method based on voltage signals, its original intention is mainly to avoid the influence of changes in factors such as load and frequency on the current-based method. However, in some cases, hardware assistance such as additional voltage sensors is an issue that needs to be reconsidered for actual cost calculation. At the same time, although some methods can eliminate the impact of sensor changes on system changes, the design of additional complex algorithms or the acquisition of system control signals in order to obtain voltage signals also introduce new safety hazards.

[0004] Regarding current-based fault diagnosis methods, most studies are still focused on fault diagnosis of two-level inverters, which have disadvantages such as being able to diagnose only a single switch, insufficient diagnostic accuracy, the need to add additional sensors, and high algorithm complexity. Summary of the invention

[0005] The present invention provides an inverter open circuit fault diagnosis method and device based on a spatial trajectory classification model to solve the existing problems of insufficient diagnosis accuracy, high algorithm complexity, etc.

[0006] Based on the above purpose, an embodiment of the present invention provides an inverter open circuit fault diagnosis method based on a spatial trajectory classification model, including: collecting three-phase current data of the inverter, and converting the three-phase current data into spatial trajectory data; inputting the spatial trajectory data into a pre-trained fault diagnosis model for fault classification; and determining the location of the open circuit fault in the inverter according to the classification output result of the fault diagnosis model.

[0007] Optionally, before fault classification is performed using a pre-trained fault diagnosis model input according to the spatial trajectory, the method includes: obtaining historical three-phase current data of samples of the inverter under various fault states and normal states, and converting the historical three-phase current data into historical spatial trajectory data to form a spatial trajectory; constructing the fault diagnosis model according to the spatial trajectory; and training the fault diagnosis model using the historical spatial trajectory data to obtain the trained fault diagnosis model.

[0008] Optionally, constructing the fault diagnosis model according to the spatial trajectory includes: treating the historical spatial trajectory data as point cloud data and constructing the fault diagnosis model based on a classification network model, wherein the number of classifications output by the fault diagnosis model is determined according to the number of fault types of the inverter.

[0009] Optionally, the application of the historical spatial trajectory data to train the fault diagnosis model to obtain the trained fault diagnosis model includes: setting initial parameters of the fault diagnosis model; inputting the historical spatial trajectory data of samples under each fault state and under a normal state into the fault diagnosis model for identification; and adjusting the parameters of the fault diagnosis model according to the classification output result of the fault diagnosis model until the fault diagnosis model meets the preset convergence accuracy and speed.

[0010] Optionally, inputting the spatial trajectory data into a pre-trained fault diagnosis model for fault classification includes: inputting the spatial trajectory data into the pre-trained fault diagnosis model for processing; obtaining the probability of various open circuit fault types of the inverter from the output end of the fault diagnosis model, wherein the open circuit fault type includes the open circuit fault of any single tube in the inverter and the open circuit fault of any two tubes.

[0011] Optionally, the inputting the spatial trajectory data into the pre-trained fault diagnosis model for processing includes: inputting the spatial trajectory data into the pre-trained fault diagnosis model; applying a first permutation network to process the input spatial trajectory data; applying a first MLP layer to the spatial trajectory data processed by the first permutation network to perform dimensionality increase processing, and extracting first feature data; applying a second permutation network to process the first feature data after dimensionality increase; applying a second MLP layer to the first feature data to perform dimensionality increase processing, and extracting second feature data; applying a third MLP layer to process the second feature data, and applying a fully connected layer to output the classification result.

[0012] Optionally, after collecting three-phase current data of the inverter and converting the three-phase current data into spatial trajectory data, the method further includes: normalizing the spatial trajectory data.

[0013] Optionally, determining the location where the open circuit fault occurs in the inverter based on the output of the fault diagnosis model includes: selecting the open circuit fault type with the highest probability from the probabilities of various open circuit fault types of the inverter output by the fault diagnosis model as the open circuit fault detection result of the inverter.

[0014] Based on the same inventive concept, an embodiment of the present invention also proposes an inverter open circuit fault diagnosis device based on a spatial trajectory classification model, including: a trajectory acquisition unit, used to collect three-phase current data of the inverter and convert the three-phase current data into spatial trajectory data; a classification processing unit, used to input the spatial trajectory data into a pre-trained fault diagnosis model for fault classification; and a result output unit, used to determine the location of the open circuit fault in the inverter according to the classification output result of the fault diagnosis model.

[0015] Based on the same inventive concept, an embodiment of the present invention further proposes an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements any of the methods described above when executing the program.

[0016] The technical effect of the present invention is that, as can be seen from the above description, an inverter open circuit fault diagnosis method and device based on a spatial trajectory classification model provided by an embodiment of the present invention collects three-phase current data of the inverter and converts the three-phase current data into spatial trajectory data; inputs the spatial trajectory data into a pre-trained fault diagnosis model for fault classification; determines the location of the open circuit fault in the inverter according to the classification output result of the fault diagnosis model, and can realize online fault location of single and double power tube open circuit faults of the inverter, with high diagnostic accuracy, strong anti-noise interference ability, and wide range of application. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0018] Figure 1 Schematic diagram of the flow of an inverter open circuit fault diagnosis method based on a spatial trajectory classification model in an embodiment of the present invention;

[0019] Figure 2 is a circuit diagram of a T-type three-level inverter in an embodiment of the present invention;

[0020] Figure 3is a schematic diagram of a normal phase current spatial trajectory in an embodiment of the present invention;

[0021] Figure 4 Schematic diagram of a conduction path when the output current of phase A in a T-type three-level inverter in an embodiment of the present invention is greater than 0;

[0022] Figure 5 Schematic diagram of a conduction path when the output current of phase A in a T-type three-level inverter in an embodiment of the present invention is less than 0;

[0023] Figure 6 Schematic diagram of spatial trajectory of an open circuit fault in a T-type three-level inverter in an embodiment of the present invention;

[0024] Figure 7 is a schematic diagram of the structure of a fault diagnosis model in an embodiment of the present invention;

[0025] Figure 8 It is a schematic diagram of the spatial trajectory and model output in a normal state in an embodiment of the present invention;

[0026] Fig. 9 is V in the embodiment of the present invention a2 Schematic diagram of spatial trajectory and model output during open circuit fault;

[0027] Fig.10 is V in the embodiment of the present invention a1 Schematic diagram of spatial trajectory and model output during open circuit fault;

[0028] Fig.11 is V in the embodiment of the present invention a1 &V a2 Schematic diagram of spatial trajectory and model output during open circuit fault;

[0029] Fig.12 is V in the embodiment of the present invention a1 &V a3 Schematic diagram of spatial trajectory and model output during open circuit fault;

[0030] Fig.13 is V in the embodiment of the present invention a3 &V a4 Schematic diagram of spatial trajectory and model output during open circuit fault;

[0031] Fig.14 is V in the embodiment of the present invention a1 &V b1 Schematic diagram of spatial trajectory and model output during open circuit fault;

[0032] Fig.15 Schematic diagram of the structure of an inverter open circuit fault diagnosis device based on a spatial trajectory classification model in an embodiment of the present invention;

[0033] Fig.16 Schematic diagram of an electronic device in an embodiment of the present invention. DETAILED DESCRIPTION

[0034] In order to make the objectives, technical solutions and advantages of the present disclosure more clearly understood, the present disclosure is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.

[0035] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present invention should be understood by people with ordinary skills in the field to which the present disclosure belongs. The "first", "second" and similar words used in the embodiments of the present invention do not represent any order, quantity or importance, but are only used to distinguish different components. "Including" or "comprising" and similar words mean that the elements or objects appearing before the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0036] The embodiment of the present invention also provides an inverter open circuit fault diagnosis method based on a spatial trajectory classification model. Figure 1 As shown, the inverter open circuit fault diagnosis method based on the spatial trajectory classification model includes:

[0037] Step S11: collecting three-phase current data of the inverter, and converting the three-phase current data into spatial trajectory data.

[0038] In the embodiment of the present invention, a T-type three-level inverter is taken as an example for description. The circuit diagram of the T-type three-level inverter is shown in FIG. Figure 2 , including a DC voltage source V connected in sequence DC1 、V DC2 , respectively, with the DC voltage source V DC1 、V DC2 The parallel capacitors C1, C2, and the three-phase bridge arm; V n1 ~V n4 (n=a,b,c) is IGBT tube, D n1 ~D n4The freewheeling diode is set to ensure the system stability of the IGBT in the freewheeling stage; capacitors C1 and C2 are DC side support capacitors used to stabilize the DC input voltage; Filter is the filter circuit, and Grid represents the load side. Due to the symmetry of the structure, take phase A as an example for analysis, and its working state is: when V a1 、V a2 At the same time, V a3 、V a4 When both are turned off, the level of the output terminal relative to the DC side point O is U dc / 2 (i.e. P state); when V a2 、V a3 At the same time, V a1 、V a4 When both are turned off, the level of the output terminal relative to the DC side point O is 0 (i.e., O state); when V a3 、V a4 At the same time, V a1 、V a2 When both are turned off, the level of the output terminal relative to the DC side point O is -U dc / 2 (i.e. N state). V a1 With V a3 The driving pulses are complementary, V a2 With V a4 The driving pulses are complementary, and V a1 With V a4 The specific relationship between output level and switch status is shown in Table 1.

[0039] Table 1 Relationship between output level and switch status

[0040]

[0041] Transforming any three trigonometric functions into a spatial coordinate system will produce an elliptical ring in the presence of a phase difference, which is called a spatial trajectory. This is the current trajectory formed by transforming the three-phase output current into a spatial coordinate system. Ideally, the PWM control signal is used to control the alternating conduction of the power tubes of the upper and lower bridge arms of each phase, and the three-phase output current i a 、i b 、i c They are sinusoidal waves with equal amplitude and 120° phase difference, which can be expressed as:

[0042]

[0043] In the formula, I am ,I bm ,I cm They are the three-phase current amplitudes I m ; w is the current angular frequency; φ is the phase difference between the two-phase currents a and b.

[0044] Let x = i a (t),i b (t), z = i c (t), the general equation of the three-phase current that conforms to the ellipse can be derived, and the obtained three-phase current space trajectory is as follows: Figure 3 As shown. Under different open circuit fault conditions, the current of each phase will change accordingly, resulting in distortion of the spatial trajectory. The following is an analysis of four open circuit fault conditions: normal, single tube, two tubes in the same phase, and two tubes in different phases.

[0045] According to Table 1 and the topological structure of the T-type three-level inverter circuit, the current conduction path is analyzed and it is stipulated that the current flows from the inverter to the load as the positive direction of the current. a >0, see Figure 4 As shown, when the output of point A is P level, the current flows through V a1 ,like Figure 4 (a) When the output at point A is at 0 level, the current flows through V a2 and D a3 ,like Figure 4 (b) When the output of point A is N level, the current flows through D a4 , current as Figure 4 (c). When the output current i a <0, see Figure 5 , we have: When the output of point A is P level, the current flows through D a1 ,like Figure 5 (a) When the output at point A is at 0 level, the current flows through V a3 and D a2 ,like Figure 5 (b) When the output of point A is N level, the current flows through V a4 ,like Figure 5 (c) as shown.

[0046] V a1 For example, an open circuit fault only affects Figure 4 (a) The working state, that is, the output current i of phase A a >0, when point A outputs P level, it will be clamped to O level, and when it outputs O and N level, it will remain normal. At this time, the midpoint voltage on the load side is no longer in a balanced state. Suppose the midpoint voltage at this time is u N , the output voltage of phase A (the voltage between point A and point O) is uafva1(t), then in this stage, u afva1 (t) = 0, for a three-phase star-type RL load, we have:

[0047] u afva1 (t)-u N =uN -u b (t)+u N -u b (t) (2)

[0048] Simplifying, we can get

[0049] at this time,

[0050] In the formula, Z=R+L.

[0051] Transform equation (1) and put it into the above equation, and we have:

[0052] Since there is a three-phase current balance, the change of ia will affect the currents of the other two phases. According to formula (5), we have

[0053]

[0054]

[0055] The three-phase current expression at this time can be written as:

[0056]

[0057] Where k is a natural number. When wt∈[2kπ+π,2kπ+2π), the phase current is as shown in equation (1). At this time, the spatial trajectory will be reduced to 1 / 3 of the original trajectory along the positive direction of the x-axis in the interval wt∈[2kπ,2kπ+π), and return to normal in the interval wt∈[2kπ+π,2kπ+2π). The change of the spatial trajectory is shown in Figure 6 As shown in a.

[0058] Since the power tubes are independent and unrelated in topology, their correlation coefficient is zero, and the open circuit failures of the power tubes can be regarded as independent events. Therefore, the simultaneous open circuit failures of two power tubes can be regarded as the superposition of the corresponding single power tube failures. a1 With V a2 Take open circuit fault as an example, which is equivalent to V a1 The superposition of the open circuit fault and the Va2 open circuit fault, Figure 4 The states in (a) and (b) cannot work properly, and no forward current can be generated in the circuit. At this time, the phase current will remain at 0 for half a cycle until i a <0. In this case, the A phase current expression is as follows:

[0059]

[0060] When wt∈[2kπ,2kπ+π), phase A is completely in an open circuit state. According to Kirchhoff's law, the current expression of phase B can be deduced as:

[0061]

[0062] Substituting into formula (1), we have

[0063]

[0064] After the sum and difference are converted into product, the above formula can be changed to i b (t) = I m sin(-φ)·cosωt (12)

[0065] The three-phase current expression in this case can be deduced as

[0066]

[0067] At this time, the change of spatial trajectory is as follows Figure 6 As shown in b.

[0068] When V a1 With V a3 When an open circuit fault occurs, the analysis process is the same as V a1 With V a2 The open circuit fault is consistent. In this case, the fault can be regarded as V a1 Fault with V a3 The faults are superimposed, so the areas of the two single-tube faults can be taken as a set, and the trajectory at this time will be reduced to 1 / 3 of the original trajectory along the positive direction of the x-axis, and reduced to m times the original trajectory along the negative direction of the x-axis. The spatial trajectory of this type of fault state can be obtained as follows: Figure 6 As shown in c.

[0069] The analysis principle for the out-of-phase two-tube fault is the same as the above two-tube in-phase fault. However, since the A-phase fault affects the x-axis data, the B-phase or C-phase fault will affect the y-axis or z-axis data accordingly. The positive and negative directions and degree of change of each axis are consistent with the above analysis. a1 &V b1 Take an open circuit fault as an example. In this case, the fault can also be regarded as V a1 Fault with V b1 The faults are superimposed, so the areas of the two single-tube faults can be taken as a set. In this case, the trajectory is not only reduced to 1 / 3 of the original figure along the positive direction of the x-axis, but also reduced to 1 / 3 of the original trajectory along the positive direction of the y-axis. The spatial trajectory of this type of fault state can be obtained as follows Figure 6 As shown in d.

[0070] From the above analysis, we can get the following rules: When the A, B, or C phase power tube fails, it will affect the data in the x, y, or z axis direction respectively; when V n1 (n=a,b,c) fault, the trajectory will be reduced to 1 / 3 of the original figure along the positive direction of its axis. n2 (n=a,b,c) fault, the trajectory will be reduced to m times of the original figure along the positive direction of its axis, and when V n3 and V n4 When a fault occurs, they are respectively n2 and V n1 Therefore, when different types of faults occur, the spatial trajectory will present a specific regular form. Based on different types of different trajectories, the fault can be clearly and accurately identified.

[0071] In the embodiment of the present invention, the three-phase current data of the inverter is collected and converted into spatial trajectory data. In order to simplify the fault location standard problem under different current amplitude conditions, the spatial trajectory data is normalized, that is, the dimensioned expression is transformed into a dimensionless expression and becomes a scalar, which can well solve the problem of the fault diagnosis method under load transformation.

[0072] Step S12: inputting the spatial trajectory data into a pre-trained fault diagnosis model for fault classification.

[0073] In an embodiment of the present invention, before step S12, a pre-trained fault diagnosis model needs to be obtained. Optionally, historical three-phase current data of samples of the inverter in each fault state and in a normal state are obtained, and the historical three-phase current data are converted into historical spatial trajectory data to form a spatial trajectory; the fault diagnosis model is constructed according to the spatial trajectory; the fault diagnosis model is trained using the historical spatial trajectory data to obtain the trained fault diagnosis model.

[0074] In the embodiment of the present invention, for each type of phase current trajectory, i.e., spatial trajectory, 1000 sets of data are randomly collected, and their mean and variance are analyzed. Each set of data contains 617 three-dimensional spatial coordinate points, corresponding to a set of data points corresponding to a spatial trajectory. The phase current trajectory is a set of spatial trajectory data points in three-dimensional space. A sample is a series of three-dimensional coordinates {P i |i=1,…,n}, where P i =(x i ,y i , z i), there is no other information except coordinate information. A sample set is combined into a specific waveform in three-dimensional space, and different waveforms reflect the state of the phase current. For the phase current trajectory set, the existing characteristics include: disorder, that is, the phase current trajectory is independent of the order of the point set; permutation invariance, that is, each sample has its own set structure in Euclidean space, and when the sample is displaced or geometrically rotated in space, its own set characteristics will not change; sparsity, that is, the phase point trajectory is sparsely distributed in the set space, and there are only a small number of valid data points on the trajectory.

[0075] In an embodiment of the present invention, the historical spatial trajectory data can be regarded as point cloud data to construct the fault diagnosis model based on the classification network model. Specifically, the phase current trajectory set can be regarded as special point cloud data according to the PointNet algorithm. The disorder of the data means that the changing input corresponds to the unchanged output, which requires the model to have the properties of a symmetric function; the permutation invariance requires the model to be able to recognize the same sample in different coordinate systems. The model can autonomously learn a permutation matrix for each input and project the samples in different coordinate systems to the same coordinate system, thereby achieving a robust effect; sparsity requires that the model cannot process data directly in a three-dimensional coordinate system. The model will directly process the limited coordinate points contained in each sample to ensure the density of the model input data. Symmetric functions can solve the disorder of the data set and use simple symmetric functions to integrate the information of each point into a new feature space. The symmetric function used in the embodiment of the present invention is the maxpooling function, and the formula is as follows:

[0076] f({x1,...,x n})≈g(h(x1),...,h(x n )) (14) Where h is a multi-layer perceptron network used to increase the dimension of samples, and g is a simple symmetric function max pooling. This can solve the problem of data disorder very well.

[0077] Apply multiple simple sub-networks to learn the position information of the input in space, and output the estimated parameters of the sample position, and then use the parameters to perform geometric transformation on the original sample to achieve the position alignment of the sample in space, thereby increasing the robustness of the model to sample replacement. The process is formulated as follows:

[0078] f alig (h(x1), ..., h(x n ))=h(x1)×T(x i ) (15)

[0079] Among them, h(x i ) is the sample x i The feature after dimensionality increase, T(x i) is the spatial position alignment parameter estimation of the permutation network for the sample, and '×' represents the matrix product. When h(·) is different, the permutation network can be used multiple times in the network to align the samples, thereby increasing the permutation invariance of the model. The structure of the fault diagnosis model is as follows Figure 7 As shown, it includes: a first permutation network input transform, a first MLP layer mlp(32,64), a second permutation network transformation transform, a second MLP layer mlp(64,128,512), a third MLP layer mlp(512,256) and a fully connected layer.

[0080] The number of classifications output by the fault diagnosis model is determined according to the number of fault types of the inverter. Taking the T-type three-level inverter as an example, there are 12 single-tube open circuits, 66 double-tube open circuits, plus normal, 4×3+12×11÷2+1=79, a total of 79 states, and the number of classifications output by the fault diagnosis model is K=79. For an inverter composed of a general 6 switching tubes, the number of classifications output by the fault diagnosis model is K=6+6×5÷2+1=22. When training the fault diagnosis model, the initial parameters of the fault diagnosis model are set; the historical spatial trajectory data of the samples under each fault state and the normal state are respectively input into the fault diagnosis model for identification; the parameters of the fault diagnosis model are adjusted according to the classification output results of the fault diagnosis model until the fault diagnosis model meets the preset convergence accuracy and speed. During training, the adam[] optimizer was used, and the initial parameters included: initial learning rate of 0.01, mini-batch of 320, weight decay of 0.005, total epoch of 250, and learning rate decay of 0.1 in [100,150]. During the training process of the fault diagnosis model, data enhancement was used, including random rotation, random noise, and random projection, to enhance the robustness of the model to unknown data.

[0081] The embodiment of the present invention randomly selects a segment set between 400 and 50 points from each sample of 617 points to train the fault diagnosis model. The convergence accuracy of the fault diagnosis model shows a fast convergence state, and the final accuracy can reach 100%, indicating that the fault diagnosis model has strong robustness on the phase current trajectory data set, and can well learn the internal representation of the data and make accurate predictions. Considering the accuracy and speed, the embodiment of the present invention rotates and samples 50 points to train the fault diagnosis model.

[0082] In an embodiment of the present invention, after obtaining the trained fault diagnosis model, in step S12, the spatial trajectory data is first input into the pre-trained fault diagnosis model for processing. Optionally, the spatial trajectory data is input into the pre-trained fault diagnosis model; the first permutation network is applied to process the input spatial trajectory data; the first mlp layer is applied to the spatial trajectory data processed by the first permutation network for dimensionality increase processing, and the first feature data is extracted; the second permutation network is applied to process the first feature data after dimensionality increase; the second mlp layer is applied to the first feature data for dimensionality increase processing, and the second feature data is extracted; the third mlp layer is applied to process the second feature data, and the fully connected layer softmax is applied to output the classification result. Then, the probability of various open circuit fault types of the inverter is obtained from the output end of the fault diagnosis model, wherein the open circuit fault type includes the open circuit fault of any single tube in the inverter and the open circuit fault of any two tubes.

[0083] Step S13: determining the location where the open circuit fault occurs in the inverter according to the classification output result of the fault diagnosis model.

[0084] The fault diagnosis model of the embodiment of the present invention uses a softmax function to convert the discrimination result into a probability, and the category with the highest probability is the final discrimination category. That is, the open circuit fault type with the highest probability is selected from the probabilities of various open circuit fault types of the inverter output by the fault diagnosis model as the open circuit fault detection result of the inverter.

[0085] The inverter open circuit fault diagnosis method based on the spatial trajectory classification model of the embodiment of the present invention is verified on the dSPACE experimental platform. The key parameters are set as follows: grid-side phase voltage amplitude 50V, load resistance value 15Ω, load inductance 8.6mH, DC bus voltage 150V, DC bus capacitance 2200μF, filter inductance 8mH, power device switching frequency 10kHz; modulation index 0.8, control strategy adopts SVPWM control. The verification results are shown in Figure 8-14 As shown, from Figure 8 As can be seen in (a), the three-phase current is converted into a spatial trajectory, and then the coordinates of 50 points are extracted for fault location, as shown in Figure 8 As shown in (b), we finally get Figure 8 c) is the result of the network model output 6, and the system sets the code 6 to a normal working state. Due to the large number of fault results, the embodiment of the present invention only gives some identification results, such as Figure 9-14 The output codes 0-6 represent the fault point at V a2 , V a1 (This is a single-tube fault); V a1 &V a2, V a1 &V a3 , V a3 &V a4 (This is a fault of two tubes in the same phase); V a1 &V b1 (This is a two-tube fault with different phases). The results are as follows: Figure 9-14 According to the above results, it can be seen that for each type of fault, the fault diagnosis method of the embodiment of the present invention can give an accurate judgment probability.

[0086] Through the analysis of the working principle and fault mechanism of the inverter, it can be known that the two-level and multi-level inverters used in subway trains also output quasi-sine waves under normal conditions, and can also obtain quasi-elliptical trajectories when converted to spatial trajectories. They will inevitably have trajectory distortion under different fault conditions. Although the distortion law is different from that of the T-type three-level inverter, the fault feature data under different conditions can also be trained through the fault diagnosis model of the embodiment of the present invention, and the accuracy can be continuously improved to the required accuracy, and finally accurate fault location under various fault conditions can be achieved. Therefore, the scope of application of the inverter open circuit fault diagnosis method of the embodiment of the present invention is not limited to the T-type inverter, and it can also be well adapted to the fault diagnosis application of two-level and multi-level inverters.

[0087] The embodiment of the present invention proposes a fault diagnosis method based on a network model according to the current space trajectory change characteristics of a T-type three-level inverter under normal and power tube open circuit fault conditions, combined with a deep learning algorithm. The corresponding relationship between the output phase current and the spatial coordinates is used to extract the fault characteristics, and the deep learning algorithm that can identify the coordinates of the spatial point is used to distinguish different fault types. Finally, the online fault location of a single and two power tube open circuit faults of a T-type inverter is realized. The algorithm has a simple structure, a small amount of calculation, and is easy to implement in practical applications. The fault diagnosis results show that the fault diagnosis method of the embodiment of the present invention is applicable to single and two power tube open circuit faults under various conditions, can accurately locate the specific fault location, and has the characteristics of high diagnostic accuracy, strong anti-noise interference ability, and a wide range of applications.

[0088] The embodiment of the present invention collects three-phase current data of the inverter and converts the three-phase current data into spatial trajectory data; inputs the spatial trajectory data into a pre-trained fault diagnosis model for fault classification; determines the location of the open circuit fault in the inverter according to the classification output result of the fault diagnosis model, and can realize online fault location of single and double power tube open circuit faults of the inverter, with high diagnostic accuracy, strong anti-noise interference ability, and wide application range.

[0089] The above describes specific embodiments of the present invention. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0090] Based on the same inventive concept, an embodiment of the present invention provides an inverter open circuit fault diagnosis device based on a spatial trajectory classification model. Fig.15 As shown, the inverter open circuit fault diagnosis device based on the spatial trajectory classification model includes: a trajectory acquisition unit, a classification processing unit and a result output unit.

[0091] A trajectory acquisition unit, used for collecting three-phase current data of the inverter and converting the three-phase current data into spatial trajectory data;

[0092] A classification processing unit, used for inputting the spatial trajectory data into a pre-trained fault diagnosis model for fault classification;

[0093] A result output unit is used to determine the location where the open circuit fault occurs in the inverter according to the classification output result of the fault diagnosis model.

[0094] For the convenience of description, the above device is described as various modules according to their functions. Of course, when implementing the embodiment of the present invention, the functions of each module can be implemented in the same or multiple software and / or hardware.

[0095] The apparatus of the above-mentioned embodiment is used to implement the corresponding method in the above-mentioned embodiment, and has the beneficial effects of the corresponding method embodiment, which will not be described in detail here.

[0096] Based on the same inventive concept, an embodiment of the present invention further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method described in any one of the above embodiments is implemented.

[0097] Fig.16 A more specific schematic diagram of the hardware structure of an electronic device provided in this embodiment is shown, and the device may include: a processor 1601, a memory 1602, an input / output interface 1603, a communication interface 1604, and a bus 1605. The processor 1601, the memory 1602, the input / output interface 1603, and the communication interface 1604 are connected to each other in communication within the device through the bus 1605.

[0098] The processor 1601 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present invention.

[0099] The memory 1602 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1602 may store an operating system and other application programs. When the technical solution provided by the embodiment of the present invention is implemented by software or firmware, the relevant program code is stored in the memory 1602 and is called and executed by the processor 1601.

[0100] The input / output interface 1603 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.

[0101] The communication interface 1604 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through wired means (such as USB, network cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.).

[0102] The bus 1605 includes a path that transmits information between the various components of the device (eg, the processor 1601 , the memory 1602 , the input / output interface 1603 , and the communication interface 1604 ).

[0103] It should be noted that, although the above device only shows the processor 1601, the memory 1602, the input / output interface 1603, the communication interface 1604 and the bus 1605, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiments of the present invention, and does not necessarily include all the components shown in the figure.

[0104] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present disclosure is limited to these examples. In line with the concept of the present application, the above embodiments or technical features in different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the present invention as described above, which are not provided in detail for the sake of simplicity.

[0105] The present invention is intended to cover all such substitutions, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of this disclosure.

Claims

1. A method for diagnosing inverter open circuit faults based on a spatial trajectory classification model, characterized in that: The method comprises: Collecting three-phase current data of the inverter, and converting the three-phase current data into spatial trajectory data; Inputting the spatial trajectory data into a pre-trained fault diagnosis model for fault classification, wherein the fault diagnosis model uses a permutation network multiple times to perform sample alignment, applies a symmetric function to integrate the information of each point in the spatial trajectory data into a new feature space, and applies a fully connected layer to output a classification result; Determining a location where an open circuit fault occurs in the inverter according to a classification output result of the fault diagnosis model; The step of inputting the spatial trajectory data into a pre-trained fault diagnosis model for fault classification includes: Input the spatial trajectory data into the pre-trained fault diagnosis model for processing; input the spatial trajectory data into the pre-trained fault diagnosis model; apply the first permutation network to process the input spatial trajectory data; apply the first MLP layer to the spatial trajectory data processed by the first permutation network for dimension increase processing, and extract the first feature data; apply the second permutation network to process the first feature data after dimension increase; apply the second MLP layer to the first feature data for dimension increase processing, and extract the second feature data; apply the third MLP layer to process the second feature data, and apply the fully connected layer to output the classification result; The probabilities of various open-circuit fault types of the inverter are obtained from the output end of the fault diagnosis model, wherein the open-circuit fault types include the open-circuit fault of any single tube and the open-circuit fault of any two tubes in the inverter.

2. The method according to claim 1, characterized in that: Before the fault diagnosis model pre-trained according to the spatial trajectory is input to perform fault classification, the method includes: Acquire historical three-phase current data of samples of the inverter in each fault state and in a normal state, and convert the historical three-phase current data into historical spatial trajectory data to form a spatial trajectory; Constructing the fault diagnosis model according to the spatial trajectory; The historical spatial trajectory data is used to train the fault diagnosis model to obtain the trained fault diagnosis model.

3. The method according to claim 2, characterized in that: The step of constructing the fault diagnosis model according to the spatial trajectory comprises: The historical spatial trajectory data is regarded as point cloud data and the fault diagnosis model is constructed based on a classification network model, wherein the number of classifications output by the fault diagnosis model is determined according to the number of fault types of the inverter.

4. The method according to claim 2, characterized in that: The applying the historical spatial trajectory data to train the fault diagnosis model to obtain the trained fault diagnosis model includes: Setting initial parameters of the fault diagnosis model; Inputting the historical spatial trajectory data of samples in each fault state and normal state into the fault diagnosis model for identification; The parameters of the fault diagnosis model are adjusted according to the classification output result of the fault diagnosis model until the fault diagnosis model meets the preset convergence accuracy and speed.

5. The method according to claim 1, characterized in that: After collecting the three-phase current data of the inverter and converting the three-phase current data into spatial trajectory data, the method includes: The spatial trajectory data is normalized.

6. The method according to claim 1, characterized in that: Determining the location where the open circuit fault occurs in the inverter according to the output of the fault diagnosis model includes: The open circuit fault type with the highest probability is selected from the probabilities of various open circuit fault types of the inverter output by the fault diagnosis model as the open circuit fault detection result of the inverter.

7. An inverter open circuit fault diagnosis device based on a spatial trajectory classification model, characterized in that: The device comprises: A trajectory acquisition unit, used for collecting three-phase current data of the inverter and converting the three-phase current data into spatial trajectory data; A classification processing unit, used for inputting the spatial trajectory data into a pre-trained fault diagnosis model for fault classification, inputting the spatial trajectory data into the pre-trained fault diagnosis model for processing; inputting the spatial trajectory data into the pre-trained fault diagnosis model; applying a first permutation network to process the input spatial trajectory data; applying a first MLP layer to the spatial trajectory data processed by the first permutation network for dimension increase processing, and extracting first feature data; applying a second permutation network to process the first feature data after dimension increase; applying a second MLP layer to the first feature data for dimension increase processing, and extracting second feature data; applying a third MLP layer to process the second feature data, and applying a fully connected layer to output a classification result; obtaining the probability of various open circuit fault types of the inverter from the output end of the fault diagnosis model, the open circuit fault type includes the open circuit fault of any single tube in the inverter and the open circuit fault of any two tubes; wherein the fault diagnosis model uses the permutation network for sample alignment multiple times, and applies a symmetric function to integrate the information of each point in the spatial trajectory data into a new feature space, and applies a fully connected layer to output the classification result; A result output unit is used to determine the location where the open circuit fault occurs in the inverter according to the classification output result of the fault diagnosis model.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the method according to any one of claims 1 to 6 is implemented.