{"title":"A Microcontroller Implementation of Model Predictive Control","authors":"Amira Abbes Kheriji, Faouzi Bouani, Mekki Ksouri, Mohamed Ben Ahmed","volume":53,"journal":"International Journal of Electrical and Information Engineering","pagesStart":600,"pagesEnd":607,"ISSN":"1307-6892","URL":"https:\/\/publications.waset.org\/pdf\/7669","abstract":"Model Predictive Control (MPC) is increasingly being\nproposed for real time applications and embedded systems. However\ncomparing to PID controller, the implementation of the MPC in\nminiaturized devices like Field Programmable Gate Arrays (FPGA)\nand microcontrollers has historically been very small scale due to its\ncomplexity in implementation and its computation time requirement.\nAt the same time, such embedded technologies have become an\nenabler for future manufacturing enterprises as well as a transformer\nof organizations and markets. Recently, advances in microelectronics\nand software allow such technique to be implemented in embedded\nsystems. In this work, we take advantage of these recent advances\nin this area in the deployment of one of the most studied and\napplied control technique in the industrial engineering. In fact in\nthis paper, we propose an efficient framework for implementation\nof Generalized Predictive Control (GPC) in the performed STM32\nmicrocontroller. The STM32 keil starter kit based on a JTAG interface\nand the STM32 board was used to implement the proposed GPC\nfirmware. Besides the GPC, the PID anti windup algorithm was\nalso implemented using Keil development tools designed for ARM\nprocessor-based microcontroller devices and working with C\/C\u00b5\nlangage. A performances comparison study was done between both\nfirmwares. This performances study show good execution speed and\nlow computational burden. These results encourage to develop simple\npredictive algorithms to be programmed in industrial standard hardware.\nThe main features of the proposed framework are illustrated\nthrough two examples and compared with the anti windup PID\ncontroller.","references":"[1] T. Alamo, D. Ramirez, and E. Camacho, \"Efficient implementation of\nconstrained min-max model predictive control with bounded uncertainties:\na vertex rejection approach,\" Journal of Process Control, vol. 15,\npp. 149-158, 2005.\n[2] E. Camacho and C. Bordons, Model Predictive Control. London:\nSpringer, 2004.\n[3] G. D. Nicolao, L. Magni, and R. Scattolini, \"Robust predictive control of\nsystems with uncertain impulse response,\" Automatica, vol. 32, no. 10,\npp. 1475-1479, 1996.\n[4] P. Campo and M. Morari, \"Robust model predictive control,\" in Proceedings\nof American Control Conference, 1987, pp. 1021-1026.\n[5] J. Rossiter, Model based predictive control: A practical approach.\nRobert H.Bishop, 2005.\n[6] M. Kothare, V. Balakrishnan, and M. Morari, \"Robust constrained model\npredictive control using linear matrix inequalities,\" Automatica, vol. 32,\nno. 10, pp. 1361-1379, 1996.\n[7] Y. Wang and J. Rawlings, \"A new robust model predictive control\nmethod 1: theory and computation,\" Journal of Process Control, vol. 14,\npp. 231-247, 2002.\n[8] G. Pannochia, \"Robust model predictive control with guaranteed set\npoint tracking,\" Journal of Process Control, vol. 14, pp. 927-937, 2004.\n[9] B. Bouzouita, F. Bouani, and M. Ksouri, \"Solving non convex minmax\npredictive controller,\" in Proceedings of Information, Decision and\nControl Conference, 2007.\n[10] A. Kheriji, F. Bounani, and M. Ksouri, \"Efficient implementation of\nconstraind robust model predictive control using a state space model,\"\nin Proceedings of International Conference on Informatics in Control,\nAutomation and Robotics (ICINCO), 2010.\n[11] A. Kheriji, F. Bouani, and M. Ksouri, \"Ggp approach to solve non\nconvex min-max robust model predictive controller for a class constrained\nmimo systems,\" in Proceedings of the International Workshop\non Symbolic and Numerical Methods, Modeling and applications to\ncircuit design, (SM2ACD) CEDA competition, 2010.\n[12] A. Kheriji, F. Bounani, and M. Ksouri, \"A ggp approach to solve\nnon convex min-max predictive controller for a class of constrained\nmimo systems described by state-space models,\" International Journal\nof Control Automations and Systems (IJCAS), vol. 9, no. 3, 2011, will\nappear in June.\n[13] K. Ling, S. Yue, and J. Maciejowski, \"A fpga implementation of model\npredictive control,\" in Proceedings of American Control Conference,\n2006.\n[14] U. R. Y. Jayaraman, \"Fpga implementation of predictive control strategy\nfor power factor correction,\" in Proceedings of World Academy of\nScience, Engineering and Technology, 2008.\n[15] K. Ling, B. Wu, and J. Maciejowski, \"Embedded model predictive\ncontrol (mpc) using a fpga,\" in Proceedings of the 17th World Congress:\nThe International Federation of Automatic Control, Seoul, Korea, 2008.\n[16] K. Watanabet, K. Ikeda, T. Fukuda, and S. Tzafestas, \"Adaptive generalized\npredictive control using a state space approach,\" in International\nWorkshop on Intelligent Robots and Systems IROS, Osaka, Japan, 1991.\n[17] G. Palomo, K. Hilton, and J. Rossiter, \"Predictive control implementation\nin a plc using the iec 1131.3 programming standard,\" in Proceedings\nof American Control Conference, 2009.","publisher":"World Academy of Science, Engineering and Technology","index":"Open Science Index 53, 2011"}