SVPWM (Space Vector Pulse Width Modulation) control system and method driven by active power filter

The SVPWM control system driven by the active power filter solves the problem of harmonic pollution in the motor SVPWM control, improves control accuracy and system stability, and reduces energy loss and noise.

CN119070681AActive Publication Date: 2024-12-03SHANGHAI NENGDU NEW ENERGY CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202311761085.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-20
Publication Date
2024-12-03
Estimated Expiration
2043-12-20

AI Technical Summary

Technical Problem

In the prior art, the motor SVPWM control system decreases control accuracy due to harmonic pollution in the power supply, which increases the energy loss and noise of the equipment, affects the stability and reliability of the system.

Method used

The SVPWM control system driven by active power filters can be used to obtain the rated voltage waveform and historical records of the power supply, separate and predict the disturbance state of the harmonic interference source, generate a reverse voltage to offset the harmonic interference, and improve the inverter controller's Driver power supply accuracy.

Benefits of technology

It improves the accuracy of motor SVPWM control, reduces the adverse effects of harmonics on motor, reduces the energy loss and noise of equipment, and enhances the stability and reliability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119070681A_ABST
    Figure CN119070681A_ABST
Patent Text Reader

Abstract

The invention discloses an SVPWM control system and method driven by an active power filter, and relates to the technical field of motor dragging. The method comprises the following steps: according to a rated voltage waveform of a power supply, an effective value of a rated voltage and target voltages of driving power supply of each phase at different moments in a future time period, calculating to obtain switch control states of an inverter controller at different moments in the future time period; separating the disturbance state of each harmonic interference source of the power supply according to the historical record of the voltage of the power supply about the acquisition time; predicting the voltage of each harmonic interference source at different moments in a future time period according to the disturbance state of each harmonic interference source of the power supply; and according to the voltage of each harmonic interference source at different moments in the future time period, generating a backward voltage for offsetting each harmonic interference source to obtain backward voltages at different moments in the future time period. According to the method, the accuracy of SVPWM control of the motor is improved, and meanwhile, the adverse effect of harmonic waves on the motor is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of motor driving, and in particular relates to an SVPWM control system and method driven by an active power filter. Background Art

[0002] In recent years, with the development of power electronics technology and the continuous expansion of its application scope, power quality issues have become increasingly prominent, especially harmonic pollution. Harmonics are currents or voltages with frequencies that are multiples of the basic electrical frequency generated in the power grid when nonlinear loads, such as rectifiers, inverters, speed control systems, power electronic equipment, etc., are connected to the power grid. These harmonics can have a serious impact on the normal operation of the power grid, such as causing equipment overheating, malfunctions, increased energy loss, and other problems. Summary of the invention

[0003] The object of the present invention is to provide an SVPWM control system and method driven by an active power filter, which improves the accuracy of motor SVPWM control by performing harmonic filtering on the power supply of the driving electrode through the active power filter, and also reduces the adverse effects of harmonics on the motor.

[0004] In order to solve the above technical problems, the present invention is achieved through the following technical solutions: The present invention provides an SVPWM control method for active power filter driving, comprising: Obtain the rated voltage waveform and the effective value of the rated voltage of the power supply; Obtain the target operating state of the motor in the future period; Calculate the target voltage of the drive power supply of each phase at different times in the future period according to the target operating state of the motor in the future period; The switch control state of the inverter controller at different times in the future time period is obtained by solving the target voltage of the drive power supply of each phase at different times in the future time period according to the rated voltage waveform of the power supply, the effective value of the rated voltage and the target voltage of the drive power supply of each phase at different times in the future time period; Get the historical record of the power supply voltage at the time of collection; Separating and obtaining the disturbance state of each harmonic interference source of the power supply according to the historical records of the voltage of the power supply at the time of acquisition; Predicting the voltage of each harmonic interference source at different times in a future period according to the disturbance state of each harmonic interference source of the power supply; The reverse voltage of each harmonic interference source is offset according to the voltage of each harmonic interference source at different times in the future time period, so as to obtain the reverse voltage at different times in the future time period.

[0005] The present invention also discloses an SVPWM control method for active power filter driving, comprising: Receiving reverse voltage at different times in the future period; At different times in the future period, a reverse voltage is generated and connected to the power supply to supply power to the inverter controller.

[0006] The present invention also discloses an SVPWM control method for active power filter driving, comprising: Receiving reverse voltage at different times in the future period; Displays the reverse voltage at different times in the future period.

