Skip to main content
Log in

Self-tuning PI controller using PSO algorithm to control active and reactive power of VSCs in microgrids

  • Published:
International Journal of Dynamics and Control Aims and scope Submit manuscript

Abstract

The conventional integral controller is widely utilized for active and reactive power control in a voltage converter. Previous studies show that the integral controller with a fixed gain is not able to easily reconcile to the instability of various variables, disturbances, and power changes, especially in a large microgrid. In the present research, a new online adjustment algorithm for integral controllers is suggested and implemented in the microgrid system. PSO algorithm has been used to optimize the control variables, and then, using fuzzy logic, it deals with the validity of the control system performance. In other words, for active and reactive power control, PI controllers have been designed and for VSC operation the pulse generation has been considered. The PI parameters have been tuned using PSO and fuzzy logic online and the performance of the proposed system in various operating modes has been analyzed. The output of this system is an evaluation signal for automatic adjustment of the gain of the integral controller. The developed control structure, named the self-tuning integral controller, has been implemented in the microgrid with different numbers, the presence of DGs and different operating modes with various values, and the simulation outcomes are shown in comparison with the conventional integral controller. The results of this study prove the proposed algorithm’s effectiveness and show that the convergence time and power fluctuations are reduced, etc., especially in the presence of a large number of distributed generation sources. Also, the number of unwanted harmonics was significantly reduced. In this research, MATLAB/Simulink software was utilized to simulate and check the performance of the microgrid.

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
Fig. 11
Fig. 12
Fig. 13
Fig. 14
Fig. 15
Fig. 16
Fig. 17
Fig. 18
Fig. 19
Fig. 20

Similar content being viewed by others

Data availability

The authors do not have permission to share data.

