Introduction

The IPS control problem is of paramount concern among other control problems due to under-actuated, nonlinear, and the non-minimum phase properties as discussed in [1,2,3]. Also, this IPS finds numerous industry-based applications like rockets, robots, guided missiles, different crane structures, and a Segway or self-balancing vehicles with two wheels as reported in [4]. In the current work, owing to prominent control dynamics relevance, the IPS has been chosen by an adaptive control law after its proper testing and analysis. Around last thirty years, several strategies of control techniques are put forth and verified for AP control of pendulum within the range of stability. In the problems of IPS with measured AP-based variable gains of the controller, the strategies of control like switching PID and time discrete are implemented as explained in [5, 6]. The practical application of the above-mentioned controllers is infeasible owing to limitations like the setting of the optimal gain variable with a lower robust control range and the necessity of the gain setting change according to the variation in the operating conditions. Among several other highlighted optimal control methods applied to limit the AP and AV of a pendulum are Fuzzy [7], LQR [8,9,10], neurocontrol [11], backstepping control [12], passivity control [13], state feedback control [14], H-infinity control [15], sliding-mode (SM) control [16], fuzzy sliding-mode (FSM) control [17, 18], and BLQG control [19]. Although the AP and AV control of the IPS with improved accuracy by applying the aforementioned control methods has been quite effective, still they fail to deal several constraints and arbitrary changes observed in the pendulum trajectory motion. Irrespective of better performance, these techniques of control are not capable of nullifying the model’s uncertainties and disturbances completely. So, based on the concept of model predictive control and Kalman filtering, an innovative hybrid method has been proposed that sets the control variables optimally to achieve enhanced performance along with avoiding the process disturbance \(F(t)\) generated sluggish response.

In current work, a hybrid controller named as KFMPC is developed based on the cascade connection of the CMPC and Kalman filter. This hybrid method provides an improved action of the resulting controller in terms of uncertainty handling ability, robustness, and accuracy. Here, CMPC is modified taking a state estimator as per the Kalman filtering technique, and this novelty in this formulation provides improved results. Hence, the IPS states are evaluated iteratively following the Kalman filtering method so as to achieve increased system performances. Also, the formation of a stabilizing control law is evolved by the use of the Kalman filtering method and has been reported in [20,21,22,23,24,25,26]. The KFMPC is applied for controlling pendulum AP to guarantee an enhanced capacity of elimination of high-level noises, improved capacity to deal with uncertainty, increased robustness, high accuracy, and upgraded stability.

The highlights of this article are:

  • Development of a SIMULINK model of an IPS.

  • Design of a KFMPC to control the AP of the pendulum within the stable range from − 0.05 rad to + 0.05 rad.

  • Estimation of the control actions of the KFMPC under huge deviation of process disturbance \(F(t)\).

  • Comparative investigation to certify the better response of the KFMPC.

The remaining part of the article is outlined as follows. “Problem Formulations” section  precisely explains the mathematical details of the IPS that reflects its dynamic features. A detailed control technique formulation and its implementation of the current problem are covered in “Control Algorithms” section. The outcomes of the suggested technique and comparative analysis with other proven control methodologies are presented in “Outcomes and Deliberations” section. The concluding remarks are detailed in “Conclusions” section.

Problem Formulations

System Overview

The IPS with KFMPC is displayed in Fig. 1a. In the present study, the horizontal force \(F(t)\) is the disturbance to the process, and \(\nu (t)\) is the sensor noise. The AP information of the pendulum is received by the KFMPC as an input for the generation of the optimal force of control \(u(t)\) that helps in the pendulum balance.

Fig. 1
figure 1figure 1

a Closed-loop feedback control of IPS; b graphical representation of the IPS; c mathematical structure of the nonlinear IPS; and d the force \(F(t)\) on the IPS at the time of 0.1 s

Mathematical Model of IPS