[0007] The present invention also discloses an SVPWM control system driven by an active power filter, comprising: Motor; Inverter controller; The motor drag solving unit is used to obtain the rated voltage waveform of the power supply and the effective value of the rated voltage; Obtain the target operating state of the motor in the future period; Calculate the target voltage of the drive power supply of each phase at different times in the future period according to the target operating state of the motor in the future period; The switch control state of the inverter controller at different times in the future time period is obtained by solving the target voltage of the drive power supply of each phase at different times in the future time period according to the rated voltage waveform of the power supply, the effective value of the rated voltage and the target voltage of the drive power supply of each phase at different times in the future time period; A filter control unit, used to obtain the historical record of the voltage of the power supply at the time of collection; Separating and obtaining the disturbance state of each harmonic interference source of the power supply according to the historical records of the voltage of the power supply at the time of acquisition; Predicting the voltage of each harmonic interference source at different times in a future period according to the disturbance state of each harmonic interference source of the power supply; Generate a reverse voltage that offsets each harmonic interference source according to the voltage of each harmonic interference source at different times in the future time period, and obtain the reverse voltage at different times in the future time period; An active power filter is used to receive reverse voltage at different times in the future period; generating a reverse voltage at different times in a future period and connecting the power supply to the inverter controller; A display unit, used for receiving reverse voltages at different times in a future period; Displays the reverse voltage at different times in the future period.

[0008] The present invention collects and analyzes the state of harmonics in the power supply through a filtering control unit, and predicts the reverse voltage at different times in the future period. Then, the reverse voltage is generated by an active power filter to cancel and filter out the harmonics in the power supply, thereby improving the accuracy of the driving power supply of each phase output by the inverter controller, thereby improving the accuracy of the motor SVPWM control. In addition, since the harmonics in the power supply are filtered out, the adverse effects of the harmonics on the motor can also be avoided.

[0009] Of course, any product implementing the present invention does not necessarily need to achieve all of the advantages described above at the same time. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for describing the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.

[0011] Figure 1 A schematic diagram of an SVPWM control system driven by an active power filter according to an embodiment of the present invention; Figure 2 A schematic diagram of a step flow chart of a motor drag solving unit and a filter control unit in one embodiment of the present invention; Figure 3 A schematic diagram of a process flow of an active power filter according to an embodiment of the present invention; Figure 4 A schematic diagram of a step flow chart of a display unit according to an embodiment of the present invention; Figure 5 This is a schematic diagram of the step flow of step S6 in one embodiment of the present invention; Figure 6 FIG. 1 is a schematic diagram of the step flow of step S64 in an embodiment of the present invention. Figure 1 ; Figure 7 FIG. 1 is a schematic diagram of the step flow of step S64 in an embodiment of the present invention. Figure 2 ; Figure 8 FIG. 1 is a schematic diagram of the step flow of step S64 in an embodiment of the present invention. Figure 3 ; Fig. 9 This is a schematic diagram of the step flow of step S7 in one embodiment of the present invention; Fig.10 A schematic diagram of a step flow chart of step S72 in an embodiment of the present invention; In the accompanying drawings, the components represented by the reference numerals are listed as follows: 1-motor, 2-inverter controller, 3-motor drive solution unit, 4-filter control unit, 5-active power filter, 6-active power filter, 7-display unit. Implementation

[0012] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0013] It should be noted that the terms "first", "second", etc. in this application are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0014] SVPWM (Space Vector Pulse Width Modulation) is a control technology used in AC power electronic devices (such as three-phase inverters) to generate high-quality output voltage waveforms. It plays an important role in motor drive control. SVPWM control achieves precise control of the output voltage by timely switching the switching devices of the inverter. This control technology uses the concept of space vectors to convert the three-phase voltage into a space vector, making it move on two positive semi-axes and one negative semi-axe.

[0015] During the SVPWM control process, the desired output voltage vector is first determined. This is usually generated by the control system based on the desired motor output requirements. Next, the desired output voltage vector is converted into the corresponding duty cycle and phase angle. This can be achieved through the mathematical model of the inverter and the transformation formula. The switching state of the inverter is then determined based on the obtained duty cycle and phase angle. Specifically, based on the desired output voltage vector position, it is determined which switching devices in the inverter should be in the open state and which should be in the closed state. The switching devices of the inverter controller are switched according to the predetermined switching state to achieve the desired output voltage vector.

[0016] SVPWM control technology has many advantages, including high voltage utilization, low harmonic distortion, lower current ripple and high dynamic response. It is widely used in the control of AC power electronic devices, especially in AC motor drive systems, to achieve efficient and accurate motor control. However, due to the presence of harmonics in the power supply that powers the motor. Harmonics refers to a component in a periodic waveform with a frequency that is an integer multiple of the fundamental frequency.

[0017] In the power system, harmonics are introduced by nonlinear load devices. These devices, such as electronic equipment, inverters, arc furnaces, etc., cause nonlinear loads on the power grid, resulting in distortion of current and voltage waveforms. These distorted waveforms contain frequency components that are integer multiples of the fundamental frequency, namely harmonic components.

[0018] Harmonics may have some adverse effects on SVPWM (Space Vector Pulse Width Modulation) control. For example, the control accuracy is reduced. Harmonic components may cause distortion of the voltage waveform, making it impossible for SVPWM control to accurately generate the required output voltage vector. The distorted waveform may cause the control algorithm to be unable to accurately calculate the switch state and duty cycle, thereby reducing the accuracy and performance of SVPWM control.

