Electromagnetic interference detection method and device and nonvolatile storage medium

By combining Fourier transform and phase-locked loop detectors with quasi-peak detectors, the problems of insufficient accuracy and high cost of traditional electromagnetic interference detection technology are solved, and efficient and accurate electromagnetic interference detection is achieved.

CN120971872APending Publication Date: 2025-11-18STATE GRID BEIJING ELECTRIC POWER CO +2
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202511357044.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-09-22
Publication Date
2025-11-18

AI Technical Summary

Technical Problem

Traditional electromagnetic interference detection technologies are insufficient in terms of accuracy and efficiency in power grids and communication systems, and the measurement process is complex and costly.

Method used

The target spectral line is determined by Fourier transform, the signal components are obtained by phase-locked loop detector, and demodulation, filtering and quasi-peak detector are combined. The presence or absence of electromagnetic interference is determined by the transmission mode in the phase-locked loop detector and the signal processing by the quasi-peak detector.

Benefits of technology

It achieves accurate electromagnetic interference detection within a preset frequency range, improving detection accuracy and reducing implementation costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120971872A_ABST
    Figure CN120971872A_ABST
Patent Text Reader

Abstract

The invention discloses an electromagnetic interference detection method and device and a nonvolatile storage medium. The method comprises the following steps: acquiring an initial voltage signal; fourier transform is carried out on the initial voltage signal, and a target spectral line corresponding to the initial voltage signal is determined; the target spectral line is input into a preset phase-locked loop detector, a target signal component is obtained based on a transmission mode in the phase-locked loop detector, and the target signal component comprises amplitude and frequency; demodulating and filtering the target signal component in sequence to obtain a target filtering signal; processing the target filtering signal by adopting a preset quasi-peak value detector to obtain a target voltage quasi-peak value; based on the target voltage quasi-peak value, an interference detection result of the initial voltage signal is determined, and the interference detection result comprises existence of electromagnetic interference or absence of electromagnetic interference. According to the invention, the technical problems of inaccurate measurement result, complex measurement process and high cost of the existing detection technology are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of signal and data analysis technology, and more specifically, to an electromagnetic interference detection method, apparatus, and non-volatile storage medium. Background Technology

[0002] With the rapid development of renewable energy technologies and modern energy-saving equipment, the power quality (PQ) and power line communication (PLC) performance of the power grid have faced unprecedented challenges. Particularly in the 9kHz to 150kHz frequency range, electromagnetic interference (EMI) levels caused by inverter-based electronic devices, such as electric vehicle (EV) chargers, photovoltaic (PV) inverters, modern power supplies, and battery chargers, have increased significantly. These devices generate a series of high-level narrowband emissions at their switching frequencies and harmonics within the 9-150kHz range. Combined with high-level noise up to 150kHz generated by motors or lighting equipment, this constitutes a complex source of interference to the power grid and communication systems. The surge in the number of such devices in the power grid further exacerbates the dual problems of interference frequency and intensity within this specific frequency range.

[0003] Traditional EMI testing techniques, such as those described in CISPR 16-1-2, focus on assessing equipment immunity and emission measurements, but are not optimized for in-situ power quality measurements. This results in testing accuracy and efficiency that fail to meet the demands of modern power grids and communication systems. Furthermore, the need for seamless, high-precision data capture makes traditional methods complex and costly to implement in-situ power quality surveys and measurements.

[0004] There is currently no effective solution to the above problems. Summary of the Invention

[0005] This invention provides an electromagnetic interference detection method, apparatus, and non-volatile storage medium to at least solve the technical problems of current detection technologies having inaccurate measurement results and complex and costly measurement processes.

[0006] According to one aspect of the present invention, an electromagnetic interference detection method is provided, comprising: acquiring an initial voltage signal, wherein the initial voltage signal is a voltage signal within a preset frequency range; performing a Fourier transform on the initial voltage signal to determine a target spectral line corresponding to the initial voltage signal, wherein the target spectral line is the spectral line with the largest peak value among multiple spectral lines corresponding to the initial voltage signal; inputting the target spectral line into a preset phase-locked loop detector, obtaining a target signal component based on the transmission method in the phase-locked loop detector, wherein the target signal component includes amplitude and frequency; demodulating and filtering the target signal component sequentially to obtain a target filtered signal; processing the target filtered signal using a preset quasi-peak detector to obtain a target voltage quasi-peak value; and determining an interference detection result of the initial voltage signal based on the target voltage quasi-peak value, wherein the interference detection result includes the presence or absence of electromagnetic interference.

[0007] Optionally, performing a Fourier transform on the initial voltage signal to determine the target spectral line corresponding to the initial voltage signal includes: uniformly dividing the initial voltage signal into multiple voltage signals; performing a Fourier transform on the multiple voltage signals to obtain multiple spectral lines corresponding to the initial voltage signal; and selecting the spectral line with the largest peak value among the multiple spectral lines as the target spectral line.

[0008] Optionally, the target spectral line is input into a preset phase-locked loop (PLL) detector, and the target signal component is obtained based on the transfer function in the PLL detector. This includes: continuously adjusting the frequency of the PLL detector output signal based on the transfer functions corresponding to the phase comparator and the loop filter until the frequency of the output signal matches the frequency of the target spectral line, thereby obtaining the target output signal, wherein the phase comparator and the loop filter are located in the PLL detector; comparing the phase of the target output signal with that of the target spectral line to obtain the phase difference; demodulating the amplitude of the target signal component from the phase difference; and determining the frequency of the target signal component based on the transfer function corresponding to the frequency discriminator, wherein the frequency discriminator is located in the PLL detector.

[0009] Optionally, the transmission method can be represented by a function expression, as follows:

[0010]

[0011] Among them, H BP (z), H N (z), H' s (z), H S Y(z) is the transfer function, X(z) is the Laplace transform of the target signal component, E(z) is the Laplace transform of the target spectrum, S(z) is the Laplace transform of the notch output, and S(z) is the Laplace transform of the sensitivity function output. k1 is the adaptive parameter of the phase-locked loop detector, corresponding to the center frequency of the phase-locked loop detector, and k2 is the passband bandwidth of the phase-locked loop detector.

