Interference signal offset method and device, equipment and storage medium

By using a notch filtering device to iteratively relay the harmonic interference signal in the air-conditioning electrolytic capacitorless control system, an analog interference signal is generated to offset the harmonic interference signal, and the problem of difficulty in removing harmonic interference signals in the prior art is solved, and a high-accuracy sinusoidal signal extraction is achieved.

CN119652089APending Publication Date: 2025-03-18XIAOMI TECH (WUHAN) CO LTD +1
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202311199924.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-15
Publication Date
2025-03-18

AI Technical Summary

Technical Problem

In the prior art, in the process of air-conditioning electrolytic capacitorless control systems, it is difficult to effectively remove harmonic interference signals in the input signal. Especially when the harmonic frequency of the interference signal is close to the sine wave frequency, the analog filter cannot be effectively filtered, and classical or modern spectral estimation methods are complex in calculations and require offline analysis.

Method used

By acquiring the original input signal, the harmonic interference signal is iteratively redirected by using the notch filtering device to generate an analog interference signal that matches the harmonic interference signal, thereby canceling the harmonic interference signal in the original input signal and obtaining the target sine wave signal.

Benefits of technology

Without increasing hardware costs, the extraction accuracy of sinusoidal signals is improved, the cancellation problem of harmonic interference signals is effectively solved, and the signal processing process is simplified.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119652089A_ABST
    Figure CN119652089A_ABST
Patent Text Reader

Abstract

The invention relates to an interference signal offset method and device, equipment and a storage medium, and the method comprises the steps: carrying out the sampling of an original input signal, obtaining a single-frequency signal, carrying out the multiple iteration of a weight coefficient of the single-frequency signal through a notch filtering device, and determining a target weight coefficient, and simulating the harmonic interference signal according to the single-frequency signal and the target weight coefficient, and generating an analog interference signal to offset the harmonic interference signal in the original input signal. Therefore, the harmonic interference signal is simulated in a mode of determining the weight proportion of the component through the analog component, and the interference signal in the original input signal is subjected to background processing after the analog interference signal is generated, so that the extraction accuracy of the sine wave signal is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of variable frequency drive of air conditioners without electrolytic capacitors, and in particular to an interference signal cancellation method, device, equipment and storage medium. Background Art

[0002] In the related art, the air conditioner control system without electrolytic capacitor needs to detect the sine wave for power tracking. During the measurement of the sine wave signal, when there are random interference signals or harmonics of other frequencies mixed in it, the interference is often removed by designing a suitable analog filter to obtain the required sine wave signal. However, when the harmonic frequency of the interference signal is close to the measured sine wave frequency, the interference signal in the input signal cannot be filtered out by the analog filter. In the related art, the classical spectral estimation method or the modern spectral estimation method is used to process the sine wave signal, and its calculation process is complicated and requires offline analysis. Summary of the invention

[0003] In order to overcome the problems existing in the related art, the present disclosure provides an interference signal cancellation method, device, equipment and storage medium.

[0004] According to a first aspect of an embodiment of the present disclosure, there is provided an interference signal cancellation method, comprising:

[0005] Acquire an original input signal, wherein the original input signal includes a harmonic interference signal;

[0006] Iteratively recursively perform the harmonic interference signal on the original input signal through a notch filter device to generate a simulated interference signal matching the harmonic interference signal;

[0007] The harmonic interference signal in the original input signal is offset by the simulated interference signal to generate a target sinusoidal wave signal.

[0008] Optionally, the iteratively recursively performing the harmonic interference signal through a notch filter device based on the original input signal to generate a simulated interference signal matching the harmonic interference signal includes:

[0009] Determining a target interference frequency of the harmonic interference signal according to the original input signal;

[0010] Acquire a first single frequency signal and a second single frequency signal whose frequencies match the target interference frequency from the original input signal;

[0011] Determining a first weight coefficient of the first single-frequency signal by the notch filtering device, and determining a second weight coefficient of the second single-frequency signal by the notch filtering device;

[0012] The first single-frequency signal and the second single-frequency signal are combined according to the first weight coefficient and the second weight coefficient to generate the simulated interference signal.

[0013] Optionally, determining a first weight coefficient of the first single-frequency signal by the notch filtering device, and determining a second weight coefficient of the second single-frequency signal by the notch filtering device, comprises:

[0014] Acquire a first initial weight coefficient of the first single-frequency signal, a second initial weight coefficient of the second single-frequency signal, and a first preset iteration step length of the notch filtering device;

[0015] Iterating the first initial weight coefficient multiple times based on the first preset iteration step, the original input signal, and the first single-frequency signal to generate multiple first iteration weight coefficients, and iterating the second initial weight coefficient multiple times based on the first preset iteration step and the original input signal to generate multiple second iteration weight coefficients;

[0016] Combining the first single-frequency signal and the second single-frequency signal according to the multiple first iteration weight coefficients and the multiple second iteration weight coefficients to generate multiple simulated interference signals;

[0017] When the difference between the target analog interference signal among the multiple analog interference signals and the harmonic interference signal is less than a set threshold, the target first iteration weight coefficient of the target analog interference signal is determined to be the first weight coefficient, and the target second iteration weight coefficient of the target analog interference signal is determined to be the second weight coefficient.

[0018] Optionally, the iterating the first initial weight coefficient multiple times based on the first preset iteration step, the original input signal and the first single-frequency signal to generate multiple first iteration weight coefficients includes:

[0019] The first iteration weight coefficient is determined based on the following formula, where the first iteration weight coefficient is any one of the multiple first iteration weight coefficients:

[0020] w1 (k+1) =w1 (k) +2μe (k) x1 (k)

