Electromagnetic compatibility detection method, system, device and storage medium

Through differential amplifier and feature extraction technology, interference sources in electromagnetic compatibility detection are identified, which solves the problem of insufficient detection accuracy and real-time performance in the existing technology, and realizes efficient, accurate and adaptive monitoring of electromagnetic compatibility detection.

CN118330375BActive Publication Date: 2024-09-13深圳沃特检验集团股份有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410753168.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-12
Publication Date
2024-09-13
Estimated Expiration
2044-06-12

AI Technical Summary

Technical Problem

When existing electromagnetic compatibility detection technology deals with complex interference signals and abnormal patterns, the detection accuracy is not high, fault diagnosis lacks comprehensiveness and real-time performance, and it is unable to accurately discover interference sources and solve problems in a timely manner.

Method used

A differential amplifier is used to differentially amplify the electromagnetic signal. Through feature extraction, anomaly detection, cluster analysis and detection modeling, interference detection data is generated to identify the type and impact of potential interference sources.

Benefits of technology

It improves the real-time, accuracy and adaptability of electromagnetic compatibility detection, can instantly discover potential problems in electrical equipment systems, enhances the anti-interference ability of the system, ensures normal operation and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118330375B
    Figure CN118330375B
Patent Text Reader

Abstract

The present invention discloses an electromagnetic compatibility detection method, system, device and storage medium, including: installing a first sensor and a second sensor in an electrical equipment system to be tested; acquiring a first electromagnetic signal and a second electromagnetic signal; obtaining differential data through differential amplifier differential amplification processing; extracting features from the differential data to generate differential data features; performing abnormality detection on the differential data features to generate potential interference source data; performing cluster analysis on the potential interference source data to generate an interference source type set; obtaining an abnormal state feature set of the electrical equipment system according to the interference source type set; and performing detection modeling on the abnormal state feature set and the differential data features to generate interference detection data. The present invention can identify and locate electromagnetic interference sources in real time, accurately and efficiently, and adaptively provide interference detection data, thereby ensuring the stable, reliable and safe operation of the electrical equipment system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent electrical detection, and in particular to an electromagnetic compatibility detection method, system, equipment and storage medium. Background Art

[0002] With the widespread application of today's high electrification and electronics, electrical equipment systems bring great convenience to production and life. However, electrical equipment will be more or less interfered by electromagnetic fields inside and outside the system during operation. This electromagnetic interference will affect the performance of the system to a certain extent, reducing the reliability and safety of the system. At the same time, with the increase in the types of electronic equipment and the increasing complexity of electrical equipment systems caused by various usage scenarios, electromagnetic compatibility issues are becoming more and more important. Traditional electromagnetic compatibility detection methods mainly rely on theoretical calculations and experimental tests of equipment parameters. However, in practical applications, they are often limited by time, cost, and accuracy, and have poor timeliness and adaptability, resulting in the inability to timely and accurately discover interference sources and solve problems. In addition, when dealing with complex interference signals and abnormal patterns, existing electromagnetic compatibility detection technologies often have problems such as low detection accuracy, lack of comprehensiveness and real-time nature of fault diagnosis. Therefore, it is an urgent problem to study how to use advanced sensor technology and artificial intelligence algorithms to enhance the real-time, accuracy, comprehensiveness and adaptability of electromagnetic compatibility detection methods. Summary of the invention

[0003] The invention provides an electromagnetic compatibility detection method, system, equipment and storage medium.

[0004] A first aspect of the present invention provides an electromagnetic compatibility detection method, the electromagnetic compatibility detection method comprising: installing a first sensor and a second sensor in an electrical device system to be tested, wherein the sensing range of the first sensor and / or the second sensor includes the electromagnetic field range of the electrical device system;

[0005] Acquire a first electromagnetic signal and a second electromagnetic signal respectively through the first sensor and the second sensor;

[0006] Performing differential amplification processing on the first electromagnetic signal and the second electromagnetic signal through a differential amplifier to obtain differential data;

[0007] Performing feature extraction on the differential data to generate differential data features;

[0008] Performing anomaly detection on the differential data features to generate potential interference source data;

[0009] Performing cluster analysis on the potential interference source data to generate an interference source type set;

[0010] According to the interference source type set, obtaining an abnormal state feature set of the electrical equipment system;

[0011] Detection modeling is performed on the abnormal state feature set and the differential data feature to generate interference detection data.

[0012] Optionally, in a first implementation of the first aspect of the present invention, performing differential amplification processing on the first electromagnetic signal and the second electromagnetic signal by a differential amplifier to obtain differential data includes:

[0013] The differential amplifier includes two input terminals and one output terminal;

[0014] Two input terminals of the differential amplifier receive the first electromagnetic signal and the second electromagnetic signal respectively;

