MATLAB: Photovoltaic MPPT fuzzy logic in Matlab/Simulink

boostcontrol systemfuzzy logic controllermpptphotovoltaicpower_conversion_controlpower_electronics_controlsimpowersystemssimulink

A very good day to all of you.
I am currently simulating a boost converter circuit where the duty cycle is being controlled by a fuzzy logic controller. Now, the fuzzy logic controller inputs are my Power and Current.
From what i have known, the inputs are actually a function which denotes as: change of P = P(n) – P(n-1).
My question is, how to implement this on Simulink block diagram?

Best Answer

If your signal is discrete, you can use the Difference block to compute the difference between the current time step and the previous one.
HTH,
Arnaud
Related Question