Abstract:In this paper we present an implementation of a low memory footprint Model Predictive Control (MPC) based controller in Programmable Logic Controllers (PLC). Automatic code generation of standardized IEC 61131-3 PLC programming languages is used to solve the MPC's optimization problem online. The implementation is designed for its application in a realistic industrial environment, including timing considerations and accounting for the possibility of the PLC not being exclusively dedicated to the MPC controller… Show more
“…A slight offset can be observed for references other than the operating point due to the difference between the prediction model (1) and the real system. This offset could be corrected with the inclusion of a state and disturbance estimator [4]. Once again, the control action reaches its upper and lower bounds during the first moments after each reference change, without having a significant impact on the number of iterations.…”
Section: Closed-loop Resultsmentioning
confidence: 99%
“…Some examples of these tools being used to implement MPC in embedded systems include [1], [2], [3]. Additionally, other authors propose algorithms that are particularly tailored to the MPC optimization problem, such as in [4], [5], [6], [7]. Finally, another approach is to use explicit MPC [8], which computes the solution of the parametric MPC optimization problem offline and stores it online as a lookup table.…”
Section: Introductionmentioning
confidence: 99%
“…In [11] the authors presented a sparse solver for the MPCT formulation based on an extension of the classical alternating direction method of multipliers (ADMM) [12] to problems with three separable functions in the objective function [13]. The use of this method resulted in the ingredients of the algorithm having simple structures that could be exploited using a similar approach to the one used in [4], which presented sparse solvers for standard MPC formulations. This lead to a sparse solver with a small iteration complexity and a small memory footprint that was included in the Spcies toolbox [14] for Matlab, which is available at https: //github.com/GepocUS/Spcies.…”
This article presents the real-time implementation of the model predictive control for tracking formulation to control a two-wheeled inverted pendulum robot. This formulation offers several advantages over standard MPC formulations at the expense of the addition of a small number of decision variables, which complicates the inner structure of the matrices of the optimization problem. We implement a sparse solver, based on an extension of the alternating direction method of multipliers, in the system's embedded hardware. The results indicate that the solver is suitable for controlling a real system with sample times in the range of milliseconds using current, readily-available hardware.
“…A slight offset can be observed for references other than the operating point due to the difference between the prediction model (1) and the real system. This offset could be corrected with the inclusion of a state and disturbance estimator [4]. Once again, the control action reaches its upper and lower bounds during the first moments after each reference change, without having a significant impact on the number of iterations.…”
Section: Closed-loop Resultsmentioning
confidence: 99%
“…Some examples of these tools being used to implement MPC in embedded systems include [1], [2], [3]. Additionally, other authors propose algorithms that are particularly tailored to the MPC optimization problem, such as in [4], [5], [6], [7]. Finally, another approach is to use explicit MPC [8], which computes the solution of the parametric MPC optimization problem offline and stores it online as a lookup table.…”
Section: Introductionmentioning
confidence: 99%
“…In [11] the authors presented a sparse solver for the MPCT formulation based on an extension of the classical alternating direction method of multipliers (ADMM) [12] to problems with three separable functions in the objective function [13]. The use of this method resulted in the ingredients of the algorithm having simple structures that could be exploited using a similar approach to the one used in [4], which presented sparse solvers for standard MPC formulations. This lead to a sparse solver with a small iteration complexity and a small memory footprint that was included in the Spcies toolbox [14] for Matlab, which is available at https: //github.com/GepocUS/Spcies.…”
This article presents the real-time implementation of the model predictive control for tracking formulation to control a two-wheeled inverted pendulum robot. This formulation offers several advantages over standard MPC formulations at the expense of the addition of a small number of decision variables, which complicates the inner structure of the matrices of the optimization problem. We implement a sparse solver, based on an extension of the alternating direction method of multipliers, in the system's embedded hardware. The results indicate that the solver is suitable for controlling a real system with sample times in the range of milliseconds using current, readily-available hardware.
“…This optimisation of the schedule is repeated periodically with a receding horizon. The implementation of such optimisation methods on embedded hardware for industrial control is a still developing but expanding research field [2][3][4].…”
Section: Introductionmentioning
confidence: 99%
“…One approach to rapidly implement MPC on embedded hardware is to develop the control solution in desktop software such as Matlab or Modelica and then use automatic code generation for the real-time implementation on the target embedded hardware, as presented by Krupa et al [3]. While providing comfortable high-level engineering tools, this approach also has disadvantages.…”
Economic model predictive control in microgrids combined with dynamic pricing of grid electricity is a promising technique to make the power system more flexible. However, to date, each individual microgrid requires major efforts for the mathematical modelling, the implementation on embedded devices, and the qualification of the control. In this work, a field-suitable generalised linear microgrid model is presented. This scalable model is instantiated on field-typical hardware and in a modular way, so that a class of various microgrids can be easily controlled. This significantly reduces the modelling effort during commissioning, decreases the necessary qualification of commissioning staff, and allows for the easy integration of additional microgrid devices during operation. An exemplary model, derived from an existing production facility microgrid, is instantiated, and the characteristics of the results are analysed.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.