[0015] Performing differential amplification calculation on the first electromagnetic signal and the second electromagnetic signal, and generating the differential data at the output end of the differential amplifier;

[0016] The calculation formula for differential amplification is:

[0017] ;

[0018] in, is the differential mode gain, and represent the first electromagnetic signal and the second electromagnetic signal respectively, For differential data.

[0019] Optionally, in a second implementation of the first aspect of the present invention, the extracting features from the differential data to generate differential data features includes:

[0020] Constructing a feature extraction model for differential data, learning sparse expressions in differential data by minimizing a loss function, making the feature extraction model converge, and generating differential data features;

[0021] The expression of the loss function is:

[0022] ;

[0023] Among them, L is the loss function; N is the total number of samples; is a constant factor; is the i-th differential signal data sample; is the two-norm, used to calculate the Euclidean distance; is the function penalty coefficient, which is used to control the weight of the sparsity penalty term in the loss function; M is the number of parameters of the feature extraction model; is the jth parameter of the feature extraction model; is an encoding function for generating a high-dimensional mapping of differential signal data; is a decoding function, used to reconstruct the differential signal data back into low-dimensional data; Represents the reconstruction result of the decoding function on the output of the encoding function.

[0024] Optionally, in a third implementation manner of the first aspect of the present invention, the performing anomaly detection on the differential data feature to generate potential interference source data includes:

[0025] Presetting a sample function according to the differential data characteristics;

[0026] The expression for generating the sample function is: ;

[0027] Where z is a random noise vector; To generate adjustment parameters;

[0028] Add the differential data features to the random noise vector z and adjust the parameters Input generation sample function , calculate and generate forged sample data;

[0029] Based on minimizing the simulation loss function, simulating the differential data features to generate simulated sample data;

[0030] The calculation expression of the simulation loss function is:

[0031] ;

[0032] in, Generate sample function to generate fake sample data ; (D) is the discriminant function; is the expected value, indicating the expected operation on random noise z; (p(z)) is the noise distribution; (x) is the differential data feature; is the distribution probability density function of the differential data feature; D(x) represents the probability that the differential data feature is judged as normal data; D(G(z)): represents the probability that the forged sample data is judged as normal data;

[0033] Inputting the simulated sample data into a discriminant function, and calculating a first probability set according to the differential data characteristics;

[0034] The expression of the discriminant function is: (D) = ;

[0035] Among them, y is the simulated sample data; To determine the adjustment parameters; Indicates that the simulated sample data y and the discriminant adjustment parameters Input the discriminant function (D), calculate the probability that the simulated sample data is normal, and generate the first probability set;

[0036] The simulated sample data whose normal probability in the first probability set is less than a preset threshold is identified as abnormal point data, and potential interference source data is generated according to the simulated differential data features corresponding to the abnormal point data.

[0037] Optionally, in a fourth implementation manner of the first aspect of the present invention, the performing cluster analysis on the potential interference source data to generate an interference source type set includes:

[0038] Performing K-means clustering on the potential interference source data to divide them into several interference categories;

[0039] K-means clustering minimizes the objective function so that the similarity of data points in the same interference category reaches a preset threshold;

[0040] The expression of the objective function is:

[0041] ;

[0042] Among them, J is the objective function, the goal is to make the distance between the data point and the center of its category as small as possible; n is the number of data points in the potential interference source data; K is the preset number of clusters, that is, the number of interference categories; is the indicator function; is the ith data point; is the center point of the jth category, that is, the average value of all data points in this category; Represents data points With category center The Euclidean distance between

[0043] Perform feature analysis on each interference category to generate a set of interference source types;

[0044] The characteristic analysis of each interference category includes: identifying the type of interference source according to the position, electromagnetic interference intensity and electromagnetic interference cycle frequency of the interference source in each interference category;

[0045] The types of interference sources include: power supply interference, signal crosstalk between electrical devices, system external interference sources and electrical device abnormal state interference.

[0046] Optionally, in a fifth implementation of the first aspect of the present invention, acquiring an abnormal state feature set of an electrical equipment system according to the interference source type set includes:

[0047] The abnormal state feature set includes a first abnormal state feature and a second abnormal state feature;

[0048] By reading historical data records and obtaining in real time the first abnormal state characteristics corresponding to the electrical equipment system under various interference categories;

[0049] Obtaining and inputting electrical equipment state parameters of the electrical equipment system under various interference categories into matlab for interference simulation to generate a second abnormal state feature;

[0050] The interference impact degree of each interference category on the electrical equipment system is mapped by the abnormal state feature set.

[0051] Optionally, in a sixth implementation manner of the first aspect of the present invention, the performing detection modeling on the abnormal state feature set and the differential data feature to generate interference detection data includes:

[0052] Performing feature fitting on the differential data feature and the abnormal state feature set to generate a first mapping relationship;