Figure 1b illustrates the structure of the cart–pendulum linked to a flexible cart rail having a pole that can swing freely, and one DC motor controls the CP. The nonlinear mathematical model of the IPS based on Newton’s law is being developed over here. It is assumed that the CP gets affected by \(F(t)\) due to action of the DC motor [27,28,29,30]. The mathematical expressions of the IPS dynamics are stated in Eqs. (1) and (2). The variables and standard input data of the IPS are put in Tables 1 and 2, respectively. The mathematical structure of the IPS is formulated in accordance with Eqs. (1) and (2) as presented in Fig. 1c.

$$ (M + m)\frac{{d^{2} x(t)}}{{dt^{2} }} - ml\frac{{d^{2} \theta (t)}}{{dt^{2} }}\cos \theta (t) + ml\left( {\frac{d\theta (t)}{{dt}}} \right)^{2} \sin \theta (t) + b\frac{dx(t)}{{dt}} = F(t) $$
(1)
$$ \left( {i + Ml^{2} } \right)\frac{{d^{2} \theta (t)}}{{dt^{2} }} - mgl\sin \theta (t) = ml\frac{{d^{2} x(t)}}{{dt^{2} }}\cos \theta (t) $$
(2)
Table 1 IPS variables
Table 2 IPS specifications

Linearization of the Nonlinear System

The nonlinear nominal model (NM) of an IPS is linearized near the operating point for the formulation of KFMPC to monitor the system outcomes within the stable range. The linearization of the non-direct framework elements concerning Eqs. (1) and  (2) is established by ignoring the higher-order components such as \(\left( {\frac{d\theta (t)}{{dt}}} \right)^{2}\). For linearization of the nonlinear IPS, the dynamic Eqs. (1) and (2) are reduced to Eqs. (3) and (4) based on the stable conditions such as \(\theta (t) = 0\), \(\frac{{d^{2} \theta (t)}}{{dt^{2} }} \cong 0\), and \(\cos (0) = 1\)

$$ \left( {M + m} \right)\frac{{d^{2} x(t)}}{{dt^{2} }} + b\frac{dx(t)}{{dt}} - ml\frac{{d^{2} \theta (t)}}{{dt^{2} }} = F(t) $$
(3)
$$ \left( {i + ml^{2} } \right)\frac{{d^{2} \theta (t)}}{{dt^{2} }} - mgl\theta (t) = ml\frac{{d^{2} x(t)}}{{dt^{2} }} $$
(4)

The TF of the CP and AP of the IPS are stated as [27]:

$$ \frac{X(s)}{{U(s)}} = \frac{{\frac{{(i + ml^{2} )s^{2} - mgl}}{\psi }}}{{s^{4} + \frac{{b(i + ml^{2} )}}{\psi }s^{3} - \frac{(M + m)mgl}{\psi }s^{2} - \frac{bmgl}{\psi }s}} $$
(5)
$$ \frac{\theta (s)}{{U(s)}} = \frac{{\frac{ml}{\psi }s}}{{s^{3} + \frac{{b(i + ml^{2} )}}{\psi }s^{2} - \frac{(M + m)mgl}{\psi }s - \frac{bmgl}{\psi }}} $$
(6)

where \(\psi = [(M + m)(i + Ml^{2} ) - ml^{2} ]\). The linearized equation of the IPS with \(F(t)\) and \(\nu (t)\) with respect to Eqs. (5) and (6) is stated as [27]:

$$ \left. {\begin{array}{*{20}l} {\frac{{dx_{m} (t)}}{{dt}} = \dot{x}_{m} (t) = A_{m} x_{m} (t) + B_{m} u(t) + B_{d} F(t)} \hfill \\ {y(t) = C_{m} x_{m} (t) + D_{m} u(t) + \nu (t)} \hfill \\ \end{array} } \right\} $$
(7)

where \(x_{m} (t)\), \(u(t)\), and \(y(t)\) are represented as the state variable, control input, and measured output, respectively. The \(x_{m} (t)\) is composed with the AP, CP, AV, and CV. The state-space matrices of the NM of the IPS are denoted as \(A_{m}\), \(B_{m}\), \(C_{m}\), \(D_{m}\), and \(B_{d}\). These are derived from the linearization of the IPS dynamics nearby the reference point. It is discussed in detail in reference [27]. In MATLAB, the keyword “linmod” is utilized to assess the state-space matrices on the mathematical structure of IPS as portrayed in Fig. 1c.