[0021] Among them, w1 (k+1) is the iteration weight coefficient at the k+1th iteration, w1 (k) is the iteration weight coefficient at the kth iteration, μ is the first preset iteration step length, e (k) is the difference between the original input signal and the simulated interference signal at the kth iteration, x1(k) is the first single-frequency signal.

[0022] Optionally, the iterative recursion of the harmonic interference signal based on the original input signal by the notch filtering device to generate a simulated interference signal matching the harmonic interference signal includes:

[0023] Acquire initial filtering parameters and a second preset iteration step of the notch filtering device;

[0024] The simulated interference signal is determined according to the initial filtering parameters, the second preset iteration step size and the original input signal.

[0025] Optionally, determining the simulated interference signal according to the initial filtering parameter, the second preset iteration step size and the original input signal includes:

[0026] Determining an initial simulated interference signal according to the original input signal and the initial filtering parameters;

[0027] In the case where the difference between the initial simulated interference signal and the harmonic interference signal is greater than or equal to a set threshold, determining a gradient of an objective function according to the initial simulated interference signal and the original input signal;

[0028] An iterative method for determining filtering parameters based on the objective function gradient;

[0029] Iterating the initial filtering parameters according to the iteration mode and the second preset iteration step size to generate first filtering parameters;

[0030] Determining a first simulated interference signal according to the first filtering parameter and the original input signal;

[0031] When the difference between the first analog interference signal and the harmonic interference signal is smaller than the set threshold, the first analog interference signal is used as the analog interference signal.

[0032] Optionally, the method comprises:

[0033] When the difference between the first analog interference signal and the harmonic interference signal is greater than or equal to the set threshold, iterating the first filtering parameter according to the iteration mode and the second preset iteration step size to generate a second filtering parameter;

[0034] Determining a second simulated interference signal according to the second filtering parameter and the original input signal;

[0035] When the difference between the second analog interference signal and the harmonic interference signal is smaller than the set threshold, the second analog interference signal is used as the analog interference signal.

[0036] According to a second aspect of an embodiment of the present disclosure, there is provided an interference signal cancellation device, including:

[0037] An acquisition module is configured to acquire an original input signal, wherein the original input signal includes a harmonic interference signal;

[0038] A generating module is configured to iteratively perform recursion on the harmonic interference signal through a notch filter device based on the original input signal to generate a simulated interference signal matching the harmonic interference signal;

[0039] The execution module is configured to cancel the harmonic interference signal in the original input signal by using the simulated interference signal to generate a target sinusoidal wave signal.

[0040] According to a third aspect of an embodiment of the present disclosure, there is provided an air conditioning device, comprising:

[0041] processor;

[0042] a memory for storing processor-executable instructions;

[0043] The processor is configured to execute the executable instructions to implement the steps of any one of the methods described in the first aspect of the present disclosure.

[0044] 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. When the program instructions are executed by a processor, the steps of the interference signal cancellation method provided in the first aspect of the present disclosure are implemented.

[0045] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:

[0046] Through the above method, the original input signal is obtained, the original input signal includes a harmonic interference signal, the harmonic interference signal is iteratively recursively performed on the harmonic interference signal through a notch filter device based on the original input signal, and a simulated interference signal matching the harmonic interference signal is generated, and the harmonic interference signal in the original input signal is offset by the simulated interference signal to generate a target sinusoidal wave signal. Thus, the harmonic interference signal in the original input signal is iteratively recursively performed through the notch filter device, and a simulated interference signal is generated to offset the harmonic interference signal, and the required target sinusoidal wave signal is obtained, thereby improving the extraction accuracy of the sinusoidal signal without additionally increasing the hardware cost.

[0047] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0049] Figure 1 The figure is a flow chart of a method for canceling interference signals according to an exemplary embodiment.

[0050] Figure 2 The figure is a flow chart of a method for generating a simulated interference signal according to an exemplary embodiment.

[0051] Figure 3 It is a schematic diagram showing a method for canceling interference signals according to an exemplary embodiment.

[0052] Figure 4 The figure is a flow chart of a method for generating a simulated interference signal according to an exemplary embodiment.

[0053] Figure 5 It is a schematic diagram showing a method for canceling interference signals according to an exemplary embodiment.

[0054] Figure 6 The figure is a block diagram of an interference signal cancellation device according to an exemplary embodiment.

[0055] Figure 7 is a block diagram of an electronic device 700 according to an exemplary embodiment. DETAILED DESCRIPTION

[0056] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0057] It should be noted that all actions of acquiring signals, information or data in the present disclosure are carried out in compliance with the relevant data protection laws and policies of the country where the device is located and with the authorization given by the owner of the corresponding device.

[0058] Figure 1 is a flow chart of a method for canceling interference signals according to an exemplary embodiment. Figure 1 As shown, the method is used in a terminal and includes the following steps.

[0059] In step S11, an original input signal is acquired, where the original input signal includes a harmonic interference signal.

[0060] For example, this embodiment is applied to an air-conditioning control system without electrolytic capacitors. The power supply is usually alternating current, and the voltage and current are sinusoidal wave signals that vary with time. The system is equipped with an air-conditioning compression motor driven by alternating current to generate cold air or hot air. In order to achieve accurate control of the power supply voltage and current, it is necessary to generate and adjust various control and feedback signals to match the power supply and load conditions of the motor. Among them, the control signal of the sinusoidal waveform has the characteristics of continuous and smoothness, which can be used to generate a constant power output to prevent the motor from vibrating or overheating. The power factor corrector in the air-conditioning control system without electrolytic capacitors needs to adjust the timing and speed of charging and discharging the capacitor according to the extracted sinusoidal signal to improve the power factor of the entire system. Power factor correction can reduce the reactive power loss of the power grid and improve energy utilization efficiency.

