Abstract
The multi-rate repetitive controller (MRC) can achieve zero steady-state error in tracking the reference current signal of grid-connected inverters, save the settling time effectively, and improve the running speed. However, when the grid frequency fluctuates, the harmonic suppression performance of MRC will degrade. Aiming at the problem of harmonic suppression performance degradation, a fractional-order MRC (FOMRC) based on the farrow structure fractional delay (FD) filter is proposed. Firstly, the equivalent digital model of MRC is established, and a Farrow structure fractional delay (FD) filter based on Taylor series expansion is selected as the internal model filter of MRC. The stability analysis and harmonic suppression characteristics of the FOMRC are analyzed. Then, the parameter design of FOMRC applied to an LCL single-phase grid-connected inverter control system is given. Finally, the simulation results show that the proposed method has better transient and steady-state performance than the CRC when the grid frequency fluctuates.
1. Introduction
With the proposal of a carbon peak and carbon neutral target in our country, the step of clean and low-carbon transition of the power system will be further accelerated. According to various policy orientations and the future direction of clean energy development, distributed energy will have a gradual growth and may become a major energy source in the future. Distributed energy is a kind of clean energy with strong adaptability to the environment. However, many non-linear power electronic switching devices are used in distributed generation, which will inject a large amount of harmonic current into the grid system and reduce the power quality [1]. The grid-connected inverter is the interface unit of power transmission from distributed generation system to the power grid, and its performance directly determines the quality of grid-connected current. According to the IEEE standard, the total harmonic distortion (THD) of grid-connected current must be less than 5%.
In order to reduce the harmonic content of the grid current of the inverter, L-type filter, and LCL-type filter are usually used to suppress the high-frequency harmonic at the switching frequency of the grid current. Under the same harmonic suppression requirements, the LCL filter is widely used because of its smaller actual volume and lower cost, which can better suppress grid current harmonics [2,3]. For the suppression of low-frequency harmonics in grid current, many controllers have been proposed. Among them, the commonly used include proportional integral (PI) controller [4], proportional resonant (PR) controller [5], proportional multi-resonant (PMR) controller, repetitive controller (RC), etc.
The repetitive controller (RC) [6,7,8,9] is widely used because it can realize the static error-free tracking and disturbance rejection of fundamental and harmonics of sinusoidal signals. However, when the conventional repetitive controller (CRC) is implemented digitally, the sampling rate of the repetitive controller and the switching frequency of the inverter power device are often 10 kHz or even higher, which makes the memory consumption of the controller too large and the calculation burden too heavy. For this reason, multiple rate repetitive controller (MRC) [10,11] has been proposed, in which the repetitive controller is set in a low sampling frequency environment, and the feedback part of the grid-connected current still adopts a high sampling rate. Compared with CRC, the memory consumption and calculation times of the MRC controller in each sampling period are greatly reduced [12]. Previous work has shown that MRC can maintain the same convergence rate and total harmonic distortion (THD) of grid-connected current as CRC, and CRC is a special case when MRC sampling factor is 1.
However, in the practical application of inverters, there is usually a small range fluctuation of the power grid frequency, which makes the internal mode of the RC periodic signal not match with the periodic signal to be tracked or eliminated, resulting in the attenuation of the resonant frequency gain [13,14]. The internal mode delay number , that is, the ratio of the sampling frequency to the fundamental frequency. When grid frequency fluctuates, N and the reduced-sampled N may be a fraction, and fractional delay can not be achieved directly in digital systems, it will reduce the repetitive control gain and the harmonic suppression ability of the system. The variable sampling frequency method [15] can ensure that N is an integer to achieve appropriate harmonic suppression. However, the variable sampling rate means that the change of system dynamics, especially the change of the controlled object model, increases the difficulty of system stability analysis. The finite impulse response (FIR) filter based on the Lagrange interpolation method is widely used as the internal model filter of various repetitive controllers (odd RC [16], dual-mode RC [17], selective harmonic RC [18]) because of its simple structure and linear phase in the whole frequency band. The fractional delay link (FD) is approximated to obtain any numerical delay N, which improves the anti-frequency fluctuation ability of repetitive control. However, the FIR filter based on Lagrange interpolation needs to recalculate the coefficients of (M is the order of the FIR filter) sub-filters when the coefficients are updated, which greatly increases the amount of calculation and is slightly contrary to the original intention of using MRC in this paper.
Therefore, this paper proposes a fractional-order multi-rate repetitive controller (FOMRC) composed of a Farrow structure FD filter based on Taylor series expansion. FOMRC consists of an MRC with a low sampling rate and a relatively simple Farrow structure FD filter. Each sub-filter of the FD filter with a Farrow structure is designed offline in advance. For the new FD, only the fractional value of the fractional N is adjusted, which greatly reduces the computational burden of the controller. At present, the FOMRC remains to be further studied. This composite controller can not only reduce the computational burden of the digital system and retain the harmonic suppression ability of the CRC but can also accurately approximate the FD generated when the fundamental frequency of the power grid fluctuates. Improve the steady-state accuracy of multi-rate repetitive control.
2. Fractional Order Multi-Rate Repetitive Controller
2.1. MRC
Figure 1 shows the block diagram of a conventional plug-in MRC system. In the figure, the sampling period of the grid current feedback system is , is the error between the input signal and the output signal . In order to prevent the distortion of signal outside the Nyquist frequency when entering the repetitive controller with a low sampling rate, the anti-spectral aliasing filter is often used to intercept the signal in the part, and the signal is obtained by downsampling as the input of RC. The output of RC is up-sampled by zero-order holder (ZOH) to obtain , and then an anti-imaging filter with cutoff frequency less than is connected to prevent distortion. is a proportional integral controller for stabilizing the closed-loop control system. is the controlled object, and is the disturbance source.
Figure 1.
Plug-in MRC system.
The sampling period of RC is , which is m times of , and m is the sampling factor. The relationship between the two sampling rates is
In order to simplify the analysis, the multi-rate system is transformed into an equivalent single-rate system with a low sampling rate, and the structure is shown in Figure 2. and are the equivalent transfer functions of PI controller and controlled object at low rates, respectively; is the internal mode gain; is used to improve the robustness of RC; , is the fundamental frequency period of the reference signal and disturbance signal. is a low-pass filter used to accelerate the high-frequency amplitude attenuation of the controlled object; is the phase-lead compensation, which is used to compensate the phase lag of the control system. The influence of , downsampling link, zero order holder and on the system can also be compensated by the .
Figure 2.
Equivalent single-rate control system.
The transfer function of MRC is
2.2. Farrow Structure FD Filter Design Based on Taylor Series
When is a fraction, can be divided into integer D and fractional d, . The FD transfer function can be expanded to a polynomial about d by the Taylor series [19]:
where, .
The FD filter can be expressed as
where S is the order of the FD filter and is the polynomial of d.
Substituting (3) into (4), the Farrow [20] FD filter can be obtained
(k = 0,1,..., M) is the k subfilter in .
Usually choosing , subfilter calculation formula based on Lagrange interpolation method is as follows [21,22]:
In the formula, is a subfilter matrix, is a delay operator matrix, and U is a Vandermon matrix. For different fractional delay , the amplitude response of the first and second-order FD filters based on the Lagrange interpolation method is shown in Figure 3. It can be seen that the bandwidth of the first-order FD filter is 50% of the Nyquist frequency, and the bandwidth of the second-order FD filter is 63.5% of the Nyquist frequency. It shows that the FD filter based on the Taylor series expansion Farrow structure can effectively approximate the fractional delay . Generally, the first-order FD is sufficient to provide sufficient bandwidth to compensate for harmonic distortion, but higher-order FD can further reduce the error. In this paper, the order M = 2.
Figure 3.
Amplitude response of first-order and second-order FD filters based on Taylor series expansion.
Thus, the transfer function of FOMRC consisting of the Farrow structured FD filter based on the Taylor series is
2.3. Stability Analysis of FOMRC
The steady-state error of the FOMRC system is obtained from Figure 2.
where, , is the closed-loop transfer function of the system before RC is inserted. The FOMRC system is stable when the following two conditions are satisfied
➀ The roots of the are in the unit circle.;
➁ .
It is known that stability condition 1 has nothing to do with FD. For condition 2,
Within the bandwidth of the FD filter, , the stability of the system is independent of the FD filter.
2.4. Analysis of Harmonic Suppression Characteristics of FOMRC
When the sampling frequency is fixed and the grid frequency changes, may be a fraction. Taking the sampling factor m = 2 as an example, when the fundamental frequency changes from 50 Hz to 49.6 Hz and 50.4 Hz, the internal mode frequency characteristics of MRC ( = 100) and FOMRC ( = 100.8, 99.2) at the 8th harmonic frequency are shown in Figure 4. The open-loop gain of MRC decreased from 36.07 dB to 13.85 dB when changed from 50 Hz to 49.6 Hz, while FOMRC still provided higher open-loop gain, which was not affected by frequency fluctuation and had better harmonic suppression effect.
Figure 4.
The frequency characteristics of MRC ( = 100) and FOMRC ( = 100.8, 99.2).
3. Modeling and Parameter Design of LCL Single-Phase Grid-Connected Inverter
As shown in Figure 5, the LCL single-phase grid-connected inverter is used as the control object for parameter design. is dc bus voltage, is inverter output voltage. is the grid voltage, is the grid current, and is the reference current. and are filter inductance, C is the filter capacitor, and R is the series resistance of the capacitor to suppress the resonance peak generated by LCL filter.
Figure 5.
LCL-type single-phase grid-connected inverter model.
Regardless of the equivalent resistance of the inductor, the transfer function from the input voltage to the grid current is
Table 1 shows the parameters of an LCL-type single-phase grid-connected inverter. With parameters, (12) can be obtained by discretization
Table 1.
Parameters of the LCL-type single-phase grid-connected inverter.
Considering that the sampling factor m is too large, the sampling frequency of the repetitive controller will be too low, which will result in insufficient or over-compensation of phase, and affect the system stability and harmonic suppression accuracy. Therefore, the sampling factor m is set to 2. Select filter , the cutoff frequency is .
According to [12], the parameters of the PI controller are designed and calculated. . has a amplitude margin of and a phase margin of usually selects the low-pass filter with a gain of less than 1 or a constant of less than 1 to improve the stability of RC. In this paper, . In order to make have faster amplitude attenuation at high frequencies, select the fourth-order Butterworth low-pass filter with a cut-off frequency of . The expression of is as follows
In order to determine the phase lead order k, the Bode diagram of at is given in Figure 6. It can be seen that when , the phase of is close to within , and the compensation effect is the best.
Figure 6.
The amplitude-frequency and phase-frequency characteristics of when k takes different values.
Finally, select according to condition 2. According to (11)
Define . Then when the locus of is in the unit circle, the system is stable. The internal model gain directly determines the error attenuation speed of the repetitive control system, and also affects the Nyquist curve of . It can be seen from Figure 7 that when , the trajectory of is always in the unit circle, and there is still a certain distance between the trajectory and the boundary of unit circle, indicating that the system has sufficient stability margin. The direction of the arrow represents the trajectory direction of the amplitude curve of from 0 Hz to Nyquist frequency. When is 0.5, 1, 1.5, and 2, respectively, the corresponding points of the amplitude of at 150 Hz and 1000 Hz are shown in the figure. It can be seen that when , the low frequency region of is closer to the center of the unit circle, and the controller has better low-frequency signal tracking ability in the low frequency region.
Figure 7.
The trajectory of when takes different values.
4. Simulation Analysis
In order to verify the performance of the FOMRC system, the LCL-type single-phase grid-connected inverter model is built in MATLAB / Simulink simulation environment, and the steady-state and dynamic performance are compared with CRC. The reference current is . The CRC system, that is, sampling factor , sampling frequency , delay beat , phase lead order , other parameters remain unchanged.
4.1. Steady-State Performance
As can be seen from Figure 8, when , the output voltage and current waveforms of CRC and FOMRC are almost sinusoidal, the THD of CRC and FOMRC are and , respectively, both of them can effectively suppress the harmonic in the power grid.
Figure 8.
Voltage and current waveforms and output current spectrum of the two control systems with integer delay ().
Figure 9 and Figure 10 show that when when . The voltage and current waveform and output current spectrum of CRC and FOMRC control systems under fractional delay are obtained. When , the THD of CRC and FOMRC are and , respectively. When , the THD of CRC and FOMRC are and , respectively. It can be seen that when the fractional delay occurs, the output current waveform of CRC is seriously distorted and the harmonic content is high. The output current waveform of FOMRC is still a smooth sine curve, and the harmonic suppression ability is significantly improved compared with CRC.
Figure 9.
Voltage and current waveforms and current spectrum analysis of the two control systems at the fractional delay ().
Figure 10.
Voltage and current waveforms and current spectrum analysis of the two control systems at the fractional delay ().
Currently, a number of scholars have used a third-order FIR filter based on Lagrange interpolation to approximate the fractional delay [16,17,18] and achieved good harmonic suppression results. To verify that the FOMRC proposed in this paper has similar performance, Figure 11 gives a comparison plot of the THD results of CRC, MRC, and MRC using FIR to approximate the fractional delay, and the FOMRC proposed in this paper when the grid frequency fluctuates in the range of . It can be seen that the THD of MRC is slightly reduced compared with CRC due to the halving of the sampling rate when the grid frequency is 50 Hz. The larger the grid frequency offset, the more serious the degradation of the harmonic rejection ability of MRC. The proposed method can obtain smaller THD values, better frequency adaptivity, and the same anti-frequency fluctuation capability as the method using FIR filter with approximate fractional delay.
Figure 11.
Comparison of THD results for the above control systems.
4.2. Dynamic Performance
Figure 12 and Figure 13 show the dynamic performance of CRC and FOMRC control systems with reference current amplitude reduced from 10 A to 6 A at t = 0.25 s. When the fundamental frequency is 49.6 Hz, the current error of the CRC system is ±1 A, and that of the FOMRC system is ±0.3 A. When the fundamental frequency is 50.4 Hz, the current error of the CRC system is ±1.1 A, and that of the FOMRC system is ±0.3 A. The errors of the two control systems can converge again in two fundamental periods when the current changes abruptly at different frequencies. It can be seen that FOMRC and CRC have similar error convergence speeds when the power grid frequency fluctuates, but can effectively reduce the error.
Figure 12.
Current error of two control systems with grid frequency fluctuation ( = 49.6 Hz).
Figure 13.
Current error of two control systems with grid frequency fluctuation ( = 50.4 Hz).
5. Conclusions
When the grid frequency fluctuates, the performance of the grid-connected inverter based on MRC will decrease. Therefore, this paper proposes FOMRC based on the Farrow structure FD filter to ensure that the resonant frequency of MRC can track the grid frequency in real time to obtain frequency adaptability.
The FOMRC system maintains a high open-loop gain at the fundamental and harmonic frequencies with variable grid frequency, allowing it to provide higher tracking progress and harmonic suppression performance, thus the system has a higher tracking gain and a lower THD.
What’s more, by setting the sampling factor to 2, the sampling frequency of the repetitive controller part is reduced to half of the original, which reduces the calculation. The simulation results verified the effectiveness of the proposed FOMRC scheme in terms of fast transient response, high tracking accuracy, and immunity to frequency variations.
Author Contributions
Conceptualization, K.L.; methodology, H.L. and Q.Z.; software, K.L.; validation, K.L.; formal analysis, K.L. and Q.Z.; writing—original draft preparation, K.L.; writing—review and editing, K.L., H.L. and Q.Z.; visualization, K.L.; supervision, H.L. and Q.Z.; project administration, Q.Z.; funding acquisition, Q.Z. All authors have read and agreed to the published version of the manuscript.
Funding
This research was funded by the National Natural Science Foundation of China (No. 61973157, No. 62073297), and the Incubation program for young master supervisors of Zhongyuan University of Technology (No. D202213).
Data Availability Statement
The authors confirm that the data supporting the findings of this study are available within the article.
Conflicts of Interest
The authors declare no conflict of interest.
Abbreviations
The following abbreviations are used in this manuscript:
| MRC | Multi-rate Repetitive Controller |
| CRC | Conventional Repetitive Controller |
| FOMRC | Fractional Order Multi-rate Repetitive Controller |
| FD | Fractional Delay |
| THD | Total Harmonic Distortion |
| PI | Proportional Integral |
| PR | Proportional Resonant |
| PMR | Proportional Multi-resonant |
| RC | Repetitive Controller |
| FIR | Finite Impulse Response |
References
- Guerrero, J.M.; Blaabjerg, F.; Zhelev, T.; Hemmes, K.; Monmasson, E.; Jemei, S.; Comech, M.P.; Granadino, R.; Frau, J.I. Distributed generation: Toward a new energy paradigm. IEEE Ind. Electron. Mag. 2010, 3, 52–64. [Google Scholar] [CrossRef]
- Jayalath, S.; Hanif, M. Generalized LCL-filter design algorithm for grid-connected voltage-source inverter. IEEE Trans. Ind. Electron. 2017, 3, 1905–1915. [Google Scholar] [CrossRef]
- Zhang, Z.; Ding, W. Improved Active Disturbance Rejection Control Strategy for LCL-Type Grid-Connected Inverters Based on the Backstepping Method. Electronics 2022, 11, 2237. [Google Scholar] [CrossRef]
- Imam, A.A.; Sreerama Kumar, R.; Al-Turki, Y.A. Modeling and Simulation of a PI Controlled Shunt Active Power Filter for Power Quality Enhancement Based on P-Q Theory. Electronics 2020, 9, 637. [Google Scholar] [CrossRef]
- Abbasi, S.; Ghadimi, A.A.; Abolmasoumi, A.H.; Reza Miveh, M.; Jurado, F. Enhanced Control Scheme for a Three-Phase Grid-Connected PV Inverter under Unbalanced Fault Conditions. Electronics 2020, 9, 1247. [Google Scholar] [CrossRef]
- Zhao, Q.; Ye, Y. A PIMR-type repetitive control for a grid-tied inverter: Structure, analysis, and design. IEEE Trans. Power Electron. 2018, 3, 2730–2739. [Google Scholar] [CrossRef]
- Lee, J.-Y.; Cho, Y. Synchronous Reference Frame Repetitive Control of a Single-Phase Three-Level Dual-Buck Photovoltaic Inverter. Electronics 2018, 7, 226. [Google Scholar] [CrossRef]
- Li, H.; Chen, X.; Xiang, B.; Wang, X. Periodic Signal Suppression in Position Domain Based on Repetitive Control. Electronics 2022, 11, 4069. [Google Scholar] [CrossRef]
- Yao, W.-S.; Lin, C.-Y. Dynamic Stiffness Enhancement of the Quadcopter Control System. Electronics 2022, 11, 2206. [Google Scholar] [CrossRef]
- Zhang, B.; Zhou, K.; Wang, D. Multirate repetitive control for PWM DC/AC converters. IEEE Trans. Ind. Electron. 2014, 6, 2883–2890. [Google Scholar] [CrossRef]
- Liu, Z.; Zhang, B.; Zhou, K. Universal fractional-order design of linear phase lead compensation multirate repetitive control for PWM inverters. IEEE Trans. Ind. Electron. 2017, 9, 7132–7140. [Google Scholar] [CrossRef]
- Xie, C.; Zhao, X.; Savaghebi, M.; Meng, L.; Guerrero, J.M.; Vasquez, J.C. Multirate fractional-order repetitive control of shunt active power filter suitable for microgrid applications. IEEE J. Emerg. Sel. Top. Power Electron. 2017, 6, 809–819. [Google Scholar] [CrossRef]
- Wang, W.; Lu, W.; Zhou, K.; Fan, Q. Fractional-order new generation of nkm-order harmonic repetitive control for PWM converters. IEEE Access 2020, 180706–180721. [Google Scholar] [CrossRef]
- Chen, S.; Zhao, Q.; Ye, Y.; Qu, B. Using IIR Filter in Fractional Order Phase Lead Compensation PIMR-RC for Grid-Tied Inverters. IEEE Trans. Ind. Electron. 2022. [Google Scholar] [CrossRef]
- Kurniawan, E.; Cao, Z.; Man, Z. Design of Robust Repetitive Control With Time-Varying Sampling Periods. IEEE Trans. Ind. Electron. 2014, 6, 2834–2841. [Google Scholar] [CrossRef]
- Liao, W.; Sun, Y.; Zhao, Q.; Chen, S. Double-fractional OPIMR controller for a single-phase grid-tied inverter. In Proceedings of the 2021 IEEE 10th Data Driven Control and Learning Systems Conference (DDCLS), Suzhou, China, 14–16 May 2021; pp. 871–876. [Google Scholar]
- Cui, P.; Wang, Q.; Zhang, G.; Gao, Q. Hybrid Fractional Repetitive Control for Magnetically Suspended Rotor Systems. IEEE Trans. Ind. Electron. 2018, 4, 3491–3498. [Google Scholar] [CrossRef]
- Yang, Y.; Zhou, K.; Wang, H.; Blaabjerg, F.; Wang, D.; Zhang, B. Frequency Adaptive Selective Harmonic Control for Grid-Connected Inverters. IEEE Trans. Power Electron. 2015, 7, 3912–3924. [Google Scholar] [CrossRef]
- Moller, T.; Machiraju, R.; Mueller, K.; Yagel, R. Evaluation and design of filters using a Taylor series expansion. IEEE Trans. Vis. Comput. Graph. 1997, 4-6, 184–199. [Google Scholar] [CrossRef]
- Farrow, C.W. A continuously variable digital delay element. In Proceedings of the IEEE International Symposium on Circuits and Systems, Espoo, Finland, 7–9 June 1988; pp. 2641–2645. [Google Scholar]
- Nazir, R.; Wood, A.; Laird, H.; Watson, N. An adaptive repetitive controller for three-phase PWM regenerative rectifiers. In Proceedings of the International Conference on Renewable Energy Research and Applications (ICRERA), Palermo, Italy, 22–25 November 2015; pp. 1126–1131. [Google Scholar]
- Valimaki, V. A new filter implementation strategy for Lagrange interpolation. In Proceedings of the ISCAS’95—International Symposium on Circuits and Systems, Seattle, WA, USA, 30 April–3 May 1995; pp. 361–364. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).