[0053] generating interference detection data according to the first mapping relationship and current differential data characteristics;

[0054] The interference detection data includes: interference source type, interference impact degree and interference source direction.

[0055] A second aspect of the present invention provides an electromagnetic compatibility detection device, which includes: an acquisition module, a processing module and a detection module, and each module is electrically connected.

[0056] Optionally, in a first implementation of the second aspect of the present invention, the acquisition module is specifically used to: acquire a first electromagnetic signal and a second electromagnetic signal through a sensor; acquire differential data through a differential amplifier; and acquire an abnormal state feature set of the electrical equipment system according to the interference source type set;

[0057] Optionally, in a second implementation of the second aspect of the present invention, the processing module is specifically used to: perform feature extraction on the differential data to generate differential data features; perform anomaly detection on the differential data features to generate potential interference source data; perform cluster analysis on the potential interference source data to generate an interference source type set;

[0058] Optionally, in a third implementation of the second aspect of the present invention, the detection module is used to perform detection modeling on the abnormal state feature set and the differential data feature to generate interference detection data.

[0059] The third aspect of the present invention provides an electromagnetic compatibility detection device, comprising: at least two sensors, a differential amplifier, a memory and at least one processor, wherein the memory stores instructions; the sensor acquires a first electromagnetic signal and a second electromagnetic signal; the differential amplifier acquires differential data;

[0060] The at least one processor calls the instructions in the memory to enable the electromagnetic compatibility testing device to execute the above-mentioned electromagnetic compatibility testing method.

[0061] 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 above-mentioned electromagnetic compatibility detection method.

[0062] The technical solution provided by the present invention has the beneficial effects as follows: the electromagnetic signal obtained by the sensor is differentially amplified and feature extracted, so that the electromagnetic signal can be fully mined. Through anomaly detection, the potential patterns and correlations in the differential signal data are understood, which helps to determine the characteristics and impacts of different interference sources, so as to accurately and efficiently find potential electromagnetic interference sources; further cluster analysis of these interference source data can refine the type and location of the interference source, and evaluate their impact on system performance, so as to take targeted measures to eliminate or suppress interference and improve the anti-interference ability of the system. After detection modeling, the electromagnetic interference of the system can be effectively located and monitored in real time, and more accurate interference detection data can be obtained, which improves the accuracy and reliability of interference detection. It helps to immediately discover potential problems in the electrical equipment system and take corresponding measures adaptively, improve the reliability and stability of the electrical equipment system, better solve electromagnetic compatibility problems, ensure the normal operation of the system, and improve the performance of electrical equipment and user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] Figure 1 A schematic diagram of an embodiment of an electromagnetic compatibility detection method in an embodiment of the present invention;

[0064] Figure 2 A schematic diagram of an embodiment of an electromagnetic compatibility detection system in an embodiment of the present invention; DETAILED DESCRIPTION

[0065] Embodiments of the present invention provide an electromagnetic compatibility detection method, system, device and storage medium. The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" or "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0066] For ease of understanding, the specific process of the embodiment of the present invention is described below. Figure 1 , an embodiment of the electromagnetic compatibility detection method in the embodiment of the present invention includes:

[0067] 101. Install a first sensor and a second sensor in the electrical equipment system to be tested, wherein the sensing range of the first sensor and / or the second sensor includes the electromagnetic field range of the electrical equipment system;

[0068] It is understandable that the execution subject of the present invention may be an electromagnetic compatibility detection device, or 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.

[0069] Specifically, the sensor senses the electromagnetic field in the electrical equipment system through the induction principle. For example, the electromagnetic induction sensor can sense the change of the electromagnetic field through the Faraday electromagnetic induction principle. The change of the electromagnetic field sensed by the sensor will be converted into an electrical signal output, which can be achieved through the induction principle (such as electromagnetic induction produces induced electromotive force) or other physical effects (such as Hall effect, photoelectric effect). The first sensor and the second sensor are installed in the electrical equipment system to be tested, ensuring that their sensing range covers the electromagnetic field range of the electrical equipment system. The system can fully and accurately obtain information within the electromagnetic field range of the electrical equipment system to be tested, which helps to fully understand the electromagnetic environment.

[0070] 102. Acquire a first electromagnetic signal and a second electromagnetic signal respectively through the first sensor and the second sensor;

[0071] Specifically, the sensor may be various types of electromagnetic sensors, such as an electromagnetic induction sensor, a magnetic field sensor, an electric field sensor, and the like.

[0072] Electromagnetic signals in the electrical device system to be tested are obtained by the first sensor and the second sensor respectively. These signals may include radiation noise, magnetic induction noise, electric field noise and other types of electromagnetic signals from power supplies, communication lines, motors, relays and other devices.