[0061] In the process of measuring the sine wave signal, due to the influence of harmonic disturbance and other reasons, it is easy to mix the original input signal with random interference signals or harmonic signals of other frequencies, resulting in errors in the sine wave signal detected in the original input signal, making the obtained power factor inaccurate and affecting the energy efficiency of the system. Therefore, it is necessary to detect the sine wave from the original input signal, which is used to track the air conditioner power. By designing a suitable analog filter to remove the interference in the original input signal, the required sine wave signal can be obtained.

[0062] For example, the original input in the air-conditioning electrolytic capacitor-free control system in this embodiment refers to the power supply signal supplied to the system, and the power supply original input signal provides the electric energy required by the system to support its normal operation and the realization of various functions. Normally, the initial original input can come from an AC power supply or a DC power supply, depending on the design and requirements of the air-conditioning electrolytic capacitor-free control system. After the signal is processed and converted by the corresponding module, it supplies power to various components and circuits in the system. However, during the power supply process, the initial original input will be interfered by factors such as harmonics, resulting in random harmonic interference signals mixed in the initial original input, thereby generating the original input signal in this embodiment, and the original input signal is collected by a signal acquisition device, wherein the original input signal includes the initial original input and the harmonic interference signal.

[0063] In step S12, the harmonic interference signal is iteratively deduced through a notch filter device based on the original input signal to generate a simulated interference signal matching the harmonic interference signal.

[0064] For example, the air conditioner electrolytic capacitor-free system of this embodiment is equipped with a notch filter device, which is used to filter out harmonics and other interferences in the power supply signal to improve the stability and reliability of the system. The harmonics in the original input signal in this embodiment refer to frequency components that are integer multiples of the fundamental frequency. Harmonic interference signals can be caused by nonlinear loads, other power electronic devices, etc., which will cause grid voltage distortion, current distortion, and power factor reduction. Therefore, in this embodiment, the notch filter device selectively filters out harmonics of specific frequencies, thereby reducing the impact of harmonics on the grid and equipment.

[0065] In this embodiment, the frequency of the harmonic interference signal in the original input signal can be determined based on the frequency of the fundamental signal in the original input signal. The harmonic interference signal in the original input signal is simulated by iterative recursion using a notch filter device to generate a simulated interference signal that matches the harmonic interference signal. For example, in this embodiment, the notch filter device uses an LMS (Least Mean Square) algorithm to iteratively recurse the harmonic interference signal in the original input signal, compare each recursive result with the harmonic interference signal in the original input signal, determine the difference in each iterative recursion, and when the difference is less than a set threshold, determine that the signal determined by the iterative recursion is a simulated interference signal that matches the harmonic interference signal.

[0066] In step S13, the harmonic interference signal in the original input signal is offset by the simulated interference signal to generate a target sinusoidal wave signal.

[0067] For example, in this embodiment, based on the simulated interference signal, a cancellation signal that is completely opposite to the simulated interference signal can be generated, and then based on the cancellation signal, the harmonic interference signal in the original input signal can be cancelled to generate a target sinusoidal wave signal. The target sinusoidal wave signal is the fundamental signal in the air-conditioning electrolytic capacitor-free control system. By measuring the target sinusoidal wave signal, the power factor in the system can be determined to reduce the risk of power loss and equipment failure.

[0068] Through the above method, the original input signal is obtained, the original input signal includes a harmonic interference signal, the harmonic interference signal is iteratively recursively performed on the harmonic interference signal through a notch filter device based on the original input signal, and a simulated interference signal matching the harmonic interference signal is generated, and the harmonic interference signal in the original input signal is offset by the simulated interference signal to generate a target sinusoidal wave signal. Thus, the harmonic interference signal in the original input signal is iteratively recursively performed through the notch filter device, and a simulated interference signal is generated to offset the harmonic interference signal, and the required target sinusoidal wave signal is obtained, thereby improving the extraction accuracy of the sinusoidal signal without additionally increasing the hardware cost.

[0069] Figure 2is a flow chart of a method for generating a simulated interference signal according to an exemplary embodiment. Figure 2 As shown, the above step S12 includes the following steps.

[0070] In step S1211 , a target interference frequency of a harmonic interference signal is determined according to the original input signal.

[0071] For example, the original input signal of this embodiment includes a fundamental signal and an interference signal, wherein the frequency of the fundamental signal in the air-conditioning electrolytic capacitor-free system is fixed, and in the existing power grid power supply system, the fundamental frequency of the fundamental signal in the air-conditioning electrolytic capacitor-free system is usually 50Hz or 60Hz. According to the fundamental frequency of the fundamental signal, the interference signal in the original input signal is analyzed to determine the target interference frequency of the harmonic interference signal in the original input signal.

[0072] In step S1212, a first single-frequency signal and a second single-frequency signal whose frequencies match the target interference frequency are collected from the original input signal.

[0073] It can be understood that in this embodiment, the harmonic interference signal is a sinusoidal signal, and the harmonic interference signal can be separated into two single-frequency sinusoidal harmonic components and cosine harmonic components with the same frequency, amplitude and phase angle. The sinusoidal harmonic component and the cosine harmonic component are combined to generate the harmonic interference signal. Therefore, this proposal samples the harmonic interference signal from the original input signal according to the target interference frequency determined in the above steps, and determines the first single-frequency signal and the second single-frequency signal corresponding to the harmonic interference signal. Among them, the frequencies of the first single-frequency signal and the second single-frequency signal are the same as the frequencies of the harmonic interference signal, and the phase difference between the first single-frequency signal and the second single-frequency signal is 90°. The first single-frequency signal and the second single-frequency signal are not equal to the sinusoidal harmonic component and the cosine harmonic component of the harmonic interference signal. The first single-frequency signal and the second single-frequency signal are reference input signals sampled and determined from the original input signal, and the simulated interference signal matching the harmonic interference signal is simulated based on the first single-frequency signal and the second single-frequency signal.