[0012] Optionally, the target filtered signal is processed using a preset quasi-peak detector to obtain the target voltage quasi-peak value, including: determining the envelope of the target filtered signal based on the real and imaginary components of the target filtered signal; inputting the envelope into the quasi-peak detector, accumulating the signal energy through a recursive filter to obtain the accumulation result, wherein the recursive filter is located in the quasi-peak detector; and continuously updating the voltage quasi-peak value based on the accumulation result until a preset termination condition is met to obtain the target voltage quasi-peak value.

[0013] Optionally, the formula for calculating the quasi-peak value corresponding to the recursive filter is:

[0014] QP(n) = b τ (M(n)+M(n-1))-a τ QP(n-1), QP(n) < M(n)

[0015] QP(n) = b τ QP(0)-a τ QP(n-1), QP(n)>M(n)

[0016] Where QP(n) is the quasi-peak value, f s τ is the sampling rate, τ is the preset time constant, and QP(0) is the initial quasi-peak value after charging.

[0017] Optionally, based on the target voltage quasi-peak value, the interference detection result of the initial voltage signal is determined, including: determining whether the target voltage quasi-peak value exceeds a preset quasi-peak value threshold; if the target voltage quasi-peak value exceeds the preset quasi-peak value threshold, the interference detection result is determined to be the presence of electromagnetic interference.

[0018] According to another aspect of the present invention, an electromagnetic interference detection device is also provided, comprising: an acquisition module for acquiring an initial voltage signal, wherein the initial voltage signal is a voltage signal within a preset frequency range; a first determination module for performing a Fourier transform on the initial voltage signal to determine a target spectral line corresponding to the initial voltage signal, wherein the target spectral line is the spectral line with the largest peak value among multiple spectral lines corresponding to the initial voltage signal; a first processing module for inputting the target spectral line into a preset phase-locked loop detector and obtaining a target signal component based on the transmission method in the phase-locked loop detector, wherein the target signal component includes amplitude and frequency; a second processing module for sequentially demodulating and filtering the target signal component to obtain a target filtered signal; a third processing module for processing the target filtered signal using a preset quasi-peak detector to obtain a target voltage quasi-peak value; and a second determination module for determining the interference detection result of the initial voltage signal based on the target voltage quasi-peak value, wherein the interference detection result includes the presence or absence of electromagnetic interference.

[0019] According to another aspect of the present invention, a non-volatile storage medium is also provided, the non-volatile storage medium including a stored program, wherein, when the program is running, it controls the device where the non-volatile storage medium is located to execute any of the above-described electromagnetic interference detection methods.

[0020] According to another aspect of the present invention, a computer device is also provided, the computer device including a processor, the processor being configured to run a program, wherein the program executes any of the above-described electromagnetic interference detection methods during runtime.

[0021] According to another aspect of the present invention, a computer program product is also provided, including a computer program that, when executed by a processor, implements any of the above-described electromagnetic interference detection methods.

[0022] In this embodiment of the invention, an electromagnetic interference detection method is employed. This method involves acquiring an initial voltage signal, which is a voltage signal within a preset frequency range; performing a Fourier transform on the initial voltage signal to determine the target spectral line corresponding to the initial voltage signal, where the target spectral line is the spectral line with the largest peak value among multiple spectral lines corresponding to the initial voltage signal; inputting the target spectral line into a preset phase-locked loop (PLL) detector, and obtaining a target signal component based on the transmission method within the PLL detector, where the target signal component includes amplitude and frequency; demodulating and filtering the target signal component sequentially to obtain a target filtered signal; processing the target filtered signal using a preset quasi-peak detector to obtain a target voltage quasi-peak value; and determining the interference detection result of the initial voltage signal based on the target voltage quasi-peak value, where the interference detection result includes the presence or absence of electromagnetic interference. This achieves the goal of accurately detecting electromagnetic interference within a preset frequency range, thereby improving the accuracy of electromagnetic interference detection and reducing implementation costs. Furthermore, it solves the technical problems of current detection technologies, such as inaccurate measurement results and complex and costly measurement processes. Attached Figure Description

[0023] The accompanying drawings, which are included to provide a further understanding of the invention and form part of this application, illustrate exemplary embodiments of the invention and, together with their description, serve to explain the invention and do not constitute an undue limitation thereof. In the drawings:

[0024] Figure 1 A hardware structure block diagram of a computer terminal for implementing an electromagnetic interference detection method is shown.

[0025] Figure 2 This is a flowchart illustrating the electromagnetic interference detection method provided according to an embodiment of the present invention;

[0026] Figure 3This is a schematic diagram of a phase-locked loop structure provided by an optional embodiment of the present invention;

[0027] Figure 4 This is a schematic diagram of another phase-locked loop structure provided by an optional embodiment of the present invention;

[0028] Figure 5 This is a schematic diagram of a quasi-peak detector analog circuit provided according to an optional embodiment of the present invention;

[0029] Figure 6 This is a schematic diagram of a quasi-peak simulation test result provided by an optional embodiment of the present invention;

[0030] Figure 7 This is a schematic flowchart of an electromagnetic interference detection method in the range of 9kHz to 150kHz provided by an optional embodiment of the present invention.

[0031] Figure 8 This is a flowchart illustrating the specific steps of a method for detecting electromagnetic interference in the range of 9kHz to 150kHz according to an optional embodiment of the present invention.

[0032] Figure 9 This is a structural block diagram of an electromagnetic interference detection device provided according to an embodiment of the present invention. Detailed Implementation

[0033] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0034] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0035] According to an embodiment of the present invention, an embodiment of an electromagnetic interference detection method is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.

[0036] The method embodiment provided in Embodiment 1 of this application can be executed on a mobile terminal, computer terminal, or similar computing device. Figure 1 A hardware block diagram of a computer terminal for implementing an electromagnetic interference detection method is shown. Figure 1 As shown, the computer terminal 10 may include one or more processors (shown as 102a, 102b, ..., 102n in the figure) (the processor may include, but is not limited to, a microprocessor MCU or a programmable logic device FPGA, etc.) and a memory 104 for storing data. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of a BUS bus), a network interface, a power supply, and / or a camera. Those skilled in the art will understand that... Figure 1 The structure shown is for illustrative purposes only and does not limit the structure of the aforementioned electronic device. For example, computer terminal 10 may also include... Figure 1 The more or fewer components shown, or having the same Figure 1 The different configurations shown.