[0019] Current distortion caused by harmonic components may cause additional ripples in the inverter output current. These ripples may increase motor losses, vibrations, and noise, and may also have a negative impact on the performance and life of the motor. Current distortion and voltage distortion caused by harmonic components may cause additional power losses in the inverter and motor systems. These additional losses increase the energy consumption of the system and may cause equipment overheating and reduced efficiency. Harmonic components may cause resonance problems in the inverter and motor systems. When the harmonic frequency is close to or equal to the natural frequency of the system, it may cause oscillation and instability, affecting the stability and reliability of SVPWM control.

[0020] In order to suppress and filter out harmonics in power supply, the present invention provides the following solution.

[0021] See also Figures 1 to 4As shown, the present invention provides an SVPWM control system driven by an active power filter, a motor 1, an inverter controller 2, a motor drag solver 3, a filter control unit 4, an active power filter 5, a power supply 6 and a display unit 7. In the implementation process, the motor drag solver 3 first executes step S1 to obtain the rated voltage waveform of the power supply 6 and the effective value of the rated voltage. The rated voltage waveform generally refers to the ideal sinusoidal waveform of the rated voltage in the AC system. Ideally, the waveform of the rated voltage is a complete sine wave, the frequency of which is the same as the frequency of the power grid (for example, 50 Hz or 60 Hz), and the amplitude is constant and stable.

[0022] The effective value of the rated voltage (also called the RMS value, or root mean square value) refers to the equivalent DC voltage of the sinusoidal waveform, which produces the same power effect. The effective value is the square root of the amplitude of the voltage waveform, so it is a measure of the average value of the voltage, which is related to the amplitude and frequency of the sine wave. For example, in a 50 Hz power grid with a rated voltage of 220 volts, the waveform of the rated voltage is a sine wave with a frequency of 50 Hz and an amplitude of 220 volts. Its effective value is about 156.4 volts (for an ideal sine wave). This means that the equivalent DC voltage of this voltage waveform is 156.4 volts, which produces the same power effect. The effective value is a commonly used indicator for describing the size of AC voltage and current because it can accurately reflect its actual capacity and power transmission capability, rather than just the size of the amplitude.

[0023] After that, the motor drive solution unit 3 executes step S2 to obtain the target operating state of the motor in the future period, and then step S3 can be executed to solve the target voltage of the drive power supply of each phase at different times in the future period according to the target operating state of the motor in the future period. Next, step S4 can be executed to solve the switch control state of the inverter controller at different times in the future period according to the rated voltage waveform of the power supply 6, the effective value of the rated voltage and the target voltage of the drive power supply of each phase at different times in the future period. SVPWM (Space Vector Pulse Width Modulation) is a commonly used motor control method for controlling the three-phase drive power supply of the motor. Under SVPWM, the target voltage vector is generated by adjusting the switching state and duty cycle of the inverter to achieve control of the motor. In the process of solving, according to the target operating state, the required output voltage vector is calculated, which can be calculated according to the motor model and control algorithm. Then, the output voltage vector is converted into the target voltage of each phase. According to the SVPWM algorithm, the output voltage vector is decomposed into the target voltages of the three phases. Finally, according to the control cycle and the required target voltage, the target voltage of each phase at different times is determined. Discretization and interpolation are performed as needed to obtain the target voltage values ​​at different times.

[0024] In order to specifically eliminate the harmonics in the power supply, first, the wave control unit 4 can execute step S5 to obtain the historical record of the voltage of the power supply at the time of collection. Next, step S6 can be executed to separate the disturbance state of each harmonic interference source of the power supply according to the historical record of the voltage of the power supply 6 at the time of collection. Next, step S7 can be executed to predict the voltage of each harmonic interference source at different times in the future time period according to the disturbance state of each harmonic interference source of the power supply. Finally, step S8 can be executed to generate a reverse voltage to offset each harmonic interference source according to the voltage of each harmonic interference source at different times in the future time period, thereby obtaining the reverse voltage at different times in the future time period.

[0025] Specifically, for the active power filter 5, firstly, step S011 can be executed to receive the reverse voltage at different times in the future period, and then step S012 can be executed to generate the reverse voltage at different times in the future period to access the power supply to power the inverter controller.

[0026] In order to intuitively demonstrate the filtering effect of the system on harmonics, the display unit 7 may execute step S021 to receive the reverse voltage at different times in the future period. Then, step S022 may be executed to display the reverse voltage at different times in the future period. Thus, the filtering effect of the system on harmonics is intuitively demonstrated.

[0027] See also Figure 5 As shown, due to the large number of nonlinear electrical equipment in the power grid, the periods and interference amplitudes of the harmonics generated by them are different. In order to quantitatively describe the disturbance state of the harmonics generated by different harmonic interference sources, the above-mentioned step S6 can firstly perform step S61 to generate a function of the voltage of the power supply at the acquisition time according to the historical records of the voltage of the power supply at the acquisition time during the specific implementation process. Here, the fitting method of discrete numerical values ​​can be used for generation. Next, step S62 can be performed to separate the function waveform of the voltage of the power supply at the acquisition time to obtain the harmonic frequency where the harmonic is located in the historical period. Next, step S63 can be performed to separate the waveform of the harmonic at each harmonic frequency according to the function waveform of the voltage of the power supply at the acquisition time, and each duration and each interval duration.