Investigation of IPS Activities

There IPS has 4 roots. But only 1 root is locked in right side of the frequency domain. Subsequently, the IPS gets insecure. It desires the formulation of a robust control algorithm to update the stability of the IPS by pulling the roots in the direction of the left side of the frequency domain. The open-loop mathematical structure of IPS is portrayed in Fig. 1c. The IPS comprises of 2 inputs and 4 outcomes. The 2-input variables are \(u(t)\) and \(F(t)\), and CP, CV, AP, and AV are the 4 outcomes of the IPS. Uncontrolled system outcomes are being observed to the use of 1 N impulsive \(F(t)\) on the IPS at the time of 1.0 s. Those outcomes are delineated in Fig. 2a–d. Figure 2a–d shows the unstable outcomes in the presence of model uncertainties and disturbances. The unstable nature of the outcomes can be decreased by implementing the appropriate control methods. Right now, AP of the IPS is the most fundamental outcome that should be monitored in a steady range through appropriate control methods, and other 3 outcomes are examined so as to see the motion route.

Fig. 2
figure 2

Outcomes of the open-loop IPS: a AP; c AV; c CP; and d CV

Control Algorithms

The KFMPC strategy is exhibited in this segment. The IPS activity concerning robustness, accuracy, and stability is examined through the KFMPC. The control features like settling time \(t_{s}\), steady-state error \(e_{{{\text{ss}}}}\), peak overshoot \(O_{{{\text{Peak}}}}\), and peak undershoot \(U_{{{\text{Peak}}}}\) are additionally assessed and inspected with appropriate approval of the KFMPC action.

Design of KFMPC

The linearized structure of the IPS as demonstrated in “Linearization of the nonlinear system” section has been considered for the design of the KFMPC to control the outcomes of the IPS. For achieving an upgraded response and proper execution of control variables of the KFMPC, it is cascaded to the IPS as shown in Fig. 3. In this strategy, system states are recursively estimated through the Kalman filter to upgrade the control execution. The linearized IPS with \(\nu (t)\) and \(F(t)\) is framed as signified in Eq. (7), where both \(\nu (t)\) and \(w(t)\) are the Gaussian noise, and these are associated as:

$$ \left. \begin{gathered} E\{ F(t)\} = 0 \hfill \\ E\{ \nu (t)\} = 0 \hfill \\ \end{gathered} \right\} $$
(8)
$$ E\left\{ {F(t)F^{T} (\tau )} \right\} = Q_{2} \delta (t - \tau ) $$
(9)
$$ E\left\{ {\nu (t)\nu^{T} (\tau )} \right\} = R_{2} \delta (t - \tau ) $$
(10)
Fig. 3
figure 3

The structure of IPS with KFMPC in the state-space platform

The \(F(t)\) and \(\nu (t)\) are uncorrelated to each other, i.e.,

$$ E\left\{ {F(t)\nu^{T} (\tau )} \right\} = 0 $$
(11)

where \(Q_{2}\) and \(R_{2}\) are the intensities of the \(F(t)\) and \(\nu (t)\), respectively. Figure 3 demonstrates the linearized structure of the IPS with the feedback gain \(K_{mpc}\) and Kalman filter gain \(K_{f}\). The mathematical expressions of \(K_{mpc}\) and \(K_{f}\) are clearly mentioned in “Feedback gain \(K_{mpc}\) of KFMPC” and “Kalman Filter Gain \(K_{f}\)” sections, respectively. The estimation of the TF of the KFMPC is clearly defined in “TF of the KFMPC” section.

The first differentiation of the control signal \(\frac{du(t)}{{dt}}\) of the proposed KFMPC is represented in Eq. (12).