[0037] It should be noted that the aforementioned one or more processors and / or other data processing circuits are generally referred to herein as "data processing circuits". These data processing circuits may be implemented wholly or partially as software, hardware, firmware, or any other combination thereof. Furthermore, the data processing circuits may be a single, independent processing module, or may be wholly or partially integrated into any other element in the computer terminal 10. As involved in the embodiments of this application, the data processing circuits serve as processor control (e.g., selection of a variable resistor termination path connected to an interface).

[0038] The memory 104 can be used to store software programs and modules of application software, such as the program instructions / data storage device corresponding to the electromagnetic interference detection method in this embodiment of the invention. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory 104, thereby realizing the electromagnetic interference detection method of the aforementioned application. The memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory remotely located relative to the processor, and these remote memories can be connected to the computer terminal 10 via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0039] The display may be, for example, a touchscreen liquid crystal display (LCD) that allows the user to interact with the user interface of the computer terminal 10.

[0040] Figure 2 This is a schematic flowchart of an electromagnetic interference detection method provided according to an embodiment of the present invention, as shown below. Figure 2 As shown, the method includes the following steps:

[0041] Step S201: Obtain the initial voltage signal, wherein the initial voltage signal is a voltage signal within a preset frequency range.

[0042] In this step, firstly, a high-precision voltage sensor or measuring device can be used to acquire the raw voltage signal from the power line in real time or periodically. The raw voltage signal refers to a 200ms voltage signal sampling data sequence containing superharmonics. A digital bandpass filter can be used to filter out frequency components outside a preset frequency range, thus limiting the signal's spectrum to the preset frequency range. For example, the preset frequency range can be the superharmonic range, which refers to 9kHz to 150kHz. Once the signal is limited to the preset frequency range, a Discrete Fourier Transform (DFT) can be performed to analyze the signal's spectral characteristics.

[0043] Step S202: Perform Fourier transform on the initial voltage signal to determine the target spectral line corresponding to the initial voltage signal, wherein the target spectral line is the spectral line with the largest peak value among the multiple spectral lines corresponding to the initial voltage signal.

[0044] In this step, the initial voltage signal after preprocessing can first be analyzed using the Discrete Fourier Transform (DFT). The DFT converts a time-domain signal into a series of frequency components with amplitudes and phases, forming what are called spectral lines. Determining the target spectral line involves identifying the line with the largest peak among these spectral lines. The peak value of a spectral line reflects the energy of the corresponding frequency component in the signal. By finding the highest amplitude peak in the spectral line, the frequency component with the most concentrated energy in the signal can be identified, i.e., the frequency of maximum electromagnetic interference. The spectral line corresponding to this maximum peak is the target spectral line. The Fourier transform and the determination of the target spectral line are fundamental steps in the entire electromagnetic interference detection method, ensuring that subsequent processing steps, such as phase-locked loop detection and quasi-peak value calculation, can be based on the most relevant and energy-concentrated frequency components.

[0045] Step S203: Input the target spectral line into a preset phase-locked loop detector, and obtain the target signal component based on the transmission method in the phase-locked loop detector. The target signal component includes amplitude and frequency.

[0046] In this step, the phase-locked loop detector can track the frequency changes of the signal and obtain the target signal component based on the transfer function. Figure 3 This is a schematic diagram of a phase-locked loop structure provided by an optional embodiment of the present invention. Figure 4 This is a schematic diagram of another phase-locked loop (PLL) structure provided by an optional embodiment of the present invention. As shown in the figure, the single-stage PLL adopts a constant bandwidth second-order notch filter structure. This structure is characterized by two coefficients, k1 and k2, which determine the angle and radius of each adaptive pole, respectively. After cascading the single-stage PLLs, the first PLL extracts the highest energy component and identifies the dominant frequency. The output of the second PLL, which does not have a highest energy component, feeds the next PLL that extracts the next higher energy component, and so on. Since the PLLs are adaptive structures, they can track time-varying signals, including frequency-changing signals. The transfer function in the PLL detector is a mathematical expression connecting its internal components. It describes how the system responds to input changes and how stably it tracks the frequency and phase of the input signal. When the PLL detector successfully locks onto the target spectral line, it can output the target signal component, including amplitude and frequency information. The amplitude reflects the intensity of electromagnetic interference, while the frequency helps to locate the interference source.

[0047] Step S204: Demodulate and filter the target signal components sequentially to obtain the target filtered signal.

[0048] In this step, the frequency f(n) of the extracted target signal component can be used to demodulate itself, that is, the input signal corresponding to the phase-locked loop tracking is multiplied by the sine and cosine signals respectively. The sine and cosine functions are related to the frequency f(n) of the target signal component obtained by the phase-locked loop.

[0049] xsin (n)=y(n)sin(2πf(n)n)

[0050] x cos (n)=y(n)cos(2πf(n)n)

[0051] Where f(n) is the frequency of the target signal component, and y(n) is the amplitude of the target signal component. After signal demodulation, in order to extract a signal with higher purity, it needs to be filtered. For example, a low-voltage low-pass filter with a cutoff frequency f(n) of 91.3Hz can be applied to x. cos (n) and x sin (n) signal, to obtain the target filtered signal.

[0052] Step S205: The target filtered signal is processed using a preset quasi-peak detector to obtain the target voltage quasi-peak value.

[0053] In this step, the quasi-peak detector is a weighted load detector whose charging time is much longer than the circuit's discharging time. The number of charge-discharge cycles is defined according to the frequency band to be analyzed. The quasi-peak value represents the weighted peak value of the envelope, i.e., its duration and repetition rate. The higher the energy and repetition rate of a given component, the higher the superharmonic level of the analyzed signal. Through the above charging and discharging mechanism, the quasi-peak detector can stably maintain and output the weighted peak value of the signal, capturing the average signal strength even when the signal peak fluctuates or repeats frequently. This output value, the target voltage quasi-peak value, reflects the average strength of the voltage signal over a period of time, providing a more comprehensive and accurate signal strength assessment than simple peak measurement, considering the peak duration and repetition rate.

[0054] Step S206: Based on the target voltage quasi-peak value, determine the interference detection result of the initial voltage signal, wherein the interference detection result includes whether electromagnetic interference exists or not.

