1 Introduction

In modern advanced industrial technologies, the control system plays a very important role. Because, the advancement of control process design method might incorporate in production system manufacturing to improve the production measure [1]. In machinery applications, the control system is the group of elements to control the machine working system to attain better results [2]. Moreover, the chief process of controller is regulation, which means it regulates the key parameters like position, voltage, current, temperature and so on [3]. Besides, in control process the linear parameter varying (LPV) control method is an interesting area for researchers because, in control system the gains of the controller are adjusted based on parameter scheduling [4]. Henceforth, the outcome of parameter scheduling illustrates the particular working state of each controller parametric function. In some situations where the dynamics of the system varied beneath dissimilar working states, then the gain scheduling based controller can be executed [5]. Moreover, the resultant terminologies of controller maintain the engineering works of LPV systems [6, 7]. In addition, the very developed controllers have been designed with the help of H∞ study.

Usually, the gain scheduling scheme is processed in three chief frames [8]. In that, the first frame includes the operation parameter specification of each subspace [9]. In second phase, the controllers are designed for each parameterized model [10]. To attain a good stability range, an interpolation approach is merged in the gain scheduling paradigm. Furthermore, the LPV model is processed based on bounded time duration varying process [11]. Often closed control loop system is applied in industrial applications. From that, the calculated signal is compared with the desired value and the difference between the values is termed as an error [12]. Moreover, in the foremost industries such as textile industries, chemical industries, and aerospace work, the gain scheduling based control method plays a significant part [13]. In textile industries, the rotor spinning machine works as a significant role in the yarn production. Panda et al. termed the rotor spinning machine as open spinning machine [14].

Due to the nonlinear qualities of rotor spinning machine such as the sudden speed variation, and temperature, the system became more challenging. In order to maintain the rotor speed, the high-speed rotor may escort to fiber worsening. Also, tearing out of fiber bunches might reduce the rotor speed that tends to cause fiber lapping [15]. Hence, the performance of the spinning machine must be improved by the proper controller to achieve the desired values of constraints.

Therefore, the proportional expansion has described the quantitative relation of the error signal outcome. Afterward, the control input is given to the actuator which can work up to reduce the error rate [16]. The reason of using PID type controller is for attaining accurate control performance and stability range [17]. Beside these, to improve the controller performance optimization framework is introduced in gain scheduling module. Even though, these methods have some limitations and this is the motivation potency of the heuristic [18] rules capability to the controller. So, in this proposed work, the application as rotor spinning machine is adopted, the performance of the system response has improved the sensitivities of control under the external disturbances using a novel optimized hybrid method of controller [19].

The rest of the paper is sketched out as follows. Section 2 explains the related work of this research. In Sect. 3, the modeling and problem of rotor spinning machine are described. In Sect. 4, the proposed design of the controller and its stability, as well as robustness is described. Section 5 covers the simulation outcomes of the proposed control and comparison. Finally, the paper is concluding in Sect. 6.

2 Related work

Some of the current works connected to the GSPID controllers are explained as follows.

The demand of electric vehicle is increasing because of increased emission pollution. For this reason, Yonathan Weiss et al. [20] projected a fresh Yaw Stability Controller (YSC) method in driven electric vehicle. In addition, the LPV system of the vehicle design, longitudinal run estimation, and tire cornering firmness strength are used as control parameters. However, the error in the controller is increased.

The wind turbine efficiency is increased even during variable speeds. However, the high speed of wind tends to break the blade of the wings. Therefore, Bektachea and Boukhezzarb [21] proposed a nonlinear predictive controller, which enhanced the power capture optimization and load reduction. Consequently, the nonlinear model is measured for both the aero turbine and the Doubly-Fed Induction Generator (DFIG). Moreover, vector control with PID controller is estimated to control the nonlinear model. Here, the action of controller is not validated under disturbances or varying its input.

In nonlinear system, the heat control is a necessary method to avoid more accidents in industrial technologies. Therefore, Trudgen and Javad [22] proposed an LPV based control method for modeling and regulating of rapid thermal processing (RTP) arrangements. The RTP execution based upon the employ of light commencing heating lamps to make available a heat flux. Sequentially, this nonlinear function is appropriate to the reason of radioactive heat conversion also substance characteristics. Therefore, the principal component analysis (PCA) technique is utilized to diminish the quantity of LPV representation of training parameters. However, the accurate control is not possible by this approach because the reduction of scheduling variables tends to diminish the gain of the controllers.

Moreover, magnetic levitation (ML) is used in various industrial and textile applications. For this reason, a nonparametric PID control approach is introduced by Samia and Boiko [23] for an ML system. Furthermore, a two relay controller validation method is developed which gives the recognition of frequencies higher than the progression phase cross over frequency. Using the outcomes of the validation, the PID controller parameters are evaluated. Nevertheless, this control method is only applicable for the frequency domain not for time based domain.

Nowadays unmanned aerial vehicles (UAVs) are utilized essentially in the military for surveillance applications. However, under the operational condition, the dynamic nonlinear UAVs are flight forward; this tends to complex the design of control methods in such vehicles. To resolve these issues, a new fuzzy GSPID control method is introduced by Khaled et al. [24]. Moreover, the numerous method of particle swarm optimization (PSO) is developed to integrate the fuzzy GSPID for UAV performance improvement. The developed PSO is categorized as PSO with Constriction feature (PSO-Co), PSO with the changeable inertia load (PSO-In), and PSO with the finest global particle (PSO-gbest).

In the power system network, the multilevel inverter is mainly utilized for AC motor, renewable energy integration, and others. However, the reliability of the converter is the main problem due to the noise created by the electromagnetic interface. To overcome these drawbacks, Yılmaz et al. [25] projected Iterative Reduction-based Heuristic Algorithms (IRHA) for the GSPID controller in Z-Source Inverter (ZSI). Moreover, the \(H_{\infty }\) norm depends optimization strategy is also developed to enhance the scheduling algorithm. The voltage fluctuation of the system is maintained constant by this method. However, this method is considered fewer values for operational conditions.

The main contribution of this work is summarized below.

  • In this paper, a novel OFA-GSPID control method is proposed to control the speed of rotor spinning machine effectively. Also, the proposed method in the rotor spinning machine estimates the dynamics of nonlinear system and regulates the speed of machine under the different parameter changes, disturbances, and uncertainties.

  • Moreover, the chattering influences of the system are controlled by the proposed controller. Furthermore, the Spline piecewise interpolation strategies are used for gain, poles, and zeros progression in the OFA-GSPID controller.

  • More significantly, the control technique stability guarantee is developed based on the LMV-\(H_{\infty }\) approaches, which undertaking the stability of the system.

  • The parameters of the GSPID controller are tuned by OFA method also, the error percentage and accuracy is optimized and has attained better results in terms of speed control while compared with other existing control approaches.