$$ \frac{du(t)}{{dt}} = \dot{u}(t) = - K_{mpc} \hat{x}_{a} (t) $$
(12)

where \(K_{mpc}\) is the feedback gain of the proposed KFMPC, and \(\hat{x}_{a} (t)\) is the estimated state variable of the augmented model (AM) of the IPS. The \(\frac{du(t)}{{dt}}\) is regulated by \(K_{mpc}\) with respect to \(\hat{x}_{a} (t)\).

Structure of KFMPC Design

The KFMPC is designed based on the receding horizon control (RHC) algorithm. Under this algorithm, one AM is to be formulated based on the NM of a system in such a manner that a first differentiation of the control signal can be embedded through the integrator into the NM of a system to eliminate the any type of noise and disturbance, while maintaining the same output as shown in Fig. 3.

Formulation of AM of IPS:

The state-space equation of the NM of the IPS with \(m\) inputs and \(q\) outputs is stated as:

$$ \left. \begin{gathered} \frac{{dx_{m} (t)}}{dt} = A_{m} x_{m} (t) + B_{m} u(t) + B_{d} F(t) \hfill \\ y(t) = C_{m} x_{m} (t) + D_{m} u(t) + \nu (t) \hfill \\ \end{gathered} \right\} $$
(13)

where dimension of \(x_{m} (t)\) is \(n_{1} \times 1\), and \(n_{1}\) is the order of the \(A_{m}\). The dimensions of \(A_{m}\), \(B_{m}\), and \(C_{m}\) matrices are \(n_{1} \times n_{1}\), \(n_{1} \times m\), and \(q \times n_{1}\), respectively. Under the RHC algorithm, current data on the NM of IPS are predicted and controlled. It is assumed that \(y(t)\) is not affected by the \(u(t)\) and during the same moment, \(D_{m}\) is zero in NM of the IPS. For the formulation of AM of an IPS based on Eq. (13), the new state variables are considered as follows:

$$ \left. \begin{gathered} z(t) = \frac{{dx_{m} (t)}}{dt} \hfill \\ y(t) = C_{m} x_{m} (t) + \nu (t) \hfill \\ \end{gathered} \right\} $$
(14)

The state variable of the AM of the IPS \(x_{a} (t)\) is formulated based on Eqs. (13) and (14) as:

$$ x_{a} (t) = \left[ {\begin{array}{*{20}c} {z(t)^{T} } & {y(t)^{T} } \\ \end{array} } \right]^{T} $$
(15)

The state-space equation of AM of the IPS is formulated with respect to Eq. (13) as follows [20]:

$$ \left[ {\begin{array}{*{20}c} {\frac{dz(t)}{{dt}}} \\ {\frac{dy(t)}{{dt}}} \\ \end{array} } \right] = \overbrace {{\left[ {\begin{array}{*{20}c} {A_{m} } & {o_{m}^{T} } \\ {C_{m} } & {o_{q \times q} } \\ \end{array} } \right]}}^{A}\left[ {\begin{array}{*{20}c} {z(t)} \\ {y(t)} \\ \end{array} } \right] + \overbrace {{\left[ {\begin{array}{*{20}c} {B_{m} } \\ {o_{q \times m} } \\ \end{array} } \right]}}^{B}\frac{du(t)}{{dt}} + \overbrace {{\left[ {\begin{array}{*{20}c} {B_{d} } \\ {o_{q \times m} } \\ \end{array} } \right]}}^{G}\frac{dF(t)}{{dt}} $$
(16)
$$ y(t) = \underbrace {{\left[ {\begin{array}{*{20}c} {o_{m} } & {I_{q \times q} } \\ \end{array} } \right]}}_{C}\left[ {\begin{array}{*{20}c} {z(t)} \\ {y(t)} \\ \end{array} } \right] + \nu (t) $$
(17)

where \(o_{m}\), \(o_{q \times q}\), and \(o_{q \times m}\) are the zero matrices with dimensions of \(q \times n_{1}\), \(q \times q\), and \(q \times m\), respectively. The \(I_{q \times q}\) is an identity matrix with dimension of \(q \times q\). Equations (16) and (17) can be rewritten as:

$$ \left. \begin{gathered} \frac{{dx_{a} (t)}}{dt} = Ax_{a} (t) + B\frac{du(t)}{{dt}} + G\frac{dF(t)}{{dt}} \hfill \\ y(t) = Cx_{a} (t) + \nu (t) \hfill \\ \end{gathered} \right\} $$
(18)

where \(x_{a} (t)\) has two major components such as \(\frac{{dx_{m} (t)}}{dt}\) and \(y(t)\). The dimension of \(x_{a} (t)\) is \(n \times 1\), and \(n\) is equal to the \(n_{1} + q\). The state-space matrices of the AM of the IPS are represented as A, B, C, and G. The \(\frac{du(t)}{{dt}}\) is the input to the AM of IPS, and output remains same, which is visualized in Eq. (18).

AM with Deterministic Disturbance

When \(F(t)\) is deterministic in nature, it is always constant. Under this situation, the first derivative of \(F(t)\) with respect to time is zero, which is defined as follows:

$$ \frac{dF(t)}{{dt}} = 0 $$
(19)

The state-space equation of AM of IPS with deterministic process disturbance with respect to Eq. (18) is:

$$ \left. \begin{gathered} \frac{{dx_{a} (t)}}{dt} = Ax_{a} (t) + B\frac{du(t)}{{dt}} \hfill \\ y(t) = Cx_{a} (t) + \nu (t) \hfill \\ \end{gathered} \right\} $$
(20)

where \(\frac{dF(t)}{{dt}}\) is equal to zero.

AM with Stochastic Disturbance

When \(F(t)\) is stochastic in nature, it is random. It is stated as:

$$ F(t) = \int\limits_{0}^{t} \varepsilon (\tau )d\tau $$
(21)

where \(\varepsilon (.)\) is represented as a band-limited, zero mean, and white noise vector. It is defined as:

$$ E\left\{ {\frac{dF(t)}{{dt}}} \right\} = E\left\{ {\varepsilon (t)} \right\} = 0 $$
(22)

where \(E\{ \}\) is the expectation function. The state-space equation of AM of IPS with stochastic process disturbance is represented in Eqs. (23) and (24).

$$ \left[ {\begin{array}{*{20}c} {\frac{dz(t)}{{dt}}} \\ {\frac{dy(t)}{{dt}}} \\ \end{array} } \right] = \overbrace {{\left[ {\begin{array}{*{20}c} {A_{m} } & {o_{m}^{T} } \\ {C_{m} } & {o_{q \times q} } \\ \end{array} } \right]}}^{A}\left[ {\begin{array}{*{20}c} {z(t)} \\ {y(t)} \\ \end{array} } \right] + \overbrace {{\left[ {\begin{array}{*{20}c} {B_{m} } \\ {o_{q \times m} } \\ \end{array} } \right]}}^{B}\frac{du(t)}{{dt}} + \overbrace {{\left[ {\begin{array}{*{20}c} {B_{d} } \\ {o_{q \times m} } \\ \end{array} } \right]}}^{G}\varepsilon (t) $$
(23)
$$ y(t) = \underbrace {{\left[ {\begin{array}{*{20}c} {o_{m} } & {I_{q \times q} } \\ \end{array} } \right]}}_{C}\left[ {\begin{array}{*{20}c} {z(t)} \\ {y(t)} \\ \end{array} } \right] + \nu (t) $$
(24)

where \(G\) is a matrix of stochastic process disturbance. When the AM is to be predicted and controlled in the presence of stochastic noise, the effect of that disturbance in expectance on the future state will be zero.

Feedback gain \(K_{mpc}\) of KFMPC

The \(K_{mpc}\) is assessed concerning the IPS activities for the least value of the objective function \(j\) as stated in Eq. (25).