[0073] 103. Perform differential amplification processing on the first electromagnetic signal and the second electromagnetic signal by a differential amplifier to obtain differential data;

[0074] Specifically, performing differential amplification processing on the first electromagnetic signal and the second electromagnetic signal by a differential amplifier to obtain differential data includes:

[0075] The differential amplifier includes two input terminals and one output terminal;

[0076] Two input terminals of the differential amplifier receive the first electromagnetic signal and the second electromagnetic signal respectively;

[0077] Performing differential amplification calculation on the first electromagnetic signal and the second electromagnetic signal, and generating the differential data at the output end of the differential amplifier;

[0078] The calculation formula for differential amplification is:

[0079] ;

[0080] in, is the differential mode gain, and represent the first electromagnetic signal and the second electromagnetic signal respectively, For differential data.

[0081] More specifically, for example, if the signal of the first sensor is 3V, the signal of the second sensor is 5V, and the gain of the differential amplifier is 10, then the output voltage calculated by the differential amplifier is =10 (5-3) = 20V. Thus, according to the calculation formula of differential amplification, the calculation result of the differential data in the specific embodiment can be obtained.

[0082] More specifically, two sensors collect the same electromagnetic field signal at the same time, and the two sensors are usually placed at far distances to obtain signals under different interference conditions.

[0083] The two input ends of the differential amplifier receive the electromagnetic signals acquired by the first sensor and the second sensor respectively. The differential amplifier performs differential amplification on the signals collected by the two sensors to obtain a differential signal, while also reducing the influence of common-mode interference on the electromagnetic signal to ensure the accuracy of the differential signal.

[0084] The differential amplifier amplifies the difference between two input signals and outputs it as differential data, which can enhance the characteristics of the signal. This helps to highlight the differences between different input signals, making subsequent feature extraction and anomaly detection more accurate.

[0085] 104. Perform feature extraction on the differential data to generate differential data features;

[0086] Specifically, extracting features from the differential data to generate differential data features includes:

[0087] Constructing a feature extraction model for differential data, learning sparse expressions in differential data by minimizing a loss function, making the feature extraction model converge, and generating differential data features;

[0088] The expression of the loss function is:

[0089] ;

[0090] Among them, L is the loss function; N is the total number of samples; is a constant factor; is the i-th differential signal data sample; is the two-norm, used to calculate the Euclidean distance; is the function penalty coefficient, which is used to control the weight of the sparsity penalty term in the loss function; M is the number of parameters of the feature extraction model; is the jth parameter of the feature extraction model; is an encoding function for generating a high-dimensional mapping of differential signal data; is a decoding function, used to reconstruct the differential signal data back into low-dimensional data; Represents the reconstruction result of the decoding function on the output of the encoding function.

[0091] More specifically, the loss function can effectively extract the features of differential data by calculating the square of the difference between each sample and its mean and adding them up, while constraining the features through regularization terms to obtain more meaningful and stable features.

[0092] More specifically, feature extraction is performed on the differential signal data, high-dimensional data is compressed into a low-dimensional representation, sparse expressions in the data are learned by minimizing the reconstruction error, and key features in the differential signal are effectively extracted, providing a basis for subsequent analysis and identification.

[0093] 105. Perform anomaly detection on the differential data features to generate potential interference source data;

[0094] Specifically, the performing anomaly detection on the differential data feature to generate potential interference source data includes:

[0095] Presetting a sample function according to the differential data characteristics;

[0096] The expression for generating the sample function is: ;

[0097] Where z is a random noise vector; To generate adjustment parameters;

[0098] Add the differential data features to the random noise vector z and adjust the parameters Input generation sample function , calculate and generate forged sample data;

[0099] Based on minimizing the simulation loss function, simulating the differential data features to generate simulated sample data;

[0100] The calculation expression of the simulation loss function is:

[0101] ;

[0102] in, Generate sample function to generate fake sample data ; (D) is the discriminant function; is the expected value, indicating the expected operation on random noise z; (p(z)) is the noise distribution; (x) is the differential data feature; is the distribution probability density function of the differential data feature; D(x) represents the probability that the differential data feature is judged as normal data; D(G(z)): represents the probability that the forged sample data is judged as normal data;

[0103] Inputting the simulated sample data into a discriminant function, and calculating a first probability set according to the differential data characteristics;

[0104] The expression of the discriminant function is: (D) = ;

[0105] Among them, y is the simulated sample data; To determine the adjustment parameters; Indicates that the simulated sample data y and the discriminant adjustment parameters Input the discriminant function (D), calculate the probability that the simulated sample data is normal, and generate the first probability set;

[0106] More specifically, assuming that a trained probability calculation discriminant model has been developed, it can calculate the probability that each sample belongs to the normal category by inputting differential data features. We can use this model to calculate the probability that our simulated sample data is normal and obtain the first probability set.

