Skip to main content
Log in

Development of a Multivariable Deadbeat Controller in dq Coordinates for the Current Loop of a Grid-Connected VSI

  • Published:
Journal of Control, Automation and Electrical Systems Aims and scope Submit manuscript

Abstract

One of the main concerns in designing control structures for Voltage Source Inverters (VSI) is ensuring the generation of sinusoidal currents that comply with international power quality standards. In this context, the present study investigates the evaluation of multivariable control techniques characterized by their Deadbeat nature, within coordinates dq. One of these techniques incorporates a virtual emulation of the current loop filter behavior. The application of these controllers is demonstrated in the context of a three-phase VSI connected to the electrical grid. These controllers not only show their effectiveness in decoupling control loops but also have greater stability without the presence of phase delays. With a specific emphasis on developing and fine-tuning multivariable Deadbeat controllers using dq coordinates, the study leverages three distinct models to analyze the stability and evaluate the performance of the control strategy. The synthesis of system models and consequently of controllers was made possible by the \(\alpha \beta \) and dq coordinate conversion method, developed in this study. This tool holds significant potential not only in synthesis but also in system analysis. The simulated solar setup uses a 5.1 kW photovoltaic system with second-generation modules. It includes an internal current loop, an external energy loop, and a multi-level VSI controlled by Space Vector Pulse Width Modulation (SVPWM). This complex combination of elements serves as the context for the tested control strategies, undergoing thorough testing and evaluation.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10

Similar content being viewed by others

Abbreviations

\(I_{ph}\) :

Photogenerated current

\(V_{d}\) :

Diode voltage

\(I_{pv}\) :

Photovoltaic current

\(I_{c}\) :

Capacitor current on the DC bus

\(I_{s}\) :

Current at the output of the DC side or input of the inverter

\(V_{abc}\) :

Voltage at the output of the inverter before the LC filter

\(I_{fabc}\) :

Filter current in abc coordinates

\(I_{cabc}\) :

Capacitor current in abc coordinates

\(I_{abc}\) :

Current of grid in abc coordinates

\(V_{abc}\) :

Voltage of inverter in abc coordinates

\(V_{sabc}\) :

Internal grid voltage in abc coordinates