$$ j = \int\limits_{0}^{\infty } {\left[ {x_{a} (t)^{T} Q_{1} x_{a} (t) + \left( {\frac{du(t)}{{dt}}} \right)^{T} R_{1} \frac{du(t)}{{dt}}} \right]} dt $$
(25)

where \(Q_{1} = C^{T} q_{1} C\). The Q1, q1, and R1 are denoted as the state weighting matrix, the intensity of the \(Q\), and the input weighting matrix, respectively. The \(K_{mpc}\) of the KFMPC for the least value of the \(j\) is stated as:

$$ K_{mpc} = \left[ {\begin{array}{*{20}c} {L_{1} (0)^{T} } & {o_{2} } & . & . & . & {o_{m} } \\ {o_{1} } & {L_{2} (0)^{T} } & . & . & . & {o_{m} } \\ . & . & . & {} & {} & . \\ . & . & {} & . & {} & . \\ . & . & {} & {} & . & . \\ {o_{1} } & {o_{2} } & . & . & . & {L_{m} (0)^{T} } \\ \end{array} } \right]\Omega^{ - 1} \Psi $$
(26)

where \(o_{1} ,o_{2} , \ldots ,o_{m}\) are the zero matrices of \(1^{{{\text{st}}}} {\text{ input}}, \, 2^{{{\text{nd}}}} {\text{ input}}, \, . \, . \, . \, . \, . \, ,m^{{{\text{th}}}}\) input, respectively. All sizes above zero matrices are equal and considered as \(q \times n\). The \(L_{1} (0),\;L_{2} (0)\;, \ldots ,\;L_{m} (0)\) are the initial conditions of \(1^{{{\text{st}}}} {\text{ input}}, \, 2^{{{\text{nd}}}} {\text{ input}}, \, . \, . \, . \, . \, . \, ,m^{{{\text{th}}}}\) input, respectively. All initial conditions of all inputs are same and considered as:

$$ L(0) = \sqrt {2p} \left[ {\begin{array}{*{20}c} 1 & 1 & . & . & . & 1 \\ \end{array} } \right]^{T} $$
(27)

It is a column vector and contains \(N\) numbers of elements. Here, \(N\) represents the number of Laguerre networks [20], and \(p\) stands for scaling factor.

The \(\Omega\) and \(\Psi\) are the constant matrices and defined as in Eq. (28).

$$ \left. \begin{gathered} \Omega = \sum\limits_{k = 0}^{M} {\varphi (kh)Q\varphi (kh)^{T} h + R_{L} } \hfill \\ \Psi = \sum\limits_{k = 0}^{M} {\varphi (kh)Qe^{Akh} h} \hfill \\ \end{gathered} \right\} $$
(28)

where \(M\) represents the number of samples and is defined as in Eq. (29).

$$ M = \frac{{T_{p} }}{h} $$
(29)

\(T_{p}\) and \(h\) represent the total prediction horizon time and sample interval, respectively, and \(k\) varies from zero to \(M\).

The \(\varphi (kh)^{T}\) is a solution of the linear algebraic equation and expressed as:

$$ A\varphi (kh)^{T} - \varphi (kh)^{T} A_{p}^{T} = - BL(kh)^{T} + e^{Akh} BL(0)^{T} $$
(30)

where \(L(kh)\) represents the set of Laguerre functions and is defined in Eq. (31).

$$ L(kh) = e^{{A_{p} kh}} L(0) $$
(31)

where \(A_{p}\) represents the lower triangular matrix with size of \(N \times N\) and is given by [20]:

$$ A_{p} = \left[ {\begin{array}{*{20}c} { - p} & 0 & . & . & . & 0 \\ { - 2p} & { - p} & . & . & . & 0 \\ . & {} & {} & {} & {} & {} \\ . & {} & {} & {} & {} & {} \\ . & {} & {} & {} & {} & {} \\ { - 2p} & . & . & . & { - 2p} & { - p} \\ \end{array} } \right] $$
(32)

It contains \(R_{L}\) number of block diagonal matrices with \(\alpha^{th}\) blocks as \(R_{\alpha }\). The \(R_{\alpha }\) can be defined as:

$$ R_{\alpha } = RI_{{N_{\alpha } \times N_{\alpha } }} $$
(33)

where \(I_{{N_{\alpha } \times N_{\alpha } }}\) is an unitary matrix with size of \(N_{\alpha } \times N{}_{\alpha }\), and \(\alpha\) varies from 1 to \(m\).

Kalman Filter Gain \(K_{f}\)

The IPS states are estimated recursively through the Kalman filter to update the system performance. The estimated state-space equation of the IPS is stated as:

$$ \left. \begin{gathered} \frac{{d\hat{x}_{a} (t)}}{dt} = \dot{\hat{x}}_{a} (t) = A\hat{x}_{a} (t) + B\frac{du(t)}{{dt}} + K_{f} [r(t) - y(t) - \hat{y}(t)] \hfill \\ = (A - BK_{mpc} - K_{f} C_{m} )\hat{x}_{a} (t) + K_{f} [r(t) - y(t)] \hfill \\ \hat{y}(t) = C_{m} \hat{x}_{a} (t) \hfill \\ \end{gathered} \right\} $$
(34)

where \(e(t) = [r(t) - y(t)]\), \(\hat{y}(t)\) is denoted as the estimated output, and \(r(t)\) is denoted as the desired AP of the pendulum. The \(K_{f}\) is computed as [20]:

$$ K_{f} = \prod_{f} C^{T} R_{2}^{ - 1} $$
(35)

where \(\prod_{f}\) is the solution of the Filter Algebraic Riccati Equation (FARE). The FARE is stated as:

$$ A\prod {}_{f} + \prod_{f} A^{T} + GQ_{2} G^{T} - \prod_{f} C^{T} R_{2}^{ - 1} C\prod_{f} = 0 $$
(36)

TF of the KFMPC

The TF of the KFMPC is calculated with the use of \(K_{mpc}\) and \(K_{f}\). The TF of the KFMPC is stated as:

$$ K(s) = K_{mpc} (sI_{n} - A + BK_{mpc} + K_{f} C)^{ - 1} K_{f} $$
(37)

where \(K(s)\) is the TF of KFMPC, \(I_{n}\) is an unitary matrix with dimension of \(n \times n\), and \(n\) is the order of the system matrix \(A\). The \(K(s)\) is defined in matrix form [20]:

$$ K(s) = \left[ {\begin{array}{*{20}c} {A - BK_{mpc} - K_{f} C} & {K_{f} } \\ { - K_{mpc} } & 0 \\ \end{array} } \right] $$
(38)

The objective function \(j\) is the time integral of the transient and control energy. Therefore, it can be reduced by proper tuning of control variables \(Q_{1}\) and \(R_{1}\). The control variables \(R_{1}\) and \(Q_{1}\) govern the input \(u(t)\) to the controller and the corresponding outputs of the system, respectively. The desired output is achieved through the controller by proper adjustment of the intensity of the \(Q_{1}\) matrix. The uncontrolled process response of Fig. 2a–d indicates a larger impact of the imposed force \(F(t)\) on the IPS outcomes. So, the states governing the IPS outcomes are assigned utmost weightage in the design of the controller. The estimation of the optimal values of the control variables is evaluated with the assistance of MATLAB and aforementioned concept as detailed in Table 3. The KFMPC algorithm as a whole in a flowchart form is put in Fig. 4.

Table 3 The control variables
Fig. 4
figure 4

The flowchart of the KFMPC

Outcomes and Deliberations

The activity of the IPS with KFMPC is depicted clearly in this division. The proposed strategy is contrasted with other well-known control approaches to validate its upgraded action.

System Activity with KFMPC

Right now, all outcomes of the IPS with KFMPC are inspected under various working conditions like deviation of \(F(t)\). The closed-loop IPS outcomes with I N force are represented in Fig. 5a–d. The outcomes evidently specify the IPS achieves the AP and AV with zero value, and furthermore, cart accomplishes the steadiness location where it is completely consistent. To attain the updated system outcomes, the required \(u(t)\) is caused by the KFMPC and reflected in Fig. 6.