[0028] To separate the harmonic waveform at each harmonic frequency from the time domain waveform of the power supply voltage, a spectrum analysis method such as fast Fourier transform (FFT) can be used. First, the power supply voltage waveform is acquired, that is, the time domain waveform of the power supply voltage is acquired in a continuous manner using a suitable sampling rate and sampling time. Next, the acquired voltage waveform is preprocessed, that is, DC removal processing can be performed, that is, the DC component is removed to better analyze the AC component. After that, spectrum analysis is performed, that is, Fourier transform (usually fast Fourier transform) is applied to the preprocessed voltage waveform to convert the time domain waveform into a frequency domain representation. Separate the harmonic components, that is, in the frequency domain, the harmonic components can be determined by viewing the spectrum diagram or selecting a specific frequency range. Harmonics are usually integer multiples of the fundamental frequency. Extract the harmonic waveform, that is, for each determined harmonic frequency, it can be restored from the frequency domain to the time domain by inverse Fourier transform (usually fast inverse Fourier transform) to obtain the corresponding harmonic waveform.

[0029] Finally, step S64 can be executed to obtain the waveform of the harmonics of each harmonic interference source and the numerical distribution of the duration and interval duration according to the waveform of the harmonics at each harmonic frequency and each duration and each interval duration as the disturbance state of each harmonic interference source of the power supply.

[0030] In order to supplement the implementation process of the above steps S61 to S64, the source code of some functional modules is provided, and the explanation is compared in the comment section. In order to avoid the leakage of data involving commercial secrets, some data that does not affect the implementation of the solution are desensitized, the same below.

[0031] #include <iostream> #include <vector> #include <complex> #include <cmath> / / Define some constants const double PI = 3.14159265358979323846; / / Function: Simple Discrete Fourier Transform (DFT) std::vector <std::complex <double>> discreteFourierTransform(conststd::vector <double>& signal) { size_t N = signal.size(); std::vector<std::complex <double>> spectrum(N); for (size_t k = 0; k < N; ++k) { / / For each frequency component k std::complex <double>sum(0.0, 0.0); for (size_t n = 0; n < N; ++n) { / / For each point n in the signal double angle = 2 * PI * k * n / N; sum += std::polar(signal[n], -angle); } spectrum[k] = sum; } return spectrum; } / / Function: Separate Harmonics std::vector <double>separateHarmonics(const std::vector <double>&voltageHistory) { / / Perform Fourier transform on voltage history std::vector <std::complex <double>> spectrum =discreteFourierTransform(voltageHistory); / / The harmonic frequency is known and is an integer multiple of the frequency std::vector <double>harmonics; size_t fundamentalFrequencyIndex = 1; / / Index of fundamental frequency (in this case 1, corresponding to fundamental) for (size_t i = fundamentalFrequencyIndex; i < spectrum.size(); i+= fundamentalFrequencyIndex) { / / Calculate the amplitude of each harmonic double amplitude = std::abs(spectrum[i]) / (spectrum.size() / 2); harmonics.push_back(amplitude); } return harmonics; } int main() { / / Voltage history of the power supply std::vector <double>voltageHistory = { / *...fill in voltage data...* / }; / / Separate harmonics std::vector <double>harmonics = separateHarmonics(voltageHistory); / / Output the amplitude of each harmonic for (size_t i = 0; i < harmonics.size(); ++i) { std::cout << "Harmonic " << (i + 1) << " amplitude: " < <harmonics[i] << std::endl; } / / Time series analysis or state machine return 0; } In this code, a function discreteFourierTransform is first defined to calculate the DFT of the signal, that is, discrete Fourier transform, and then a function separateHarmonics is defined to separate the harmonic components in the signal. The main function main simulates the voltage history of the power supply and calls separateHarmonics to output the amplitude of each harmonic. This code shows how to separate the harmonic interference sources in the voltage history of the power supply and calculate their amplitudes. Fast Fourier transform (FFT) is also used to improve efficiency, and time series analysis is implemented to determine the numerical distribution of the duration and interval length of each harmonic.

[0032] See also Figure 6 As shown, since the harmonic interference source does not continuously generate interference, its activity is usually periodic. In order to analyze the active periodicity of the harmonic interference source in combination with historical records, it is necessary to remove some noise data. In order to achieve the technical effect of removing some noise data, the above-mentioned step S64 can firstly perform step S641 during the specific implementation process to treat the harmonics under each harmonic frequency as the same harmonic interference source to generate harmonics to obtain the waveform of the harmonics of each harmonic interference source.

[0033] For each harmonic interference source, first, step S642 can be executed to calculate the ratio of each duration of the harmonic interference source in the historical period to the adjacent interval duration. Next, step S643 can be executed to sort the ratio of each duration of the harmonic interference source in the historical period to the adjacent interval duration according to the numerical value to obtain a ratio series. Next, step S644 can be executed to calculate the average value of the difference between each value and the adjacent value in the ratio series as the proportional window value of the ratio series. Next, step S645 can be executed to eliminate the duration and interval duration corresponding to the ratio of the average difference between the adjacent values ​​in the ratio series that is greater than the proportional window value. Thereafter, step S646 can be executed to obtain the numerical distribution of the duration and interval duration after eliminating the remaining duration. Finally, step S647 can be executed to summarize the waveform of the harmonics of each harmonic interference source and the numerical distribution of the duration and interval duration.

