Frequency mismatch solution method and system based on optimal delay and variable step size
By adopting the optimal delay and variable step method in the active EMI filter, the problem of frequency mismatch of traditional filters in the DC power grid is solved, the frequency adaptability is improved, and effective response to rapidly changing interference frequencies is achieved. Suppress and adapt to the interference characteristics of the generator set.
Patent Information
- Application Number
- CN202410864242.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-30
- Publication Date
- 2024-10-22
AI Technical Summary
Traditional active EMI filters cannot effectively track the rapidly changing interference current in the DC power grid, resulting in frequency mismatch, failure to suppress interference signals, and even enhanced oscillation.
Using a method based on optimal delay and variable step size, the delay information is obtained by actively injecting reference signals, the optimal phase compensation parameters are calculated, the initial phase value in the LMS algorithm is adjusted, and the iteration step size is increased to improve active EMI. The frequency adaptation of the filter.
It achieves effective suppression of DC grid interference frequency points, improves frequency adaptability, can maintain a suppression effect of more than 20dB when the interference frequency changes, and adapts to the interference characteristics of the generator set.
Smart Images

Figure CN118826467A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of filters, and in particular relates to a frequency mismatch solution method and system based on optimal delay and variable step length. Background Art
[0002] Traditional active EMI filters are mostly used in AC power grids to eliminate the baseband interference of the power grid, compensate for reactive power, and improve the power quality of the power grid. The frequency of the AC power grid is basically maintained at 50Hz, and the variation range is controlled within plus or minus 0.5Hz. Active EMI filters are used in DC power grids to solve the interference problem caused by the power generation system. The interference in the DC power grid is usually generated by the power generation system. In theory, the interference of the DC power grid is related to the rotation frequency of the generator shaft, the number of poles of the generator and the external rectifier system. The frequency of the interference current is positively correlated with the speed of the generator. The baseband frequency of the interference is calculated by formula (1):
[0003] f H =f S ·N1·2N2 (1)
[0004] where f H is the fundamental frequency of the interference, f S is the mechanical rotation frequency of the shaft, N1 is the number of pole pairs of the generator, and N2 is the number of phases of the rectifier system. For an actual shaft system, its mechanical rotation frequency is not always constant, but changes over time within a certain error range. According to equation (1), the fundamental frequency of the interference is not stable. For example, the rated speed of a shaft is 8000r / min, and the allowable rotation frequency error range of the shaft is plus or minus ±0.2%. When the number of pole pairs of the generator is 2 and the rectifier system is 12 phases, the deviation of the fundamental frequency of the interference is plus or minus 12.8Hz, and the rate of change is as high as several Hz per second.
[0005] Under this frequency change range and rate, traditional active EMI filters are completely unable to track the rapidly changing interference current due to their high internal delay; this results in a frequency mismatch between the injected signal and the interference signal when the active EMI filter is injected. The active EMI filter is unable to suppress the interference signal and may even enhance the interference, causing oscillation in severe cases. Summary of the invention
[0006] The technical problem to be solved by the present invention is to provide a frequency mismatch solution method and system based on optimal delay and variable step length, which is used to solve the frequency mismatch problem and improve the frequency adaptability of the active EMI filter.
[0007] The technical solution adopted by the present invention to solve the above technical problems is: a frequency mismatch solution based on optimal delay and variable step size, comprising the following steps:
[0008] S0: Build an active EMI filter for DC power grid, including a current sensor, a preamplifier, an LMS algorithm module, an inverter amplification module and a compensation injection module; the current sensor is connected in series to the DC bus, and the signal output end of the current sensor is connected to the preamplifier; the signal output end of the preamplifier is connected to the LMS algorithm module; the signal output end of the LMS algorithm module is connected to the compensation injection module through the power amplifier module; the compensation injection module is connected to the injection point of the DC bus;
[0009] S1: Actively inject reference signals to obtain the delay information inside the active EMI filter, and calculate the optimal phase compensation parameters based on the delay information;
[0010] S2: The initial phase value of the reference source inside the active EMI filter is changed by adjusting the phase compensation parameter to compensate for the phase shift caused by the inherent delay inside the active EMI filter;
[0011] S3: Obtain the optimal phase compensation parameters at the interference base frequency to increase the iteration step size and ultimately improve the frequency adaptability.
[0012] According to the above scheme, in step S1, the delay information inside the active EMI filter is obtained by active injection, and the optimal phase compensation parameter is calculated based on the delay information.
[0013] According to the above scheme, in step S1, the phase compensation parameter is adjusted to change the initial phase value of the reference source in the LMS algorithm used by the active EMI filter, so as to compensate for the phase offset caused by the inherent delay inside the active EMI filter.
[0014] Furthermore, in step S2, the initial phase of the internal reference source is adjusted to adjust the initial phase of the error signal, the error signal is a time domain signal of the interference current sampled in real time, the iteration step μ is a parameter for controlling the convergence speed and the steady-state error, and the error signal after the initial phase change is used to update the weights W1 and W2:
[0015] W1(n+1)=W1(n)+2μe(n)x1(n) (1),
[0016] W2(n+1)=W2(n)+2μe(n)x2(n) (2).
[0017] According to the above solution, in step S3, the iteration step size is positively correlated with the frequency adaptability within the effective range of the hardware.
[0018] Furthermore, in step S3, an optimal iteration step size is adopted to balance the steady-state error and frequency adaptability; the larger the iteration step size, the faster the convergence speed, and the steady-state error increases accordingly, until the iteration step size increases to exceed a certain limit and the system as a whole becomes unstable and collapses; the smaller the iteration step size, the slower the convergence speed and the smaller the steady-state error.
[0019] According to the above scheme, the following steps are also included:
[0020] S4: Improve the detection accuracy of the error signal within the effective range of the hardware to improve the frequency adaptability of the active power filter.
[0021] A frequency mismatch solution system based on optimal delay and variable step length comprises a current sensor, a preamplifier, an LMS algorithm module, a power amplification module and a compensation injection module; the current sensor is connected in series to a DC bus, and a signal output end of the current sensor is connected to the preamplifier for acquiring an interference signal generated by an external interference source on the DC bus and sending the phase, amplitude and frequency of the interference signal to the preamplifier; the signal output end of the preamplifier is connected to the LMS algorithm module for sending the interference signal to the LMS algorithm module after amplification and filtering; the signal output end of the LMS algorithm module is connected to the compensation injection module through the power amplification module for updating a weight coefficient and generating a suppression signal with the same frequency and amplitude as the interference signal and a phase difference of 180 degrees; the compensation injection module is connected to an injection point of the DC bus for injecting a suppression signal to suppress interference on the DC bus.
[0022] Furthermore, an FFT-based identification method is used to collect error signals through Rogowski coils to identify the frequency of the interference signal.
[0023] A computer memory stores a computer program executable by a computer processor, wherein the computer program executes a frequency mismatch solution based on optimal delay and variable step size.
[0024] The beneficial effects of the present invention are:
[0025] 1. The present invention provides a frequency mismatch solution and system based on optimal delay and variable step size. Based on the algorithm of optimal delay and variable step size, the frequency adaptability of the active EMI filter is improved by changing the step size coefficient in the fixed frequency mode to match the rapidly changing interference frequency.
[0026] 2. The core of the optimal delay and variable step size of the present invention is to find the optimal phase compensation parameters inside the active EMI filter. The step size in the LMS algorithm is effectively increased through the optimal phase compensation parameters, and a fixed frequency cancellation signal is output. The frequency adaptability is improved in the fixed frequency mode, and the changing speed and range of the interference are fully adapted, so that the main interference frequency of the DC power grid can be effectively suppressed by more than 20dB when the frequency deviation is at the maximum.
[0027] 3. The present invention solves the problem of frequency mismatch based on optimal delay and variable step-size optimal delay, and is applied to the algorithm design of adaptive active EMI filter to meet the interference characteristic requirements of the generator set. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 It is a principle block diagram of an active EMI filter according to an embodiment of the present invention.
[0029] Figure 2 is a flow chart of an embodiment of the present invention.
[0030] Figure 3 It is a logic block diagram of the internal algorithm of the active EMI filter of the embodiment of the present invention.
[0031] Figure 4 This is a diagram showing the effect of the 5kHz interference suppression in an embodiment of the present invention.
[0032] Figure 5 This is a diagram showing the effect of 5kHz interference suppression according to an embodiment of the present invention.
[0033] Figure 6 The step size of the embodiment of the present invention is 2e -6 , the effect diagram after suppression when the frequency point deviates negatively from 4Hz.
[0034] Figure 7 The step size of the embodiment of the present invention is 2e -6 , the effect diagram after suppression when the frequency point deviates from 4Hz.
[0035] Figure 8 The step size of the embodiment of the present invention is 15e -6 , the effect diagram after suppression when the frequency point deviates negatively from 30Hz.
[0036] Fig. 9 The step size of the embodiment of the present invention is 15e -6 , the effect diagram after suppression when the frequency point deviates from 30Hz.
[0037] Fig.10 4 is a relationship diagram between frequency adaptability and step length according to an embodiment of the present invention. DETAILED DESCRIPTION
[0038] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.
[0039] Example 1
[0040] The system block diagram of the active EMI filter used in steam turbine generator is shown in the attached figure. Figure 1 As shown in the figure, the active EMI filter mainly includes the following parts: current sensor, preamplification and filtering, LMS algorithm, power amplification, and compensation injection. The generator set and rectifier generate interference current on the DC bus. The preamplifier sends the phase, amplitude, and frequency of the interference current to the LMS algorithm through the detection probe. By updating the weight coefficient, a current signal with the same frequency and amplitude and a phase difference of 180° is generated and injected at the injection point to achieve interference suppression of the DC bus.
[0041] Example 2
[0042] See also Figure 2 , an embodiment of the present invention comprises the following steps:
[0043] To solve the mismatch problem, the delay information inside the active EMI filter is obtained by active injection, and the optimal phase compensation parameters are calculated based on the delay information. The phase compensation parameter refers to the initial phase value pre-set by the reference source in the LMS algorithm inside the active EMI filter. By adjusting the phase compensation parameter, the initial phase value of the reference source inside the active EMI filter is changed, thereby effectively compensating for the phase offset caused by the inherent delay inside the active EMI filter.
[0044] By obtaining the optimal phase compensation parameters at the interference base frequency, the step size is effectively increased to improve the frequency adaptability. The reference frequency of the fixed active EMI filter is output at the interference base frequency of 5kHz, and the step size is 2e -6 ,like Figure 4 and Figure 5 As shown in the figure, when the frequency of the external interference source is 5kHz, the interference frequency is effectively suppressed by 40dB. Quickly change the interference frequency of the interference source, such as Figure 6 and Figure 7 As shown, the pre-amplification factor is 40 and the step size is 2e -6 When the interference frequency of the interference source deviates by 4Hz, the suppression effect on the interference frequency is 20dB; when the interference frequency of the interference source continues to deviate, the suppression effect on the interference frequency is lower than 20dB, and the suppression effect is greatly reduced.
[0045] Further increase the step size to 15e -6 ,like Figure 8 and Fig. 9As shown in the figure, when the interference frequency of the interference source deviates by plus or minus 30Hz, the suppression effect on the interference frequency is still 20dB. When the interference frequency of the interference source continues to deviate, the suppression effect is greatly reduced. At this time, the step value is close to the limit. If it continues to increase, the steady-state error will be too large, and the active EMI filter will output other clutter.
[0046] By changing the step value in real time and tracking its relationship with frequency fitness, as shown in Table 1, the data relationship between step length and frequency fitness is obtained. The data relationship is organized into a relationship diagram, such as Fig.10 As shown, when the step size is less than 16e -6 When the frequency adaptation is positively correlated with the step length, when the step length is greater than 16e -6 When the step size exceeds 18e, the system steady-state error will increase sharply and the frequency adaptability will decrease significantly. -6 When the voltage is too low, the system will become unstable and lose the suppression effect of the active EMI filter.
[0047] Table 1 Relationship between frequency adaptability and step length
[0048]
[0049] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0050] The above embodiments are only used to illustrate the design ideas and features of the present invention, and their purpose is to enable those skilled in the art to understand the content of the present invention and implement it accordingly. The protection scope of the present invention is not limited to the above embodiments. Therefore, any equivalent changes or modifications made based on the principles and design ideas disclosed by the present invention are within the protection scope of the present invention.
Claims
1. A frequency mismatch solution based on optimal delay and variable step size, characterized by: The following steps are involved: S0: Build an active EMI filter for DC power grid, including a current sensor, a preamplifier, an LMS algorithm module, an inverter amplification module and a compensation injection module; the current sensor is connected in series to the DC bus, and the signal output end of the current sensor is connected to the preamplifier; the signal output end of the preamplifier is connected to the LMS algorithm module; the signal output end of the LMS algorithm module is connected to the compensation injection module through the power amplifier module; the compensation injection module is connected to the injection point of the DC bus; S1: Actively inject reference signals to obtain the delay information inside the active EMI filter, and calculate the optimal phase compensation parameters based on the delay information; S2: The initial phase value of the reference source inside the active EMI filter is changed by adjusting the phase compensation parameter to compensate for the phase shift caused by the inherent delay inside the active EMI filter; S3: Obtain the optimal phase compensation parameters at the interference base frequency to increase the iteration step size and ultimately improve the frequency adaptability.
2. The method for solving frequency mismatch based on optimal delay and variable step size according to claim 1, characterized in that: In the step S1, the delay information inside the active EMI filter is obtained by active injection, and the optimal phase compensation parameter is calculated based on the delay information.
3. A frequency mismatch solution based on channel-by-channel variable step size according to claim 1, characterized in that: In the step S1, the phase compensation parameter is adjusted to change the initial phase value of the reference source in the LMS algorithm adopted by the active EMI filter, so as to compensate for the phase shift caused by the inherent delay inside the active EMI filter.
4. A frequency mismatch solution based on channel-by-channel variable step size according to claim 3, characterized in that: In the step S2, the initial phase of the internal reference source is adjusted to adjust the initial phase of the error signal, the error signal is a time domain signal of the interference current sampled in real time, the iteration step μ is a parameter for controlling the convergence speed and the steady-state error, and the error signal after the initial phase is changed is used to update the weights W1 and W2: W1(n+1)=W1(n)+2μe(n)x1(n) (1), W2(n+1)=W2(n)+2μe(n)x2(n) (2) 5. The method of claim 1, wherein: In step S3, the iteration step size is positively correlated with the frequency adaptability within the effective range of the hardware.
6. The method of solving the frequency mismatch problem based on optimal delay and variable step size according to claim 5, characterized in that: In step S3, an optimal iteration step size is adopted to balance the steady-state error and the frequency adaptability; The larger the iteration step size, the faster the convergence speed, and the correspondingly larger the steady-state error, until the iteration step size increases to exceed a certain limit, and the overall system becomes unstable and collapses; the smaller the iteration step size, the slower the convergence speed, and the smaller the steady-state error.
7. A frequency mismatch solution based on channel-by-channel variable step size according to claim 1, characterized in that: The following steps are also included: S4: Improve the detection accuracy of the error signal within the effective range of the hardware to improve the frequency adaptability of the active power filter.
8. A system for solving the frequency mismatch solution based on optimal delay and variable step size according to any one of claims 1 to 7, characterized in that: It includes a current sensor, a preamplifier, an LMS algorithm module, a power amplifier module and a compensation injection module; The current sensor is connected in series to the DC bus, and the signal output end of the current sensor is connected to the preamplifier to obtain the interference signal generated by the external interference source on the DC bus and send the phase, amplitude and frequency of the interference signal to the preamplifier; The signal output end of the preamplifier is connected to the LMS algorithm module, which is used to send the interference signal to the LMS algorithm module after amplification and filtering; The signal output end of the LMS algorithm module is connected to the compensation injection module through the power amplifier module to update the weight coefficient and generate a suppression signal with the same frequency and amplitude as the interference signal and a phase difference of 180°; The compensation injection module is connected to the injection point of the DC bus and is used to inject a suppression signal to achieve interference suppression on the DC bus.
9. A frequency mismatch solution system based on channel-by-channel variable step size according to claim 8, characterized in that: The FFT-based recognition method is used to collect the error signal through the Rogowski coil to identify the frequency of the interference signal.
10. A computer memory, characterized in that: A computer program executable by a computer processor is stored therein, and the computer program executes a frequency mismatch solution method based on optimal delay and variable step size as claimed in any one of claims 1 to 7.
Citation Information
Cited By
Digital active EMI filter design method and device based on online time delay compensation
CN121308535A