[0055] In this step, the target voltage quasi-peak value provides a more comprehensive evaluation method for determining whether the initial voltage signal exceeds acceptable interference limits. Compared to simple peak detection, quasi-peak detection is better able to capture interference signals that appear for short periods but have a high repetition rate. These signals can significantly impact communication or power systems, even though their instantaneous peak value may not be the highest. To determine the intensity of electromagnetic interference based on the target voltage quasi-peak value, a threshold can be set. If the output of the quasi-peak detector exceeds this threshold, it can be considered that there is strong electromagnetic interference, requiring further investigation and possible suppression measures.

[0056] Through the above steps, the goal of accurately detecting electromagnetic interference within the preset frequency range is achieved, thereby improving the accuracy of electromagnetic interference detection and reducing implementation costs. This solves the technical problems of current detection technologies having inaccurate measurement results and complex and costly measurement processes.

[0057] As an optional embodiment, performing a Fourier transform on the initial voltage signal to determine the target spectral line corresponding to the initial voltage signal includes: uniformly dividing the initial voltage signal into multiple voltage signals; performing a Fourier transform on the multiple voltage signals to obtain multiple spectral lines corresponding to the initial voltage signal; and selecting the spectral line with the largest peak value among the multiple spectral lines as the target spectral line.

[0058] Optionally, the initial voltage signal can be uniformly divided into multiple signal data blocks, i.e., voltage signals. This step is for signal processing and computational efficiency considerations, especially when processing long signal sequences obtained through high-speed sampling. Dividing it into smaller data blocks makes the Fourier transform more computationally feasible and efficient. For example, a rectangular window function can be applied to uniformly divide the original signal data into 400 signal data blocks with a duration of ΔT = 0.5 ms. For each divided voltage signal, a Discrete Fourier Transform (DFT) is performed. The DFT is a mathematical tool that converts a time-domain signal into a frequency-domain representation. It reveals the spectral structure of the signal by calculating the complex coefficients of the signal at different frequencies.

[0059] Each voltage signal, after undergoing a Directed Fourier Transform (DFT), generates a spectral line, which displays the intensity of all frequency components within that specific data block. Since the initial voltage signal is divided into multiple data blocks, the DFT of each block produces a corresponding spectral line, resulting in a set of spectra, each corresponding to the spectral information of a specific time window of the signal. Within this set of spectra, it is necessary to determine which spectral line corresponds to the dominant frequency component of the EMI. For this purpose, a peak search algorithm is employed, which finds the peak value of each spectral line, i.e., the frequency point with the highest intensity within the spectral line. By comparing the peak values ​​of all spectral lines, the spectral line with the largest peak value is selected as the target spectral line. This target spectral line represents the frequency component with the maximum energy or amplitude in the signal within a preset frequency range, and is typically closely related to the activity of the EMI source.

[0060] As an optional embodiment, the target spectral line is input into a preset phase-locked loop (PLL) detector, and the target signal component is obtained based on the transfer function in the PLL detector. This includes: continuously adjusting the frequency of the PLL detector output signal based on the transfer functions corresponding to the phase comparator and the loop filter until the frequency of the output signal matches the frequency of the target spectral line, thereby obtaining the target output signal, wherein the phase comparator and the loop filter are located in the PLL detector; comparing the phase of the target output signal with that of the target spectral line to obtain the phase difference; demodulating the amplitude of the target signal component from the phase difference; and determining the frequency of the target signal component based on the transfer function corresponding to the frequency discriminator, wherein the frequency discriminator is located in the PLL detector.

[0061] Optionally, a phase-locked loop (PLL) is a closed-loop system designed to enable the output signal frequency of a voltage-controlled oscillator (VCO) to accurately track the frequency of a reference input signal. A PLL detector can utilize a phase comparator, a loop filter, and a frequency discriminator to achieve tracking and demodulation of a specific frequency component. Based on the outputs of the phase comparator and loop filter, the PLL detector can continuously adjust the frequency of its output signal until the frequency of the output signal matches the frequency of the target spectral line. This process is adaptive and achieved through a feedback mechanism. Once frequency matching occurs, this means that the frequency and phase of the output signal will closely follow the frequency components in the input signal, thus achieving frequency tracking. When the output signal frequency of the PLL detector matches the target frequency, the phase difference signal will reflect the amplitude difference between the output signal and the target spectral line. This amplitude difference can be used to demodulate the amplitude of the target signal component. The transfer function of the frequency discriminator can be used to detect frequency changes in the input signal and convert them into a voltage signal. Once the PLL detector is locked to the target frequency, the frequency discriminator can determine the precise frequency of the target signal component based on its frequency response characteristics.

[0062] As an optional implementation, the transmission method is represented by a function expression, as follows:

[0063]

[0064] Among them, H BP (z), H N (z), H' s (z), H S Y(z) is the transfer function, X(z) is the Laplace transform of the target signal component, E(z) is the Laplace transform of the target spectrum, S(z) is the Laplace transform of the notch output, and S(z) is the Laplace transform of the sensitivity function output. k1 is the adaptive parameter of the phase-locked loop detector, corresponding to the center frequency of the phase-locked loop detector, and k2 is the passband bandwidth of the phase-locked loop detector.

[0065] Optionally, H BP(z) has a bandpass response and utilizes phase-locked loop technology to capture the target signal component with the highest energy, thus enhancing the output y(n). H N (z) has a notch filter response, where the notch output component e(n) corresponds to the stopband component, i.e., the input signal without the extracted component, and can be used to feed the lower-energy component of the second phase-locked loop structure. The sensitivity function s(n) is used in the internal adaptive algorithm to move the second-order bandpass filter H. BP The poles are used to track the target signal components. From H BP The poles of the filter are used to obtain the frequency f(n) of the target signal component.

[0066] As an optional embodiment, the target filtered signal is processed by a preset quasi-peak detector to obtain the target voltage quasi-peak value, including: determining the envelope of the target filtered signal based on the real and imaginary components of the target filtered signal; inputting the envelope into the quasi-peak detector, accumulating the signal energy through a recursive filter to obtain an accumulation result, wherein the recursive filter is located in the quasi-peak detector; and continuously updating the voltage quasi-peak value based on the accumulation result until a preset termination condition is met to obtain the target voltage quasi-peak value.