3 Modeling of rotor spinning machine

Rotor spinning machine is utilized in spin-pile fabrics, apparel, industrial and technical applications for yarn manufacturing processes. It is the high speed, well-organized self-draining kind of open-end spinning machine and has an impurities liberation mechanism. Moreover, it is an excellent recycling device as the spinning mill-waste is used. The schematic diagram of the rotor spinning machine is illustrated in Fig. 1.

Fig. 1
figure 1

The schematic diagram of the rotor spinning machine

In the spinning machine, the rotor diameter is in the range between 32.5 and 56 mm and in rotor, the pivots are at really high speed over 140,000 rpm. During the operation, the rotor twists the unit of silver fibers then it turn into yarn. If the yarn in the twisting sector is weak, it requires a very high twist to allow the spinning. The yarn tail in the spinning machine is pressed next to the rotor channel and navel by the centrifugal force, which is mainly caused by the revolving of rotor. The speed of the rotor is enhanced by increasing the centrifugal force inside the rotor on the yarn tail which is expressed using Eq. (1),

$$ {\text{Centrifugal}}\,{\text{force}} = dN{}^{2}R_{r}^{2} $$
(1)

where, \(d\) is the linear density of yarn (tex), \(N\) is the speed of the rotor (rpm) and \(R_{r}^{{}}\) is the radius of rotor channel (m). Moreover, the spinning tension in Eq. (2) and peeling tension in Eq. (3) are calculated as,

$$ \overline{F}\left( {cN} \right) = \beta_{1} R_{r}^{2} N{}^{2}d $$
(2)
$$ P = \beta_{2} \times Centrifugal\,force $$
(3)

where \(\beta_{1}\) and \(\beta_{2}\) are the positive constant, \(P\) is the peeling tension. Furthermore, if the strength of the yarn in \(cN\) is specified by \(\hat{S}\) then \(\frac{{\hat{S}}}{P} > 1\). The spinning tension is evaluated based on the Grosberg using Eq. (4),

$$ \overline{F} = 0.6d\omega^{{\prime}{2}} R_{r}^{2} $$
(4)

where \(\omega^{\prime}\) is the rotor angular velocity. Besides, depends upon the amount of fibers in yarn radius, yarn cross-section, twist factor, and rotor speed only the yarn fiber will form by torque. The expression of torque in spinning machine is evaluated in Eq. (5),

$$ T = YR_{y} t_{f} $$
(5)
$$ T < \eta l^{{{\raise0.7ex\hbox{$1$} \!\mathord{\left/ {\vphantom {1 2}}\right.\kern-\nulldelimiterspace} \!\lower0.7ex\hbox{$2$}}}} R_{r} \omega^{{\prime}{2}}. $$
(6)

Nevertheless, at the time of low tension in yarn manufacturing the required torque will reduce for twisting in Eq. (6). Where the tension of yarn at the position of yarn production is \(Y\), \(t_{f}\) is the twist factor and \(R_{y}\) is the radius of yarn, \(\eta\) is the friction coefficient between rotor wall and fiber ring and \(l\) is the average fiber length, respectively. The twisting of rotor spinning machine is expressed using Eq. (7),

$$ T^{\prime} = \frac{{N_{yarn} }}{{S_{d} }} = \frac{1}{{\eta \pi R_{r} }} + \frac{{\omega^{\prime}}}{{S_{d} }} $$
(7)

where \(S_{d}\) is the speed of the delivery. Moreover, the twisting and speed of the rotor spinning machine relationship are expressed by Eq. (8),

$$ T^{\prime} = \frac{{\omega^{\prime}}}{{S_{d} }} + \frac{1000}{{\pi R_{r} }} + Y_{m} \frac{1000}{{\pi R_{r} }} $$
(8)

where \(Y_{m}\) is termed as the movement of yarn constant. The state space depiction of the motor is shown in Eqs. (9) and (10) [26],

$$ \left[ {\begin{array}{*{20}l} {\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{x}_{1} } \\ {\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{x}_{2} } \\ {\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{x}_{3} } \\ \end{array} } \right] = \left[ {\begin{array}{*{20}l} { - \frac{{\omega^{\prime}}}{{S_{d} }}} & {\frac{1}{{\eta \pi R_{r} }}} \\ {\frac{1}{{\pi R_{r} }}} & { - \frac{{\omega^{\prime}}}{{S_{d} }}} \\ \end{array} \begin{array}{*{20}l} 0 \\ 0 \\ { - 1} \\ \end{array} } \right]\left[ {\begin{array}{*{20}l} {x_{1} } \\ {x_{2} } \\ {x_{3} } \\ \end{array} } \right] + \left[ {\begin{array}{*{20}l} {Y_{m} } \\ \begin{gathered} 0 \hfill \\ 0 \hfill \\ \end{gathered} \\ \end{array} } \right]\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{u} $$
(9)
$$ \overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{y} = \left[ {\begin{array}{*{20}l} 0 & 0 & 1 \\ \end{array} } \right]\left[ {\begin{array}{*{20}l} {\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{x}_{1} } \\ {\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{x}_{2} } \\ {\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{x}_{3} } \\ \end{array} } \right] $$
(10)

where the state variable is denoted as \(\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{x}\), \(\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{y}\) is the output vectors and \(\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{u}\) is the input constraints. The explicit constraints is represented as \(R_{r}\). The nonlinear system is converted in the linear parameter dependent system by the LPV. The state-space representation of the LPV based dynamic model is articulated in Eq. (11),