[0074] In step S1213, a first weight coefficient of the first single frequency signal is determined by a notch filter device, and a second weight coefficient of the second single frequency signal is determined by a notch filter device.

[0075] For example, in this embodiment, the notch filter device uses the first single-frequency signal and the second single-frequency signal generated in the above steps to iteratively recursively simulate the simulated interference signal, and determines the first weight coefficient of the first single-frequency signal and the second weight coefficient of the second single-frequency signal in the signal fusion process. It can be understood that the notch filter device in this proposal needs to determine the weight ratio of each single-frequency signal in the fusion process when the first single-frequency signal and the second single-frequency signal are fused, and iteratively simulate the weight coefficient using a preset iteration step size to determine the first weight coefficient and the second weight coefficient.

[0076] Optionally, in some implementations, the above step S123 includes:

[0077] Acquire a first initial weight coefficient of the first single-frequency signal, a second initial weight coefficient of the second single-frequency signal, and a first preset iteration step length of the notch filter device;

[0078] Iterating the first initial weight coefficient multiple times based on the first preset iteration step, the original input signal and the first single frequency signal to generate multiple first iteration weight coefficients, and iterating the second initial weight coefficient multiple times based on the first preset iteration step and the original input signal to generate multiple second iteration weight coefficients;

[0079] Combining the first single frequency signal and the second single frequency signal according to a plurality of first iteration weight coefficients and a plurality of second iteration weight coefficients to generate a plurality of simulated interference signals;

[0080] When the difference between the target analog interference signal and the harmonic interference signal among multiple analog interference signals is less than a set threshold, the target first iteration weight coefficient of the target analog interference signal is determined to be the first weight coefficient, and the target second iteration weight coefficient of the target analog interference signal is determined to be the second weight coefficient.

[0081] For example, in this embodiment, the notch filter device is provided with a first initial weight coefficient, a second initial weight coefficient and a first preset iteration step. Normally, the first initial weight coefficient and the second initial weight coefficient are both 0, and the first preset iteration step can be set to 0.7, which can be understood as the duration of the iteration cycle. For example, the iteration step is 0.7T, indicating that the iteration weight coefficient is iterated by the notch filter device within a time period of 0.7T.

[0082] In this embodiment, according to the initial iteration parameters preset in the notch filter device, the weight coefficients of the first single-frequency signal and the second single-frequency signal are iterated to generate multiple first iteration weight coefficients and multiple second iteration weight coefficients. For example, the first iteration weight coefficient generated in each iteration in this embodiment corresponds to the second iteration weight coefficient, and a simulated interference signal is generated according to the weight coefficient generated in each iteration and the first single-frequency signal and the second single-frequency signal. The simulated interference signal is tested, and if the difference between the simulated interference signal and the harmonic interference signal is greater than the set threshold, it means that the weight coefficient has not converged at this time, and the weight coefficient still needs to be iteratively trained.

[0083] If the difference between the target analog interference signal and the harmonic interference signal among multiple analog interference signals is less than a set threshold, the target first iteration weight coefficient of the target analog interference signal is determined to be the first weight coefficient, the target second iteration weight coefficient of the target analog interference signal is determined to be the second weight coefficient, and the iterative training process in the notch filter device is terminated, and the first weight coefficient and the second weight coefficient are output.

[0084] Optionally, in one implementation, the step of “iterating the first initial weight coefficient multiple times based on the first preset iteration step, the original input signal and the first single frequency signal to generate multiple first iteration weight coefficients” includes:

[0085] The first iteration weight coefficient is determined based on the following formula, where the first iteration weight coefficient is any one of multiple first iteration weight coefficients:

[0086] w1 (k+1) =w1 (k) +2μe (k) x1 (k)

[0087] Among them, w1 (k+1) is the iteration weight coefficient at the k+1th iteration, w1 (k) is the iteration weight coefficient at the kth iteration, μ is the first preset iteration step length, e (k) is the difference between the original input signal and the simulated interference signal at the kth iteration, x1 (k) is the first single frequency signal.

[0088] For example, in this embodiment, the first iteration weight coefficient of the first single frequency signal at the next iteration moment is determined by the above steps. It can be understood that the second iteration weight coefficient of the second single frequency signal in this embodiment is also applicable to the above steps, and the second iteration weight coefficient of the second single frequency signal at the next iteration moment is calculated according to the above steps.

[0089] In step S1214, the first single-frequency signal and the second single-frequency signal are combined according to the first weight coefficient and the second weight coefficient to generate a simulated interference signal.

[0090] For example, in this embodiment, the first weight coefficient is the fusion ratio of the first single-frequency signal, and the second weight coefficient is the fusion ratio of the second single-frequency signal. The first single-frequency signal and the second single-frequency signal are combined according to the fusion ratio to generate an analog interference signal that matches the harmonic interference signal.

[0091] Figure 3 is a schematic diagram of an interference signal cancellation method according to an exemplary embodiment. Figure 3 As shown, the method includes the following steps.