[0067] Optionally, the target filtered signal is generated by demodulating the phase-locked loop detector from the previous stage and processing it through a low-voltage filter. It contains both real and imaginary components. The envelope calculation typically involves taking the square root of the sum of the squares of the real and imaginary components, as shown in the following formula:

[0068]

[0069] Where, x sin (n) and x cos (n) represents the real and imaginary components of the target filtered signal. The envelope can then be processed using a quasi-peak detector to obtain the voltage quasi-peak value.

[0070] As an optional embodiment, the quasi-peak value calculation formula for the recursive filter is:

[0071] QP(n) = b τ (M(n)+M(n-1))-a τ QP(n-1), QP(n) < M(n)

[0072] QP(n) = b τ QP(0)-a τ QP(n-1), QP(n)>M(n)

[0073] Where QP(n) is the quasi-peak value, f s τ is the sampling rate, τ is the preset time constant, and QP(0) is the initial quasi-peak value after charging.

[0074] Optionally, a recursive filter, as a core component of the quasi-peak detector, is used to accumulate signal energy. The quasi-peak calculation formula corresponding to the recursive filter reflects the charging and discharging processes. That is, when the input signal envelope M(n) is greater than the quasi-peak value at the previous moment, the quasi-peak value will increase rapidly; otherwise, it will decrease slowly. Among them, the time constant τ can be taken as 45 when charging and 500 when discharging, with the unit of millisecond. Figure 5 is a schematic diagram of a quasi-peak detector simulation circuit provided according to an optional embodiment of the present invention, as Figure 5 shown, when QP(n) < M(n), the capacitor is charged; otherwise, the capacitor discharges on the resistor R2. The charging cycle occurs when the quasi-peak signal QP(n) < M(n), and the time constant τ = 45 ms. When QP(n) > M(n), the time constant τ = 500 ms.

[0075] As an optional embodiment, based on the quasi-peak value of the target voltage, determining the interference detection result of the initial voltage signal includes: judging whether the quasi-peak value of the target voltage exceeds a preset quasi-peak threshold; in the case where the quasi-peak value of the target voltage exceeds the preset quasi-peak threshold, determining that the interference detection result is that there is electromagnetic interference.

[0076] Optionally, the quasi-peak threshold is a standard of a voltage value set according to system requirements, industry standards or specific application environments, and is used to judge whether the electromagnetic interference has reached a level that may affect the system. This threshold is usually formulated based on electromagnetic compatibility specifications and the anti-interference ability of the device to ensure the stable operation of the system is not affected. If the quasi-peak value of the target voltage exceeds this threshold, then the system will determine that there is electromagnetic interference. This means that in the detected signal, there is EMI with sufficient frequency and intensity to have a measurable impact on the system, which may affect the normal operation of the power system, communication network or electronic device.

[0077] Figure 6 is a schematic diagram of a quasi-peak simulation test result provided according to an optional embodiment of the present invention, as Figure 6As shown, the superharmonic frequencies are 10.05kHz, 75.001kHz, and 149.2kHz, respectively; the amplitudes are 0.1V, 0.08V, and 0.05V, respectively. Figures (a), (b), and (c) compare the detection effects of the superharmonics at 10.05kHz, 75.001kHz, and 149.2kHz, respectively. The frequency detection results of 10.05kHz, 75.001kHz, and 149.2kHz are output at 0.073s, 0.088s, and 0.087s, respectively. The times when the quasi-peak output reaches 95% of the signal amplitude are 0.174s, 0.165s, and 0.186s, respectively, and the quasi-peak outputs at 3s are 100.2mV, 80.2mV, and 50.1mV, respectively.

[0078] As an optional embodiment, Figure 7 This is a schematic flowchart of a method for detecting electromagnetic interference in the range of 9kHz to 150kHz according to an optional embodiment of the present invention. Figure 7 As shown, the steps are as follows:

[0079] S701: Acquire the original signal, apply a digital bandpass filter to limit the spectrum of the original signal, and perform a discrete Fourier transform to obtain the spectral lines.

[0080] S702: Use a peak search algorithm to find the maximum peak value and the corresponding maximum spectral frequency in the spectral line.

[0081] S703: Input the maximum spectral line frequency into the phase-locked loop detector, and obtain the superharmonic component and the highest energy component based on the transfer function.

[0082] S704: Demodulate the superharmonic component using the highest energy component, input it to a low-voltage filter for filtering, and output the filtered signal.

[0083] S705: Calculate the envelope of the filtered signal, process the envelope using a quasi-peak detector, and obtain the quasi-peak value of voltage or current.

[0084] As an optional embodiment, Figure 8 This is a flowchart illustrating the specific steps of a method for detecting electromagnetic interference in the range of 9kHz to 150kHz according to an optional embodiment of the present invention. Figure 8 As shown, this method integrates digital signal processing and quasi-peak detection technologies through a series of steps including low-pass filter, phase-locked loop structure, demodulation, filtering, envelope calculation, and quasi-peak detection. It can efficiently and accurately detect and evaluate EMI in the frequency range of 9kHz to 150kHz, providing strong technical support for EMC management of power systems and electronic equipment.

[0085] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that the present invention is not limited to the described order of actions, because according to the present invention, some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to the present invention.

[0086] Through the above description of the embodiments, those skilled in the art can clearly understand that the electromagnetic interference detection method according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present invention.

[0087] According to embodiments of the present invention, an apparatus for implementing the above-described method is also provided. Figure 9 This is a structural block diagram of an electromagnetic interference detection device provided according to an embodiment of the present invention, such as... Figure 9 As shown, the device includes: an acquisition module 91, a first determination module 92, a first processing module 93, a second processing module 94, a third processing module 95, and a second determination module 96. The device will be described below.

[0088] The acquisition module 91 is used to acquire an initial voltage signal, wherein the initial voltage signal is a voltage signal within a preset frequency range.

[0089] The first determining module 92, connected to the acquiring module 91, is used to perform a Fourier transform on the initial voltage signal to determine the target spectral line corresponding to the initial voltage signal, wherein the target spectral line is the spectral line with the largest peak value among multiple spectral lines corresponding to the initial voltage signal.

