Research Article
BibTex RIS Cite

Rapid Prototype Development of Single Phase Grid Connected PV Inverter Using Stm32f4 and Matlab

Year 2020, Issue: 18, 213 - 223, 15.04.2020
https://doi.org/10.31590/ejosat.680586

Abstract

In this paper, the program source code of the STM32F407 microcontroller for PV (photovoltaic) inverter circuit was tested using Simulink before applying it to a power electronics circuit. Firstly, a single-phase grid-connected PV (photovoltaic) inverter structure is modeled in Matlab / Simulink environment. In the light of these simulation results, the control blocks of the inverter are programmed using the MicroC ARM compiler for the STM32F407 microcontroller. Before the circuit design stage, a model was developed to work with Matlab / Simulink in order to prevent possible errors and losses of the microcontroller code of the designed PV inverter. This model includes power electronics semiconductors and passive components, PV panels, grid and data communication blocks. The C source code containing the inverter control blocks (MPPT, PLL, DCLinkPI and Current controller) are loaded into the STM32F4 Discovery kit. At each step of the simulation, the current and voltage information obtained from the Matlab model is sent to the STM32F4 kit via serial communication. The current and voltage information is processed in microcontroller software and switching pulses of IGBTs are created and transferred back to Matlab model. In this way, a rapid and secure prototype hardware development method is presented with the joint operation of Matlab and STM32F4. The results obtained from the simulation and Matlab-STM32F4 joint study are given comparatively.

References

  • Arafa, O. M., Mansour, A. A., Sakkoury, K. S., Atia, Y. A., & Salem, M. M. (2016). Realization of single-phase single-stage grid-connected PV system. Journal of Electrical Systems and Information Technology, 4(1), 1–9. https://doi.org/10.1016/j.jesit.2016.08.004
  • Castoldi, M. F., Aguiar, M. L., Azauri, A. O., & Monteiro, J. R. B. A. (2006). A rapid prototype design to investigate the FPGA - Based DTC strategy applied to the speed control of induction motors. Proceedings of the IEEE International Conference on Industrial Technology, 955–960. https://doi.org/10.1109/ICIT.2006.372304
  • Ciobotaru, M., Teodorescu, R., & Blaabjerg, F. (2006). Control of single-stage single-phase PV inverter. EPE Journal (European Power Electronics and Drives Journal), 16(3), 20–26. https://doi.org/10.1080/09398368.2006.11463624
  • Gupta, A. K., & Saxena, R. (2016). Review on widely-used MPPT techniques for PV applications. 2016 1st International Conference on Innovation and Challenges in Cyber Security, ICICCS 2016, (Iciccs), 270–273. https://doi.org/10.1109/ICICCS.2016.7542321
  • Hannan, M. A., Abd Ghani, Z., & Mohamed, A. (2010). An enhanced inverter controller for PV applications using the dSPACE platform. International Journal of Photoenergy, 2010. https://doi.org/10.1155/2010/457562
  • Jana, J., Saha, H., & Das Bhattacharya, K. (2017). A review of inverter topologies for single-phase grid-connected photovoltaic systems. Renewable and Sustainable Energy Reviews, 72(November 2016), 1256–1270. https://doi.org/10.1016/j.rser.2016.10.049
  • Moreira, C. O. (2015). Rapid Control Prototyping Using an STM32 Microcontroller.
  • Reis, G. L., Mata, P. C. A., Silva, W. W. A. G., Silva, R. M., Martins, A. L. N., Fernandes, V. A., & Silveira, E. P. (2015). Design and implementation of a prototype of a single phase converter for photovoltaic systems connected to the grid. 2015 IEEE 13th Brazilian Power Electronics
  • Conference and 1st Southern Power Electronics Conference, COBEP/SPEC 2016, 1–6. https://doi.org/10.1109/COBEP.2015.7420293 Selvan, S., Nair, P., & Umayal, U. (2016). A Review on Photo Voltaic MPPT Algorithms. International Journal of Electrical and Computer Engineering (IJECE), 6(2), 567. https://doi.org/10.11591/ijece.v6i2.9204
  • Tsengenes, G., & Adamidis, G. (2011). Investigation of the behavior of a three phase grid-connected photovoltaic system to control active and reactive power. Electric Power Systems Research, 81(1), 177–184. https://doi.org/10.1016/j.epsr.2010.08.008
  • Vardar, K., Sürgevil, T., & Akpinar, E. (2009). Rapid prototyping applications on three-phase PWM rectifier and shunt active power filter. ELECO 2009 - 6th International Conference on Electrical and Electronics Engineering, 258–262. https://doi.org/10.1109/ELECO.2009.5355298
  • Zhang, W., Zhang, Y., Wang, R., & Pan, X. (2010). A model-based DSP control platform for rapid prototype of SVPWM. International Conference on Signal Processing Proceedings, ICSP, 2523–2526. https://doi.org/10.1109/ICOSP.2010.5656854
  • Durbaba, E., Akpinar, E., Balıkcı, A., Azizoglu, B. T., & Kocamis, A. E. (2019). Fast Prototyping of A Photovoltaic System by Using DSP in MATLAB Simulation Loop, IECON 2019 - 45th Annual Conference of the IEEE Industrial Electronics Society, Lisbon, Portugal, 1768-1773, https://doi: 10.1109/IECON.2019.8926786

