Research Article

Novel Predictive Control for the IPMSM Fed by the 3L-SNPC Inverter for EVAs: Modified Lyapunov Function, Computational Efficiency, and Delay Compensation

Algorithm 3

Proposed CMI-FMPC-SSV.
Require: , , , ;
 Extrapolation of references and ;
 % Initialize the values of and ;
 Set ; ;
for i = 1 : 21 do
  Compute predictions: and ;
  Calculate the current error ;
  Evaluate the Lyapunov candidate function: , , ;
  ifthen
   Prediction of and ;
   Corresponding combination switching states having a difference of one switch ;
   for j = 1: do
    Predict , , and ;
    Estimate ;
    Evaluate and store the cost function value;
   end for
  end if
end for
 Select and apply the optimal switching state ;