[0090] The first processing module 93, connected to the first determining module 92, is used to input the target spectral line into a preset phase-locked loop detector and obtain the target signal component based on the transmission method in the phase-locked loop detector. The target signal component includes amplitude and frequency.

[0091] The second processing module 94, connected to the first processing module 93, is used to demodulate and filter the target signal components sequentially to obtain the target filtered signal.

[0092] The third processing module 95, connected to the second processing module 94, is used to process the target filtered signal using a preset quasi-peak detector to obtain the target voltage quasi-peak value.

[0093] The second determining module 96, connected to the third processing module 95, is used to determine the interference detection result of the initial voltage signal based on the target voltage quasi-peak value, wherein the interference detection result includes whether electromagnetic interference exists or not.

[0094] It should be noted that the aforementioned acquisition module 91, first determination module 92, first processing module 93, second processing module 94, third processing module 95, and second determination module 96 correspond to steps S201 to S206 in the embodiments. Multiple modules implement the same instances and application scenarios as their corresponding steps, but are not limited to the content disclosed in the above embodiments. It should also be noted that the aforementioned modules, as part of the device, can run on the computer terminal 10 provided in the embodiments.

[0095] Embodiments of the present invention may provide a computer device. Optionally, in this embodiment, the computer device may be located in at least one of a plurality of network devices in a computer network. The computer device includes a memory and a processor.

[0096] The memory can be used to store software programs and modules, such as the program instructions / modules corresponding to the electromagnetic interference detection method and apparatus in this embodiment of the invention. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory, thereby realizing the aforementioned electromagnetic interference detection method. The memory may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include memory remotely located relative to the processor, and these remote memories can be connected to a computer terminal via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0097] The processor can invoke information and application programs stored in the memory via a transmission device to perform the following steps: acquiring an initial voltage signal, wherein the initial voltage signal is a voltage signal within a preset frequency range; performing a Fourier transform on the initial voltage signal to determine the target spectral line corresponding to the initial voltage signal, wherein the target spectral line is the spectral line with the largest peak value among multiple spectral lines corresponding to the initial voltage signal; inputting the target spectral line into a preset phase-locked loop detector, obtaining the target signal component based on the transmission method in the phase-locked loop detector, wherein the target signal component includes amplitude and frequency; demodulating and filtering the target signal component sequentially to obtain a target filtered signal; processing the target filtered signal using a preset quasi-peak detector to obtain a target voltage quasi-peak value; and determining the interference detection result of the initial voltage signal based on the target voltage quasi-peak value, wherein the interference detection result includes the presence or absence of electromagnetic interference.

[0098] Optionally, the processor may also execute program code for the following steps: performing a Fourier transform on the initial voltage signal to determine the target spectral line corresponding to the initial voltage signal, including: uniformly dividing the initial voltage signal into multiple voltage signals; performing a Fourier transform on the multiple voltage signals to obtain multiple spectral lines corresponding to the initial voltage signal; and selecting the spectral line with the largest peak value among the multiple spectral lines as the target spectral line.

[0099] Optionally, the processor may also execute program code for the following steps: inputting the target spectral line into a preset phase-locked loop detector, and obtaining the target signal component based on the transfer function in the phase-locked loop detector, including: continuously adjusting the frequency of the output signal of the phase-locked loop detector based on the transfer functions corresponding to the phase comparator and the loop filter until the frequency of the output signal matches the frequency of the target spectral line to obtain the target output signal, wherein the phase comparator and the loop filter are located in the phase-locked loop detector; comparing the phase of the target output signal with that of the target spectral line to obtain the phase difference; demodulating the amplitude of the target signal component from the phase difference; and determining the frequency of the target signal component based on the transfer function corresponding to the frequency discriminator, wherein the frequency discriminator is located in the phase-locked loop detector.

[0100] Optionally, the processor described above can also execute program code with the following steps: the transmission method is represented by a function expression, as follows:

[0101]

[0102] Among them, H BP (z), H N (z), H' s (z), H SY(z) is the transfer function, X(z) is the Laplace transform of the target signal component, E(z) is the Laplace transform of the target spectrum, S(z) is the Laplace transform of the notch output, and S(z) is the Laplace transform of the sensitivity function output. k1 is the adaptive parameter of the phase-locked loop detector, corresponding to the center frequency of the phase-locked loop detector, and k2 is the passband bandwidth of the phase-locked loop detector.

[0103] Optionally, the processor may also execute program code for the following steps: processing the target filtered signal using a preset quasi-peak detector to obtain the target voltage quasi-peak value, including: determining the envelope of the target filtered signal based on the real and imaginary components of the target filtered signal; inputting the envelope into the quasi-peak detector, accumulating the signal energy through a recursive filter to obtain the accumulation result, wherein the recursive filter is located in the quasi-peak detector; and continuously updating the voltage quasi-peak value based on the accumulation result until a preset termination condition is met to obtain the target voltage quasi-peak value.

[0104] Optionally, the processor may also execute program code with the following steps: The formula for calculating the quasi-peak value corresponding to the recursive filter is:

[0105] QP(n) = b τ (M(n)+M(n-1))-a τ QP(n-1), QP(n) < M(n)

[0106] QP(n) = b τ QP(0)-a τ QP(n-1), QP(n)>M(n)

[0107] Where QP(n) is the quasi-peak value, f s τ is the sampling rate, τ is the preset time constant, and QP(0) is the initial quasi-peak value after charging.

[0108] Optionally, the processor may also execute program code for the following steps: determining the interference detection result of the initial voltage signal based on the target voltage quasi-peak value, including: determining whether the target voltage quasi-peak value exceeds a preset quasi-peak value threshold; and determining that the interference detection result is that electromagnetic interference exists if the target voltage quasi-peak value exceeds the preset quasi-peak value threshold.

