Keywords

1 Introduction

Adaptive control system is a special type of nonlinear control system which has the ability to vary its parameters for the adjustment to the variation in dynamics of the process or characteristics change in the disturbances. MRAC is one of the adaptive strategies where a reference model is used to adjust the controller parameters. Shyu (2008) and Stefanello (2008) applied the Lyapunov theory to develop the performance of shunt active power filter [1]. Suzuki et al. [2] designed MRACS with fuzzy adaptive control rules using genetic algorithm [2]. Wong et al. 3 designed indirect fuzzy adaptive controller for the controlling of unstable inverted pendulum [3]. Hwang (2000) and Tang (2001) proposed the concept of fuzzy PID controller. Lakhekar and Roy (2014) introduce the fuzzy neural approach for the dynamic spectrum allocation in cognitive radio networks and they contributed their efforts in developing dynamic fuzzy sliding mode control (DFSMC) for heading angle control of autonomous underwater vehicles (AUVs) in horizontal plane [4, 5].

In this article, we provide a detailed description regarding the general design procedure of the MRAC with the help of MIT Rule for the second-order process followed by our proposed model and apply it on DC motor for the control of speed. The Simulink results of different controllers are compared with the result obtained from the proposed model.

2 Design Procedure Using MIT Rule for Second-Order Process

In this case, a second-order process expressed by

$$ \ddot{y} + p_{1} \dot{y} + p_{0} y = qu $$
(1)

is selected and the process must follow the reference model which is given by

$$ \ddot{y}_{m}+ p_{1m} \dot{y}_{m} + p_{0m} y_{m} = q_{m} r $$
(2)

A particular control law is required to vary the reference input signal so that the plant’s output signal track with the reference model [6]. This control law is time dependent upon controller parameters \( \theta_{1 } \) and \( \theta_{2} \) which act as the adaptation to the given plant system. This control law is given by:

$$ u = r\theta_{1} - y_{p} \theta_{2} $$
(3)

Substituting u in (1) using (3)

$$ \ddot{y} + p_{1} \dot{y} + p_{0} y = q\left( {r\theta_{1} - y\theta_{2} } \right) $$
(4)

Taking the Laplace transform of (2) and (4) and then rearranging, we get

$$ s^{2} Y\left( s \right) + \left( {p_{1} s + p_{0} + q\theta_{2} } \right)Y\left( s \right) = q\theta_{1} R\left( s \right) $$
(5)
$$ s^{2} Y\left( s \right) + p_{1m} Y_{m} \left( s \right) + p_{0m} Y_{m} \left( s \right) = q_{m} R\left( s \right) $$
(6)

The error (e) between the output of the reference model \( \left( {Y_{m} \left( s \right) } \right) \) and the process output \( (Y) \) is given as

$$ E\left( s \right) = \frac{{q\theta_{1 } }}{{s^{2} + p_{1} s + p_{0} s + q\theta_{2} }}R\left( s \right) - Y_{m} \left( s \right) $$
(8)

Here, a cost function is selected as

$$ \gamma \left( \theta \right) = \frac{1}{2}{\text{ e}}^{2} $$
(9)

From the MIT Rule, it can be written [6]

$$ \frac{{{\text{d}}\theta }}{{{\text{d}}t}} = - \alpha \frac{\partial \gamma }{\partial \theta } = - \alpha e\frac{\partial e}{\partial \theta } $$
(10)

where \( \frac{\partial e}{\partial \theta } \) is called as the sensitivity derivative of the system.

Using (11) and partially differentiating (9) with respect to \( \theta_{1} \) and \( \theta_{2} \), we get

$$ \frac{\partial E\left( s \right)}{{\partial \theta_{1} }} = \frac{q}{{s^{2} + p_{1} s + p_{0} + q\theta_{2} }}R\left( s \right) $$
(11)
$$ \frac{\partial E\left( s \right)}{{\partial \theta_{2} }} = - \frac{q}{{s^{2} + p_{1} s + p_{0} + q\theta_{2} }}Y\left( s \right) $$
(12)

Now for the better performance of the plant, the reference model should be close to the plant. So (11) and (12) can be written from (8) as