Stm32f4 Ve Matlab Kullanılarak Tek Faz Şebeke Bağlantılı Pv İnverterin Hızlı Prototip Geliştirilmesi

Year 2020, Issue: 18, 213 - 223, 15.04.2020
https://doi.org/10.31590/ejosat.680586

Abstract

Bu çalışmada, PV (photovoltaic) inverter devresi için STM32F407 mikrodenetleyicisine ait oluşturulan program kaynak kodunun bir güç elektroniği devresine uygulanmadan önce Simulink kullanılarak testi gerçekleştirilmiştir. Öncelikle, tek faz-şebeke bağlantılı bir PV (photovoltaic) inverter yapısı Matlab / Simulink ortamında modellenmiştir. Bu simülasyon sonuçları ışığında inverterin kontrol blokları STM32F407 mikrodenetleyici için MikroC ARM derleyicisi kullanılarak programlanmıştır. Tasarlanan PV invertere ait mikrodenetleyici kodunun devre tasarım aşamasına geçmeden önce olası hata ve kayıpların önüne geçmek amacıyla Matlab/Simulink ile birlikte çalışabilmesi için bir model oluşturulmuştur. Bu model, güç elektroniği yarıiletken ve pasif elemanları, PV paneller, şebeke ve veri haberleşmesi gerçekleştiren blokları içermektedir. İnverter kontrol bloklarını (MPPT, PLL, DC Link PI ve Akım kontrolcüsü) içeren C kaynak kodu STM32F4 Discovery kitine yüklenmiştir. Simülasyonun her bir adımında Matlab modelinden elde edilen akım ve gerilim bilgileri, seri iletişim ile STM32F4 kitine yollanmaktadır. Akım ve gerilim bilgileri mikrodenetleyici yazılımında işlenmekte ve IGBT’lere ait anahtarlama palsleri oluşturulup tekrar Matlab modeline aktarılmaktadır. Bu şekilde Matlab ve STM32F4 ortak çalıştırılması ile hızlı ve güvenli bir prototip donanım geliştirme yöntemi sunulmuştur. Simülasyon ve Matlab-STM32F4 ortak çalışmasından elde edilen sonuçlar karşılaştırmalı olarak verilmiştir.