[0109] This invention provides an electromagnetic interference (EMI) detection method. The method involves acquiring an initial voltage signal, which is a voltage signal within a preset frequency range; performing a Fourier transform on the initial voltage signal to determine the target spectral line corresponding to the initial voltage signal, where the target spectral line is the spectral line with the largest peak value among multiple spectral lines corresponding to the initial voltage signal; inputting the target spectral line into a preset phase-locked loop (PLL) detector, and obtaining a target signal component based on the transmission method in the PLL detector, where the target signal component includes amplitude and frequency; demodulating and filtering the target signal component sequentially to obtain a target filtered signal; processing the target filtered signal using a preset quasi-peak detector to obtain a target voltage quasi-peak value; and determining the EMI detection result of the initial voltage signal based on the target voltage quasi-peak value, where the EMI detection result includes the presence or absence of EMI. This method achieves the goal of accurately detecting EMI within a preset frequency range, thereby improving the accuracy of EMI detection and reducing implementation costs. It also solves the technical problems of current detection technologies, such as inaccurate measurement results and complex and costly measurement processes.

[0110] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing the hardware related to the terminal device. The program can be stored in a non-volatile storage medium, which may include: flash drive, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, etc.

[0111] Embodiments of the present invention also provide a non-volatile storage medium. Optionally, in this embodiment, the aforementioned non-volatile storage medium can be used to store the program code executed by the electromagnetic interference detection method provided in the above embodiments.

[0112] Optionally, in this embodiment, the non-volatile storage medium may be located in any computer terminal in a group of computer terminals in a computer network, or in any mobile terminal in a group of mobile terminals.

[0113] Optionally, in this embodiment, the non-volatile storage medium is configured to store program code for performing the following steps: acquiring an initial voltage signal, wherein the initial voltage signal is a voltage signal within a preset frequency range; performing a Fourier transform on the initial voltage signal to determine the target spectral line corresponding to the initial voltage signal, wherein the target spectral line is the spectral line with the largest peak value among multiple spectral lines corresponding to the initial voltage signal; inputting the target spectral line into a preset phase-locked loop detector, obtaining a target signal component based on the transmission method in the phase-locked loop detector, wherein the target signal component includes amplitude and frequency; demodulating and filtering the target signal component sequentially to obtain a target filtered signal; processing the target filtered signal using a preset quasi-peak detector to obtain a target voltage quasi-peak value; and determining the interference detection result of the initial voltage signal based on the target voltage quasi-peak value, wherein the interference detection result includes the presence or absence of electromagnetic interference.

[0114] Optionally, in this embodiment, the non-volatile storage medium is configured to store program code for performing the following steps: performing a Fourier transform on the initial voltage signal to determine the target spectral line corresponding to the initial voltage signal, including: uniformly dividing the initial voltage signal into multiple voltage signals; performing a Fourier transform on the multiple voltage signals to obtain multiple spectral lines corresponding to the initial voltage signal; and selecting the spectral line with the largest peak value among the multiple spectral lines as the target spectral line.

[0115] Optionally, in this embodiment, the non-volatile storage medium is configured to store program code for performing the following steps: inputting the target spectral line into a preset phase-locked loop detector, and obtaining the target signal component based on the transfer function in the phase-locked loop detector, including: continuously adjusting the frequency of the output signal of the phase-locked loop detector based on the transfer functions corresponding to the phase comparator and the loop filter until the frequency of the output signal matches the frequency of the target spectral line to obtain the target output signal, wherein the phase comparator and the loop filter are located in the phase-locked loop detector; comparing the phase of the target output signal with the target spectral line to obtain the phase difference; demodulating the amplitude of the target signal component from the phase difference; and determining the frequency of the target signal component based on the transfer function corresponding to the frequency discriminator, wherein the frequency discriminator is located in the phase-locked loop detector.

[0116] Optionally, in this embodiment, the non-volatile storage medium is configured to store program code for performing the following steps: the transmission method is represented by a function expression, as follows:

[0117]

[0118] Among them, H BP (z), H N (z), H' s (z), H SY(z) is the transfer function, X(z) is the Laplace transform of the target signal component, E(z) is the Laplace transform of the target spectrum, S(z) is the Laplace transform of the notch output, and S(z) is the Laplace transform of the sensitivity function output. k1 is the adaptive parameter of the phase-locked loop detector, corresponding to the center frequency of the phase-locked loop detector, and k2 is the passband bandwidth of the phase-locked loop detector.

[0119] Optionally, in this embodiment, the non-volatile storage medium is configured to store program code for performing the following steps: processing the target filtered signal using a preset quasi-peak detector to obtain a target voltage quasi-peak value, including: determining the envelope of the target filtered signal based on the real and imaginary components of the target filtered signal; inputting the envelope into the quasi-peak detector, accumulating the signal energy through a recursive filter to obtain an accumulation result, wherein the recursive filter is located in the quasi-peak detector; and continuously updating the voltage quasi-peak value based on the accumulation result until a preset termination condition is met to obtain the target voltage quasi-peak value.

[0120] Optionally, in this embodiment, the non-volatile storage medium is configured to store program code for performing the following steps: the quasi-peak value calculation formula corresponding to the recursive filter is:

[0121] QP(n) = b τ (M(n)+M(n-1))-a τ QP(n-1), QP(n) < M(n)

[0122] QP(n) = b τ QP(0)-a τ QP(n-1), QP(n)>M(n)

[0123] Where QP(n) is the quasi-peak value, f s τ is the sampling rate, τ is the preset time constant, and QP(0) is the initial quasi-peak value after charging.

[0124] Optionally, in this embodiment, the non-volatile storage medium is configured to store program code for performing the following steps: determining the interference detection result of the initial voltage signal based on the target voltage quasi-peak value, including: determining whether the target voltage quasi-peak value exceeds a preset quasi-peak value threshold; and determining that the interference detection result is that electromagnetic interference exists if the target voltage quasi-peak value exceeds the preset quasi-peak value threshold.

[0125] Embodiments of the present invention also provide a computer program product, including a computer program. Optionally, in this embodiment, when the computer program is executed by a processor, it can perform the following: acquiring an initial voltage signal, wherein the initial voltage signal is a voltage signal within a preset frequency range; performing a Fourier transform on the initial voltage signal to determine a target spectral line corresponding to the initial voltage signal, wherein the target spectral line is the spectral line with the largest peak value among multiple spectral lines corresponding to the initial voltage signal; inputting the target spectral line into a preset phase-locked loop detector, obtaining a target signal component based on the transmission method in the phase-locked loop detector, wherein the target signal component includes amplitude and frequency; demodulating and filtering the target signal component sequentially to obtain a target filtered signal; processing the target filtered signal using a preset quasi-peak detector to obtain a target voltage quasi-peak value; and determining the interference detection result of the initial voltage signal based on the target voltage quasi-peak value, wherein the interference detection result includes the presence or absence of electromagnetic interference.