References

  1. De Brabandere K, Vanthournout K, Driesen J, Deconinck G, Belmans R (2007) Control of microgrids. In: Power engineering society general meeting. IEEE, pp 1–7

  2. Babayomi O, Li Z, Zhang Z (2020) Distributed secondary frequency and voltage control of parallel-connected VSCs in microgrids: a predictive VSG-based solution. CPSS Trans Power Electron Appl 5(4):342–351

    Article  Google Scholar 

  3. Joorabli H, Gharehpetian GB, Ghassem-Zadeh S, Ghods V (2021) A new control method for distortions compensation and power control using microgrid connecting voltage source converters. Sustain Energy Technol Assess 47:101373

    Google Scholar 

  4. Lasseter R, Akhil A, Marnay C, Stevens J, Dagle J, Guttromson R, et al. (2002) White paper on integration of distributed energy resources—the microgrid concept. In: Consortium for electric reliability technology solutions (CERTS).

  5. Khorramabadi SS, Bakhshai A (2015) Critic-based self-tuning PI structure for active and reactive power control of VSCs in microgrid systems. IEEE Trans Smart Grid 6(on1):92–103

    Article  Google Scholar 

  6. Nanda AA, Narayanan V, Singh B (2023) Operation of multiple PV arrays and BES based standalone microgrid with reactive power sharing between VSCs. In: 2023 IEEE IAS global conference on renewable energy and hydrogen technologies (GlobConHT). IEEE, pp 1–6

  7. Said SM, Ali A, Hartmann B (2020) Tie-line power flow control method for grid-connected microgrids with SMES based on optimization and fuzzy logic. J Mod Power Syst Clean Energy 8(5):941–950

    Article  Google Scholar 

  8. Prodanovic M, Green TC (2003) Control and filter design of three-phase inverters for high power quality grid connection. IEEE Trans Power Electron 18(on1):373–380

    Article  Google Scholar 

  9. Ashabani M, Mohamed YA-RI (2014) Integrating VSCs to weak grids by nonlinear power damping controller with self-synchronization capability. IEEE Trans Power Syst 29(on2):805–814

    Article  Google Scholar 

  10. Ghiasi M, Niknam T, Dehghani M, Baghaee HR, Wang Z, Ghanbarian MM, Blaabjerg F, Dragicevic T (2022) Multipurpose FCS model predictive control of VSC-based microgrids for islanded and grid-connected operation modes. IEEE Syst J. https://doi.org/10.1109/JSYST.2022.3215437

    Article  Google Scholar 

  11. Hafez WA, Mahmoud K, Ali A, Shaaban MF, Divshali PH, Lehtonen M (2022) A droop-based frequency controller for parallel operation of VSCs and SG in isolated microgrids. In: 2022 23rd International middle east power systems conference (MEPCON). IEEE, pp 01–06

  12. Pogaku N, Prodanovic M, Green TC (2007) Modeling, analysis and testing of autonomous operation of an inverter-based microgrid. IEEE Trans Power Electron 22(on2):613–625

    Article  Google Scholar 

  13. Zmood DN, Holmes DG (2003) Stationary frame current regulation of PWM inverters with zero steady-state error. IEEE Trans Power Electron 18(on3):814–822

    Article  Google Scholar 

  14. Shen G, Zhu X, Zhang J, Xu D (2010) A new feedback method for PR current control of LCL-filter-based grid-connected inverter. IEEE Trans Ind Electron 57(on6):2033–2041

    Article  Google Scholar 

  15. Li ZL, Hu J, Chan KW (2020) A new current limiting and overload protection strategy for droop-controlled voltage-source converters in islanded AC microgrids under grid faulted conditions. In: 2020 IEEE energy conversion congress and exposition (ECCE). IEEE, pp 3888–3893

  16. Castro L, López MB, Mora-Florez J (2019) Adjustment strategy of a fuzzy control to integrate renewable sources and storage devices in microgrids. In: 2019 IEEE workshop on power electronics and power quality applications (PEPQA). IEEE, pp 1–6

  17. Blaabjerg F, Teodorescu R, Liserre M, Timbus AV (2006) Overview of control and grid synchronization for distributed power generation systems. IEEE Trans Ind Electron 53(on5):1398–1409

    Article  Google Scholar 

  18. Guerrero JM, Vasquez JC, Matas J, Vicuna D, García L, Castilla M (2011) Hierarchical control of droop-controlled AC and DC microgrids—a general approach toward standardization. IEEE Trans Ind Electron 58(1):158–172

    Article  Google Scholar 

  19. Photovoltaics DG (2011) IEEE guide for design, operation, and integration of distributed resource island systems with electric power systems.

  20. Deng W, Pei W, Qi Z (2008) Impact and improvement of distributed generation on voltage quality in micro-grid. In: Electric utility deregulation and restructuring and power technologies, 2008. DRPT 2008. Third international conference on, Nanjuing, pp 1737–1741

  21. Yu K, Ai Q, Wang S, Ni J, Lv T (2015) Analysis and optimization of droop controller for microgrid system based on small-signal dynamic model. IEEE Trans Smart Grid 7(2):695–705

    Google Scholar 

  22. Vanchinathan K, Valluvan KR, Gnanavel C, Gokul C (2022) Numerical simulation and experimental verification of fractional-order PIλ controller for solar PV fed sensorless brushless DC motor using whale optimization algorithm. Electr Power Compon Syst 50(1–2):64–80

    Article  Google Scholar 

  23. Vanchinathan K, Selvaganesan N (2021) Adaptive fractional order PID controller tuning for brushless DC motor using artificial bee colony algorithm. Res Control Optim 4:100032

    Google Scholar 

Download references

Funding

No funding.

Author information

Authors and Affiliations

Authors

Contributions

Wei Li helped in writing—original draft preparation, conceptualization, supervision, and project administration.

Corresponding author

Correspondence to Bao Zhang.

Ethics declarations

Conflict of interest

The authors declare no competing of interests.

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

Zhang, B. Self-tuning PI controller using PSO algorithm to control active and reactive power of VSCs in microgrids. Int. J. Dynam. Control (2024). https://doi.org/10.1007/s40435-024-01414-7

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1007/s40435-024-01414-7

Keywords

Navigation