[0034] In order to provide additional explanation for the implementation process of the above-mentioned steps S641 to S647, source codes of some functional modules are provided, and comparative explanations are provided in the comments.

[0035] #include <iostream> #include <vector> #include <algorithm> #include <numeric> / / There is a structure to save the information of each harmonic interference source struct HarmonicDisturbance { std::vector <double>waveform; / / harmonic waveform std::vector <double>durations; / / duration of each time std::vector <double>intervals; / / duration of each interval }; / / Function: Calculate the ratio series std::vector <double>calculateRatios(const std::vector <double>&durations, const std::vector <double>& intervals) { std::vector <double>ratios; size_t count = std::min(durations.size(), intervals.size()); for (size_t i = 0; i < count; ++i) { if (intervals[i] != 0) { / / avoid division by 0 ratios.push_back(durations[i] / intervals[i]); } } return ratios; } / / Function: Calculate the average difference double calculateMeanDifference(const std::vector <double>&sortedValues) { double totalDiff = 0; for (size_t i = 1; i < sortedValues.size(); ++i) { totalDiff += std::abs(sortedValues[i] - sortedValues[i - 1]); } return sortedValues.size() > 1? totalDiff / (sortedValues.size() - 1) : 0; } / / Function: Remove outlier ratios void removeOutliers(std::vector <double>& durations, std::vector <double>& intervals, double windowValue) { std::vector <double>ratios = calculateRatios(durations,intervals); std::vector <double>sortedRatios = ratios; std::sort(sortedRatios.begin(), sortedRatios.end()); double meanDiff = calculateMeanDifference(sortedRatios); double threshold = meanDiff * windowValue; / / Determine the threshold for outliers for (size_t i = 0; i < ratios.size(); ++i) { / / Compare and remove in the original ratio array if (std::abs(ratios[i] - sortedRatios[i]) > threshold) { durations[i] = -1; / / Marked as -1 to indicate this is an outlier intervals[i] = -1; } } / / Remove all values ​​marked as abnormal durations.erase(std::remove_if(durations.begin(), durations.end(), [](double value) { return value == -1;}), durations.end()); intervals.erase(std::remove_if(intervals.begin(), intervals.end(), [](double value) { return value == -1;}), intervals.end()); } int main() { / / harmonicsDisturbances contains data for all harmonic interference sources std::vector <harmonicdisturbance>harmonicsDisturbances; / / For each harmonic interference source, analyze the numerical distribution of its duration and interval duration for (auto& disturbance : harmonicsDisturbances) { removeOutliers(disturbance.durations, disturbance.intervals,1.5); / / Here we use 1.5 as the proportional window value } / / After this, each element in harmonicsDisturbances will only contain non-anomalous durations and intervals / / Output results for (const auto& disturbance : harmonicsDisturbances) { std::cout << "Harmonic waveform size: " < <disturbance.waveform.size() << std::endl; std::cout << "Non-outlier durations size: " < <disturbance.durations.size() << std::endl; std::cout << "Non-outlier intervals size: " < <disturbance.intervals.size() << std::endl; } return 0; } This code defines a HarmonicDisturbance structure to hold the data of the harmonic interference sources. Then several auxiliary functions are defined to calculate the ratio, average difference, and remove outliers. In the main function, please note that the removeOutliers function in the above code will not actually remove the outliers correctly because the ratio is directly compared to the sorted ratios during the removal process without considering the original order. The correct method should be to determine the threshold of the outliers based on the calculated average difference and compare and remove them in the original ratio array.

[0036] See also Figures 7 to 8 As shown, in order to achieve the technical effect of eliminating some noise data, in the process of eliminating the above values, step S6421 can also be synchronously executed to sort the duration of each harmonic interference source in the historical period according to the value size to obtain a duration series. Next, step S6422 can be executed to calculate the average value of the difference between each value and the adjacent value in the duration series as the duration window value of the duration series. Finally, step S6423 can be executed to eliminate the duration in the duration series whose difference with the adjacent value is greater than the duration window value. It can also achieve the elimination of abnormal values ​​in the duration.

[0037] Based on the same principle, in order to eliminate abnormal values ​​in the interval duration, step S6431 can also be executed synchronously to sort the interval duration of each harmonic interference source in the historical period according to the numerical value to obtain an interval duration series. Next, step S6432 can be executed to calculate the average value of the difference between each value and the adjacent value in the interval duration series as the interval window value of the interval duration series. Finally, step S6433 can be executed to eliminate the interval duration in the interval duration series whose difference with the adjacent value is greater than the interval window value. Both of these abnormal value elimination steps are based on the principle that the values ​​of abnormal values ​​are too separated from normal values.

