A data line conducted electromagnetic interference detection method, system, device and medium thereof
By acquiring and analyzing the time interval characteristics of the transmitted data signals and environmentally perceived signals on the data lines, the problem that it is difficult for the data lines to detect electromagnetic interference in high-speed data transmission is solved, and the accurate detection and response of electromagnetic interference during data transmission is achieved, which improves the stability and reliability of data transmission.
Patent Information
- Application Number
- CN202410761787.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-13
- Publication Date
- 2025-03-25
- Estimated Expiration
- 2044-06-13
AI Technical Summary
During high-speed data transmission, it is difficult for the data line to accurately detect whether it is subject to electromagnetic interference, resulting in data transmission delay, packet loss or equipment failure, affecting system stability and reliability.
By obtaining the target conductive data signal and environmental perception signal on the data line, combining pulse peak extraction and time interval characteristic analysis, we can judge whether the data signal is subject to electromagnetic interference and generate electromagnetic interference detection results.
Accurate electromagnetic interference detection of data signals transmitted from data lines is realized, the accuracy and reliability of judgment is improved, potential electromagnetic interference problems are discovered and dealt with in a timely manner, and the stability and security of data transmission are ensured.
Smart Images

Figure CN118611703B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of intelligent detection technology, and in particular to a data line conducted electromagnetic interference detection method, system, device and medium thereof. Background Art
[0002] Data transmission speed and efficiency have become important indicators for measuring the performance of a data line. However, in the process of high-speed data transmission, electromagnetic interference (EMI) has become an issue that cannot be ignored. Especially under the promotion of Gigabit and even 10 Gigabit Ethernet technology, data lines are not only required to have higher transmission performance, but also have to face the increasingly serious problems of electromagnetic radiation and electromagnetic interference.
[0003] In relevant scenarios, when data lines transmit data, they often only focus on the integrity and accuracy of the data, while ignoring the potential impact of the external environment on data transmission. However, in actual applications, the complexity of the environment in which the data lines are located makes electromagnetic interference inevitable. Electromagnetic interference may not only cause data transmission delays and packet loss, but may even cause equipment failures, seriously affecting the stability and reliability of the system. Summary of the invention
[0004] The purpose of the present invention is to provide a data line conducted electromagnetic interference detection method, system, device and medium thereof, aiming to solve the technical problem that it is difficult to accurately detect whether the data line is subject to electromagnetic interference in related scenarios.
[0005] In order to achieve the above-mentioned object, a first aspect of an embodiment of the present disclosure provides a method for detecting electromagnetic interference conducted by a data line, the method comprising:
[0006] In response to the data conduction action of the data line, in the case of conducting the target conduction data signal, obtaining a first target conduction data signal that needs to be conducted and a first environment sensing signal outside the data line at a first data line interface of the data line for receiving data sent by a first external device, and in the case of cutting off the target conduction data signal, obtaining a second environment sensing signal outside the data line;
[0007] determining a first conduction signal according to the first target conduction data signal, the first environment perception signal, and the second environment perception signal;
[0008] In the case of transmitting the target conducted data signal, acquiring, at a second data line interface of the data line for sending data to a second external device, a received second target conducted data signal and a third environment sensing signal outside the data line, and in the case of cutting off the target conducted data signal, acquiring a fourth environment sensing signal outside the data line;
[0009] determining a second conduction signal according to the second target conduction data signal, the third environment perception signal, and the fourth environment perception signal;
[0010] According to the first conduction signal and the second conduction signal, it is determined whether the target conduction data signal is subject to electromagnetic interference to obtain an electromagnetic interference detection result.
[0011] In a possible implementation manner, determining the first conducted signal according to the first target conducted data signal, the first environment perception signal, and the second environment perception signal includes:
[0012] performing typical pulse peak extraction on the first target conducted data signal, generating a first pulse peak representation of the first target conducted data signal by using the extracted typical pulse peak, and performing typical pulse peak extraction on the first environment perception signal, generating a second pulse peak representation of the first environment perception signal by using the extracted typical pulse peak;
[0013] Generate a first time interval characteristic between the first pulse peak value representation in the first target conducted data signal and the second pulse peak value representation in the first environment sensing signal according to the time characteristic spectrum of the first pulse peak value representation and the time characteristic spectrum of the second pulse peak value representation;
[0014] performing typical pulse peak extraction on the second environment perception signal, and generating a third pulse peak representation of the second environment perception signal by using the extracted typical pulse peak;
[0015] Generate a second time interval characteristic between the first pulse peak representation in the first target conducted data signal and the second pulse peak representation in the second environment sensing signal according to the time characteristic spectrum of the first pulse peak representation and the time characteristic spectrum of the third pulse peak representation;
[0016] According to the first time interval feature and the second time interval feature, it is determined whether the typical pulse peak value of the first target conducted data signal undergoes an electromagnetic interference mutation, and according to the result of whether the typical pulse peak value of the first target conducted data signal undergoes an electromagnetic interference mutation, a first conducted signal is determined.
[0017] In a possible implementation, generating a first time interval feature between the first pulse peak representation in the first target conducted data signal and the second pulse peak representation in the first environmental perception signal according to the time feature spectrum of the first pulse peak representation and the time feature spectrum of the second pulse peak representation includes:
[0018] According to the occurrence time of each first pulse peak representation represented by the time characteristic graph of the first pulse peak representation and the occurrence time of each second pulse peak representation represented by the time characteristic graph of the second pulse peak representation, marking the occurrence time of the first pulse peak representation and the occurrence time of the second pulse peak representation on the same time axis respectively;
[0019] Calculating the cumulative sum of the difference between the appearance time of the first pulse peak value representation and the appearance time of the second pulse peak value representation on each of the time axes, to obtain a cumulative sum sequence of the time difference between the first pulse peak value representation in the first target conducted data signal and the second pulse peak value representation in the first environment perception signal;
[0020] The accumulated sum sequence of time differences is used as a first time interval characteristic between the first pulse peak representation in the first target conducted data signal and the second pulse peak representation in the first environmental sensing signal.
[0021] In a possible implementation, determining whether the typical pulse peak value of the first target conducted data signal undergoes an electromagnetic interference mutation according to the first time interval feature and the second time interval feature includes:
[0022] Taking the first time interval feature as a standard, compressing and expanding the second time interval feature so that the second time interval feature after compressing and expanding has the same length as the first time interval feature;
[0023] Querying whether the first time interval feature and the second time interval feature after compression and expansion have a minimum cumulative distance measurement on the path;
[0024] similarity between the first time interval feature and the second time interval feature according to the minimum cumulative distance metric;
[0025] According to the magnitude relationship between the similarity and a preset similarity threshold, it is determined whether the typical pulse peak value of the first target conducted data signal undergoes an electromagnetic interference mutation.
[0026] In a possible implementation, determining the first conduction signal according to the result of whether the typical pulse peak value of the first target conduction data signal has an electromagnetic interference mutation includes:
[0027] When the result indicates that the typical pulse peak value of the first target conducted data signal undergoes a sudden electromagnetic interference change, synthesizing the first target conducted data signal and the first environment sensing signal, taking a synthesized signal as the first conducted signal;
[0028] When the result indicates that no electromagnetic interference mutation occurs to the typical pulse peak value of the first target conducted data signal, the first target conducted data signal is used as the first conducted signal.
[0029] In a possible implementation, judging whether the target conducted data signal is subjected to electromagnetic interference according to the first conducted signal and the second conducted signal to obtain an electromagnetic interference detection result includes:
[0030] Calculating a frequency mean, a peak mean, and a valley mean of the first conduction signal, and calculating a frequency mean, a peak mean, and a valley mean of the second conduction signal;
[0031] Calculating the frequency Pearson correlation coefficient of the first conduction signal and the second conduction signal according to the signal frequency in the first conduction signal and the corresponding frequency mean, and the signal frequency in the second conduction signal and the corresponding frequency mean;
[0032] Calculating a peak Pearson correlation coefficient of the first conduction signal and the second conduction signal according to a signal peak value and a corresponding peak mean value in the first conduction signal, and a signal peak value and a corresponding peak mean value in the second conduction signal;
[0033] Calculating the valley value Pearson correlation coefficient of the first conduction signal and the second conduction signal according to the valley value of the first conduction signal and the corresponding valley value mean, and the valley value of the second conduction signal and the corresponding valley value mean;
[0034] According to the frequency Pearson correlation coefficient, the peak Pearson correlation coefficient, the valley Pearson correlation coefficient and preset thresholds of corresponding coefficients, it is determined whether the target conducted data signal is subject to electromagnetic interference to obtain an electromagnetic interference detection result.
[0035] According to a second aspect of the embodiments of the present disclosure, a data line conducted electromagnetic interference detection system is provided, comprising:
[0036] A first acquisition module is configured to, in response to the data conduction action of the data line, acquire, at a first data line interface of the data line for receiving data sent by a first external device, a first target conduction data signal that needs to be conducted and a first environment perception signal outside the data line in response to the data conduction action of the data line when the target conduction data signal is conducted, and acquire, at a first data line interface of the data line for receiving data sent by a first external device, a second environment perception signal outside the data line when the target conduction data signal is cut off;
[0037] A first determining module is configured to determine a first conduction signal according to the first target conduction data signal, the first environment perception signal, and the second environment perception signal;
[0038] a second acquisition module, configured to acquire, at a second data line interface of the data line used to send data to a second external device, a received second target conduction data signal and a third environment sensing signal outside the data line when the target conduction data signal is conducted, and to acquire, at a second data line interface of the data line used to send data to a second external device, a fourth environment sensing signal outside the data line when the target conduction data signal is cut off;
[0039] A second determination module is configured to determine a second conduction signal according to the second target conduction data signal, the third environment perception signal and the fourth environment perception signal;
[0040] The judging module is configured to judge whether the target conducted data signal is subjected to electromagnetic interference according to the first conducted signal and the second conducted signal, so as to obtain an electromagnetic interference detection result.
[0041] In a possible implementation manner, the first determining module is configured to:
[0042] performing typical pulse peak extraction on the first target conducted data signal, generating a first pulse peak representation of the first target conducted data signal by using the extracted typical pulse peak, and performing typical pulse peak extraction on the first environment perception signal, generating a second pulse peak representation of the first environment perception signal by using the extracted typical pulse peak;
[0043] Generate a first interval duration between the first pulse peak representation in the first target conduction data signal and the second pulse peak representation in the first environment perception signal according to the time characteristic spectrum of the first pulse peak representation and the time characteristic spectrum of the second pulse peak representation;
[0044] performing typical pulse peak extraction on the second environment perception signal, and generating a third pulse peak representation of the second environment perception signal by using the extracted typical pulse peak;
[0045] Generate a second interval duration between the first pulse peak representation in the first target conducted data signal and the second pulse peak representation in the second environment sensing signal according to the time characteristic spectrum of the first pulse peak representation and the time characteristic spectrum of the third pulse peak representation;
[0046] According to the first time interval feature and the second time interval feature, it is determined whether the typical pulse peak value of the first target conducted data signal undergoes an electromagnetic interference mutation, and according to the result of whether the typical pulse peak value of the first target conducted data signal undergoes an electromagnetic interference mutation, a first conducted signal is determined.
[0047] According to a third aspect of the present disclosure, an electronic device is provided, including:
[0048] Microcontroller;
[0049] a memory for storing instructions executable by the microcontroller;
[0050] The microcontroller is configured to execute executable instructions stored in the memory to perform the method described in any one of the first aspects.
[0051] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which computer program instructions are stored, and when the program instructions are executed by a processor, the steps of any one of the methods described in the first aspect are implemented.
[0052] The present invention provides a data line conducted electromagnetic interference detection method, system, device and medium thereof. Compared with the prior art, it has the following beneficial effects:
[0053] According to the acquired first target transmission data signal, the first environment perception signal and the second environment perception signal, combined with the second target transmission data signal, the third environment perception signal and the fourth environment perception signal, the present invention can accurately determine whether the target transmission data signal is subject to electromagnetic interference. The actual situation of data transmission and changes in the external environment are comprehensively considered to improve the accuracy and reliability of the judgment. In addition, by real-time perception of the environment and accurate judgment of electromagnetic interference, potential electromagnetic interference problems can be discovered and dealt with in a timely manner during data transmission, thereby effectively ensuring the stability and security of data transmission.
[0054] Other features and advantages of the present disclosure will be described in detail in the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] The accompanying drawings are used to provide a further understanding of the present disclosure and constitute a part of the specification. Together with the following specific embodiments, they are used to explain the present disclosure but do not constitute a limitation of the present disclosure. In the accompanying drawings:
[0056] Figure 1 It is a flow chart of a method for detecting electromagnetic interference conducted by a data line according to an embodiment of the specification.
[0057] Figure 2 It is a block diagram of a data line conducted electromagnetic interference detection system shown in an embodiment of the specification. DETAILED DESCRIPTION
[0058] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0059] The specific implementation of the present disclosure is described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation described herein is only used to illustrate and explain the present disclosure, and is not used to limit the present disclosure.
[0060] In order to achieve the above object, the present disclosure provides a data line conducted electromagnetic interference detection method. Figure 1 This is a flow chart of a method for detecting electromagnetic interference conducted by a data line according to an embodiment. Applied to a wireless routing device, the method includes:
[0061] In step S11, in response to the data conduction action of the data line, in the case of conducting the target conduction data signal, a first target conduction data signal required to be conducted and a first environment sensing signal outside the data line are obtained at a first data line interface of the data line for receiving data sent by a first external device, and in the case of cutting off the target conduction data signal, a second environment sensing signal outside the data line is obtained;
[0062] Among them, the target conduction data signal is the main data signal transmitted in the data line and is the core content of data transmission. The data line interface is a physical interface used to connect external devices to the data line for data transmission. The environmental perception signal is the external environmental information obtained by specific sensors, such as electromagnetic field strength.
[0063] In the disclosed embodiment, when the data line starts to transmit data (i.e., the data transmission action starts), the system will capture the target transmission data signal on the interface (i.e., the first data line interface) that receives data sent by the first external device (such as a computer). At the same time, the system will obtain the state information of the external environment of the data line through the built-in sensor as the first environment perception signal. The system will actively pause or interrupt the target transmission data signal, continue to monitor and obtain the second environment perception signal, and analyze the changes in the environment outside the data line.
[0064] For example: When a USB data cable is used to connect a mobile phone and a computer for file transfer, the USB interface is the data cable interface. During the file transfer process, the data cable captures the transferred file data (target conduction data signal) and senses the surrounding electromagnetic field strength (first environment perception signal). After interrupting the target conduction data signal, the data cable senses the environment and obtains the second environment perception signal.
[0065] In step S12, a first conduction signal is determined according to the first target conduction data signal, the first environment perception signal, and the second environment perception signal;
[0066] In the disclosed embodiment, based on the captured first target conducted data signal, the first environment perception signal and the second environment perception signal, the system will process these signals comprehensively through a specific algorithm or logic to generate a first conducted signal containing data transmission status and environment information. This signal will provide an important basis for subsequent electromagnetic interference judgment.
[0067] For example: the system will comprehensively process the captured file data (first target conduction data signal), electromagnetic field strength (first environment perception signal) and environmental data after disconnection (second environment perception signal), such as signal time synchronization, noise removal, and signal synthesis, to form a conduction signal containing information such as file transfer status and electromagnetic field changes.
[0068] In step S13, when the target conduction data signal is conducted, the received second target conduction data signal and the third environment sensing signal outside the data line are obtained at the second data line interface of the data line for sending data to the second external device, and when the target conduction data signal is cut off, the fourth environment sensing signal outside the data line is obtained;
[0069] In the embodiment of the present disclosure, when the data line sends data to the second external device (such as a printer), the system captures the received second target conduction data signal on the interface for sending data (i.e., the second data line interface), and simultaneously obtains the third environment perception signal outside the data line. If the data conduction is suspended or interrupted, the system will continue to obtain the fourth environment perception signal.
[0070] For example: When the USB data cable sends a print task to the printer, the print data received by the printer is the second target conduction data signal. At the same time, the data cable will sense the electromagnetic field strength around the printer (the third environment perception signal). Actively disconnect or interrupt the target conduction data signal, and the data cable continues to sense the environment (the fourth environment perception signal).
[0071] In step S14, a second conduction signal is determined according to the second target conduction data signal, the third environment perception signal and the fourth environment perception signal;
[0072] Similarly, in the embodiment of the present disclosure, based on the captured second target conducted data signal, the third environment perception signal and the fourth environment perception signal, the system will comprehensively process these signals through a specific algorithm or logic to generate a second conducted signal containing data transmission status and environment information. This signal will provide an important basis for subsequent electromagnetic interference judgment.
[0073] For example: the system will comprehensively process the captured file data (the second target conducted data signal), electromagnetic field strength (the third environmental perception signal) and environmental data after disconnection (the fourth environmental perception signal), such as signal time synchronization, noise removal, and signal synthesis, to form a conducted signal containing information such as file transfer status and electromagnetic field changes.
[0074] In step S15, whether the target conducted data signal is subjected to electromagnetic interference is determined according to the first conducted signal and the second conducted signal to obtain an electromagnetic interference detection result.
[0075] Among them, electromagnetic interference can refer to the adverse effects of electromagnetic fields on data transmission, which may cause data transmission errors or interruptions. The test result is the conclusion or result drawn based on analysis and judgment.
[0076] In the embodiment of the present disclosure, the system determines whether the target conducted data signal is subjected to electromagnetic interference by comparing and analyzing the data transmission status, environmental information, and possible interference factors in the first conducted signal and the second conducted signal generated in step S12 and step S14. If electromagnetic interference is detected, the system generates an electromagnetic interference detection result including information such as the interference type, degree, and location.
[0077] For example: If the system analysis finds that the electromagnetic field strength changes in the first and second conducted signals are abnormal and are related to data transmission errors or interruptions, the system will determine that the target conducted data signal is subject to electromagnetic interference and generate a detailed electromagnetic interference detection result.
[0078] The above technical means can accurately determine whether the target conduction data signal is subject to electromagnetic interference based on the acquired first target conduction data signal, the first environment perception signal and the second environment perception signal, combined with the second target conduction data signal, the third environment perception signal and the fourth environment perception signal. The actual situation of data transmission and changes in the external environment are comprehensively considered to improve the accuracy and reliability of the judgment. In addition, by perceiving the environment in real time and accurately judging electromagnetic interference, potential electromagnetic interference problems can be discovered and dealt with in a timely manner during data transmission, thereby effectively ensuring the stability and security of data transmission.
[0079] In a possible implementation, in step S12, determining a first conduction signal according to the first target conduction data signal, the first environment perception signal, and the second environment perception signal includes:
[0080] In step S121, typical pulse peak values are extracted from the first target conducted data signal, and a first pulse peak value representation of the first target conducted data signal is generated by the extracted typical pulse peak values, and typical pulse peak values are extracted from the first environment perception signal, and a second pulse peak value representation of the first environment perception signal is generated by the extracted typical pulse peak values;
[0081] In the disclosed embodiment, when the laptop sends a file to the printer via the data line (although the printer does not receive it at this moment, the data line is in transmission), the data signal on the data line (i.e., the first target conducted data signal) and the external environment signal (i.e., the first environment perception signal) will be monitored. The system will perform pulse peak extraction on these signals, that is, find the high peak point in the signal. For example, when a data packet in the data signal is transmitted, an obvious pulse peak will be generated. At the same time, when there is an external electromagnetic interference source, the environment perception signal will also generate a pulse peak.
[0082] By extracting typical pulse peaks of the first target conducted data signal and the first environmental sensing signal, the system can accurately capture the key change points in the data signal and the environmental signal. These pulse peaks not only represent the peak of the signal strength, but also reflect the characteristics of signal transmission and possible interference sources.
[0083] In step S122, a first time interval characteristic between the first pulse peak representation in the first target conduction data signal and the second pulse peak representation in the first environment perception signal is generated according to the time characteristic spectrum of the first pulse peak representation and the time characteristic spectrum of the second pulse peak representation;
[0084] In the disclosed embodiment, the system compares the pulse peak value in the data signal (represented by the first pulse peak value) with the pulse peak value in the environmental perception signal (represented by the second pulse peak value). It checks the time points when these pulse peak values appear and generates a time interval characteristic spectrum. For example, if a pulse peak value of the data signal is followed by a pulse peak value of the environmental perception signal, then the time interval between the two pulse peak values is very short, which may indicate electromagnetic interference. A time characteristic spectrum is generated based on the extracted pulse peak values, and the time interval characteristics between the pulse peak value of the data signal and the pulse peak value of the environmental perception signal are calculated. This step ensures the accuracy of electromagnetic interference judgment, because electromagnetic interference usually causes abnormal time intervals between data signals and environmental signals.
[0085] In step S123, a typical pulse peak value is extracted from the second environment perception signal, and a third pulse peak value representation of the second environment perception signal is generated by the extracted typical pulse peak value;
[0086] In the disclosed embodiment, when data transmission stops (such as when the laptop is disconnected or transmission is paused), the data line continues to monitor the external environment signal (i.e., the second environment sensing signal). The system also extracts the pulse peak value of this signal to find the environmental pulse peak values when there is no data transmission.
[0087] In step S124, a second time interval characteristic between the first pulse peak representation in the first target conducted data signal and the second pulse peak representation in the second environment sensing signal is generated according to the time characteristic spectrum of the first pulse peak representation and the time characteristic spectrum of the third pulse peak representation;
[0088] In the disclosed embodiment, the pulse peak value during data transmission (represented by the first pulse peak value) is compared with the environmental pulse peak value during no data transmission (represented by the third pulse peak value). The system generates a time interval characteristic spectrum between the two pulse peak values. This time interval may be longer because they are pulse peak values in different time periods.
[0089] In step S125, it is determined whether the typical pulse peak value of the first target conducted data signal undergoes an electromagnetic interference mutation according to the first time interval characteristics and the second time interval characteristics, and a first conducted signal is determined according to the result of whether the typical pulse peak value of the first target conducted data signal undergoes an electromagnetic interference mutation.
[0090] In the disclosed embodiment, based on the above two time interval characteristics, the system can now determine whether electromagnetic interference occurs during data transmission. If the time interval between the pulse peak in the data signal and the pulse peak in the environmental perception signal is very short, and this interval is significantly different from the time interval when there is no data transmission, then the system will determine that electromagnetic interference is caused during data transmission. Based on this judgment result, the system will generate a first conduction signal, which contains information such as data transmission status, environmental status, and electromagnetic interference. This conduction signal will be used for subsequent analysis and judgment.
[0091] In steps S122 and S124, the system has calculated the time interval characteristics between the pulse peaks of the data signal when it is transmitted (with the first environment sensing signal) and when it is not transmitted (with the second environment sensing signal). These two time interval characteristics represent the time characteristics of the data signal under normal conditions and under conditions that may be subject to electromagnetic interference.
[0092] In step S125, the system compares the two time interval characteristics. If there is a significant difference between the time interval characteristics between the data signal and the environmental perception signal when it is transmitted and the time interval characteristics when it is not transmitted, the system will believe that the data signal may have been subjected to electromagnetic interference during transmission. By comparing different time interval characteristics, the system can identify such mutations. For example, if the time interval between the data signal and the environmental perception signal suddenly shortens at a certain moment, the system will believe that an electromagnetic interference mutation has occurred at this moment.
[0093] The first conducted signal contains not only the state information of data transmission, but also the environmental perception information and electromagnetic interference. This enables subsequent analysis and judgment to be based on more comprehensive and accurate data, thereby improving the stability and reliability of the entire data transmission system. By comparing the time interval characteristics between the data signal and the environmental perception signal when it is transmitted and not transmitted, it is possible to reliably determine whether the data signal is subject to electromagnetic interference. This judgment method based on time interval characteristics improves the sensitivity and accuracy of electromagnetic interference detection. It is able to dynamically monitor and analyze the electromagnetic interference during data line transmission. This enables the system to detect and respond to electromagnetic interference in a timely manner, ensuring the continuity and stability of data transmission.
[0094] Similarly, in the present disclosure, the second conduction signal is determined by the same technical principle as the first conduction signal. The present disclosure uses the determination of the first conduction signal as an example for explanation, and the principle and process of determining the second conduction signal are not repeated.
[0095] In a possible implementation, in step S122, generating a first time interval feature between the first pulse peak representation in the first target conducted data signal and the second pulse peak representation in the first environmental perception signal according to the time feature spectrum of the first pulse peak representation and the time feature spectrum of the second pulse peak representation includes:
[0096] In step S1221, according to the occurrence time of each first pulse peak represented by the time characteristic graph of the first pulse peak represented and the occurrence time of each second pulse peak represented by the time characteristic graph of the second pulse peak represented, the occurrence time of the first pulse peak represented and the occurrence time of the second pulse peak represented are marked on the same time axis respectively;
[0097] Among them, the time characteristic spectrum is used for the graphical or data representation of the pulse peak value changing over time. It is often used to show the time distribution and pattern of events in the signal.
[0098] Among them, the pulse peaks are extracted respectively. These pulse peaks are used to represent key events in the signal. The system will mark the occurrence time of each pulse peak in the data signal (represented by the first pulse peak) on a common time axis, and also mark the occurrence time of each pulse peak in the environmental signal (represented by the second pulse peak). In this way, the position and distribution of the pulse peaks in the two signals can be clearly seen on the time axis.
[0099] In step S1222, the cumulative sum of the difference between the appearance time of the adjacent first pulse peak representation and the appearance time of the second pulse peak representation on each of the time axes is calculated to obtain a cumulative sum sequence of the time difference between the first pulse peak representation in the first target conducted data signal and the second pulse peak representation in the first environmental perception signal;
[0100] In the disclosed embodiment, the system starts to compare the time points at which the pulse peaks in the data signal and the ambient signal appear. The system calculates the time difference between each pair of data signal pulse peaks and ambient signal pulse peaks, and accumulates these time differences. In this way, a time difference value accumulation and sequence can be obtained, which reflects the relative time offset of the data signal pulse peak relative to the ambient signal pulse peak.
[0101] It can be understood that the cumulative sum means starting from the first time difference, calculating the sum of the first time difference and the second time difference, and then calculating the sum of the previous time difference and the next time difference in sequence to obtain a time difference cumulative sum sequence.
[0102] In step S1223, the time difference accumulation and sequence is used as a first time interval feature between the first pulse peak representation in the first target conducted data signal and the second pulse peak representation in the first environmental sensing signal.
[0103] In the disclosed embodiment, after the cumulative sum calculation, the system obtains a complete time difference cumulative sum sequence. This time difference cumulative sum sequence is the first time interval feature to be found. It describes the time interval relationship between the pulse peak value of the data signal and the pulse peak value of the ambient signal during the transmission process. By analyzing this time interval feature, it can be determined whether the data signal is subject to electromagnetic interference and the degree of interference.
[0104] By extracting the pulse peaks of the data signal and the environmental signal, marking their positions on the time axis, and then calculating the cumulative sum of the time differences between them, the time interval characteristics between the data signal and the environmental signal during transmission are obtained. This characteristic can reflect the degree of electromagnetic interference detection.
[0105] In a possible implementation, in step S125, determining whether an electromagnetic interference mutation occurs to the typical pulse peak value of the first target conducted data signal according to the first time interval characteristic and the second time interval characteristic includes:
[0106] In step S1251, the second time interval feature is compressed and expanded based on the first time interval feature, so that the second time interval feature after compression and expansion has the same length as the first time interval feature;
[0107] Among them, compression and expansion processing is a nonlinear transformation, which is usually used to adjust the dynamic range of the signal. In this context, compression and expansion processing is used to adjust the length of the second time interval feature to make it the same as the length of the first time interval feature.
[0108] In the disclosed embodiment, the system first obtains the first time interval characteristic (recorded as A) between the data signal and the environment perception signal when it is transmitted, and the second time interval characteristic (recorded as B) between the data signal and the environment perception signal when it is not transmitted. Since the lengths of A and B may be different, the system needs to compress and expand B. Through the compress and expand processing, the system adjusts the length of B to be the same as A, and obtains the second time interval characteristic after compressing and expanding (recorded as B').
[0109] In step S1252, querying whether the interval feature on the path between the first time interval feature and the second time interval feature after compression and expansion has the minimum cumulative distance measurement;
[0110] In the disclosed embodiments, a cumulative distance metric (such as dynamic time warping, DTW) is a method for measuring the similarity between two sequences. It overcomes the problem of sequence length and rate variation by allowing nonlinear time alignment between sequences.
[0111] In the disclosed embodiment, after obtaining A and B', the system needs to compare the similarity between the two time interval features. The system uses a cumulative distance metric (such as DTW) to calculate the similarity between A and B'. It allows nonlinear alignment of A and B' on the time axis to find the minimum cumulative distance metric between them.
[0112] In step S1253, the similarity between the first time interval feature and the second time interval feature is measured according to the minimum cumulative distance;
[0113] In the disclosed embodiment, based on the minimum cumulative distance metric obtained in the previous step, the system can calculate the similarity between A and B'. The system uses an appropriate similarity calculation formula (such as similarity calculation based on DTW distance) to obtain the similarity value between A and B' according to the minimum cumulative distance metric.
[0114] In step S1254, it is determined whether an electromagnetic interference mutation occurs in the typical pulse peak value of the first target conductive data signal according to the magnitude relationship between the similarity and a preset similarity threshold.
[0115] In the disclosed embodiment, the system now has the similarity value between A and B', and needs to compare it with the preset similarity threshold to determine whether the typical pulse peak value of the data signal has undergone an electromagnetic interference mutation. The system checks whether the similarity value is lower than the preset similarity threshold. If the similarity value is lower than the threshold, the system considers that the typical pulse peak value of the data signal has undergone an electromagnetic interference mutation; otherwise, it is considered that no electromagnetic interference mutation has occurred.
[0116] Through compression and expansion processing, cumulative distance measurement and similarity calculation, the time interval characteristics between the data signal and the environmental perception signal when it is transmitted and when it is not transmitted are compared. Based on these comparison results, the system can accurately determine whether the typical pulse peak of the data signal has undergone electromagnetic interference mutation, and thus take corresponding measures to ensure the stability and reliability of data transmission.
[0117] In a possible implementation, in step S125, determining the first conduction signal according to the result of whether the typical pulse peak value of the first target conduction data signal has an electromagnetic interference mutation includes:
[0118] When the result indicates that the typical pulse peak value of the first target conducted data signal undergoes a sudden electromagnetic interference change, synthesizing the first target conducted data signal and the first environment sensing signal, taking a synthesized signal as the first conducted signal;
[0119] Among them, electromagnetic interference mutation can refer to the electromagnetic interference phenomenon that suddenly appears in the electromagnetic environment, which may cause the quality of data transmission to deteriorate or be interrupted. During the signal transmission process, if the typical pulse peak value of the data signal changes significantly, it may mean that electromagnetic interference mutation has occurred.
[0120] Combining two or more signals according to a certain rule or algorithm to generate a new signal. In this context, signal synthesis may involve some form of superposition or combination of the first target conducted data signal and the first environmental perception signal to generate a synthetic signal containing more information.
[0121] In the disclosed embodiment, the system detects that a significant electromagnetic interference mutation has occurred in the typical pulse peak value of the first target conducted data signal. This means that the electromagnetic environment may have an adverse effect on data transmission. In order to more fully understand the current electromagnetic environment and data transmission status, the system synthesizes the first target conducted data signal with the first environmental perception signal. Signal synthesis may involve superimposing or combining two signals according to a certain rule to generate a synthetic signal containing data information and environmental perception information. This synthetic signal is used as the first conducted signal for subsequent data processing or transmission.
[0122] When the result indicates that no electromagnetic interference mutation occurs to the typical pulse peak value of the first target conducted data signal, the first target conducted data signal is used as the first conducted signal.
[0123] In the disclosed embodiment, the system detects that the typical pulse peak value of the first target conducted data signal does not undergo a sudden change in electromagnetic interference. This means that the data signal is being transmitted normally and is not significantly affected by the electromagnetic environment. In this case, the system directly uses the first target conducted data signal as the first conducted signal. This is because the data signal itself already contains the information to be transmitted and is not affected by electromagnetic interference. Therefore, no additional signal synthesis or processing is required.
[0124] In the disclosed embodiment, the first conducted signal may be the original data signal (if no electromagnetic interference mutation occurs), or it may be a new signal after signal synthesis (if an electromagnetic interference mutation occurs). The first conducted signal is determined based on whether an electromagnetic interference mutation occurs in the typical pulse peak value of the first target conducted data signal. If an electromagnetic interference mutation occurs, the system will generate a synthetic signal containing more information as the first conducted signal through signal synthesis; if no electromagnetic interference mutation occurs, the first target conducted data signal will be directly used as the first conducted signal. This flexible signal processing method helps the system maintain the stability and reliability of data transmission in different electromagnetic environments.
[0125] In a possible implementation, in step S15, judging whether the target conducted data signal is subjected to electromagnetic interference according to the first conducted signal and the second conducted signal to obtain an electromagnetic interference detection result includes:
[0126] In step S151, the frequency mean, peak mean and valley mean of the first conduction signal are calculated, and the frequency mean, peak mean and valley mean of the second conduction signal are calculated;
[0127] Among them, the frequency mean refers to the average of all frequency values in the transmission signal, which is usually used to describe the central trend of the signal frequency distribution. The peak mean refers to the average of all peaks (i.e., the highest point of the signal) in the transmission signal, which is used to describe the general level of the signal peak. The valley mean refers to the average of all valleys (i.e., the lowest point of the signal) in the transmission signal, which is used to describe the general level of the signal valley.
[0128] In the disclosed embodiment, the system traverses the frequency, peak value and valley value of each conduction signal and calculates their average value.
[0129] In step S152, the frequency Pearson correlation coefficient of the first conduction signal and the second conduction signal is calculated according to the signal frequency and the corresponding frequency mean in the first conduction signal, and the signal frequency and the corresponding frequency mean in the second conduction signal;
[0130] In the disclosed embodiment, the system calculates the frequency Pearson correlation coefficient of two conducted signals to evaluate their correlation in frequency distribution. The system pairs the frequency values of the two conducted signals and calculates their Pearson correlation coefficient. This coefficient will indicate the degree of similarity of the two signals in frequency distribution.
[0131] In step S153, the peak Pearson correlation coefficient of the first conduction signal and the second conduction signal is calculated according to the signal peak value and the corresponding peak mean value in the first conduction signal, and the signal peak value and the corresponding peak mean value in the second conduction signal;
[0132] In the disclosed embodiment, the system calculates the peak Pearson correlation coefficient of two transmission signals to evaluate their correlation in peak distribution. The system pairs the peak values of the two transmission signals and calculates their Pearson correlation coefficient. This coefficient will indicate the similarity of the two signals in peak distribution.
[0133] In step S154, the valley Pearson correlation coefficients of the first conduction signal and the second conduction signal are calculated according to the valley values of the first conduction signal and the corresponding valley mean values, and the valley values of the second conduction signal and the corresponding valley mean values;
[0134] In the disclosed embodiment, the system calculates the valley Pearson correlation coefficient of two transmission signals to evaluate their correlation in valley distribution. The system pairs the valleys of two transmission signals and calculates their Pearson correlation coefficient. This coefficient will indicate the similarity of the two signals in valley distribution.
[0135] In step S155, whether the target conducted data signal is subject to electromagnetic interference is determined according to the frequency Pearson correlation coefficient, the peak Pearson correlation coefficient, the valley Pearson correlation coefficient and preset thresholds of corresponding coefficients to obtain an electromagnetic interference detection result.
[0136] In the disclosed embodiment, based on the calculated frequency Pearson correlation coefficient, peak Pearson correlation coefficient and valley Pearson correlation coefficient, the system starts to determine whether the target conduction data signal is subject to electromagnetic interference. The system compares each correlation coefficient with the corresponding preset threshold. If the value of one or all correlation coefficients is lower than the preset threshold, the system considers that the target conduction data signal may be subject to electromagnetic interference and outputs the corresponding electromagnetic interference detection result. If the values of all correlation coefficients are higher than the preset threshold, the system considers that the target conduction data signal is not subject to electromagnetic interference.
[0137] By calculating the frequency mean, peak mean and valley mean of the first and second conducted signals, as well as the frequency, peak and valley Pearson correlation coefficients between them, it is possible to evaluate whether the target conducted data signal is subject to electromagnetic interference. This method comprehensively considers multiple features of the signal and improves the accuracy and reliability of electromagnetic interference detection.
[0138] The present disclosure also provides a data line conducted electromagnetic interference detection system. Figure 2 As shown, it includes: a first acquisition module 210, a first determination module 220, a second acquisition module 230, a second determination module 240 and a judgment module 250.
[0139] The first acquisition module 210 is configured to, in response to the data conduction action of the data line, acquire, at a first data line interface of the data line for receiving data sent by a first external device, a first target conduction data signal that needs to be conducted and a first environment perception signal outside the data line in response to the data conduction action of the data line when the target conduction data signal is conducted, and acquire, at a first data line interface of the data line for receiving data sent by a first external device, a second environment perception signal outside the data line when the target conduction data signal is cut off;
[0140] A first determination module 220 is configured to determine a first conduction signal according to the first target conduction data signal, the first environment perception signal, and the second environment perception signal;
[0141] The second acquisition module 230 is configured to acquire, at a second data line interface for transmitting data to a second external device on the data line, a received second target conduction data signal and a third environment sensing signal outside the data line when the target conduction data signal is conducted, and acquire, at a fourth environment sensing signal outside the data line when the target conduction data signal is cut off;
[0142] A second determination module 240 is configured to determine a second conduction signal according to the second target conduction data signal, the third environment perception signal and the fourth environment perception signal;
[0143] The determination module 250 is configured to determine whether the target conducted data signal is subjected to electromagnetic interference according to the first conducted signal and the second conducted signal, so as to obtain an electromagnetic interference detection result.
[0144] In a possible implementation, the first determining module 220 is configured to:
[0145] performing typical pulse peak extraction on the first target conducted data signal, generating a first pulse peak representation of the first target conducted data signal by using the extracted typical pulse peak, and performing typical pulse peak extraction on the first environment perception signal, generating a second pulse peak representation of the first environment perception signal by using the extracted typical pulse peak;
[0146] Generate a first interval duration between the first pulse peak representation in the first target conduction data signal and the second pulse peak representation in the first environment perception signal according to the time characteristic spectrum of the first pulse peak representation and the time characteristic spectrum of the second pulse peak representation;
[0147] performing typical pulse peak extraction on the second environment perception signal, and generating a third pulse peak representation of the second environment perception signal by using the extracted typical pulse peak;
[0148] Generate a second interval duration between the first pulse peak representation in the first target conducted data signal and the second pulse peak representation in the second environment sensing signal according to the time characteristic spectrum of the first pulse peak representation and the time characteristic spectrum of the third pulse peak representation;
[0149] According to the first time interval feature and the second time interval feature, it is determined whether the typical pulse peak value of the first target conducted data signal undergoes an electromagnetic interference mutation, and according to the result of whether the typical pulse peak value of the first target conducted data signal undergoes an electromagnetic interference mutation, a first conducted signal is determined.
[0150] In a possible implementation, the first determining module 220 is configured to:
[0151] According to the occurrence time of each first pulse peak representation represented by the time characteristic graph of the first pulse peak representation and the occurrence time of each second pulse peak representation represented by the time characteristic graph of the second pulse peak representation, marking the occurrence time of the first pulse peak representation and the occurrence time of the second pulse peak representation on the same time axis respectively;
[0152] Calculating the cumulative sum of the difference between the appearance time of the first pulse peak value representation and the appearance time of the second pulse peak value representation on each of the time axes, to obtain a cumulative sum sequence of the time difference between the first pulse peak value representation in the first target conducted data signal and the second pulse peak value representation in the first environment perception signal;
[0153] The accumulated sum sequence of time differences is used as a first time interval characteristic between the first pulse peak representation in the first target conducted data signal and the second pulse peak representation in the first environmental sensing signal.
[0154] In a possible implementation, the first determining module 220 is configured to:
[0155] Taking the first time interval feature as a standard, compressing and expanding the second time interval feature so that the second time interval feature after compressing and expanding has the same length as the first time interval feature;
[0156] Querying whether the first time interval feature and the second time interval feature after compression and expansion have a minimum cumulative distance measurement on the path;
[0157] similarity between the first time interval feature and the second time interval feature according to the minimum cumulative distance metric;
[0158] According to the magnitude relationship between the similarity and a preset similarity threshold, it is determined whether the typical pulse peak value of the first target conducted data signal undergoes an electromagnetic interference mutation.
[0159] In a possible implementation, the first determining module 220 is configured to:
[0160] When the result indicates that the typical pulse peak value of the first target conducted data signal undergoes a sudden electromagnetic interference change, synthesizing the first target conducted data signal and the first environment sensing signal, taking a synthesized signal as the first conducted signal;
[0161] When the result indicates that no electromagnetic interference mutation occurs to the typical pulse peak value of the first target conducted data signal, the first target conducted data signal is used as the first conducted signal.
[0162] In a possible implementation, the determination module 250 is configured to:
[0163] Calculating a frequency mean, a peak mean, and a valley mean of the first conduction signal, and calculating a frequency mean, a peak mean, and a valley mean of the second conduction signal;
[0164] Calculating the frequency Pearson correlation coefficient of the first conduction signal and the second conduction signal according to the signal frequency in the first conduction signal and the corresponding frequency mean, and the signal frequency in the second conduction signal and the corresponding frequency mean;
[0165] Calculating a peak Pearson correlation coefficient of the first conduction signal and the second conduction signal according to a signal peak value and a corresponding peak mean value in the first conduction signal, and a signal peak value and a corresponding peak mean value in the second conduction signal;
[0166] Calculating the valley value Pearson correlation coefficient of the first conduction signal and the second conduction signal according to the valley value of the first conduction signal and the corresponding valley value mean, and the valley value of the second conduction signal and the corresponding valley value mean;
[0167] According to the frequency Pearson correlation coefficient, the peak Pearson correlation coefficient, the valley Pearson correlation coefficient and preset thresholds of corresponding coefficients, it is determined whether the target conducted data signal is subject to electromagnetic interference to obtain an electromagnetic interference detection result.
[0168] The present disclosure also provides an electronic device, including:
[0169] Microcontroller;
[0170] a memory for storing instructions executable by the microcontroller;
[0171] The microcontroller is configured to execute executable instructions stored in the memory to perform the method described in any one of the aforementioned embodiments.
[0172] The embodiments of the present disclosure further provide a computer-readable storage medium having computer program instructions stored thereon, which implement the steps of the method described in any one of the aforementioned embodiments when the program instructions are executed by a processor.
[0173] The preferred embodiments of the present disclosure are described in detail above in conjunction with the accompanying drawings; however, the present disclosure is not limited to the specific details in the above embodiments; within the technical concept of the present disclosure, various changes, modifications, substitutions and variations may be made to these embodiments, and these changes, modifications, substitutions and variations all fall within the protection scope of the present disclosure.
[0174] It should also be noted that the various specific technical features described in the above specific embodiments can be combined in any appropriate manner without contradiction, and they should also be regarded as the contents disclosed in this disclosure. In order to avoid unnecessary repetition, this disclosure will not further describe various possible combinations. The technical scope of this application is not limited to the contents in the specification, and its technical scope must be determined according to the scope of the claims.
Claims
1. A method for detecting electromagnetic interference of a data line, characterized in that: The method comprises: In response to the data conduction action of the data line, in the case of conducting the target conduction data signal, obtaining a first target conduction data signal required to be conducted and a first environment sensing signal outside the data line at a first data line interface of the data line for receiving data sent by a first external device, and in the case of cutting off the target conduction data signal, obtaining a second environment sensing signal outside the data line; determining a first conduction signal according to the first target conduction data signal, the first environment perception signal, and the second environment perception signal; In the case of transmitting the target conducted data signal, acquiring, at a second data line interface of the data line for sending data to a second external device, a received second target conducted data signal and a third environment sensing signal outside the data line, and in the case of cutting off the target conducted data signal, acquiring a fourth environment sensing signal outside the data line; determining a second conduction signal according to the second target conduction data signal, the third environment sensing signal, and the fourth environment sensing signal; determining, according to the first conductive signal and the second conductive signal, whether the target conductive data signal is subject to electromagnetic interference, so as to obtain an electromagnetic interference detection result; The determining of the first transmission signal according to the first target transmission data signal, the first environment perception signal and the second environment perception signal includes: performing typical pulse peak extraction on the first target conducted data signal, generating a first pulse peak representation of the first target conducted data signal by using the extracted typical pulse peak, and performing typical pulse peak extraction on the first environment perception signal, generating a second pulse peak representation of the first environment perception signal by using the extracted typical pulse peak; Generate a first time interval characteristic between the first pulse peak value representation in the first target conducted data signal and the second pulse peak value representation in the first environment sensing signal according to the time characteristic spectrum of the first pulse peak value representation and the time characteristic spectrum of the second pulse peak value representation; performing typical pulse peak extraction on the second environment perception signal, and generating a third pulse peak representation of the second environment perception signal by using the extracted typical pulse peak; Generate a second time interval characteristic between the first pulse peak representation in the first target conducted data signal and the second pulse peak representation in the second environment sensing signal according to the time characteristic spectrum of the first pulse peak representation and the time characteristic spectrum of the third pulse peak representation; According to the first time interval feature and the second time interval feature, it is determined whether the typical pulse peak value of the first target conducted data signal undergoes an electromagnetic interference mutation, and according to the result of whether the typical pulse peak value of the first target conducted data signal undergoes an electromagnetic interference mutation, a first conducted signal is determined.
2. The data line conducted electromagnetic interference detection method according to claim 1, characterized in that: The step of generating a first time interval characteristic between the first pulse peak value representation in the first target conducted data signal and the second pulse peak value representation in the first environment sensing signal according to the time characteristic spectrum of the first pulse peak value representation and the time characteristic spectrum of the second pulse peak value representation comprises: According to the occurrence time of each first pulse peak representation represented by the time characteristic graph of the first pulse peak representation and the occurrence time of each second pulse peak representation represented by the time characteristic graph of the second pulse peak representation, marking the occurrence time of the first pulse peak representation and the occurrence time of the second pulse peak representation on the same time axis respectively; Calculating the cumulative sum of the difference between the appearance time of the first pulse peak value representation and the appearance time of the second pulse peak value representation on each of the time axes, to obtain a cumulative sum sequence of the time difference between the first pulse peak value representation in the first target conducted data signal and the second pulse peak value representation in the first environment perception signal; The accumulated sum sequence of time differences is used as a first time interval characteristic between the first pulse peak representation in the first target conducted data signal and the second pulse peak representation in the first environmental sensing signal.
3. The data line conducted electromagnetic interference detection method as claimed in claim 2, characterized in that: The determining, according to the first time interval feature and the second time interval feature, whether the typical pulse peak value of the first target conducted data signal undergoes an electromagnetic interference mutation includes: Taking the first time interval feature as a standard, compressing and expanding the second time interval feature so that the second time interval feature after compressing and expanding has the same length as the first time interval feature; Querying whether the first time interval feature and the second time interval feature after compression and expansion have a minimum cumulative distance measurement on the path; similarity between the first time interval feature and the second time interval feature according to the minimum cumulative distance metric; According to the magnitude relationship between the similarity and a preset similarity threshold, it is determined whether the typical pulse peak value of the first target conducted data signal undergoes an electromagnetic interference mutation.
4. The data line conducted electromagnetic interference detection method according to claim 1, characterized in that: The determining of the first conduction signal according to the result of whether the typical pulse peak value of the first target conduction data signal has an electromagnetic interference mutation includes: When the result indicates that the typical pulse peak value of the first target conducted data signal undergoes a sudden electromagnetic interference change, synthesizing the first target conducted data signal and the first environment sensing signal, taking a synthesized signal as the first conducted signal; When the result indicates that no electromagnetic interference mutation occurs to the typical pulse peak value of the first target conducted data signal, the first target conducted data signal is used as the first conducted signal.
5. The data line conducted electromagnetic interference detection method according to any one of claims 1 to 4, characterized in that: The step of determining, according to the first conductive signal and the second conductive signal, whether the target conductive data signal is subjected to electromagnetic interference to obtain an electromagnetic interference detection result includes: Calculating a frequency mean, a peak mean, and a valley mean of the first conduction signal, and calculating a frequency mean, a peak mean, and a valley mean of the second conduction signal; Calculating the frequency Pearson correlation coefficient of the first conduction signal and the second conduction signal according to the signal frequency in the first conduction signal and the corresponding frequency mean, and the signal frequency in the second conduction signal and the corresponding frequency mean; Calculating a peak Pearson correlation coefficient of the first conduction signal and the second conduction signal according to a signal peak value and a corresponding peak mean value in the first conduction signal, and a signal peak value and a corresponding peak mean value in the second conduction signal; Calculating the valley value Pearson correlation coefficient of the first conduction signal and the second conduction signal according to the valley value of the first conduction signal and the corresponding valley value mean, and the valley value of the second conduction signal and the corresponding valley value mean; According to the frequency Pearson correlation coefficient, the peak Pearson correlation coefficient, the valley Pearson correlation coefficient and preset thresholds of corresponding coefficients, it is determined whether the target conducted data signal is subject to electromagnetic interference to obtain an electromagnetic interference detection result.
6. A data line conducted electromagnetic interference detection system, characterized in that: include: A first acquisition module is configured to, in response to the data conduction action of the data line, acquire a first target conduction data signal requiring conduction and a first environment perception signal outside the data line at a first data line interface of the data line for receiving data sent by a first external device in the case of conducting a target conduction data signal, and acquire a second environment perception signal outside the data line in the case of cutting off the target conduction data signal; A first determining module is configured to determine a first conduction signal according to the first target conduction data signal, the first environment perception signal, and the second environment perception signal; a second acquisition module, configured to acquire, at a second data line interface of the data line used to send data to a second external device, a received second target conduction data signal and a third environment sensing signal outside the data line when the target conduction data signal is conducted, and to acquire, at a second data line interface of the data line used to send data to a second external device, a fourth environment sensing signal outside the data line when the target conduction data signal is cut off; A second determining module is configured to determine a second conduction signal according to the second target conduction data signal, the third environment perception signal and the fourth environment perception signal; a judging module configured to judge whether the target conducted data signal is subjected to electromagnetic interference according to the first conducted signal and the second conducted signal, so as to obtain an electromagnetic interference detection result; Wherein, the first determining module is configured to: performing typical pulse peak extraction on the first target conducted data signal, generating a first pulse peak representation of the first target conducted data signal by using the extracted typical pulse peak, and performing typical pulse peak extraction on the first environment perception signal, generating a second pulse peak representation of the first environment perception signal by using the extracted typical pulse peak; Generate a first time interval characteristic between the first pulse peak value representation in the first target conducted data signal and the second pulse peak value representation in the first environment sensing signal according to the time characteristic spectrum of the first pulse peak value representation and the time characteristic spectrum of the second pulse peak value representation; performing typical pulse peak extraction on the second environment perception signal, and generating a third pulse peak representation of the second environment perception signal by using the extracted typical pulse peak; Generate a second time interval characteristic between the first pulse peak representation in the first target conducted data signal and the second pulse peak representation in the second environment sensing signal according to the time characteristic spectrum of the first pulse peak representation and the time characteristic spectrum of the third pulse peak representation; According to the first time interval feature and the second time interval feature, it is determined whether the typical pulse peak value of the first target conducted data signal undergoes an electromagnetic interference mutation, and according to the result of whether the typical pulse peak value of the first target conducted data signal undergoes an electromagnetic interference mutation, a first conducted signal is determined.
7. An electronic device, characterized in that: include: Microcontroller; a memory for storing instructions executable by the microcontroller; The microcontroller is configured to execute executable instructions stored in the memory to perform the method according to any one of claims 1 to 5.
8. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the program instructions are executed by a processor, the steps of the method described in any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Train key equipment electromagnetic interference test system and method
CN117554717A