Fig. 5
figure 5

Outcomes of IPS with KFMPC: a AP; b AV; c CP; and d CV

Fig. 6
figure 6

Control signal \(u(t)\) caused by the KFMPC

Robustness of the KFMPC

Figure 7a, b exhibits the AP and AV of the IPS with KFMPC under the large variation of \(F(t)\). The outcomes under large variation of \(F(t)\) show the updated activities of the closed-loop IPS with KFMPC. For each situation, the IPS accomplishes zero angular position and zero angular velocity with less settling time. Thus, the IPS outcomes are very insensitive to \(F(t)\). This prompts to robustness of a controller.

Fig. 7
figure 7

a AP of the closed-loop IPS with variation of \(F(t)\); b AV of the closed-loop IPS with variation of \(F(t)\)

Stability Investigation

The IPS has 4 roots. But 1 root lies on the right adjacent of the frequency domain as reflected in Fig. 8a. It indicates the IPS is unstable. For upgrade of stability of the IPS, the KFMPC is formulated and executed. Accordingly, all roots of the system are pulled in the direction of the left side of the frequency domain as shown in Fig. 8b. Therefore, the IPS stability is upgraded because of the KFMPC.

Fig. 8
figure 8

a The open-loop IPS roots; b the closed-loop IPS roots

Figure 9a, b shows the Bode plot outcomes of the open- and closed-loop IPS to confirm the stability circumstances. From these outcomes, a superior smoothness is observed which refers to the more steady-state stability of the closed-loop IPS (Fig. 9b) than the open-loop IPS (Fig. 9a). The operating frequency range is expanded in case of a closed-loop IPS with KFMPC than the open-loop IPS. This evidently specifies a quicker stable dynamics, and furthermore, IPS with KFMPC achieves zero angular position and velocity with less settling time. This approves improved stability during IPS action with KFMPC.

Fig. 9
figure 9

a The Bode plot outcomes of the IPS; b the Bode plot outcomes of IPS with KFMPC

Comparative Study

The KFMPC is compared with other well-known control strategies to validate its upgraded performances. Figure 5a illuminates the influence of the \(F(t)\) in the outcomes of the IPS with the KFMPC. Table 4 gives a near investigation with regard to ts (sec), \(O_{{{\text{Peak}}}}\)(rad), \(U_{{{\text{Peak}}}}\)(rad), noise (%), and \(e_{{{\text{ss}}}} (\% )\). The influence of the \(F(t)\) in the outcomes of the IPS implementing well-known control methods is also exhibited in Table 4 with respect to the studies [5, 7, 9, 15, 18], and [19].

Table 4 Comparative study investigation associated with the AP in IPS

The outcomes of the IPS under the I N force are verified. The corresponding outcomes are exhibited for the different control methods together with KFMPC concerning control details such as \(O_{{{\text{Peak}}}}\), \(U_{{{\text{Peak}}}}\), and \(t_{{\text{s}}}\). These outcomes imply the better controllability of the KFMPC. The outcomes additionally exhibit the noise suppression ability with more robustness of the KFMPC. Overall, it is observed from the above examination that the discoveries of the recommended KFMPC preferences are the higher accuracy and stability, more robustness, better ability to suppress noise, and better ability to monitor model uncertainty under different abnormal situations and large variation of applied force.

Conclusions

This study proposed a novel KFMPC for AP control in IPS within the stable range. For the formulation of the KFMPC, a 4th-order state-space model of the IPS is deliberated. In the KFMPC, the Kalman filter is employed to pull all the states toward the reference point to improve the control activity. The comparative outcomes obviously replicate that KFMPC is landed at preferred execution over the well-known control techniques regarding stability, accuracy, and robustness under different unusual situations and disturbances. The associated improved action of the proposed KFMPC as far as better accuracy, more robustness, improved stability, and better ability to suppress noise and model uncertainty validates its real-time implementation.