I need to model a MPPT algorithm with a PID controller at Simulink. 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 “something”(matlab fuction, or a different type algorithm) then output of this “something” 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 understand 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.