References

  • Arafa, O. M., Mansour, A. A., Sakkoury, K. S., Atia, Y. A., & Salem, M. M. (2016). Realization of single-phase single-stage grid-connected PV system. Journal of Electrical Systems and Information Technology, 4(1), 1–9. https://doi.org/10.1016/j.jesit.2016.08.004
  • Castoldi, M. F., Aguiar, M. L., Azauri, A. O., & Monteiro, J. R. B. A. (2006). A rapid prototype design to investigate the FPGA - Based DTC strategy applied to the speed control of induction motors. Proceedings of the IEEE International Conference on Industrial Technology, 955–960. https://doi.org/10.1109/ICIT.2006.372304
  • Ciobotaru, M., Teodorescu, R., & Blaabjerg, F. (2006). Control of single-stage single-phase PV inverter. EPE Journal (European Power Electronics and Drives Journal), 16(3), 20–26. https://doi.org/10.1080/09398368.2006.11463624
  • Gupta, A. K., & Saxena, R. (2016). Review on widely-used MPPT techniques for PV applications. 2016 1st International Conference on Innovation and Challenges in Cyber Security, ICICCS 2016, (Iciccs), 270–273. https://doi.org/10.1109/ICICCS.2016.7542321
  • Hannan, M. A., Abd Ghani, Z., & Mohamed, A. (2010). An enhanced inverter controller for PV applications using the dSPACE platform. International Journal of Photoenergy, 2010. https://doi.org/10.1155/2010/457562
  • Jana, J., Saha, H., & Das Bhattacharya, K. (2017). A review of inverter topologies for single-phase grid-connected photovoltaic systems. Renewable and Sustainable Energy Reviews, 72(November 2016), 1256–1270. https://doi.org/10.1016/j.rser.2016.10.049
  • Moreira, C. O. (2015). Rapid Control Prototyping Using an STM32 Microcontroller.
  • Reis, G. L., Mata, P. C. A., Silva, W. W. A. G., Silva, R. M., Martins, A. L. N., Fernandes, V. A., & Silveira, E. P. (2015). Design and implementation of a prototype of a single phase converter for photovoltaic systems connected to the grid. 2015 IEEE 13th Brazilian Power Electronics
  • Conference and 1st Southern Power Electronics Conference, COBEP/SPEC 2016, 1–6. https://doi.org/10.1109/COBEP.2015.7420293 Selvan, S., Nair, P., & Umayal, U. (2016). A Review on Photo Voltaic MPPT Algorithms. International Journal of Electrical and Computer Engineering (IJECE), 6(2), 567. https://doi.org/10.11591/ijece.v6i2.9204
  • Tsengenes, G., & Adamidis, G. (2011). Investigation of the behavior of a three phase grid-connected photovoltaic system to control active and reactive power. Electric Power Systems Research, 81(1), 177–184. https://doi.org/10.1016/j.epsr.2010.08.008
  • Vardar, K., Sürgevil, T., & Akpinar, E. (2009). Rapid prototyping applications on three-phase PWM rectifier and shunt active power filter. ELECO 2009 - 6th International Conference on Electrical and Electronics Engineering, 258–262. https://doi.org/10.1109/ELECO.2009.5355298
  • Zhang, W., Zhang, Y., Wang, R., & Pan, X. (2010). A model-based DSP control platform for rapid prototype of SVPWM. International Conference on Signal Processing Proceedings, ICSP, 2523–2526. https://doi.org/10.1109/ICOSP.2010.5656854
  • Durbaba, E., Akpinar, E., Balıkcı, A., Azizoglu, B. T., & Kocamis, A. E. (2019). Fast Prototyping of A Photovoltaic System by Using DSP in MATLAB Simulation Loop, IECON 2019 - 45th Annual Conference of the IEEE Industrial Electronics Society, Lisbon, Portugal, 1768-1773, https://doi: 10.1109/IECON.2019.8926786
There are 13 citations in total.

Details

Primary Language English
Subjects Engineering
Journal Section Articles
Authors

Süleyman Yarıkkaya 0000-0003-1582-6588

Kadir Vardar 0000-0002-0197-0215

Publication Date April 15, 2020
Published in Issue Year 2020 Issue: 18

Cite

APA Yarıkkaya, S., & Vardar, K. (2020). Rapid Prototype Development of Single Phase Grid Connected PV Inverter Using Stm32f4 and Matlab. Avrupa Bilim Ve Teknoloji Dergisi(18), 213-223. https://doi.org/10.31590/ejosat.680586