[0038] See also Fig. 9 As shown, in order to predict the harmonic voltage of each harmonic interference source, the above-mentioned step S7 can firstly execute step S71 to obtain the current duration or current interval duration of each harmonic interference source at each harmonic frequency at the current moment during the specific implementation process. Next, step S72 can be executed to obtain the distribution of activity periods of different harmonic interference sources in the future time period according to the current duration or current interval duration of each harmonic interference source at the current moment and the numerical distribution of the duration and interval duration of each harmonic interference source. Finally, step S73 can be executed to superimpose the waveform of the harmonics of each harmonic interference source according to the distribution of activity periods of different harmonic interference sources in the future time period to obtain the voltage of each harmonic interference source at different times in the future time period.

[0039] See also Fig.10 As shown, in order to predict the distribution of activity periods of different harmonic interference sources, for each harmonic interference source, the above step S72 may firstly execute step S721 to determine whether the harmonic interference source generates harmonics at the current moment during the specific implementation process.

[0040] If yes, then step S722 can be executed next to select the duration greater than the current duration of the harmonic interference source at the current moment according to the numerical distribution of the duration of the harmonic interference source, and then step S723 can be executed to calculate the mean of the values ​​of the duration greater than the current duration of the harmonic interference source at the current moment as the expected duration of the harmonic interference source to generate harmonics in the future period. If not, step S724 can be executed next to select the interval duration greater than the current interval duration of the harmonic interference source at the current moment according to the numerical distribution of the interval duration of the harmonic interference source, and then step S725 can be executed to calculate the mean of the values ​​of the interval duration greater than the current interval duration of the harmonic interference source at the current moment as the expected interval duration of the harmonic interference source to generate harmonics in the future period. Next, step S726 can be executed to obtain the distribution of the activity period of the harmonic interference source in the future period according to the current duration or current interval duration of the harmonic interference source at the current moment, and the expected duration and expected interval duration of the harmonic interference source to generate harmonics in the future period. Finally, step S727 may be executed to summarize and obtain the activity period distribution of different harmonic interference sources in the future period.

[0041] In order to provide additional explanation for the implementation process of the above-mentioned steps S721 to S727, source codes of some functional modules are provided, and comparative explanations are provided in the comments.

[0042] #include <iostream> #include <vector> #include <algorithm> / / Definition of harmonic interference source structure struct HarmonicDisturbance { bool is_active; / / Is harmonics being generated? double current_duration; / / Current duration double current_interval; / / Current interval duration std::vector <double>duration_distribution; / / distribution of duration values std::vector <double>interval_distribution; / / Numerical distribution of interval duration double expected_duration; / / expected duration double expected_interval; / / expected interval length }; / / Function to calculate the mean of values ​​in the distribution that are greater than the current value double calculateExpectedValue(const std::vector <double>&distribution, double currentValue) { / / Use lambda expressions to filter values ​​that are greater than the current value auto it = std::upper_bound(distribution.begin(), distribution.end(), currentValue); / / Calculate the mean if (it != distribution.end()) { double sum = std::accumulate(it, distribution.end(), 0.0); return sum / std::distance(it, distribution.end()); } else { / / If there is no greater value, return the current value, indicating no new data return currentValue; } } / / Function to predict the distribution of active periods of harmonic interference sources in the future period void predictActivityDistribution(std::vector <harmonicdisturbance>&disturbances) for (auto& disturbance : disturbances) { if (disturbance.is_active) { / / If harmonics are currently being generated, calculate the expected duration disturbance.expected_duration = calculateExpectedValue(disturbance.duration_distribution, disturbance.current_duration); } else { / / If harmonics are not currently being generated, calculate the expected interval duration disturbance.expected_interval = calculateExpectedValue(disturbance.interval_distribution, disturbance.current_interval); } } } int main() { / / Example: Create a list of harmonic interference sources std::vector <harmonicdisturbance>disturbances = { {true, 5.0, 0.0, {4.0, 5.0, 6.0, 7.0}, {10.0, 11.0, 12.0}}, {false, 0.0, 8.0, {3.0, 4.0, 5.0}, {8.0, 9.0, 10.0, 11.0}} }; / / Predict the activity time distribution of different harmonic interference sources in the future period predictActivityDistribution(disturbances); / / Output prediction results for (const auto& disturbance : disturbances) { std::cout << "Harmonic disturbance source" << (disturbance.is_active ? "Harmonics are being generated." : "Harmonics are not being generated.") << "Expected duration: " << disturbance.expected_duration << ", expected interval duration: " << disturbance.expected_interval << std::endl; } return 0; } This code first defines a HarmonicDisturbance structure to store relevant information for each harmonic interference source. It contains whether harmonics are currently being generated, the current duration and interval duration, the numerical distribution of duration and interval duration, and the expected duration and interval duration. The calculateExpectedValue function can be used to calculate the mean of the values ​​greater than the current value in the numerical distribution. The predictActivityDistribution function uses this calculation to predict the expected duration and expected interval duration of harmonics generated in the future period for each harmonic interference source. Finally, the main function creates a list of sample harmonic interference sources and calls the predictActivityDistribution function to predict and output the activity period distribution of each source.