[0107] The simulated sample data whose normal probability in the first probability set is less than a preset threshold is identified as abnormal point data, and potential interference source data is generated according to the simulated differential data features corresponding to the abnormal point data.

[0108] More specifically, after obtaining the first probability set, we can set a preset threshold, such as 0.5. Then, we can filter out the sample data whose probability in the first probability set is less than the preset threshold and identify it as abnormal point data.

[0109] More specifically, by performing anomaly detection and further analyzing the differential signal after feature extraction, abnormal data points in the differential signal can be detected and potential interference sources can be identified. The anomaly detection results help determine the type and location of the electromagnetic interference source and provide guidance for interference elimination or suppression.

[0110] 106. Perform cluster analysis on the potential interference source data to generate an interference source type set;

[0111] Specifically, performing cluster analysis on the potential interference source data to generate an interference source type set includes:

[0112] Performing K-means clustering on the potential interference source data to divide them into several interference categories;

[0113] K-means clustering minimizes the objective function so that the similarity of data points in the same interference category reaches a preset threshold;

[0114] The expression of the objective function is:

[0115] ;

[0116] Among them, J is the objective function, the goal is to make the distance between the data point and the center of its category as small as possible; n is the number of data points in the potential interference source data; K is the preset number of clusters, that is, the number of interference categories; is the indicator function; is the ith data point; is the center point of the jth category, that is, the average value of all data points in this category; Represents data points With category center The Euclidean distance between

[0117] Perform feature analysis on each interference category to generate a set of interference source types;

[0118] The characteristic analysis of each interference category includes: identifying the type of interference source according to the position, electromagnetic interference intensity and electromagnetic interference cycle frequency of the interference source in each interference category;

[0119] The types of interference sources include: power supply interference, signal crosstalk between electrical devices, system external interference sources and electrical device abnormal state interference.

[0120] More specifically, for example, we have a set of potential interference source data, which contains various features, such as voltage fluctuations, frequency changes, noise levels, etc. We hope to divide these potential interference source data into K different clusters in order to identify different types of interference sources. First, we initialize K cluster centers ( , ...... ). Then, in an iterative manner, we can calculate the distance from each data point to these cluster centers and assign the data points to the cluster to which the nearest cluster center belongs. Next, update the center point of each cluster to make it the average of all data points in the cluster. This process is iterated until the stopping condition is met (so that the similarity of data points in the same interference category reaches a preset threshold). In this process, the goal is to minimize the above objective function to ensure that the clusters represent the tight clustering between data points as much as possible. In the end, we can get K different clusters, each representing a type of interference source. In this way, through K-means cluster analysis, we generate a set of interference source types to help us identify and understand different types of interference in potential interference source data.

[0121] More specifically, cluster analysis algorithms can automatically divide data sets into different categories and discover potential patterns and correlations in potential interference source data. For example, if anomalies are concentrated within a specific time range or on a specific frequency, they may be related to a specific interference source. By clustering the potential interference source data, the characteristics and impact of different interference sources can be determined, and the type and impact of the interference source can be further refined.

[0122] 107. Acquire an abnormal state feature set of an electrical equipment system according to the interference source type set;

[0123] Specifically, obtaining an abnormal state feature set of an electrical equipment system according to the interference source type set includes:

[0124] The abnormal state feature set includes a first abnormal state feature and a second abnormal state feature;

[0125] By reading historical data records and obtaining in real time the first abnormal state characteristics corresponding to the electrical equipment system under various interference categories;

[0126] Obtaining and inputting electrical equipment state parameters of the electrical equipment system under various interference categories into matlab for interference simulation to generate a second abnormal state feature;

[0127] The interference impact degree of each interference category on the electrical equipment system is mapped by the abnormal state feature set.

[0128] More specifically, based on the analysis of historical data, we can capture the dependencies between data, predict future data change trends, conduct correlation analysis and prediction, and provide predictive guidance for the impact of interference sources and the working status of equipment. At the same time, verification based on the simulation system can improve the accuracy of the preset; through the above applications, we can achieve in-depth processing and analysis of the interference source type set, determine the type, location and impact of the electromagnetic interference source, and adaptively provide an effective basis for interference elimination or suppression.

[0129] 108. Perform detection modeling on the abnormal state feature set and the differential data feature to generate interference detection data.

[0130] Specifically, the performing detection modeling on the abnormal state feature set and the differential data feature to generate interference detection data includes:

[0131] Performing feature fitting on the differential data feature and the abnormal state feature set to generate a first mapping relationship;

[0132] generating interference detection data according to the first mapping relationship and current differential data characteristics;

[0133] The interference detection data includes: interference source type, interference impact degree and interference source direction.