[0092] For example, in this embodiment, the original input signal interfered by the interference is a sinusoidal signal, which can be expressed as: n =S n +C cos(ωt+θ). Where C represents the amplitude of the harmonic interference signal, and ω represents the frequency of the harmonic interference signal. The single-frequency sinusoidal signal in the original input signal is sampled to generate a reference input signal, which can be expressed as: X n =A cos(ωt+b), wherein the frequency of the reference input signal is the same as the frequency of the harmonic interference signal, but the phase is different. The reference input signal is sampled to generate a first single-frequency signal and a second single-frequency signal, which are transmitted to the X1(n) and X2(n) terminals respectively, wherein the phase difference between the first single-frequency signal and the second single-frequency signal is 90°. The first weight coefficient W1(n) of the first single-frequency signal and the second weight coefficient W2(n) of the second single-frequency signal are obtained by the LMS algorithm. The amplitude, phase angle and frequency of the simulated sine wave Y(n) obtained by combining W1(n) and W2(n) are the same as those of the harmonic interference signal. Finally, the harmonic interference signal is offset by the simulated interference signal generated by simulation, thereby extracting the target sinusoidal signal in the original input signal. For example, the method may include the following steps:

[0093] (1) Setting initial parameters in the notch filter device: a first initial weight coefficient W1(0)=0, a second initial weight coefficient W2(0)=0, and a first preset iteration step μ=0.7.

[0094] (2) In the above manner, the first single-frequency signal X1(0), the second single-frequency signal X2(0), the sine component Y1(0), the cosine component Y2(0) and the original input signal d are read in the initial state. n ;

[0095] (3) Calculate the simulated interference signal:

[0096] y(K)=W1(K)*X1(K)+W1(K)*X1(K)

[0097] (4) Determine the estimation error:

[0098] e(K)=d(K)-y(K)

[0099] (5) Determine the filter coefficient at time k+1:

[0100] W1(K+1)=W1(K)+2μe(K)X1(K)

[0101] W2(K+1)=W2(K)+2μe(K)X2(K)

[0102] (6) Determine the difference between the analog interference signal and the harmonic interference signal. If the difference is less than a set threshold, the iteration ends. Otherwise, repeat the above steps (2) to (6) for multiple iterations.

[0103] (7) The output error e(K) is used as the target sinusoidal wave signal.

[0104] In the above manner, the original input signal is sampled to obtain a single-frequency signal, and the weight coefficient of the single-frequency signal is iterated multiple times through the notch filter device. After the target weight coefficient is determined, the harmonic interference signal is simulated according to the single-frequency signal and the target weight coefficient, and a simulated interference signal is generated to offset the harmonic interference signal in the original input signal. Thus, the harmonic interference signal is simulated by determining the weight ratio of the component by simulating the component, and after the simulated interference signal is generated, the interference signal in the original input signal is baselined, thereby improving the extraction accuracy of the sine wave signal.

[0105] Figure 4 is a flow chart of a method for generating a simulated interference signal according to an exemplary embodiment. Figure 4 As shown, the above step S12 includes the following steps.

[0106] In step S1221, initial filtering parameters and a second preset iteration step size of the notch filtering device are obtained.

[0107] For example, in this embodiment, the harmonic interference signal in the original input signal can be directly iterated and recursively deduced based on the notch filter device to determine the initial filtering parameters and the second preset iteration step size in the notch filter device. For example, the initial filtering parameters may include an initial objective function, an attenuation parameter, etc. The second preset iteration step size can be set to: μ = 1.3*10 -10 .

[0108] In step S1222, a simulated interference signal is determined according to the initial filtering parameters, the second preset iteration step size and the original input signal.

[0109] For example, according to the initial filtering parameters and the second preset iteration step size, the harmonic interference signal in the original input signal is iterated to generate a simulated interference signal.

[0110] Optionally, in one implementation, the above step S1222 includes:

[0111] Determine an initial simulated interference signal according to the original input signal and the initial filtering parameters;

[0112] When the difference between the initial simulated interference signal and the harmonic interference signal is greater than or equal to a set threshold, determining the objective function gradient according to the initial simulated interference signal and the original input signal;

[0113] Iterative method for determining filter parameters based on objective function gradient;

[0114] Iterate the initial filtering parameters according to the iteration mode and the second preset iteration step size to generate first filtering parameters;

[0115] Determining a first simulated interference signal according to the first filtering parameter and the original input signal;

[0116] When the difference between the first analog interference signal and the harmonic interference signal is smaller than a set threshold, the first analog interference signal is used as the analog interference signal.

[0117] For example, in this embodiment, the interference signal in the original input signal is filtered according to the initial filtering parameters to generate an initial simulated interference signal. The initial simulated interference signal is verified. If the difference between the initial simulated interference signal and the harmonic interference signal is greater than or equal to the set threshold, the objective function gradient is determined based on the initial simulated interference signal and the original input signal. In this embodiment, the objective function gradient can be calculated and determined by the following formula:

[0118]

[0119] Wherein, g(K) is the objective function gradient at the kth iteration, e(k) is the simulated interference signal generated at the kth iteration, e(k-1) is the simulated interference signal generated at the k-1th iteration, u(k-1) is the original input signal at the k-1th iteration, and r is the attenuation parameter. In some embodiments, the attenuation parameter r=0.965.

[0120] The iterative method of determining the filtering parameters is based on the objective function gradient. For example, the objective function can be determined in the following manner in this embodiment:

[0121] a(k+1)=-2μe(k)*(u(k-1)-r*e(k-1))+a(k)

[0122] Among them, a(k+1) is the objective function at the k+1th iteration, μ is the second preset iteration step, e(k) is the simulated interference signal simulated and generated at the kth iteration, u(k-1) is the original input signal at the k-1th iteration, and a(k) is the objective function at the kth iteration.

[0123] After determining the objective function at k iterations through the above iterative method, the initial filtering parameters are iterated through the objective function and the second preset iteration step size to generate the first filtering parameters, and the first simulated interference signal is generated based on the first filtering parameters and the original input signal. For example, in this embodiment, the first simulated interference signal can be calculated by the following formula:

[0124] e(k)=-r*a*e(k-1)-r 2 *e(k-2)+2u(k)+a*u(k-1)

[0125] Wherein, e(k) is the simulated interference signal generated by simulation at the kth iteration, r is the attenuation parameter, e(k-1) is the simulated interference signal generated by simulation at the k-1th iteration, u(k-1) is the original input signal at the k-1th iteration, and u(k) is the original input signal at the kth iteration. Determine the difference between the first simulated interference signal and the harmonic interference signal. If the difference is less than the set threshold, the first simulated interference signal is used as the simulated interference signal.

[0126] Optionally, in some embodiments, the above method further comprises:

[0127] When the difference between the first analog interference signal and the harmonic interference signal is greater than or equal to the set threshold, iterating the first filter parameter according to the iteration mode and the second preset iteration step size to generate the second filter parameter;

[0128] Determining a second simulated interference signal according to the second filtering parameter and the original input signal;

[0129] When the difference between the second analog interference signal and the harmonic interference signal is smaller than a set threshold, the second analog interference signal is used as the analog interference signal.

[0130] For example, in this embodiment, the analog interference signal is iteratively trained, and the analog interference signal generated in each iteration is verified based on the harmonic interference signal. If the difference between the analog interference signal and the harmonic interference signal is greater than or equal to the set threshold, the first filter parameter is iterated according to the above-mentioned iterative method to generate the second filter parameter, and the second analog interference signal is determined according to the above-mentioned method based on the second filter parameter and the original input signal. The second analog interference signal is compared with the harmonic interference signal, and when the difference between the two is less than the set threshold, the second analog interference signal is used as the analog interference signal.

[0131] Figure 5 is a schematic diagram of an interference signal cancellation method according to an exemplary embodiment. Figure 5 Said method comprises the following steps.

[0132] For example, in this embodiment, e(k) is the analog interference flat signal output after the original input signal u(k)=A sin(ωk+b)+v passes through the notch filter device H(z), r(k) is the target sinusoidal wave signal, and the notch filter device H(z) is used to subtract the original input signal u(k) from the analog interference signal e(k) to obtain the target sinusoidal wave signal r(k).

[0133] (1) Set the initial filter parameters a(0) = 0, e(0) = 0, μ = 1.3*10 -10 , r = 0.965, u(0) = 0;

[0134] (2) Calculate the simulated interference signal value:

[0135] e(k)=-r*a*e(k-1)-r 2 *e(k-2)+2u(k)+a*u(k-1)

[0136] (3) Determine the objective function gradient:

[0137]

[0138] (4) Determine the iterative formula for parameter a:

[0139] a(k+1)=-2μe(k)*(u(k-1)-r*e(k-1))+a(k)

[0140] (5) Calculating the difference between the analog interference signal and the harmonic interference signal. If the difference is greater than a set threshold, repeating the above steps 1-4, and continuing to iterate the analog interference signal until the difference between the analog interference signal and the harmonic interference signal is less than or equal to the set threshold;

[0141] (6) Output target sinusoidal wave signal: r(k) = u(k) - e(k)

[0142] Through the above method, the target sinusoidal wave signal is extracted from the original input signal, so as to quickly extract the input sinusoidal signal in the process of variable frequency drive without electrolytic capacitor, improve the power factor of the system, and achieve it with the assistance of existing load equipment without adding additional costs.

[0143] Figure 6 is a block diagram of an interference signal cancellation device according to an exemplary embodiment. Figure 6 The device 100 includes: an acquisition module 110, a generation module 120 and an execution module 130.

[0144] An acquisition module 110 is configured to acquire an original input signal, wherein the original input signal includes a harmonic interference signal;

[0145] The generating module 120 is configured to iteratively perform recursion on the harmonic interference signal through a notch filter device based on the original input signal to generate a simulated interference signal matching the harmonic interference signal;

[0146] The execution module 130 is configured to cancel the harmonic interference signal in the original input signal by using the simulated interference signal to generate a target sinusoidal wave signal.

[0147] Optionally, the generating module 120 includes:

[0148] A first determination submodule is configured to determine a target interference frequency of the harmonic interference signal according to the original input signal;

[0149] A processing submodule is configured to collect a first single-frequency signal and a second single-frequency signal whose frequencies match the target interference frequency from the original input signal;

[0150] A second determining submodule is configured to determine a first weight coefficient of the first single-frequency signal through the notch filtering device, and to determine a second weight coefficient of the second single-frequency signal through the notch filtering device;

[0151] The generating submodule is configured to combine the first single-frequency signal and the second single-frequency signal according to the first weight coefficient and the second weight coefficient to generate the simulated interference signal.

[0152] Optionally, the second determining submodule includes:

[0153] an acquisition unit, configured to acquire a first initial weight coefficient of the first single-frequency signal, a second initial weight coefficient of the second single-frequency signal, and a first preset iteration step length of the notch filtering device;

[0154] A first generating unit is configured to iterate the first initial weight coefficient multiple times based on the first preset iteration step, the original input signal and the first single frequency signal to generate multiple first iteration weight coefficients, and to iterate the second initial weight coefficient multiple times based on the first preset iteration step and the original input signal to generate multiple second iteration weight coefficients;

[0155] A second generating unit is configured to combine the first single-frequency signal and the second single-frequency signal according to the multiple first iteration weight coefficients and the multiple second iteration weight coefficients to generate multiple simulated interference signals;

[0156] A determination unit is configured to determine that a target first iteration weight coefficient of the target analog interference signal is the first weight coefficient, and a target second iteration weight coefficient of the target analog interference signal is the second weight coefficient when a difference between a target analog interference signal among the multiple analog interference signals and the harmonic interference signal is less than a set threshold.