[0043] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the device, system, method and computer program product according to multiple embodiments of the present application. In this regard, each square frame in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of the module, program segment or instruction includes one or more executable instructions for realizing the logical function of the specification. In some alternative implementations, the functions marked in the square frame can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square frames can actually be executed substantially in parallel, and they can also be executed in reverse order sometimes, depending on the functions involved.

[0044] It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart, can be implemented by hardware that performs the corresponding function or action, such as a circuit or ASIC (Application Specific Integrated Circuit), or can be implemented by a combination of hardware and software, such as firmware.

[0045] Although the present invention is described herein in conjunction with various embodiments, in the process of implementing the claimed invention, those skilled in the art may understand and implement other variations of the disclosed embodiments by viewing the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and "a" or "an" does not exclude multiple situations. A single processor or other unit may implement several functions listed in the claims. Certain measures are recorded in different dependent claims, but this does not mean that these measures cannot be combined to produce good results.

[0046] The embodiments of the present application have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes are obvious to those of ordinary skill in the art without departing from the scope of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.< / harmonicdisturbance> < / harmonicdisturbance> < / double> < / double> < / double> < / algorithm> < / vector> < / iostream> < / harmonicdisturbance> < / double> < / double> < / double> < / double> < / double> < / double> < / double> < / double> < / double> < / double> < / double> < / double> < / numeric> < / algorithm> < / vector> < / iostream> < / double> < / double> < / double> < / double> < / double> < / double> < / double> < / double> < / double> < / double> < / cmath> < / complex> < / vector> < / iostream>

Claims

1. An SVPWM control method for active power filter drive, comprising: Obtain the rated voltage waveform and the effective value of the rated voltage of the power supply; Obtain the target operating state of the motor in the future period; Calculate the target voltage of the drive power supply of each phase at different times in the future period according to the target operating state of the motor in the future period; The switch control state of the inverter controller at different times in the future time period is obtained by solving the target voltage of the drive power supply of each phase at different times in the future time period according to the rated voltage waveform of the power supply, the effective value of the rated voltage and the target voltage of the drive power supply of each phase at different times in the future time period; It is characterized in that Get the historical record of the power supply voltage at the time of collection; Separating and obtaining the disturbance state of each harmonic interference source of the power supply according to the historical records of the voltage of the power supply at the time of acquisition; Predicting the voltage of each harmonic interference source at different times in a future period according to the disturbance state of each harmonic interference source of the power supply; The reverse voltage of each harmonic interference source is offset according to the voltage of each harmonic interference source at different times in the future time period, so as to obtain the reverse voltage at different times in the future time period.

2. The method according to claim 1, characterized in that The step of separating and obtaining the disturbance state of each harmonic interference source of the power supply according to the historical record of the voltage of the power supply at the time of acquisition, include, Generate a function of the voltage of the power supply with respect to the collection time according to the historical record of the voltage of the power supply with respect to the collection time; Separate the function waveform of the power supply voltage at the time of acquisition to obtain the harmonic frequency of the harmonics in the historical period; According to the function waveform of the power supply voltage at the acquisition time, the waveform of the harmonic at each harmonic frequency, the duration of each harmonic, and the duration of each interval are obtained; According to the waveform of the harmonics at each harmonic frequency, each duration and each interval duration, the waveform of the harmonics of each harmonic interference source and the numerical distribution of the duration and interval duration are obtained as the disturbance state of each harmonic interference source of the power supply.

3. The method according to claim 2, characterized in that The step of obtaining the waveform of the harmonics of each harmonic interference source and the numerical distribution of the duration and interval duration according to the waveform of the harmonics at each harmonic frequency and each duration and each interval duration as the disturbance state of each harmonic interference source of the power supply, include, Treat the harmonics at each harmonic frequency as harmonics generated by the same harmonic interference source to obtain the waveform of the harmonics of each harmonic interference source; For each of the harmonic interference sources, Calculate and obtain the ratio of the duration of each harmonic interference source to the duration of the adjacent interval in the historical period, The ratios of the duration of each harmonic interference source in the historical period to the duration of adjacent intervals are sorted according to the numerical values ​​to obtain a ratio series; Calculate the average value of the difference between each value in the ratio series and the adjacent values ​​as the ratio window value of the ratio series, Eliminate the duration and interval duration corresponding to the ratio of the average difference between the adjacent values ​​in the ratio series that is greater than the ratio window value. Get the numerical distribution of the duration and interval duration after removing the remaining duration; The waveform of the harmonics of each harmonic interference source and the numerical distribution of the duration and interval duration are obtained by summarizing.

4. The method according to claim 3, characterized in that The step of obtaining the waveform of the harmonics of each harmonic interference source and the numerical distribution of the duration and interval duration as the disturbance state of each harmonic interference source of the power supply according to the waveform of the harmonics at each harmonic frequency and each duration and each interval duration, further includes: Sort the duration of each harmonic interference source in the historical period by numerical value to obtain a duration sequence; Calculate the average value of the difference between each value in the duration sequence and the adjacent value as the duration window value of the duration sequence; The durations in the duration sequence whose differences with adjacent values ​​are greater than the duration window value are eliminated.