[0134] More specifically, for the abnormal state feature set and the differential data feature, we first perform feature fitting to establish a mapping relationship between them. This may involve using machine learning algorithms such as linear regression, support vector machines, neural networks, etc. to fit the complex relationship between these features. In this embodiment, we use linear regression to establish a mapping relationship.

[0135] After the first mapping relationship is established, we can generate interference detection data based on this mapping relationship and the current differential data features. For example, suppose we have established a linear regression model to map the abnormal state feature set to the differential data features. Then, for the current differential data features, we can use this mapping relationship to infer the corresponding abnormal state features.

[0136] Finally, based on the generated interference detection data, we can extract information such as the type of interference source, the degree of interference impact, and the location of the interference source. This requires further analysis and processing to determine the type of each interference source and evaluate its degree and direction of impact on the system. For example, by analyzing the differential data features and abnormal state feature sets, we can determine the specific type of interference source (such as voltage interference, frequency anomaly, etc.), the degree of impact on system performance, and the location of the interference source.

[0137] In this way, by detecting and modeling the abnormal state feature set and the differential data feature, interference detection data is generated, including information such as the type of interference source, the degree of interference impact, and the direction of the interference source. This information helps to identify and further analyze potential interference sources. Through detection modeling, real-time electromagnetic compatibility monitoring and detection of electrical equipment can be achieved, and potential problems in the electrical equipment system can be discovered in a timely and efficient manner and corresponding measures can be taken adaptively.

[0138] In the embodiment of the present invention, the beneficial effect is as follows: the electromagnetic signal obtained by the sensor is differentially amplified and feature extracted, so that the electromagnetic signal can be fully mined. Through anomaly detection, the potential patterns and correlations in the differential signal data are understood, which helps to determine the characteristics and impacts of different interference sources, so as to accurately and efficiently find potential electromagnetic interference sources; further cluster analysis of these interference source data can refine the type and location of the interference source, and evaluate their impact on system performance, so as to take targeted measures to eliminate or suppress interference and improve the anti-interference ability of the system. After detection modeling, the electromagnetic interference of the system can be effectively located and monitored in real time, and more accurate interference detection data can be obtained, which improves the accuracy and reliability of interference detection. It helps to immediately discover potential problems in the electrical equipment system and take corresponding measures adaptively, improve the reliability and stability of the electrical equipment system, better solve electromagnetic compatibility problems, ensure the normal operation of the system, and improve the performance of electrical equipment and user experience.

[0139] The electromagnetic compatibility detection method in the embodiment of the present invention is described above. The electromagnetic compatibility detection system in the embodiment of the present invention is described below. Figure 2 An electromagnetic compatibility detection system in an embodiment of the present invention includes: an acquisition module, a processing module and a detection module, and each module is electrically connected.

[0140] Specifically, in a first implementation of the second aspect of the present invention, the acquisition module is specifically used to: acquire a first electromagnetic signal and a second electromagnetic signal through a sensor; acquire differential data through a differential amplifier; and acquire an abnormal state feature set of the electrical equipment system according to the interference source type set;

[0141] Specifically, in a second implementation of the second aspect of the present invention, the processing module is specifically used to: extract features from the differential data to generate differential data features; perform anomaly detection on the differential data features to generate potential interference source data; perform cluster analysis on the potential interference source data to generate an interference source type set;

[0142] Specifically, in a third implementation of the second aspect of the present invention, the detection module is used to perform detection modeling on the abnormal state feature set and the differential data feature to generate interference detection data.

[0143] In the embodiments of the present invention, the beneficial effects are as follows: the electromagnetic compatibility detection system provided by the present invention helps to immediately discover potential problems in the electrical equipment system and adaptively take corresponding measures, can identify and locate the source of electromagnetic interference in real time, accurately and efficiently, and adaptively provide interference detection data, thereby improving the reliability and stability of the electrical equipment system, better solving electromagnetic compatibility problems, ensuring the normal operation of the system, and improving the performance of electrical equipment and user experience.

[0144] above Figure 2 The electromagnetic compatibility detection system in the embodiment of the present invention is described in detail from the perspective of modular functional entities. The electromagnetic compatibility detection system in the embodiment of the present invention is described in detail from the perspective of hardware processing.

[0145] The present invention also provides an electromagnetic compatibility detection device, the electromagnetic compatibility detection device comprises at least two sensors, a differential amplifier, a memory and at least one processor, wherein the memory stores instructions;

[0146] The sensor acquires a first electromagnetic signal and a second electromagnetic signal; the differential amplifier acquires differential data;

[0147] The at least one processor calls the instructions in the memory to enable the electromagnetic compatibility testing device to execute the steps of the electromagnetic compatibility testing method in the above embodiments.

[0148] The present invention 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 electromagnetic compatibility detection method.

[0149] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0150] 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 invention is essentially or the part that contributes to the prior art or the whole or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. 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.