[0126] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0127] In the above embodiments of the present invention, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0128] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of units can be a logical functional division, and in actual implementation, there may be other division methods. For instance, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling, direct coupling, or communication connection may be through some interfaces; the indirect coupling or communication connection between units or modules may be electrical or other forms.

[0129] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0130] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0131] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a non-volatile storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.

[0132] The above description is only a preferred embodiment of the present invention. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.

Claims

1. An electromagnetic interference detection method, characterized in that, include: Acquire an initial voltage signal, wherein the initial voltage signal is a voltage signal within a preset frequency range; The initial voltage signal is subjected to Fourier transform to determine the target spectral line corresponding to the initial voltage signal, wherein the target spectral line is the spectral line with the largest peak value among the multiple spectral lines corresponding to the initial voltage signal; The target spectral line is input into a preset phase-locked loop detector, and the target signal component is obtained based on the transmission method in the phase-locked loop detector. The target signal component includes amplitude and frequency. The target signal components are demodulated and filtered sequentially to obtain the target filtered signal; The target filtered signal is processed using a preset quasi-peak detector to obtain the target voltage quasi-peak value; Based on the target voltage quasi-peak value, the interference detection result of the initial voltage signal is determined, wherein the interference detection result includes the presence or absence of electromagnetic interference.

2. The method according to claim 1, characterized in that, The step of performing a Fourier transform on the initial voltage signal to determine the target spectral line corresponding to the initial voltage signal includes: The initial voltage signal is evenly divided into multiple voltage signals; Perform Fourier transform on the multiple voltage signals to obtain multiple spectral lines corresponding to the initial voltage signal; The spectral line with the largest peak value among the plurality of spectral lines is selected as the target spectral line.

3. The method according to claim 1, characterized in that, The step of inputting the target spectral line into a preset phase-locked loop detector and obtaining the target signal component based on the transfer function in the phase-locked loop detector includes: Based on the transfer functions corresponding to the phase comparator and the loop filter, the frequency of the output signal of the phase-locked loop detector is continuously adjusted until the frequency of the output signal matches the frequency of the target spectral line to obtain the target output signal, wherein the phase comparator and the loop filter are located in the phase-locked loop detector; The phase difference is obtained by comparing the phase of the target output signal with the target spectral line. The amplitude of the target signal component is demodulated from the phase difference; The frequency of the target signal component is determined based on the transfer function corresponding to the frequency discriminator, wherein the frequency discriminator is located in the phase-locked loop detector.

4. The method according to claim 1, characterized in that, The transmission method is represented by a function expression, which is as follows: Among them, H BP (z), H N (z), H' s (z), H S Y(z) is the transfer function, Y(z) is the Laplace transform of the target signal component, X(z) is the Laplace transform of the target spectral line, E(z) is the Laplace transform of the notch output, S(z) is the Laplace transform of the sensitivity function output, k1 is the adaptive parameter of the phase-locked loop detector, corresponding to the center frequency of the phase-locked loop detector, and k2 is the passband bandwidth of the phase-locked loop detector.

5. The method according to claim 1, characterized in that, The step of processing the target filtered signal using a preset quasi-peak detector to obtain the target voltage quasi-peak value includes: The envelope of the target filtered signal is determined based on the real and imaginary components of the target filtered signal. The envelope is input into the quasi-peak detector, and the signal energy is accumulated through a recursive filter to obtain the accumulation result, wherein the recursive filter is located in the quasi-peak detector; Based on the accumulated results, the voltage quasi-peak value is continuously updated until a preset termination condition is met, and the target voltage quasi-peak value is obtained.

6. The method according to claim 5, characterized in that, The formula for calculating the quasi-peak value corresponding to the recursive filter is: QP(n)=b τ (M(n)+M(n-1))-a τ QP(n-1),QP(n)<M(n) QP(n)=b τ QP(0)-a τ QP(n-1),QP(n)>M(n) Where QP(n) is the quasi-peak value, f s τ is the sampling rate, τ is the preset time constant, and QP(0) is the initial quasi-peak value after charging.

7. The method according to any one of claims 1 to 6, characterized in that, The step of determining the interference detection result of the initial voltage signal based on the target voltage quasi-peak value includes: Determine whether the target voltage quasi-peak value exceeds a preset quasi-peak value threshold; If the target voltage quasi-peak value exceeds the preset quasi-peak value threshold, the interference detection result is determined to be the presence of electromagnetic interference.

8. An electromagnetic interference detection device, characterized in that, include: An acquisition module is used to acquire an initial voltage signal, wherein the initial voltage signal is a voltage signal within a preset frequency range; The first determining module is used to perform a Fourier transform on the initial voltage signal to determine the target spectral line corresponding to the initial voltage signal, wherein the target spectral line is the spectral line with the largest peak value among the multiple spectral lines corresponding to the initial voltage signal; The first processing module is used to input the target spectral line into a preset phase-locked loop detector, and obtain the target signal component based on the transmission method in the phase-locked loop detector, wherein the target signal component includes amplitude and frequency; The second processing module is used to demodulate and filter the target signal components sequentially to obtain the target filtered signal. The third processing module is used to process the target filtered signal using a preset quasi-peak detector to obtain the target voltage quasi-peak value; The second determining module is used to determine the interference detection result of the initial voltage signal based on the target voltage quasi-peak value, wherein the interference detection result includes the presence or absence of electromagnetic interference.

9. A non-volatile storage medium, characterized in that, The non-volatile storage medium includes a stored program, wherein, when the program is executed, it controls the device containing the non-volatile storage medium to perform the electromagnetic interference detection method according to any one of claims 1 to 7.

10. A computer device, characterized in that, include: Memory and processor The memory stores computer programs; The processor is configured to execute a computer program stored in the memory, wherein when the computer program is executed, the processor performs the electromagnetic interference detection method according to any one of claims 1 to 7.

11. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the electromagnetic interference detection method according to any one of claims 1 to 7.

Citation Information

Cited By

  • An electromagnetic interference signal anomaly detection method and system

    CN122451755A