This repository contains the codes for control a three-phase inverter with output LC filter using Model Predictive Control (MPC). The controller uses a discrete-time model of the system to predict the behavior of the output voltage for all possible switching states generated by the inverter. Then, a cost function is used as a criterion for selecting the switching state that will be applied during the next sampling interval. The simulations for MPC with only one-prediction step are presented under linear and nonlinear loads using MATLAB/Simulink
tools.
- For Linear loads (i.e., Resistive), type in the Command window, for instance:
>> clear all, clc, Ts = 30e-6; Vref = 200; Cfilter = 40e-6; Lfilter = 2.5e-3; Vdc = 500; Res = 100;
Then, run the Simulink model (i.e., MPC_3Phase_Inverter.slx)
- For Non-Linear loads (i.e., diode-bridge rectifier), type in the Command window, for instance:
>> clear all, clc, Rnload = 100; Cnload = 500e-6; Ts = 30e-6; Lfilter= 4.0e-3; Cfilter = 45e-6; Vdc = 520; Vref = 250;
Then again, run the Simulink model. Do not forget to uncomment and connect the Non-Linear load ;-)
- For HIL simulations using DSP, run the
two .slx
files inHIL MPC+DSP
folder. For more information, kindly have a look at the MS Thesis.
This model was updated to be compatible with Matlab R2018a
and the most recent versions.
Eventually, if you use the codes or relevant to your academic work, please cite one of the relevant articles :-),
-
@inproceedings{mohamed2013three,
title={Three-phase inverter with output LC filter using predictive control for UPS applications},
author={Mohamed, Ihab S and Zaid, Sherif A and Elsayed, Hany M and Abu-Elyazeed, MF},
booktitle={Control, Decision and Information Technologies (CoDIT), 2013 International Conference on},
pages={489--494},
year={2013},
organization={IEEE}
} -
@article{mohamed2016implementation,
title={Implementation of model predictive control for three-phase inverter with output LC filter on eZdsp F28335 Kit using HIL simulation},
author={Mohamed, Ihab S and Zaid, Sherif A and Abu-Elyazeed, MF and Elsayed, Hany M},
journal={International Journal of Modelling, Identification and Control},
volume={25},
number={4},
pages={301--312},
year={2016},
publisher={Inderscience Publishers (IEL)}
} -
@inproceedings{mohamed2013classical,
title={Classical methods and model predictive control of three-phase inverter with output LC filter for UPS applications},
author={Mohamed, Ihab S and Zaid, Sherif A and Abu-Elyazeed, MF and Elsayed, Hany M},
booktitle={Control, Decision and Information Technologies (CoDIT), 2013 International Conference on},
pages={483--488},
year={2013},
organization={IEEE}
} -
@article{mohamed2015improved,
title={Improved model predictive control for three-phase inverter with output LC filter},
author={Mohamed, Ihab S and Zaid, Sherif A and Abu-Elyazeed, MF and Elsayed, Hany M},
journal={International Journal of Modelling, Identification and Control},
volume={23},
number={4},
pages={371--379},
year={2015},
publisher={Inderscience Publishers (IEL)}
}
For further information, please feel free to contact me.
- Ihab S. Mohamed, [email protected]