5. The method according to claim 3, characterized in that: The step of obtaining the waveform of the harmonics of each harmonic interference source and the numerical distribution of the duration and interval duration as the disturbance state of each harmonic interference source of the power supply according to the waveform of the harmonics at each harmonic frequency and each duration and each interval duration, further includes: The interval durations of the harmonic interference sources in the historical period are sorted according to the numerical values ​​to obtain an interval duration sequence; Calculate the average value of the difference between each value in the interval duration series and the adjacent value as the interval window value of the interval duration series; The interval durations in the interval duration series whose difference with adjacent values ​​is greater than the interval window value are eliminated.

6. The method according to claim 2, characterized in that The step of predicting the voltage of each harmonic interference source at different times in a future period according to the disturbance state of each harmonic interference source of the power supply comprises: Obtain the current duration or current interval of each harmonic interference source at each harmonic frequency at the current moment; Obtaining the activity time distribution of different harmonic interference sources in the future time period according to the current duration or current interval duration of each harmonic interference source at the current moment and the numerical distribution of the duration and interval duration of each harmonic interference source; According to the distribution of the activity periods of different harmonic interference sources in the future period, the waveforms of the harmonics of each harmonic interference source are superimposed to obtain the voltage of each harmonic interference source at different times in the future period.

7. The method according to claim 6, characterized in that The step of obtaining the activity time distribution of different harmonic interference sources in the future time period according to the current duration or current interval duration of each harmonic interference source at the current moment and the numerical distribution of the duration and interval duration of each harmonic interference source includes: For each of the harmonic interference sources, Determine whether the harmonic interference source generates harmonics at the current moment, If yes, then according to the value distribution of the duration of the harmonic interference source, select a duration that is greater than the current duration of the harmonic interference source at the current moment, Calculate the average of the values ​​of the durations whose duration is greater than the current duration of the harmonic interference source at the current moment as the expected duration of the harmonics generated by the harmonic interference source in the future period, If not, then according to the numerical distribution of the interval durations of the harmonic interference sources, an interval duration greater than the current interval duration of the harmonic interference source at the current moment is selected, Calculate the average of the values ​​of the interval durations whose duration is greater than the current interval duration of the harmonic interference source at the current moment as the expected interval duration of the harmonics generated by the harmonic interference source in the future period, Obtaining the activity period distribution of the harmonic interference source in the future time period according to the current duration or the current interval duration of the harmonic interference source at the current moment, and the expected duration and the expected interval duration of the harmonics generated by the harmonic interference source in the future time period; The activity period distribution of different harmonic interference sources in the future period is summarized.

8. An SVPWM control method for active power filter driving, characterized in that: include, Receiving reverse voltages at different times in a future period in an SVPWM control method for driving an active power filter as claimed in any one of claims 1 to 7; At different times in the future period, a reverse voltage is generated and connected to the power supply to supply power to the inverter controller.

9. An SVPWM control method for active power filter driving, characterized in that: include, Receiving reverse voltages at different times in a future period in an SVPWM control method for driving an active power filter as claimed in any one of claims 1 to 7; Displays the reverse voltage at different times in the future period.

10. An SVPWM control system driven by an active power filter, comprising: Motor; Inverter controller; The motor drag solving unit is used to obtain the rated voltage waveform of the power supply and the effective value of the rated voltage; Obtain the target operating state of the motor in the future period; Calculate the target voltage of the drive power supply of each phase at different times in the future period according to the target operating state of the motor in the future period; The switch control state of the inverter controller at different times in the future time period is obtained by solving the target voltage of the drive power supply of each phase at different times in the future time period according to the rated voltage waveform of the power supply, the effective value of the rated voltage and the target voltage of the drive power supply of each phase at different times in the future time period; It is characterized in that A filter control unit, used to obtain the historical record of the voltage of the power supply at the time of collection; Separating and obtaining the disturbance state of each harmonic interference source of the power supply according to the historical records of the voltage of the power supply at the time of acquisition; Predicting the voltage of each harmonic interference source at different times in a future period according to the disturbance state of each harmonic interference source of the power supply; Generate a reverse voltage that offsets each harmonic interference source according to the voltage of each harmonic interference source at different times in the future time period, and obtain the reverse voltage at different times in the future time period; An active power filter is used to receive reverse voltage at different times in the future period; generating a reverse voltage at different times in a future period and connecting the power supply to the inverter controller; A display unit, used for receiving reverse voltages at different times in a future period; Displays the reverse voltage at different times in the future period.

Citation Information

Patent Citations

  • Servo motion control integrated machine system for flying saw machine

    CN103414431A

  • Ultraharmonics and idle electric power compensation energy-saving device of active power grid

    CN103545812A

  • Modeling method of electric energy quality interference source characteristic harmonic wave

    CN105550450A

  • Secondary sampling method and system for specified subharmonic suppression of active power filter

    CN113315126A

  • Active power filter architecture and control method

    CN115133545A