[0151] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. 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 invention.

Claims

1. An electromagnetic compatibility detection method, characterized in that: The electromagnetic compatibility detection method comprises: A first sensor and a second sensor are installed in the electrical equipment system to be tested, wherein the sensing range of the first sensor and / or the second sensor includes the electromagnetic field range of the electrical equipment system; Acquire a first electromagnetic signal and a second electromagnetic signal respectively through the first sensor and the second sensor; Performing differential amplification processing on the first electromagnetic signal and the second electromagnetic signal through a differential amplifier to obtain differential data; Performing feature extraction on the differential data to generate differential data features; Performing anomaly detection on the differential data features to generate potential interference source data; Performing cluster analysis on the potential interference source data to generate an interference source type set; According to the interference source type set, obtaining an abnormal state feature set of the electrical equipment system; Performing detection modeling on the abnormal state feature set and the differential data feature to generate interference detection data; The differential amplifier is used to perform differential amplification processing on the first electromagnetic signal and the second electromagnetic signal to obtain differential data, including: the differential amplifier includes two input terminals and one output terminal; the two input terminals of the differential amplifier receive the first electromagnetic signal and the second electromagnetic signal respectively; the first electromagnetic signal and the second electromagnetic signal are differentially amplified and calculated to generate the differential data at the output terminal of the differential amplifier; the calculation formula of differential amplification is: ; in, is the differential mode gain, and represent the first electromagnetic signal and the second electromagnetic signal respectively, is differential data; The step of extracting features from the differential data to generate differential data features includes: constructing a feature extraction model for the differential data, learning sparse expressions in the differential data by minimizing a loss function, converging the feature extraction model, and generating differential data features; the loss function is expressed as: ; Among them, L is the loss function; N is the total number of samples; is a constant factor; is the i-th differential signal data sample; is the two-norm, used to calculate the Euclidean distance; is the function penalty coefficient, which is used to control the weight of the sparsity penalty term in the loss function; M is the number of parameters of the feature extraction model; is the jth parameter of the feature extraction model; is an encoding function for generating a high-dimensional mapping of differential signal data; is a decoding function, used to reconstruct the differential signal data back into low-dimensional data; Represents the reconstruction result of the decoding function on the output of the encoding function; The performing of abnormality detection on the differential data feature to generate potential interference source data includes: presetting a sample function according to the differential data feature; and generating an expression of the sample function as follows: ; Where z is a random noise vector; To generate adjustment parameters; Add the differential data features to the random noise vector z and adjust the parameters Input generation sample function , calculate and generate forged sample data; based on minimizing the simulation loss function, simulate the differential data features to generate simulated sample data; the calculation expression of the simulation loss function is: ; in, Generate sample function to generate fake sample data ; (D) is the discriminant function; is the expected value; (p(z)) is the noise distribution; (x) is the differential data feature; is the distribution probability density function of the differential data feature; D(x) represents the probability that the differential data feature is judged as normal data; D(G(z)): represents the probability that the forged sample data is judged as normal data; Inputting the simulated sample data into a discriminant function, and calculating a first probability set according to the differential data characteristics; The expression of the discriminant function is: (D) = ; Among them, y is the simulated sample data; To determine the adjustment parameters; Indicates that the simulated sample data y and the discriminant adjustment parameters Input the discriminant function (D), calculate the probability that the simulated sample data is normal, and generate the first probability set; The simulated sample data whose normal probability in the first probability set is less than a preset threshold is identified as abnormal point data, and potential interference source data is generated according to the simulated differential data features corresponding to the abnormal point data.

2. The electromagnetic compatibility detection method according to claim 1, characterized in that: The cluster analysis of the potential interference source data to generate an interference source type set includes: Performing K-means clustering on the potential interference source data to divide them into several interference categories; K-means clustering minimizes the objective function so that the similarity of data points in the same interference category reaches a preset threshold; The expression of the objective function is: ; Among them, J is the objective function, the goal is to make the distance between the data point and the center of its category as small as possible; n is the number of data points in the potential interference source data; K is the preset number of clusters, that is, the number of interference categories; is the indicator function; is the ith data point; is the center point of the jth category, that is, the average value of all data points in this category; Represents data points With category center The Euclidean distance between Perform feature analysis on each interference category to generate a set of interference source types; The characteristic analysis of each interference category includes: identifying the type of interference source according to the position, electromagnetic interference intensity and electromagnetic interference cycle frequency of the interference source in each interference category; The types of interference sources include: power supply interference, signal crosstalk between electrical devices, system external interference sources and electrical device abnormal state interference.