$$ \left\{ {\begin{array}{*{20}l} {\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{x} (t^{\prime}) = \hat{P}\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{x} (t^{\prime}) + \hat{Q}\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{u} (t^{\prime}) + \alpha (\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{x} ,\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{u} ,t^{\prime})} \hfill \\ {\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{y} (t^{\prime}) = \hat{R}\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{x} (t^{\prime}) + \hat{S}\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{u} (t^{\prime})} \hfill \\ \end{array} } \right. $$
(11)

where \(\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{u} (t^{\prime}) = - \hat{K}\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{y} (t^{\prime}) + g(t^{\prime})\), \(\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{x} (t^{\prime})\) is the state vector, \(g(t^{\prime})\) is the set point input, \(\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{u} (t^{\prime})\) is the input vector, \(\alpha\) is the disturbances, the state matrix is referred as \(\hat{P}\), input matrix is denoted as \(\hat{Q}\), output matrix is \(\hat{R}\) and the feed forward matrix is denoted as \(\hat{S}\).

3.1 Problem statement

In high speed of rotor, the centrifugal forces will be higher which gives more pressure to yarn on navel, which can cause the superior false twist by the frictional resistance increment. The rotor spinning machine is frequently working in a vibrant condition hence, it is firm to regulate the speed of the rotor spinning machine. Therefore, the speed of the rotor must be control as per the desired level.

4 Proposed OFA-GSPID approach

The proposed method is a basis on implementing an OFA based GSPID controller for LPV based rotor spinning machine speed systems. The block diagram for the proposed OFA-GSPID control methodology is illustrated in Fig. 2. Hence, the application as rotor spinning machine is taken to verify the efficiency of the proposed OFA-GSPID controller. In other words, the purpose of using optimal firefly procedure in controller approach is to attain better optimized results in terms of proper speed regulation in rotor spinning machine. Here, GSPID controller, LMVs, \(H_{\infty }\) approach, OFA method, and Spline piecewise interpolation technique are investigated.

Fig. 2
figure 2

Block diagram for the proposed OFA-GSPID control approach

The integration of gain scheduling in PID controllers has achieved foremost preferential controller because of its straightforward arrangement and uncomplicated to execute in nonlinear dynamic system. The LPV system based plant used in this research is the open-end spinning machine, which is also referred to as rotor spinning machine.

4.1 Proposed GSPID controller design

In this paper, the GSPID controller is proposed to control the constraints of the LPV based rotor spinning machine. In the nonlinear dynamic system used PID controller parameters are changing by observing the operating conditions of the method. This design is referred to as a GSPID controller. The gains of the controller are varied based upon the function time, system parameters, and operating conditions. In the proposed controller design are continuously estimate the error and the time taken for the system to reach stability based upon PID terms. In gain scheduled controller the constant scheduling parameter variable is denoted as \(m\), which is replaced by the considered variable in terms as \(m(t^{\prime})\). The GSPID control can tune itself as per the variations in the dynamics of the rotor spinning machine. Then the LPV system from Eq. (11) is rewritten for control purposes based on the scheduling variables in Eq. (12),

$$ \Lambda (m_{i} ){:}\,\left\{ {\begin{array}{*{20}l} {\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{x} (t^{\prime}) = \hat{P}(m_{i} (t^{\prime}))\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{x} (t^{\prime}) + \hat{Q}(m_{i} (t^{\prime}))\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{u} (t^{\prime})} \\ {\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{y} (t^{\prime}) = \hat{R}(m_{i} (t^{\prime}))\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{x} (t^{\prime}) + \hat{S}(m_{i} (t^{\prime}))\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{u} (t^{\prime})} \\ \end{array} } \right. $$
(12)

Considering the gain scheduler and interpolation of \(\Lambda (m_{i} )\), \(m_{i} \in \Theta^{i}\) in controller scheduling the controller design should be linearized and gives a steady control value producing zero error. Here, \(\Theta^{i}\) is the set variance or open set. The speed of the rotor spinning machine is given as the input of proposed controller. Consequently, the system performance based on the parameters of the controller is changed using gain scheduling in terms as \(\overline{k}_{p} (m_{i} )\), \(\overline{k}_{i} (m_{i} )\), and \(\overline{k}_{d} (m_{i} )\), which attains the finest performance of the system than the operating range \(m_{i}\) values. The GSPID control law is described in Eq. (13) as follows,

$$ \overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{u} (t^{\prime}) = \overline{k}_{p} (m_{i} \left| {t^{\prime}} \right.)\hat{e}\left( {t^{\prime}} \right) + \overline{k}_{i} (m_{i} \left| {t^{\prime}} \right.)\int\limits_{0}^{{t^{\prime}}} {\hat{e}} \left( {\tau^{\prime}} \right)d\tau^{\prime} + \overline{k}_{d} (m_{i} \left| {t^{\prime}} \right.)\frac{{d\hat{e}\left( {t^{\prime}} \right)}}{{dt^{{\prime}{}} }} $$
(13)

where the proportional gain is represented as \(\overline{k}_{p}\), the integral gain is expressed as \(\overline{k}_{i}\), the derivative gain is represented as \(\overline{k}_{d}\) and the error is expressed as \(\hat{e}\left( {t^{\prime}} \right) = \overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{y} (t^{\prime}) - g(t^{\prime})\), respectively, here, \(g(t^{\prime})\) is the set point speed and \(\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{y} (t^{\prime})\) is the sensed speed value. The error signal is providing to the developed GSPID controller and the error signal is computed by the controller integral and derivative gain. The gain matrix indexes of GSPID controller are in the form of Eqs. (14)–(16), where, \(p\) is the symmetric matrices.

$$ \overline{k}_{p} (m_{i} \left| {t^{\prime}} \right.) = \overline{k}_{p0} + \sum\limits_{i = 1}^{p} {\overline{k}_{{p_{i} m_{i} }} } (t^{\prime}) $$
(14)
$$ \overline{k}_{i} (m_{i} \left| {t^{\prime}} \right.) = \overline{k}_{i0} + \sum\limits_{i = 1}^{p} {\overline{k}_{{i_{i} m_{i} }} } (t^{\prime}) $$
(15)
$$ \overline{k}_{d} (m_{i} \left| {t^{\prime}} \right.) = \overline{k}_{d0} + \sum\limits_{i = 1}^{p} {\overline{k}_{{d_{i} m_{i} }} } (t^{\prime}). $$
(16)

In the gain matrices of the controller only it takes two-mode because another one is uncertainty, which is equal to zero. For this reason, the set point \(g(t^{\prime})\) does not manipulate the stability of the closed-loop system. Suppose the set point \(g(t^{\prime}) = 0\), and then the control law can be estimated in Eq. (17). Here, \(\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{y} (t^{\prime}) - \overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{y} (t^{\prime} - 1)\) is the continuous sampling time framework, thus it is equal to derivative error and applied this in Eq. (13),

$$ \overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{u} (t^{\prime}) = \overline{k}_{p} (m_{i} \left| {t^{\prime}} \right.)\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{y} \left( {t^{\prime}} \right) + \overline{k}_{i} (m_{i} \left| {t^{\prime}} \right.)\sum\limits_{i = 0}^{k} {\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{y} (i)} + \overline{k}_{d} (m_{i} \left| {t^{\prime}} \right.)\left( {\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{y} (t^{\prime}) - \overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{y} (t^{\prime} - 1)} \right). $$
(17)

In gain scheduling, the state space description of PID can be derived by the two-state variables, which are expressed in Eq. (18),

$$ \hat{z}(t^{\prime}) = \left[ {\begin{array}{*{20}l} {\hat{z}_{1}^{T} (t^{\prime})} & {\hat{z}_{2}^{T} (t^{\prime})} \\ \end{array} } \right]^{T} $$
(18)

where \(\hat{z}_{1} (t^{\prime}) = \sum\nolimits_{i = 0}^{k - 2} {\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{y} (i)}\) and \(\hat{z}_{2} (t^{\prime}) = \sum\nolimits_{i = 0}^{k - 1} {\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{y} (i)}\). Consequently, substitute \(\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{y} (t^{\prime} - 1) = \hat{z}_{2} (t^{\prime}) - \hat{z}_{1} (t^{\prime})\) in Eq. (17). Then, the control law obtained from Eq. (19),

$$ \begin{aligned} \overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{u} (t^{\prime}) &= \left( {\overline{k}_{p} (m_{i} \left| {t^{\prime}} \right.) + \overline{k}_{i} (m_{i} \left| {t^{\prime}} \right.) + \overline{k}_{d} (m_{i} \left| {t^{\prime}} \right.)} \right)\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{y} \left( {t^{\prime}} \right) \hfill \\ &\quad \begin{array}{*{20}l} {} & {} & { + \overline{k}_{i} (m_{i} \left| {t^{\prime}} \right.)\hat{z}_{2} (t^{\prime}) - \overline{k}_{d} (m_{i} \left| {t^{\prime}} \right.)\left( {\hat{z}_{2} (t^{\prime}) - \hat{z}_{1} (t^{\prime})} \right)} & {} \\ \end{array} \hfill \\ \end{aligned} $$
(19)

The extensive measurement output vector is \(y^{\prime} = \left[ {\begin{array}{*{20}l} {\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{y} (t^{\prime}),} & {\hat{z}_{1} (t^{\prime}),} & {\hat{z}_{2} (t^{\prime})} \\ \end{array} } \right]^{T}\) and the matrix form transformation of the control law is expressed in Eq. (20),

$$ \overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{u} (t^{\prime}) = K(m_{i} \left| {t^{\prime}} \right.)y^{\prime}(t^{\prime}) $$
(20)

where the expression \(K(m_{i} \left| {t^{\prime}} \right.)^{T} = \left[ {\begin{array}{*{20}l} {\overline{k}_{p} (m_{i} \left| {t^{\prime}} \right.) + \overline{k}_{i} (m_{i} \left| {t^{\prime}} \right.) + \overline{k}_{d} (m_{i} \left| {t^{\prime}} \right.)} \\ {\overline{k}_{d} (m_{i} \left| {t^{\prime}} \right.)} \\ {\overline{k}_{i} (m_{i} \left| {t^{\prime}} \right.) - \overline{k}_{d} (m_{i} \left| {t^{\prime}} \right.)} \\ \end{array} } \right]\) is substitute in Eq. (20). Furthermore, the proposed GSPID control law is applied to the LPV based rotor spinning machine speed system. The control signal \(\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{u} (t^{\prime})\) is given to the rotor spinning machine, the gain which is equal to \(\overline{k}_{p}\) at the instant of the magnitude of error. The gain \(\overline{k}_{i}\) at the instant of integral error and gain \(\overline{k}_{d}\) at the instant of derivative error. Consequently, \(\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{u} (t^{\prime})\) is move to the spinning machine and attained better controlled speed output. In common, the GSPID controller is scheduled using the progress range of the scheduling changeable to interpolate the coefficients of the controller. Moreover, in the GSPID controller scheduling the corresponding model of the linear controller is linearizes and the control value provides zero error. The transfer function of the proposed GSPID in speed control mechanism is specified in Eq. (21),

$$ G_{c} (S) = \overline{k}_{p} (m_{i} ) + \frac{{\overline{k}_{i} (m_{i} )}}{s} + \overline{k}_{d} (m_{i} )s. $$
(21)

The speed of the rotor spinning machine is regulated by the controller gain constraints are \(\overline{k}_{p}\), \(\overline{k}_{i}\), and \(\overline{k}_{d}\) at a constant \(g(t^{\prime})\) with the meeting rate of regulation error under the control law for the initial speed.

4.2 Design of proposed OFA in GSPID controller

The OFA is a nature-inspired based heuristic algorithm that is receiving stronger in resolving the current global optimization harms, mainly on the description of multifaceted nonlinear optimization problems. The OFA works based upon the performance of the fireflies flashing light characteristics. The working of OFA-GSPID in rotor spinning machine is shown in Fig. 3. The structure of OFA-GSPID controller enclosed the \(\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{u} (t^{\prime})\) of control signal from the controller, \(g(t^{\prime})\) is the set speed of the machine, \(\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{y} (t^{\prime})\) is the sensed speed of the spinning machine and \(\hat{e}\left( {t^{\prime}} \right) = \overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{y} (t^{\prime}) - g(t^{\prime})\) is the error speed of the rotor.

Fig. 3
figure 3

Working of proposed OFA-GSPID controller in rotor spinning machine

Initially, the controller and system parameters are initialized in the OFA method. The OFA has attracted the finest gain and less error from one another without considering the value because all the parameters are regarded as identical. Consequently, in irregular sampling time, the normal (initial) gain moves towards the finest gain and if there is no finest gain has attained then it shifts arbitrarily. Hence, the attractiveness of the gain is relative to their error. Moreover, if both high error and reduce gain tends to attain low performance. The gains are straightly changes by the objective function. Furthermore, the gain and the values of the objective function are proportional under the minimization and maximization issue. The gain function \(\chi \left( q \right)\) of a controller is expressed in Eq. (22),

$$ \chi \left( q \right) = \chi_{0} e^{{ - \lambda q^{n} }} \left( {n \ge 1} \right) $$
(22)

where the initial value is referred as \(\lambda\). Using, Cartesian distance method in Eq. (23) the distance between two gain parameters is estimated.

$$ q_{a,b} = \left\| {y_{a} - y_{b} } \right\| = \sqrt {\left( {y_{a} - y_{b} } \right)^{2} - \left( {z_{a} - z_{b} } \right)^{2} } $$
(23)

The Integral Time Absolute Error (ITAE) is estimated as the objective function for evaluating the performance index using Eq. (24).

$$ ITAE = \int\limits_{0}^{T} {t^{ * } } \left| {e^{*} \left( {t^{ * } } \right)} \right|dt^{ * } $$
(24)

The attractive of \(a\) gain of controller to the finest \(b\) gain and its tuning is estimated by Eq. (25),

$$ y_{a} = y_{a} + \chi_{0} e^{{ - \lambda q_{{a,b^{2} }} }} \left( {y_{b} - y_{a} } \right) + \sigma \left( {rand - {\raise0.7ex\hbox{$1$} \!\mathord{\left/ {\vphantom {1 2}}\right.\kern-\nulldelimiterspace} \!\lower0.7ex\hbox{$2$}}} \right) $$
(25)

where the parameter of randomization is denoted as \(\sigma = ITAE\). The first term expressed the current location of controller gain, the second term expressed the gain and error of the controller also the third term is used for the arbitrary tuning of gain parameters. In addition, arbitrary tuning means tuning the random time delay. In the OFA, the parameter \(\lambda\) is an essential element, because the convergence speed and the behavior of OFA are estimating by this parameter. In this implementation, the OFA is tuning the controller gains to attain the finest control performance at insignificant operating conditions. The OFA is used to tune the gain parameters of GSPID controller such as \(\overline{k}_{p}\), \(\overline{k}_{i}\) and \(\overline{k}_{d}\) using the system model. A fine set of GSPID controller state constraints can produce a fine response of system and outcome of performance index minimization. When the criteria satisfied, the process stops until it starts initialization again. In addition, by designing an OFA tool kit, it is effectively applied in real time applications.

4.3 Spline piecewise interpolation

Considering the interpolation technique \(\Lambda (m_{i} )\) in OFA based GSPID controller, where \(m_{i}\) represents the scheduling variable. The Spline piecewise interpolation technique is introduced in this paper to enhance the scheduling variables of proposed controller. It is a method to place the near data gain point and assign the same gain point. The stability condition for the controller \(\Lambda (m_{i} )\) is based on the interpolation technique, \(m \in \left[ {m_{i} ,m_{i + 1} } \right]\) with respect to \(\sum {N\left( m \right)}\). Here, the controller state constraints are incorporates with interpolation techniques to attain better stability range. The spline function \(f\) on \([u,v]\) are considered to the points \(u = m_{0} < m_{1} < \cdots \,m_{n} = v\). The function of spline interpolation has some properties such as,

  1. 1.

    The function value \(p_{i} \left( {m_{i} } \right) = f_{i} \left( m \right)\) for \(i = 0,1, \ldots ,n\)

  2. 2.
    $$ f_{i} (m_{i + 1} ),f^{\prime}(m_{i + 1} ),f^{\prime\prime}(m_{i + 1} ) \ldots f^{\prime \prime \prime } \,(m_{n + 1} )\,{\text{Continuous}}\,{\text{on}}\,\left[ {m_{0} ,m_{n} } \right]. $$

Spline piecewise interpolation employs as low-degree polynomials in each of the intervals, which is in the form expressed in Eq. (26),

$$ p_{i} \left( m \right) = \left\{ {\begin{array}{*{20}l} {\begin{array}{*{20}l} {f_{0} \left( m \right)} \\ {f_{1} \left( m \right)} \\ . \\ . \\ {f_{n + 1} \left( m \right)} \\ \end{array} } & {\begin{array}{*{20}l} {m \in \left[ {m_{{}} ,m_{1} } \right]} \\ {m \in \left[ {m_{1} ,m_{2} } \right]} \\ . \\ . \\ {m \in \left[ {m_{n + 2} ,m_{n} } \right]} \\ \end{array} } \\ \end{array} } \right. $$
(26)

where \(p_{i} \left( m \right)\) is the polynomial of degree mainly at \(n\). Moreover, the Spline piecewise data to the linear OFA-GSPID controller is given as \(\left( {m_{0} ,n_{0} } \right),\left( {m_{1} ,n_{1} } \right) \ldots ,\left( {m_{n - 1} ,n_{n - 1} } \right)\left( {m_{n} ,n_{n} } \right)\), such that the data point can be assumed as \(\left( {m_{i} ,f\left( {m_{i} } \right)} \right)\). Hence, the linear Spline piecewise is given as \(f\left( m \right) = f_{i} \left( m \right)\), \(m \in \left[ {m_{i} ,m_{i + 1} } \right]\) with respect to the polynomial \(f_{i} \left( m \right)\) is estimated by Eq. (27),

$$ f_{i} \left( m \right) = f\left( {m_{i} } \right) + \frac{{f\left( {m_{i + 1} } \right) - f\left( {m_{i} } \right)}}{{f_{i + 1} - f_{i} }}\left( {m - m_{i} } \right),\,m \in \left[ {m_{i} ,m_{i + 1} } \right] $$
(27)

The properties of this function \(f_{i} \left( m \right)\) is satisfying under the minimizing of integral \(\int\nolimits_{{m_{0} }}^{{m_{n} }} {\mathop {\left| {f_{i} (m)} \right|}\nolimits^{2} } dm\) is does not alter rapidly for the first derivative. It turns out there is only one of its kind solution. It gives high degree polynomial to Spline piecewise interpolation which gets the process in smooth and simple. Moreover, this approach is a multivariate interpolation accepted neighbor interpolation and its expression is evaluated in Eq. (28),

$$ \Lambda \left( m \right) = \sum\limits_{i = 1}^{n} {s_{i} (m)f_{i} \left( {m_{{}} } \right)} $$
(28)

where the estimate is denoted as \(\Lambda \left( m \right)\) at \(m\), \(s_{i}\) is the weights and \(f_{i} \left( {m_{{}} } \right)\) are the known statistics. The smooth non-oscillatory interpolation can occur in the Spline piecewise polynomial interpolation process. Based on the covering conditions of the stability only the interpolation design for \(\Lambda \left( {m_{i} } \right)\), \(m_{i} \in \Theta^{i}\) with respect to \(\sum {\left( m \right)}\), \(m \in \Theta\). The covering conditions of the stability demands the continuation of OFA-GSPID controller \(\Lambda \left( {m_{i} } \right)\), \(m_{i} \in \Theta^{i}\) that stabilizes \(\sum {\left( m \right)}\).

Moreover, if \(m \subset \bigcup {_{{m_{i} \in \Theta^{i} }} } F_{{m_{i} }}\) where \(F_{{m_{i} }} \subset \Theta\) an untie neighborhood gain value including \(m_{i} \in \Theta^{i}\). From that \(\Lambda \left( {m_{i} } \right)\) of scheduling variable range stabilizes \(\sum {\left( m \right)}\) for all \(m \in F_{{m_{i} }}\) consequently, the OFA based GSPID controller local set \(\Lambda \left( {m_{i} } \right)\), \(m_{i} \in \Theta^{i}\) is stability enclosing for \(\sum {\left( m \right)}\),\(m \in \Theta\). This is sufficient condition on the gain parameter value \(\Theta^{i}\) selection for the OFA based GSPID controller \(\Lambda \left( {m_{i} } \right)\), \(m_{i} \in \Theta^{i}\) are designed.

4.4 LMVs-\(H_{\infty }\) stabilization

The calculated output \(\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{y}\) is obtainable for producing \(\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{u}\), and then the feedback control law of output is in the form \(\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{u} (t^{\prime}) = K(m_{i} \left| {t^{\prime}} \right.)y^{\prime}(t^{\prime})\) can be predicted. Thus, the constant feedback output of the control law is \(\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{u} (t^{\prime}) = K(m_{i} \left| {t^{\prime}} \right.)y^{\prime}(t^{\prime})\). This assessed method is called as gain scheduled controller. Consider the LMVs bounded-real lemma for the LPV based rotor spinning system, which is expressed in Eq. (29), when the K > 0,

$$ K > 0,\,\left[ {\begin{array}{*{20}l} {\hat{P}^{T} (m_{i} )L + L\hat{P}(m_{i} ) + \hat{R}^{T} (m_{i} )\hat{R}} \hfill & {L\hat{Q}(m_{i} ) + \hat{R}^{T} (m_{i} )\hat{S}} \hfill \\ {\hat{Q}^{T} (m_{i} )L + \hat{S}^{T} (m_{i} )\hat{R}(m_{i} )} \hfill & {\hat{S}^{T} (m_{i} )\hat{S} - I} \hfill \\ \end{array} } \right] \le 0 $$
(29)

where \(\hat{P}(m_{i} ) \in \overline{R}^{n \times n}\), \(\hat{Q}(m_{i} ) \in \overline{R}^{n \times p}\), \(\hat{S}(m_{i} ) \in \overline{R}^{p \times n}\), and \(\hat{R}(m_{i} ) \in \overline{R}^{p \times p}\) are specified and the variable of the matrix is specified as \(K = K^{T} \in \overline{R}^{n \times n}\). In the LPV based approach, the system became stable at the time of zero disturbances which means \(\alpha (t^{\prime}) = 0\). The interpolated LPV based rotor spinning system has controlled output \(\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{y} (t^{\prime})\) that gratifies under the initial zero condition, where \((\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{x} (t^{\prime}_{0} ) = 0,t^{\prime}_{0} = 0)\), the LMV is sufficient to the LPV based rotor spinning system, which is expressed in Eq. (30),

$$ \int\limits_{0}^{T} {\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{y} (t^{\prime})^{T} \overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{y} (t^{\prime})dt^{\prime} \le } \int\limits_{0}^{T} {\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{u} (t^{\prime})^{T} \overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{u} (t^{\prime})dt^{\prime}}. $$
(30)

The state of this Eq. (30) can consider as transfer matrix \(\tilde{H}\). The transfer matrix of the LPV system is evaluated in Eq. (31),

$$ \begin{array}{*{20}l} {\begin{array}{*{20}l} {} & {\tilde{H}(s)} \\ \end{array} \underline{\underline{\Delta }} } & {\hat{R}(m_{i} )(sI - \hat{P}(m_{i} ))^{ - 1} \hat{Q}(m_{i} ) + \hat{S}} \\ \end{array} (m_{i} ). $$
(31)

The bounded real conditions are satisfying in the corresponding based rotor spinning system is to \(\tilde{H}\) in Eq. (32),

$$ \tilde{H}(s)^{ * } \tilde{H}(s) \le I\,{\text{For}}\,{\text{all}}\,\overline{R}es > 0. $$
(32)

Equation (32) can be expressed in \(H_{\infty }\) function as \(\left\| {\tilde{H}} \right\|_{\infty } \le 1\). The \(H_{\infty } norm\) of \(\tilde{H}\) is referred as,

$$ \begin{array}{*{20}l} {\left\| {\tilde{H}} \right\|_{\infty } } & {\underline{\underline{\Delta }} } & {\sup } \\ \end{array} \begin{array}{*{20}l} {\left\{ {\begin{array}{*{20}l} {} & {\hat{R}(m_{i} )(sI - \hat{P}(m_{i} ))^{ - 1} \hat{Q}(m_{i} ) + \hat{S}} \\ \end{array} (m_{i} )} \right.} & {\left| {{\text{Re}} s > 0\left. {} \right\}} \right.} \\ \end{array}. $$
(33)

Substitute Eq. (31) \(H_{\infty }\) condition in the \(\left\| {\hat{R}(m_{i} )(sI - \hat{P}(m_{i} ))^{ - 1} \hat{Q}(m_{i} ) + \hat{S}(m_{i} )} \right\|_{\infty } \le 1\). The system became exponentially stable only if the condition of the matrix exists at \(K = K^{T} > 0\) such that \(\hat{P}^{T} (m_{i} )K + K\hat{P}(m_{i} ) < 0\). The system became exponentially stable with \(\left\| {\hat{R}(m_{i} )(sI - \hat{P}(m_{i} ))^{ - 1} \hat{Q}(m_{i} ) + \hat{S}(m_{i} )} \right\|_{\infty } < \gamma\) and \(\hat{P}(m_{i} )\) stable with \(\tilde{H}(s)\) in Eq. (34). If the matrix exists at \(K = K^{T} > 0\) such that,

$$ \left[ {\begin{array}{*{20}l} {\begin{array}{*{20}l} {K\hat{P}(m_{i} ) + \hat{P}^{T} (m_{i} )K} \hfill \\ {\hat{Q}^{T} (m_{i} )K} \hfill \\ {\hat{R}(m_{i} )} \hfill \\ \end{array} } \hfill & {\begin{array}{*{20}l} {K\hat{Q}(m_{i} )} \hfill \\ { - \gamma I} \hfill \\ {\hat{S}(m_{i} )} \hfill \\ \end{array} } \hfill & {\begin{array}{*{20}l} {\hat{R}^{T} (m_{i} )} \hfill \\ {\hat{S}^{T} (m_{i} )} \hfill \\ { - \gamma I} \hfill \\ \end{array} } \hfill \\ \end{array} } \right] < 0. $$
(34)

The condition of this Eq. (34) satisfies the system under stabilization and \(\gamma = 1\). By applying the association of LMVs and \(H_{\infty }\) norm approach synthesizes the proposed OFA based GSPID controller stability. The performance of the controller is enhancing by this control law approach of stabilization.

4.5 Robustness of the proposed OFA-GSPID controller

In this paper, the purpose of gain in feedback condition for a control law \(\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{u} (t^{\prime} + m_{i} /t^{\prime}) = \hat{K}\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{y} (t^{\prime} + m_{i} /t^{\prime})\) that stabilizes the LPV based rotor spinning system and better performance is obtained while fulfilling the parameters of input and output. The optimization problem is solved and the control input \(\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{u} (t^{\prime}) = K(m_{i} \left| {t^{\prime}} \right.)y^{\prime}(t^{\prime})\) is implemented to the process. The state \(\hat{P}^{T} (m_{i} )K + K\hat{P}(m_{i} )\) is a strictly diminishing the condition and the closed-loop LPV system is robustly stabilized by the gain of feedback condition. By this gain any condition of Eq. (20) can be stabilized. Thus the corresponding OFA based GSPID control law in Eq. (12) assures robust controlling to the LPV based rotor spinning machine. Consequently, robust stabilization of the controller performance is validate by the \(\left\| {\hat{R}(m_{i} )(sI - \hat{P}(m_{i} ))^{ - 1} \hat{Q}(m_{i} ) + \hat{S}(m_{i} )} \right\|_{\infty } \le 1\). The external bounded perturbation robust performance of the system is expressed by Eq. (35),

$$ \left\| {\tilde{H}(j\omega )} \right\|_{\infty } = \max_{\omega } \left\| {\frac{{G(j\omega )G_{c} (j\omega )}}{{1 + G(j\omega )G_{c} (j\omega )}}} \right\|_{\infty } \le 1. $$
(35)

The overall work flow of the proposed OFA based GSPID control process in rotor spinning machine is illustrated in Fig. 4.

Fig. 4
figure 4

Overall work flow of the proposed OFA-GSPID control in spinning machine

Thus, the design performance of the proposed OGA-GSPID controller has been achieved the finest control strategy in rotor spinning machine in terms of reduced error and high gains. In addition, the input of the control system is managed by the signal of feedback. Usually, the closed loop system utilized the signal of feedback to produce the output of closed loop system. In some cases, the closed loop system might causes error and that error is corrected by feedback loop. Hence, the purposed of using feedback loop system is for error auto correction in the control system frame. However, the original system is stable in some critical cases the stability rage became reduced because of complicated designs real time systems, in that case the feedback loop guarantee for system stability.

To structure a control frame feedback loop is a powerful tool. The chief usage of this feedback loop is to adjust the system performance to attain the desired output.

5 Result and discussion

The proposed method of OFA based GSPID controller in the rotor spinning machine is executed in a numerical and restrictive programming language of MATLAB 2018b environment, which was created by the Math Works in windows 7, Intel processor with 4 GB RAM. The parameters of this projected method are simulated and executed also compared with different existing control approaches.

5.1 Case study on rotor spinning machine system

Rotor spinning machine is an extremely nonlinear method also has been an industrial problem terms as speed over the few years. For efficient yarn production, the speed of the rotor spinning machine is regulated by the controller gains. The GSPID controller for the rotor spinning machine speed control has been done by the optimization algorithm such as OFA. In OFA based on the objective function design, the best output can optimize, hence objective function plays an essential part in this process. Consider, the rotor spinning machine speed as 6000 rpm, 9000 rpm, and 11,000 rpm in this case study. The nominal rates of the method parameters and constraints incorporated with the rotor spinning machine with respect to the constant working state, which is illustrated in Table 1.

Table 1 Nominal rates of the rotor spinning machine parameters

Initially, consider that \(\overset{\lower0.5em\hbox{$\smash{\scriptscriptstyle\frown}$}}{y} (t^{\prime})\) is set to be 6000 rpm. The error between the set speed 6000 rpm and the real speed 5999.98 rpm is about 0.12 rpm low percentage. The transfer function of rotor machine is in Eq. (36),

$$ G(s) = \frac{1}{{s^{2} + 6s + 5}}. $$
(36)

The performance enhancement of the system by the controller synthesize, which is considered as the LMVs and \(H_{\infty }\) arrangement. It is validated by the expression in Eq. (34), where \(\hat{P} = \left[ {\begin{array}{*{20}l} 0 & 1 & 0 \\ 0 & 0 & 1 \\ { - 6} & { - 5} & { - 1} \\ \end{array} } \right]\), \(\hat{R} = \left[ {\begin{array}{*{20}l} 0 & 0 & 1 \\ \end{array} } \right]\), \(\hat{Q} = \left[ {\begin{array}{*{20}l} 0 \\ 0 \\ 1 \\ \end{array} } \right]\), and \(\hat{S} = \left[ 1 \right]\) are the system value from the transfer function of the system. The voltage and current response of the spinning machine is shown in Figs. 5 and 6. The graph in Fig. 6 shows that the voltage of the rotor machine is maintained as per level and the current of the machine is regulated on the nominal rating.

Fig. 5
figure 5

The voltage source of the rotor spinning machine

Fig. 6
figure 6

The current source of the rotor spinning machine

The produced torque in the rotor spinning machine is shown in Fig. 7. The torque is based on the twisting force of the rotor also the speed of the machine depends upon the torque produced in the rotor spinning machine.

Fig. 7
figure 7

The torque produces in the rotor

In the set point variation, the speed of the rotor spinning machine to set point and the speed of the rotor obtained nearly identical to the set speed. The disturbances in the system are cancelled using the OFA based GSPID controller approach. The OFA based GSPID control approach for the speed control of the rotor spinning system based on step tracking is shown in Fig. 8. The OFA based GSPID controller tuning process has validated their fineness in providing better outcomes by enhancing the performance indices and characteristics of the steady-state. The simulation outcome shows that the OFA based GSPID controller achieved better performance and robustness.

Fig. 8
figure 8

The speed control of the rotor

The tuning value of OFA optimization algorithm is known as \(\overline{k}_{p} = 6.937\), \(\overline{k}_{i} = 5.356\), and \(\overline{k}_{d} = 0.0029\). The fitness value attained from the OFA function is as 6.3221. The step response tracking of the OFA based GSPID controller design in rotor spinning machine is illustrated in Fig. 9.

Fig. 9
figure 9

The step response tracking of the OFA based GSPID controller for the rotor spinning machine system

If the process of rotor spinning machine is initiated then it does not attain the stable range immediately. Hence, it takes some time to reach the stability that time period is determined as 50 s. Also, when the rotor machine is switch on it slowly increases the speed, thus it required some time to reach the stability range. In addition, if any application suddenly increases the speed when the switch is on then it might damage the controller and application system performance. So that, 50 s time taken for an application (rotor machine) resilience, which tends to attain good performance.

In this paper, ITAE is taken as an objective function, which is implemented for the spinning machine speed regulation using OFA. The parameters used in the OFA are given in Table 2.

Table 2 Parameters used in OFA

In the time domain, the last form of controller adapted fitness function of ITAE in Eq. (37) is,

$$ G_{c} (s) = 6.937 + \frac{5.356}{s} + 0.0029s. $$
(37)

Based on the simulation outcome analysis shows the proposed OFA based GSPID control approach is able to control the speed of the rotor spinning machine in smoothly under the 0.00185 s and the high proportional gain at 6.937 is to reduce the steady-state error 0.0982, this leads to the one percentage of overshoot. Consequently, the performance of the OFA based GSPID controller is demonstrated in Table 3.The initiating process of rotor machine controller is detailed in Fig. 6. In addition, the overall performance of rotor spinning machine is detailed in Table 2. Here, after starting the rotor machining time taken for rising speed is 20 s and rising speed duration is 0.00185 s. Also, the time taken for settling rotor machine speed is 60 s and settling time duration 0.0932 s.

Table 3 Performance of the OFA based GSPID controller

5.2 Effect of measurement noise and disturbances

The proposed OFA-GSPID controller performance has been examined by the external injection of Noise to Ratio (NSR) is 0.014 in the simulation. Control approach for the speed control of the rotor spinning system (a) without noise, (b) with noise is illustrated in Fig. 10. From the graph observed that the control method attain finest tracking function but fewer less oscillations of amplitude are attained in the overall process because of the measurement noise occurrence. Moreover, the essential regulation is achieved in that still the particular values are bounded in its nominal values.

Fig. 10
figure 10

Control approach for the speed control of the rotor spinning system a without noise, b with noise

5.3 Stability analysis of the proposed system

The combination of LMVs-\(H_{\infty }\) control enhanced the stability and flexibility of the proposed controller. The LMVs bounded-real lemma for the LPV system is applied by Eq. (29). The bounded real conditions are satisfied in the system using Eq. (32). Bode plot for proposed controller stability analysis (a) with feedback controller without noise, (b) without feedback (c) with feedback controller and noise are illustrated in Fig. 11. Consequently, with feedback (proposed) controller means, the condition from Eq. (34) has been satisfied and system attained finest stability. Based upon the frequency and gain bode plot of the proposed controller is adopted. In bode plot graph illustrates that the magnitude’s transfer function is pointed against the frequency process. Consequently, the phase transfer function is drawn individually against frequency (Table 4).

Fig. 11
figure 11

Bode plot for proposed controller stability analysis a with feedback controller without noise, b without feedback controller, c with feedback controller and noise

Table 4 Magnitude and phase: without feedback loop and noise disturbance

5.4 Performance over method model mismatch

The consequence of measurement and disturbance noise is validated to prove the proficient measure of the proposed model. Hereafter, the robustness score of the developed closed loop system against mismatch process is calculated. That is defined as measuring the robust performance of the proposed scheme while process model is diverse from actual process.

The proposed controller response of the rotor spinning machine process in the occurrence of model mismatch (a) process output N (b) essential control input T(Nm) is demonstrated in Fig. 12. Therefore, it can be ended that the projected methods shown robust control performance.

Fig. 12
figure 12

proposed controller response of the rotor spinning machine process in the occurrence of model mismatch a process output N, b essential control input T(Nm)

5.5 Performance comparison of controllers

The implementation of OFA based GSPID controller tuning is greatly easier than other conventional methods, for the reason that does not require any derivative information. The OFA based GSPID performance is compared with other controllers such as the Conventional PID controller [21], Fuzzy based GSPID [23] and IRHA based GSPID [24], which is shown in Fig. 13. The proposed OFA based GSPID controller performance is simple to employ and it does not require skilled person for tuning compare to other controllers.

Fig. 13
figure 13

Comparison analysis of the proposed controller with the existing techniques

In this paper exhibited a fewer steady-state error as 0.0982. Therefore, this leads to the proposed OFA based GSPID controller has obtained tremendous stability and finest accuracy than existing controllers. The optimized steady-state error percentage of the proposed OFA based GSPID controller is compared with the conventional PID controller [27], Fuzzy based GSPID [24] and IRHA based GSPID [25] are shown in Fig. 14.

Fig. 14
figure 14

Comparison of error percentage with various controllers

In the objective function of the conventional controller got a high value of steady-state error while compared to the OFA based GSPID controller as 0.0982%. The performance of the controller is validated using this strategy of process. Moreover, the performance efficiency of the OFA based GSPID controller for the rotor spinning machine is evaluated using Eq. (38),

$$ Accuracy = \frac{{(T\hat{N} + T\hat{P})}}{{(T\hat{N} + T\hat{P} + F\hat{N} + F\hat{P})}} $$
(38)

where \(T\hat{N}\) a true is negative, \(T\hat{P}\) is truly positive, \(F\hat{N}\) is false negative and \(F\hat{P}\) is false positive. Based on the accurate estimation of the proposed method with the rotor spinning machine speed control is obtained as 92%, which is calculated using Eq. (38). The better accuracy is obtained by the high population size and high number. The comparison of proposed OFA based GSPID controller accuracy with existing techniques is represented in Fig. 15. The overall comparison of proposed OFA based GSPID controller with other controllers in terms of gain parameters, rise time, settling time, overshoot, and settling time is demonstrated in Table 5. From the comparison table shows that the error percentage of proposed system is reduced considerably and enhanced the accuracy.

Fig. 15
figure 15

The efficiency of the proposed controller with the existing controllers

Table 5 Overall comparison with existing control techniques

In interpolation controller, the stability of the system is managed in interpolation phase. Also, in all application the stability function is not guaranteed. For that interpolating frame is implemented in gain schedule paradigm. Hereafter, the stability of the closed loop frame is analyzed.

Moreover, here the OFA module controls the gain parameters to improve the controller performance.

The performance assessment of proposed controller with \(H\infty\) controller is detailed in Fig. 16. The key metrics to estimate the best performance of proposed scheme is computational time. Moreover, computational period is defined as the taken to execute the proposed replica simulation. Hence the comparison of the computational time is detailed in Fig. 17. Thus, the proficient measure of the projected system is verified systematically by attained less computational time as 10 s.

Fig. 16
figure 16

Performance assessment of \(H\infty\) controller with proposed controller

Fig. 17
figure 17

Comparison of computational time

Thus the better performance has achieved by OFA tuning for the fitness function of ITAE in GSPID controller in terms of the low percentage of overshoot, fast rise time, and fastest settling time. The parameter of PID controller is tuned by the fitness of Firefly, thus it is determined as novel controller. Up to simulation, the developed method has attained very good performance result In addition the proposed system will applicable in real time whenever, it is broadly designed with the embedded function parameters.

6 Conclusion

In this research, a novel OFA based GSPID controller approach is proposed to regulate the speed of the rotor spinning machine at the desired level. Moreover, the LMVs and robust \(H_{\infty }\) control association synthesized the stability of OFA based GSPID controller. Consequently, Spline piecewise interpolation was developed to the gain scheduling controller for resolving scheduling issues. The OFA optimization was used for tuning the controller parameters and steady-state error optimization. Moreover, there was less percentage of overshoot and the settling time was attained by this control process due to the high gain of proportional. Furthermore, the robustness of the controller was analyzed and the efficiency of the controller outcome is obtained at accuracy as 92%. Consequently, the OFA based GSPID controller was validated with other existing controllers. Thus, the comparison illustrates the effectiveness of the proposed control approach in the speed control process in the rotor spinning machine with less error percentage and high accuracy. Furthermore, the small drawback behind in this proposed model is it taken few seconds to design the interpolation scheme. So in future, the GSPID controller with hybrid optimization can improve the stability performance and avoids the interpolation function.