[0157] Optionally, the acquisition unit is configured to:

[0158] The first iteration weight coefficient is determined based on the following formula, where the first iteration weight coefficient is any one of the multiple first iteration weight coefficients:

[0159] w1 (k+1) =w1 (k) +2μe (k) x1 (k)

[0160] Among them, w1 (k+1) is the iteration weight coefficient at the k+1th iteration, w1 (k) is the iteration weight coefficient at the kth iteration, μ is the first preset iteration step length, e (k) is the difference between the original input signal and the simulated interference signal at the kth iteration, x1 (k) is the first single frequency signal.

[0161] Optionally, the generating module 120 includes:

[0162] An acquisition submodule, configured to acquire initial filtering parameters and a second preset iteration step of the notch filtering device;

[0163] The third determination submodule is configured to determine the simulated interference signal according to the initial filtering parameter, the second preset iteration step and the original input signal.

[0164] Optionally, the third determining submodule is configured to:

[0165] Determining an initial simulated interference signal according to the original input signal and the initial filtering parameters;

[0166] In the case where the difference between the initial simulated interference signal and the harmonic interference signal is greater than or equal to a set threshold, determining a gradient of an objective function according to the initial simulated interference signal and the original input signal;

[0167] An iterative method for determining filtering parameters based on the objective function gradient;

[0168] Iterating the initial filtering parameters according to the iteration mode and the second preset iteration step size to generate first filtering parameters;

[0169] Determining a first simulated interference signal according to the first filtering parameter and the original input signal;

[0170] When the difference between the first analog interference signal and the harmonic interference signal is smaller than the set threshold, the first analog interference signal is used as the analog interference signal.

[0171] Optionally, the third determining submodule further includes an execution unit, and the execution unit is configured to:

[0172] When the difference between the first analog interference signal and the harmonic interference signal is greater than or equal to the set threshold, iterating the first filtering parameter according to the iteration mode and the second preset iteration step size to generate a second filtering parameter;

[0173] Determining a second simulated interference signal according to the second filtering parameter and the original input signal;

[0174] When the difference between the second analog interference signal and the harmonic interference signal is smaller than the set threshold, the second analog interference signal is used as the analog interference signal.

[0175] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0176] The present disclosure also provides a computer-readable storage medium having computer program instructions stored thereon, and when the program instructions are executed by a processor, the steps of the interference signal cancellation method provided by the present disclosure are implemented.

[0177] Figure 7is a block diagram of an electronic device 700 according to an exemplary embodiment. For example, the device 700 may be an air conditioning device, a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0178] Reference Figure 7 , device 700 may include one or more of the following components: a processing component 702 , a memory 704 , a power component 706 , a multimedia component 707 , an audio component 710 , an input / output interface 712 , a sensor component 714 , and a communication component 716 .

[0179] The processing component 702 generally controls the overall operation of the device 700, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 702 may include one or more processors 720 to execute instructions to complete all or part of the steps of the above-mentioned interference signal cancellation method. In addition, the processing component 702 may include one or more modules to facilitate the interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate the interaction between the multimedia component 707 and the processing component 702.

[0180] The memory 704 is configured to store various types of data to support operations on the device 700. Examples of such data include instructions for any application or method operating on the device 700, contact data, phone book data, messages, pictures, videos, etc. The memory 704 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0181] The power supply component 706 provides power to the various components of the device 700. The power supply component 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device 700.

[0182] The multimedia component 707 includes a screen that provides an output interface between the device 700 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 707 includes a front camera and / or a rear camera. When the device 700 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and the rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0183] The audio component 710 is configured to output and / or input audio signals. For example, the audio component 710 includes a microphone (MIC), and when the device 700 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 704 or sent via the communication component 716. In some embodiments, the audio component 710 also includes a speaker for outputting audio signals.

[0184] The input / output interface 712 provides an interface between the processing component 702 and the peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0185] The sensor assembly 714 includes one or more sensors for providing various aspects of status assessment for the device 700. For example, the sensor assembly 714 can detect the open / closed state of the device 700, the relative positioning of components, such as the display and keypad of the device 700, and the sensor assembly 714 can also detect the position change of the device 700 or a component of the device 700, the presence or absence of user contact with the device 700, the orientation or acceleration / deceleration of the device 700, and the temperature change of the device 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 714 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 714 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0186] The communication component 716 is configured to facilitate wired or wireless communication between the device 700 and other devices. The device 700 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 716 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0187] In an exemplary embodiment, the device 700 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above-mentioned interference signal cancellation method.

[0188] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 704 including instructions, and the instructions can be executed by the processor 720 of the device 700 to perform the above interference signal cancellation method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0189] In addition to being an independent electronic device, the above-mentioned device can also be a part of an independent electronic device. For example, in one embodiment, the device can be an integrated circuit (IC) or a chip, wherein the integrated circuit can be an IC or a collection of multiple ICs; the chip can include but is not limited to the following types: GPU (Graphics Processing Unit), CPU (Central Processing Unit), FPGA (Field Programmable Gate Array), DSP (Digital Signal Processor), ASIC (Application Specific Integrated Circuit), SOC (System on Chip, SoC, system on chip or system-level chip), etc. The above-mentioned integrated circuit or chip can be used to execute executable instructions (or codes) to implement the above-mentioned interference signal cancellation method. The executable instructions can be stored in the integrated circuit or chip, or can be obtained from other devices or equipment, for example, the integrated circuit or chip includes a processor, a memory, and an interface for communicating with other devices. The executable instruction can be stored in the memory, and when the executable instruction is executed by the processor, the above-mentioned interference signal cancellation method is implemented; alternatively, the integrated circuit or chip can receive the executable instruction through the interface and transmit it to the processor for execution, so as to implement the above-mentioned interference signal cancellation method.

