How can I model the MPPT based PID controller?

15 views (last 30 days)
Hello everyone,
I need to model a MPPT algorithm with a PID controller. The model will feed the gates of two mosfets of a push-pull converter.
I have to extract max power from PV and have a fixed voltage(400V) at the output of push-pull converter even the irradiation decreases. I probably use incremental conductance or P&O algorithm for MPPT but i haven't decided yet.
I have read some papers about this and acording to them, i need to measure Vpv and Ipv from panel and put them into a "matlab fuction, or a different type algorithm" then output of this will be referance voltage and finally give this referance and feedback from converter output into a PID controller and produce a duty cycle for mosfets. I got the concept but i don't know how to write the code or model the algorithm which transform the Vpv and Ipv into referance voltage.( i mean the relationship for this change, because the panel output will be like 35 V and the output voltage should be 400V)
Also i want to ask what load should i use for having fixed voltage at the output of converter? (I may model the load as if it is DC bus with constant voltage and according to power the output current varies but again i could not figure out how to do)
I am using this as my final project at university and so far couldn't get help about it so i will be appreciate any help.
  1 Comment
Gökhan Bayraktar
Gökhan Bayraktar on 5 Sep 2018
As a load i used Wye-Connected Variable Load" block as load to my system . It is for 3 phase but i connect the "+" terminal to the "a" input and "-" to the "n" input so it worked for DC system. The block changes the resistor according to external P(power) input and internal Rated Voltage parameter.

Sign in to comment.

Answers (1)

Sabin on 30 Jan 2023
A good place to start is the Three-Phase Grid-Connected Solar Photovoltaic System example in Simscape Electrical.


More Answers in the  Power Electronics Control

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!