$$ \frac{\partial E\left( s \right)}{{\partial \theta_{1} }} = \frac{q}{{s^{2} + p_{1m} s + p_{0m} }}R\left( s \right) $$
(13)
$$ \frac{\partial E\left( s \right)}{{\partial \theta_{2} }} = \frac{q}{{s^{2} + p_{1m} s + p_{0m} }}Y\left( s \right) $$
(14)

Inserting the following expressions of \( \frac{\partial E\left( s \right)}{{\partial \theta_{1} }} \) and \( \frac{\partial E\left( s \right)}{{\partial \theta_{2} }} \) in (10), it is obtained as

$$ \frac{{{\text{d}}\theta_{1} }}{{{\text{d}}t}} = - \alpha \frac{q}{{s^{2} + p_{1m} s + p_{0m} }}R\left( s \right) $$
(15)
$$ \frac{{{\text{d}}\theta_{2} }}{{{\text{d}}t}} = \alpha \frac{q}{{s^{2} + p_{1m} s + p_{0m} }}Y\left( s \right) $$
(16)

Equations (15) and (16) are the update laws for \( \theta_{1} \) and \( \theta_{2} \).

3 Dynamic Fuzzy Model Reference Adaptive Control (DFMRAC)

The basic design of model reference adaptive control is the initiation of the design procedure and selection of the adaptive control law in such a way that the necessities of the stability criterion are fulfilled. The main scheme of our approach is fuzzification of adaptive parameters. The parameters are fuzzified corresponding to the process input, error and output of the process. In our present work, we have used fuzzy controller in place of transfer function with the fact that fuzzy will take action for the adaptation of the plant with the variations in disturbances and surrounding conditions. The block diagram of proposed control scheme is shown in Fig. 1.

Fig. 1
figure 1

Block diagram of dynamic fuzzy model reference adaptive control (DFMRAC)

3.1 Takagi–Sugeno Fuzzy Inference System (TS-FIS)

The TS-FIS is a single-stage fuzzy system. The fuzzy inference systems are composed of a set of IF–THEN rules. A TS fuzzy model has the following form of fuzzy rules [7,8,9]:

$$ R_{k}: {\text{If}}\;x_{1 } \,{\text{is}}\,A_{1k} \;{\text{and}}\;x_{2} \;{\text{is}}\;A_{2k} \ldots \; {\text{and}}\;x_{n} \;{\text{is}}\;A_{nk} $$
$$ {\text{Then}}\;y = f_{k} \left( {x_{1} ,x_{2} , \ldots x_{n} } \right), \; \left( {k = 1,2, \ldots N} \right) $$

where \( f_{k} \left( . \right) \) is a crisp function of \( x_{n} \). Normally, \( f_{k} \left( {x_{1 } ,x_{2} , \ldots x_{n} } \right) = \rho_{0} + \rho_{1} x_{1} + \rho_{2} x_{2} + \cdots + \rho_{n} x_{n} \). The final output of fuzzy system can be obtained as

$$ y = \frac{{\mathop \sum \nolimits_{k = 1}^{N} f_{k} \left( . \right)T_{i = 1}^{{r_{k} }} \mu_{ik} \left( {x_{i} } \right)}}{{\mathop \sum \nolimits_{k = 1}^{N} T_{i = 1}^{{r_{k} }} \mu_{ik} \left( {x_{i} } \right)}} $$
(18)

where \( 1 < r_{k} < n \) is the number of input variables in the rule premise, N is the number of fuzzy rules, \( n \) is the number of inputs, \( \mu_{ik} \) is the membership function for fuzzy set, and \( A_{ik} \) and \( T \) are a T-norm for fuzzy conjunction.

4 Simulation Results

The simulation study is done for DC motor speed control. The optimal simulation result is shown in Fig. 2. Here, we have compared the simulation results of fuzzy MRAC with other controllers. Fuzzy MRAC provides a better performance in both transient and steady-state response. Fuzzy MRAC has better dynamic response curve, shorter response time.

Fig. 2
figure 2

Responses of DC motor under different controllers

5 Disturbance Rejection

A step-type disturbance is applied at time t = 10 s which is shown in Fig. 3. Oscillations of fuzzy adaptive control are less than classical adaptive control and fuzzy adaptive control settles faster. The robustness of the proposed controller is more than that of the classical adaptive control.

Fig. 3
figure 3

Disturbance rejection response for step-type disturbance