[0190] In another exemplary embodiment, a computer program product is further provided. The computer program product includes a computer program executable by a programmable device. The computer program has a code portion for executing the above interference signal cancellation method when executed by the programmable device.

[0191] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the present disclosure. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered as exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0192] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A method for cancelling interference signals, characterized in that: include: Acquire an original input signal, wherein the original input signal includes a harmonic interference signal; Iteratively recursively perform the harmonic interference signal on the original input signal through a notch filter device to generate a simulated interference signal matching the harmonic interference signal; The harmonic interference signal in the original input signal is offset by the simulated interference signal to generate a target sinusoidal wave signal.

2. The method according to claim 1, characterized in that The iterative recursion of the harmonic interference signal through a notch filter device based on the original input signal to generate a simulated interference signal matching the harmonic interference signal includes: Determining a target interference frequency of the harmonic interference signal according to the original input signal; Acquire a first single frequency signal and a second single frequency signal whose frequencies match the target interference frequency from the original input signal; Determining a first weight coefficient of the first single-frequency signal by the notch filtering device, and determining a second weight coefficient of the second single-frequency signal by the notch filtering device; The first single-frequency signal and the second single-frequency signal are combined according to the first weight coefficient and the second weight coefficient to generate the simulated interference signal.

3. The method according to claim 2, characterized in that The determining of a first weight coefficient of the first single-frequency signal by the notch filtering device, and the determining of a second weight coefficient of the second single-frequency signal by the notch filtering device, include: Acquire a first initial weight coefficient of the first single-frequency signal, a second initial weight coefficient of the second single-frequency signal, and a first preset iteration step length of the notch filtering device; Iterating the first initial weight coefficient multiple times based on the first preset iteration step, the original input signal, and the first single-frequency signal to generate multiple first iteration weight coefficients, and iterating the second initial weight coefficient multiple times based on the first preset iteration step and the original input signal to generate multiple second iteration weight coefficients; Combining the first single-frequency signal and the second single-frequency signal according to the multiple first iteration weight coefficients and the multiple second iteration weight coefficients to generate multiple simulated interference signals; When the difference between the target analog interference signal among the multiple analog interference signals and the harmonic interference signal is less than a set threshold, the target first iteration weight coefficient of the target analog interference signal is determined to be the first weight coefficient, and the target second iteration weight coefficient of the target analog interference signal is determined to be the second weight coefficient.

4. The method according to claim 3, characterized in that The step of iterating the first initial weight coefficient multiple times based on the first preset iteration step, the original input signal, and the first single-frequency signal to generate multiple first iteration weight coefficients includes: The first iteration weight coefficient is determined based on the following formula, where the first iteration weight coefficient is any one of the multiple first iteration weight coefficients: w1 (k+1) =w1 (k) +2μe (k) x1 (k) Among them, w1 (k+1) is the iteration weight coefficient at the k+1th iteration, w1 (k) is the iteration weight coefficient at the kth iteration, μ is the first preset iteration step length, e (k) is the difference between the original input signal and the simulated interference signal at the kth iteration, x1 (k) is the first single-frequency signal.

5. The method according to claim 1, characterized in that The iterative recursion of the harmonic interference signal based on the original input signal by the notch filter device to generate a simulated interference signal matching the harmonic interference signal includes: Acquire initial filtering parameters and a second preset iteration step of the notch filtering device; The simulated interference signal is determined according to the initial filtering parameters, the second preset iteration step size and the original input signal.

6. The method according to claim 5, characterized in that The step of determining the simulated interference signal according to the initial filtering parameter, the second preset iteration step size and the original input signal comprises: Determining an initial simulated interference signal according to the original input signal and the initial filtering parameters; In the case where the difference between the initial simulated interference signal and the harmonic interference signal is greater than or equal to a set threshold, determining a gradient of an objective function according to the initial simulated interference signal and the original input signal; An iterative method for determining filtering parameters based on the objective function gradient; Iterating the initial filtering parameters according to the iteration mode and the second preset iteration step size to generate first filtering parameters; Determining a first simulated interference signal according to the first filtering parameter and the original input signal; When the difference between the first analog interference signal and the harmonic interference signal is smaller than the set threshold, the first analog interference signal is used as the analog interference signal.

7. The method according to claim 6, characterized in that The method comprises: When the difference between the first analog interference signal and the harmonic interference signal is greater than or equal to the set threshold, iterating the first filtering parameter according to the iteration mode and the second preset iteration step size to generate a second filtering parameter; Determining a second simulated interference signal according to the second filtering parameter and the original input signal; When the difference between the second analog interference signal and the harmonic interference signal is smaller than the set threshold, the second analog interference signal is used as the analog interference signal.

8. An interference signal cancellation device, characterized in that: include: An acquisition module is configured to acquire an original input signal, wherein the original input signal includes a harmonic interference signal; A generating module is configured to iteratively perform recursion on the harmonic interference signal through a notch filter device based on the original input signal to generate a simulated interference signal matching the harmonic interference signal; The execution module is configured to cancel the harmonic interference signal in the original input signal by using the simulated interference signal to generate a target sinusoidal wave signal.

9. An air conditioning device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to execute the executable instructions to implement the steps of the method according to any one of claims 1 to 7.

10. 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 7 are implemented.

Citation Information

Cited By

  • Digital active EMI filter design method and device based on online time delay compensation

    CN121308535A

  • Design method and device of digital active EMI filter based on online delay compensation

    CN121308535B