Hello,
I am modelling an isolated plant of PV in simulink (r2022b). I want to compare the differences between a normal MPPT regulation and MPPT + PID with a closed loop. In thefollowing photo both methods can be seen.
For the first method I get what I expect, however, the problem I have is that I do not know how to tune the values of the PID, kp, ki and kd. I have tried the try and error method however in the response I get there is an error between Vref and Vpv and it increase with the time. (See the next photo, the first graph is the output of the PID and the second one, in yellow Vpv and in blue Vref.).
Due to that I have tried to get the transfer function of the system, however the function I get is incorrect, and I do not find the error. I have follow the same method that in the attached paper but for a buck instead of a boost (page 5).
If anyone know how can I tune the PID in order to eliminate the error let me know please. I can share the project if it hepls.
Thanks in advance.