References

  • Abreu, M.P.S.d. (2019) Synthesis of multivariable controllers based on internal model control and multi-objective evolutionary optimization (in Portuguese). Master’s thesis, Federal Center for Technological Education of Minas Gerais, Belo Horizonte.

  • Bahrani, B., Kenzelmann, S., & Rufer, A. (2011). Multivariable-pi-based \(dq\) current control of voltage source converters with superior axis decoupling capability. IEEE Transactions on Industrial Electronics, 58(7), 3016–3026. https://doi.org/10.1109/TIE.2010.2070776

    Article  Google Scholar 

  • Biricik, S., & Komurcugil, H. (2018) Proportional-integral and proportional-resonant based control strategy for PUC inverters. In IECON 2018—44th Annual Conference of the IEEE Industrial Electronics Society (pp. 3369–3373). https://doi.org/10.1109/IECON.2018.8591371

  • Chen, C. (1984). Linear System Theory and Design. HRW Series in Electrical and Computer Engineering, Holt, Rinehart, and Winston.

  • Dorf, R., & Bishop, R. (2005). Modern Control Systems. Pearson: Prentice Hall.

    Google Scholar 

  • Galvez, J. M. (2013). Active control of noise and mechanical vibrations using a deadbeat-type control algorithm (in Portuguese). In Proceeding Series of the Brazilian Society of Computational and Applied Mathematics. https://doi.org/10.5540/03.2013.001.01.0198

  • International Electrotechnical Commission. (2009). IEC 61000-4-7 Electromagnetic compatibility (EMC) Part 4-7: Testing and measurement techniques—General guide on harmonics and interharmonics measurements and instrumentation, for power supply systems and equipment connected thereto

  • Kamil, H., Said, D., Mustafa, M. et al (2018) Control strategy for a three-phase four-leg grid connected pv inverter under unbalanced faults. In 2018 IEEE 7th International Conference on Power and Energy (PECon) (pp. 13–18). IEEE. https://doi.org/10.1109/PECON.2018.8684184

  • Karimi-Ghartema, M. (2014) Synchronous Reference Frame PLL (pp. 133–145). https://doi.org/10.1002/9781118795187.ch6

  • Krause, P. C., Wasynczuk, O., Sudhoff, S. D., et al. (2013). Analysis of electric machinery and drive systems, (Vol. 75). Hoboken: Wiley.

    Book  Google Scholar 

  • Kumar, A., Patel, N., Gupta, N., et al. (2022). Design, analysis and implementation of electronically interfaced photovoltaic system using arm cortex-m4 microcontroller. Computers & Electrical Engineering, 98, 107701. https://doi.org/10.1016/j.compeleceng.2022.107701

    Article  Google Scholar 

  • Kumar, A., Patel, N., Gupta, N., et al. (2022). L2 norm enabled adaptive LMS control for grid-connected photovoltaic converters. IEEE Transactions on Industry Applications, 58(4), 5328–5339. https://doi.org/10.1109/TIA.2022.3170292

    Article  Google Scholar 

  • Mattavelli, P. (2005). An improved deadbeat control for ups using disturbance observers. IEEE Transactions on Industrial Electronics, 52(1), 206–212. https://doi.org/10.1109/TIE.2004.837912

    Article  Google Scholar 

  • Morey, M., Gupta, N., Garg, M. M., et al. (2023). A comprehensive review of grid-connected solar photovoltaic system: Architecture, control, and ancillary services. Renewable Energy Focus, 45, 307–330.

  • Sadabadi, M. S., & Shafiee, Q. (2020). Decentralized multivariable vector current control of grid-connected voltage source inverters. IFAC-PapersOnLine, 53(2), 12410–12415. https://doi.org/10.1016/j.ifacol.2020.12.1294

    Article  Google Scholar 

  • Timbus, A., Liserre, M., Teodorescu, R., et al. (2009). Evaluation of current controllers for distributed power generation systems. IEEE Transactions on Power Electronics, 24(3), 654–664. https://doi.org/10.1109/TPEL.2009.2012527

    Article  Google Scholar 

  • Zeb, K., Uddin, W., Khan, M., et al. (2018). A comprehensive review on inverter topologies and control strategies for grid connected photovoltaic system. Renewable and Sustainable Energy Reviews, 94, 1120–1141. https://doi.org/10.1016/j.rser.2018.06.053

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Renato Santana Ribeiro Junior.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Appendix A

Appendix A

1.1 Generalization of the Method

In generalizing the method, we aim to establish an abstract form that can be applied to any transfer function, enabling more efficient analysis and control of these systems. By convolving with the matrix \(\mathbf {K_s}\), we will demonstrate how to obtain the transfer function in the dq reference frame from the transfer function in the alpha-beta coordinates. This generalization is crucial for understanding and implementing more advanced control strategies of VSI.

In order to perform the developments, consider:

$$\begin{aligned} \begin{aligned} H^{\alpha \beta }(s)&= \frac{Y^{\alpha \beta }(s)}{X^{\alpha \beta }(s)} \textbf{I}\\&=\frac{\sum _{n=0}^N a_n s^n}{\sum _{n=0}^K b_n s^n}\textbf{I}\\&= \frac{\prod _{n=0}^N (s+z_n)}{\prod _{n=0}^K (s+p_n)} \textbf{I}. \end{aligned} \end{aligned}$$
(62)

Applying convolution with the matrix \(\mathbf {K_s}\) on both sides yields:

$$\begin{aligned} \begin{aligned} \sum _{n=0}^K b_n \mathbf {K_s}*(s^nY^{\alpha \beta }(s)\textbf{I}) = \\ \sum _{n=0}^N a_n \mathbf {K_s}*(s^n X^{\alpha \beta }(s)\textbf{I}). \end{aligned} \end{aligned}$$
(63)

By replacing (21) into (63), the expression for the transfer function in the dq reference frame is derived:

$$\begin{aligned} \begin{aligned} \sum _{n=0}^K b_n ((s+\omega \textbf{U})^nY^{dq}(s))= \\ \sum _{n=0}^N a_n ((s+\omega \textbf{U})^n X^{dq}(s)). \end{aligned} \end{aligned}$$
(64)

Or, in another way:

$$\begin{aligned} \begin{aligned}&H^{dq}(s) = \frac{Y^{dq}(s)}{X^{dq}(s)} \\&= (\sum _{n=0}^K b_n (s\textbf{I}+\omega \textbf{U})^n)^{-1} (\sum _{n=0}^N a_n (s\textbf{I}+\omega \textbf{U})^n ) \\&= \prod _{n=0}^K ((s+p_n)\textbf{I}+\omega \textbf{U})^{-1} \prod _{n=0}^N ((s+z_n)\textbf{I}+\omega \textbf{U}). \end{aligned} \end{aligned}$$
(65)

1.2 Matrix Exponential

The matrix exponential simplifies solving systems by eliminating the need to deal with various different cases. For better understanding, some relationships are explained below:

$$\begin{aligned} \begin{aligned} e^{-(\omega \textbf{U} +\mathbf {L_t}^{-1}\mathbf {R_t})T_s}=e^{-(\omega \textbf{U})T_s}e^{-(\mathbf {L_t}^{-1}\mathbf {R_t})T_s}, \end{aligned} \end{aligned}$$
(66)

where:

$$\begin{aligned} \begin{aligned} e^{-(\mathbf {L_t}^{-1}\mathbf {R_t})T_s}=\left[ \begin{array}{c c} e^{-\frac{R_t T_s}{L_t}}&{}0\\ 0&{}e^{-\frac{R_t T_s}{L_t}} \end{array}\right] , \end{aligned} \end{aligned}$$
(67)
$$\begin{aligned} \begin{aligned} e^{-\omega T_s\textbf{U}}=\left[ \begin{array}{c c} cos(\omega T_s)&{}sin(\omega T_s)\\ sin(\omega T_s)&{}cos(\omega T_s) \end{array}\right] . \end{aligned} \end{aligned}$$
(68)

Resulting in:

$$\begin{aligned} \begin{aligned} e^{-(\omega \textbf{U} +\mathbf {L_t}^{-1}\mathbf {R_t})T_s}=e^{-\frac{R_t T_s}{L_t}}\left[ \begin{array}{c c} cos(\omega T_s)&{}-sin(\omega T_s)\\ sin(\omega T_s)&{}cos(\omega T_s) \end{array}\right] . \end{aligned} \end{aligned}$$
(69)

1.3 Dynamic Analysis of the System in abc and dq Coordinates

The system under analysis is described by equations that represent the dynamic behavior of a three-phase system in abc coordinates and its transformations to dq coordinates. By performing mathematical manipulations on these equations, we can investigate how the voltages at the system terminals respond to small variations in time (\(\delta t\)). This process allows for a detailed analysis of the system’s dynamics to understand the effects of these variations under different conditions. The voltage \(V_{abc}(t)\) is given by:

$$\begin{aligned} \begin{aligned} V_{abc}(t)&= E(t)\begin{bmatrix} \sin (\omega (t)t + \theta ) \\ \sin (\omega (t)t + \theta - \frac{2\pi }{3}) \\ \sin (\omega (t)t + \theta + \frac{2\pi }{3}) \end{bmatrix}. \end{aligned} \end{aligned}$$
(70)

And at the instant \((t - \delta t)\),

$$\begin{aligned} \begin{aligned} V_{abc}(t - \delta t)&= E(t - \delta t) \begin{bmatrix} \sin (\omega (t - \delta t)(t - \delta t) + \theta ) \\ \sin (\omega (t - \delta t)(t - \delta t) + \theta - \frac{2\pi }{3}) \\ \sin (\omega (t - \delta t)(t - \delta t) + \theta + \frac{2\pi }{3}) \end{bmatrix}, \end{aligned}\nonumber \\ \end{aligned}$$
(71)

with \(\omega (t - \delta t) \approx \omega (t) - \delta \omega \). Defining \(\delta \theta = \delta \omega t + \omega (t)\delta t - \delta \omega \delta t\) and for small variations, \(\delta \theta \approx \delta \omega t + \omega (t)\delta t\), yields:

$$\begin{aligned} \begin{aligned} V_{abc}(t - \delta t)&= E(t - \delta t)\begin{bmatrix}\sin (\omega (t)t + \theta - \delta \theta ) \\ \sin (\omega (t)t + \theta - \delta \theta - \frac{2\pi }{3}) \\ \sin (\omega (t)t + \theta - \delta \theta + \frac{2\pi }{3}) \end{bmatrix}. \end{aligned}\nonumber \\ \end{aligned}$$
(72)

For signals in dq coordinates, assuming that the PLL is working perfectly, the time delay occurs only in magnitude, as:

$$\begin{aligned} \begin{aligned} V_{dq0}(t - \delta t) = v(t - \delta t)\begin{bmatrix}\sin (\theta ) \\ \cos (\theta ) \\ 0\end{bmatrix} \end{aligned}. \end{aligned}$$
(73)

1.4 Calculation of Total Harmonic Distortion of Current and Recursive Approaches

In order to calculate the THD of the current over time, \(THD_I(t)\), it is necessary to know the amplitude of the fundamental component and the other harmonics. The \(THD_I(t)\) can be computed by:

$$\begin{aligned} THD_I(t) = 100\% \times \sqrt{\frac{\sum ^N_{h=2} I_h(t)^2}{I_1(t)^2}}, \end{aligned}$$
(74)

where \(I_h(t)\) is the amplitude of the harmonics, \(I_1(t)\) is the fundamental component, and \(N\) is the total number of harmonics considered in the analysis. To simplify the computation of \(THD_I(t)\), one can use the relationship \(\sum ^N_{h=2} I_h(t)^2 \approx I_{rms}(t)^2 - I_1(t)^2\), which allows representing (74) as:

$$\begin{aligned} THD_I(t) = 100\% \times \sqrt{\frac{I_{rms}(t)^2}{I_1(t)^2} - 1}, \end{aligned}$$
(75)

where \(I_{rms}(t)\) is the root mean square value of the monitored current, taking into account its harmonics.. The amplitude of the fundamental component, \(I_1\), can be defined by the relationship \(I_1(t)=\sqrt{I(\omega ,t)\cdot conj\{ I(\omega , t)\}}\), where \(I(\omega ,t)\) is obtained using the Short-Time Fourier Transform (STFT),

$$\begin{aligned} \begin{aligned} I(\omega ,t)&= \frac{1}{B}\int ^{t}_{t-B} i(\tau )e^{-j\omega \tau } d\tau , \end{aligned} \end{aligned}$$
(76)

where \(B\) is the width of the window in the STFT, and \(i(\tau )\) is the current signal at time \(\tau \). Representing (76) in discrete form:

$$\begin{aligned} I(\omega ,n)=\frac{1}{Q}\sum ^{n}_{m=n-Q}i(m)e^{-j\omega m}, \end{aligned}$$
(77)

where \(Q=\frac{B}{\Delta t}\) is the number of samples in the STFT window, and \(i(m)\) is the \(m\)-th sample of the current signal. Using (77), a recursive approach to reduce computational effort can be defined as follows:

$$\begin{aligned} \begin{aligned} I(\omega ,n)&=\frac{1}{Q}i(n)e^{-j\omega n}+\frac{1}{Q}\sum ^{n-1}_{m=n-1-Q}i(m)e^{-j\omega m} \\ {}&- \frac{1}{Q}i(n-Q)e^{-j\omega (n-Q)} \\&=I(\omega ,n-1)+\frac{e^{-j\omega n}}{Q}(i(n)-i(n-Q)e^{j\omega Q}). \end{aligned} \end{aligned}$$
(78)

Similarly, the root mean square value of the monitored current, i(t), taking into account its harmonics, can be computed by:

$$\begin{aligned} \begin{aligned} I(n)^2&=\frac{1}{Q}\sum ^{n}_{m=n-Q}i(m)^2\\&=I(n-1)^2+\frac{1}{Q}(i(n)^2-i(n-Q)^2). \end{aligned} \end{aligned}$$
(79)

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Junior, R.S.R., Machado, E.P. & Júnior, D.F. Development of a Multivariable Deadbeat Controller in dq Coordinates for the Current Loop of a Grid-Connected VSI. J Control Autom Electr Syst 35, 588–600 (2024). https://doi.org/10.1007/s40313-024-01090-0

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s40313-024-01090-0

Keywords

Navigation