3. The electromagnetic compatibility detection method according to claim 2, characterized in that: The step of obtaining an abnormal state feature set of the electrical equipment system according to the interference source type set includes: The abnormal state feature set includes a first abnormal state feature and a second abnormal state feature; By reading historical data records and obtaining in real time the first abnormal state characteristics corresponding to the electrical equipment system under various interference categories; Obtaining and inputting electrical equipment state parameters of the electrical equipment system under various interference categories into matlab for interference simulation to generate a second abnormal state feature; The interference impact degree of each interference category on the electrical equipment system is mapped by the abnormal state feature set.

4. The electromagnetic compatibility detection method according to claim 3, characterized in that: The performing detection modeling on the abnormal state feature set and the differential data feature to generate interference detection data includes: Performing feature fitting on the differential data feature and the abnormal state feature set to generate a first mapping relationship; generating interference detection data according to the first mapping relationship and current differential data characteristics; The interference detection data includes: interference source type, interference impact degree and interference source direction.

5. An electromagnetic compatibility detection system, characterized in that: The electromagnetic compatibility detection system comprises: An acquisition module is used to acquire a first electromagnetic signal and a second electromagnetic signal through a sensor; perform differential amplification processing on the first electromagnetic signal and the second electromagnetic signal through a differential amplifier to obtain differential data; and acquire an abnormal state feature set of the electrical equipment system according to a set of interference source types; A processing module, configured to extract features from the differential data to generate differential data features; perform anomaly detection on the differential data features to generate potential interference source data; perform cluster analysis on the potential interference source data to generate an interference source type set; A detection module, used to perform detection modeling on the abnormal state feature set and the differential data feature to generate interference detection data; The differential amplifier is used to perform differential amplification processing on the first electromagnetic signal and the second electromagnetic signal to obtain differential data, including: the differential amplifier includes two input terminals and one output terminal; the two input terminals of the differential amplifier receive the first electromagnetic signal and the second electromagnetic signal respectively; the first electromagnetic signal and the second electromagnetic signal are differentially amplified and calculated to generate the differential data at the output terminal of the differential amplifier; the calculation formula of differential amplification is: ; in, is the differential mode gain, and represent the first electromagnetic signal and the second electromagnetic signal respectively, is differential data; The step of extracting features from the differential data to generate differential data features includes: constructing a feature extraction model for the differential data, learning sparse expressions in the differential data by minimizing a loss function, converging the feature extraction model, and generating differential data features; the loss function is expressed as: ; Among them, L is the loss function; N is the total number of samples; is a constant factor; is the i-th differential signal data sample; is the two-norm, used to calculate the Euclidean distance; is the function penalty coefficient, which is used to control the weight of the sparsity penalty term in the loss function; M is the number of parameters of the feature extraction model; is the jth parameter of the feature extraction model; is an encoding function for generating a high-dimensional mapping of differential signal data; is a decoding function, used to reconstruct the differential signal data back into low-dimensional data; Represents the reconstruction result of the decoding function on the output of the encoding function; The performing of abnormality detection on the differential data feature to generate potential interference source data includes: presetting a sample function according to the differential data feature; and generating an expression of the sample function as follows: ; Where z is a random noise vector; To generate adjustment parameters; Add the differential data features to the random noise vector z and adjust the parameters Input generation sample function , calculate and generate forged sample data; based on minimizing the simulation loss function, simulate the differential data features to generate simulated sample data; the calculation expression of the simulation loss function is: ; in, Generate sample function to generate fake sample data ; (D) is the discriminant function; is the expected value; (p(z)) is the noise distribution; (x) is the differential data feature; is the distribution probability density function of the differential data feature; D(x) represents the probability that the differential data feature is judged as normal data; D(G(z)): represents the probability that the forged sample data is judged as normal data; Inputting the simulated sample data into a discriminant function, and calculating a first probability set according to the differential data characteristics; The expression of the discriminant function is: (D) = ; Among them, y is the simulated sample data; To determine the adjustment parameters; Indicates that the simulated sample data y and the discriminant adjustment parameters Input the discriminant function (D), calculate the probability that the simulated sample data is normal, and generate the first probability set; The simulated sample data whose normal probability in the first probability set is less than a preset threshold is identified as abnormal point data, and potential interference source data is generated according to the simulated differential data features corresponding to the abnormal point data.

6. An electromagnetic compatibility testing device, characterized in that: The electromagnetic compatibility detection device comprises: at least two sensors, a differential amplifier, a memory and at least one processor, wherein the memory stores instructions; The sensor acquires a first electromagnetic signal and a second electromagnetic signal; the differential amplifier acquires differential data; The at least one processor calls the instruction in the memory to enable the electromagnetic compatibility testing device to execute the electromagnetic compatibility testing method according to any one of claims 1 to 4.

7. A computer-readable storage medium having instructions stored thereon, characterized in that: When the instructions are executed by the processor, the electromagnetic compatibility detection method according to any one of claims 1 to 4 is implemented.