1 Introduction

Smart materials actuators are progressively being investigated for micropositioning [1] and microvibration [2] control applications where fast reaction, large powers density, high resolution are required. The magnetostrictive, piezoelectric and shape memory alloy (SMA) actuators are considered potential. However, for those actuators, the output vs. input loops exhibit complicated hysteresis phenomena, which tend to be asymmetric, saturate and dynamic. The profile of the hysteresis loop is dependent on the amplitude/frequency/bias of the input signal, external load and surrounding temperature and so on [3, 4]. To predict the response and develop the inversion-based feedforward control method for the smart material actuators [5,6,7], it is essential to exactly formulate the hysteresis model.

As to the rate-independent hysteresis model, the typical phenomenological modeling approaches include the Krasnosel’skii–Pokrovskii (KP) [8], Preisach [9] and Prandtl–Ishlinskii (PI) [10]. PI model has been more applied recently since it possesses a more simplified form compared against the KP and Preisach models. To account for the asymmetric effect of the rate-independent hysteresis, the integer-order polynomial [11, 12], a Lipchitz continuous function, is applied to modify the conventional PI model. In this paper, by analyzing the graph of the fractional-order polynomials, it can be found that it can be more effective than the integer-order polynomial in terms of asymmetric hysteresis modeling. We will apply the fractional-order polynomial-modified PI (FPMPI) model to characterize the rate-independent hysteresis.

It is difficult to build the rate-dependent hysteresis model over a wide range of frequencies. To the best of our knowledge, three kinds of approaches are proposed in previous studies. (i) The conventional hysteresis operators are modified [13,14,15,16,17]. In most cases, the weight or threshold function is changed to be rate-dependent. The down side is that the rate-dependent threshold function needs to hold the dilation condition. (ii) Some intelligent models based on fuzzy or machine learning theory are proposed to describe the rate-dependent hysteresis [18,19,20]. For those models, the complicated intelligent algorithms are required to realize the rate-dependent hysteresis modeling. (iii) A few hysteresis models based on the Hammerstein principle are presented [1, 2, 12, 21, 22]. For the Hammerstein-based modeling approach, the rate-independent hysteresis model is cascaded with the linear time-invariant (LTI) dynamics model. For those models, both the rate-independent and rate-dependent parts of the hysteresis are identified offline. The system uncertainty not considered for the hysteresis offline modeling approach may result in unmodeled error.

Compared with a lot of attention which is paid to the rate-dependent hysteresis modeling, the numbers of studies on load- and temperature-dependent hysteresis modeling approaches are relatively smaller. The reason is that experiments are usually conducted in the laboratories, where the load is often fixed or not applied and the surrounding temperature is often controlled. But in engineering, these environmental factors should be taken into key account. For example, the smart material actuators undergo load variation for robot manipulating application; they would operate in space environment of which the ambient temperature changes.

The external load plays effect upon the hysteresis loop of the smart material actuator [23, 24]. Different methods have been applied to describe the load-dependent hysteresis. The coupled magneto-thermo-mechanical hysteresis models based on the constitutive principle are built [25, 26] but not suitable for real-time control. A novel model based on neural networks is proposed [27] to describe the relation between the magnetostrictive strain and magnetization strength for different loads. Nevertheless, the model accuracy improvement needs the large size of databases. The asymmetric shifted PI and load-dependent electromechanical models are combined to develop a comprehensive approach to describe the rate/load-dependent hysteresis for magnetostrictive positioner [28]. The approach relies on the specific physical system and is not general for other smart material actuators.

The temperature also plays effect upon the hysteresis of the smart material actuators. The hysteresis characterizations of the piezo-stack actuator for different temperatures are studied experimentally [3, 29, 30]. To describe the magnetic-elastic-thermal coupling behavior, a nonlinear transient constitutive model for magnetostrictive actuator is established [31]. However, the exact values of some parameters in this constitutive model cannot be acquired directly. A few studies have been performed to model the temperature-dependent hysteresis. A temperature-dependent Prandtl–Ishlinskii model (TD-PI) is proposed to account for the temperature effects on the hysteresis nonlinearity [3]. The difficulty is determination of temperature shape function. A model incorporating the thermal and piezoelectric sub-models is presented [30]. The thermal sub-model is established by the FEM method, resulting in a lot of computation for model identification.

It is a big challenge to establish and identify a hysteresis model totally incorporating those factors. To the best of our knowledge, most models are limited to describe one- or two-factor-dependent hysteresis in previous studies, for example, rate/temperature-dependent in [3], rate/load-dependent in [28]. The rate/load/temperature-dependent hystereses aredescribed via a few multi-physics-field coupling modeling approaches [25, 31]. But the physical hysteresis modeling process for a specific smart material actuator cannot be extended for other types of actuators. In this paper, we propose a data-driven identification technique; that is, the hysteresis is identified only based on the input/output data regardless of the specific type of the smart material actuator.

To the best of our knowledge, most of previous hysteresis modeling and identification approaches are based on offline technique. It is well known that the input and output data used for offline identification are processed in batch form by least squares, maximum likelihood or other parameter estimation methods. Thus, a large amount of data needs to be stored and processed [32], particularly for the complex process like rate/load/temperature-dependent hysteresis identification. More importantly, the offline model is not much robust to the varying input signals and external disturbance. To this end, an online identification approach capable of tracking the actual rate/load/temperature-dependent hysteretic response is presented in this paper. In terms of the online identification technique, when the input and output data are updated in a sampling period, they are processed online by the recursive method. The online identification approach is more competitive than the offline one. First, the data stored and processed are smaller than the offline identification approach; secondly, it can address the problem of characterizing system uncertainty and time-varying dynamics which exist in the hysteretic system with different input signals and external disturbances.

The main contribution of this work is that a hysteresis online identification approach is proposed to describe the rate/load/temperature-dependent hysteresis. The remainder of this article starts by clarifying the problem of the system uncertainty and time-varying dynamics when the Hammerstein-based hysteresis offline modeling approach is applied to identify the rate/load/temperature-dependent hysteresis. The system uncertainty and time variation relying on input rates, external loads and/or surrounding temperatures are analyzed experimentally on the magnetostrictive and piezoelectric actuators. Then, we demonstrate the hysteresis online identification approach, where the dynamics of smart material actuators are modeled in real time considering the different input signals and external disturbances in Sect. 2. Section 3 presents the rate/load/temperature-dependent hysteresis online identification results, and they are compared against the offline ones. The hysteresis identification is performed on magnetostrictive, piezoelectric and SMA actuators. Finally, the content of this article is summarized and future studies are introduced.

Fig. 1
figure 1

Block diagram of the hysteresis offline identification approach for smart material actuator

Fig. 2
figure 2

Experimental characterization of the rate-dependent hysteresis loops for the magnetostrictive actuator: a Experimental setup; b CAD model of the actuator cross section; c Measured rate-dependent hystereses; and d Estimated magnitude-frequency response with 99.7% significance confidence

Fig. 3
figure 3

Experimental characterization of rate-dependent hysteresis loops for the piezoelectric actuator: a Experimental setup; b CAD model of the piezoelectric actuator; c Measured rate dependent hystereses; and d Estimated magnitude-frequency response with 99.7% significance confidence.

2 Problem statement

2.1 Hammerstein-based hysteresis offline identification

Based on the Hammerstein principle, the hysteresis nonlinear model of smart material can be represented by the cascade of the rate-independent and rate-dependent parts. As shown in Fig. 1, u(k) and y(k) are the input and actual output signals, respectively; d(k) is the external disturbance induced by the environmental temperature or/and carrying load, etc.; \(y_m(k)\) is the model output; e(k) is the error signal which is the difference of the actual and modeled output signals; and \(u_r(k)\) is the intermediate signal of the offline model. \(H(\cdot )\) and \(G(\cdot )\) are the rate-independent and rate-dependent subsystems, respectively. \(\varDelta \) and k denote the uncertainty and varying dynamics, respectively.

It is noted that the plant to be identified is a single-input single-output (SISO) one. The effect of external disturbance on the plant is reflected in the time-varying characteristics of the system. The subsystems can be identified offline using the polynomial-modified Prandtl–Ishlinskii and linear time-invariant dynamics sub-models, that is, \(H_\text {PMPI}(\cdot )\) and \({\hat{G}}(z^{-1})\), respectively. If there exist some uncertainty \(\varDelta \) in smart material actuator, for example, the unmodeled dynamics and unknown parameter, the hysteresis offline identification accuracy will be reduced. Meanwhile, if the external disturbances d(k), e.g., carrying load \(d_L(k)\) and surrounding temperature \(d_T(k)\), affect the output of the smart material actuator, the offline-identified model cannot capture the disturbance-induced hysteresis variation accurately. In essence, the uncertainty \(\varDelta \) and time-variant dynamics \(G(z^{-1},k)\) are difficult to be described by the conventional hysteresis offline modeling approach.

It is noted that, in this paper, the input signals for magnetostrictive, piezoelectric and SMA actuators are current i(k), voltage v(k) and temperature T(k). Their output signals are magnetostrictive displacement \(\chi _m(k)\), piezoelectric displacement \(\chi _p(k)\) and SMA rotation angle \(\chi _s(k)\).

2.2 System uncertainty for the rate-dependent hysteresis

Table 1 Specifications of the magnetostrictive and piezoelectric actuators

The rate-dependent properties of the hysteresis loops for the magnetostrictive and piezoelectric actuators are illustrated in Figs. 2 and  3, respectively. The former device is custom-developed, while the latter is produced by Harbin Core Tomorrow Science and Technology Co., Ltd. The specifications of both actuators are summarized in Table 1. As shown in Fig. 2a, the laser displacement sensor (LK-G80, Keyence Corporation) is installed to measure the magnetostrictive actuator displacement. The driven current of the magnetostrictive actuator is provided by a precision power (BP4610, NF Corporation). The NI AD/DA and controller system contain the real-time analog–digital (AD, NI 9263, National Instruments, Inc.), digital–analog (DA, NI 9234, National Instruments, Inc.) and control chassis (CompactRIO 9082, National Instruments, Inc.). The system is deployed for measurement and real-time identification. The hysteresis identification results are visualized in the laptop via the high-speed Ethernet communication between the laptop and CompactRIO 9082 controller. The cross section of the CAD model for magnetostrictive actuator is depicted in Fig. 2b.

The output vs. input loops of the magnetostrictive actuator are shown in Fig. 2c, when the 2 A currents of different frequencies are utilized to drive the magnetostrictive actuator. It is seen that as the input frequencies raise, the loop relative widths increase and the maximum displacements of the magnetostrictive actuator decrease. The rate-dependent effect of the hysteresis can be also reflected by the frequency spectrum graph. A small amplitude of white noise is applied to drive the magnetostrictive actuator for frequency response estimation. Due to the system uncertainty, the estimated frequency response cannot completely match the actual ones of the magnetostrictive actuator. Figure 2d the magnetostrictive magnitude-frequency response with the confidence region of 3\(\sigma \) standard deviation, within the frequency bandwidth [0.1, 20] Hz. The uncertainty band of low frequency is wider than that of high frequency. It is noted that the rate-dependent offline model, e.g., the conventional transfer function, cannot characterize this uncertainty. This statement will be verified in Sec.4.

As shown in Fig. 3a, the capacitor sensor is installed to measure the displacement of the piezoelectric actuator. The measurement and identification hardware are same to those in the magnetostrictive experimental system. The driving voltage of the piezoelectric actuator is supplied by a high-voltage power amplifier (XE-500, Harbin Core Tomorrow Science and Technology Co., Ltd.). The CAD model of the piezoelectric actuator is shown in Fig. 3b.

The output vs. input loops of the piezoelectric actuator are comparatively drawn in Fig. 3c, when the voltages with 75 V and different frequencies are utilized to drive the piezoelectric actuator. Similar to the results of the magnetostrictive actuator, it is seen that the loop widths of the piezoelectric actuator grow intensively with the increasing frequencies, and the symmetry of those loops is better than the magnetostrictive actuator. Figure 3d shows the piezoelectric magnitude-frequency response with the confidence region of 3\(\sigma \) standard deviation, within the frequency bandwidth [1, 90] Hz. Like the magnetostrictive actuator, the rate-dependent part in piezoelectric offline model cannot characterize the frequency spectrum uncertainty.

2.3 Time-varying dynamics for the load/temperature-dependent hysteresis

When the external load on the actuator changes rapidly, or the ambient temperature around the actuator varies slowly, the actuator dynamics changes.

Their effects on the hysteresis loops of the magnetostrictive actuator will be investigated independently according to the experiments.

Fig. 4
figure 4

Experimental characterization of the load-dependent hysteresis loops for magnetostrictive actuator when a 10 kg load is installed on the actuator output disk: a Time series of current and displacement and b Load-dependent hysteresis

To describe the load-dependent characteristics of the magnetostrictive hysteresis, a 10 kg weight (envelop is \(210 ~\text {mm}\times 100~\text {mm} \times 120~\text {mm}\)) is placed onto the magnetostrictive actuator with 4 Hz and 2.5 A Ap-p sinusoidal input current. Figure 4a shows the actuator displacement variation when the load is applied around between 1 s and 3 s. Since the load collides the output disk of the magnetostrictive actuator two times (front first and back second) when placed, there are two disturbances in the displacement curve. Figure 4(b) shows the hysteresis loop variations with the 10 kg external load. At the moment when the load changes, the hysteresis loops oscillate up and down. After the load is stably placed on the output disk of the magnetostrictive actuator, the hysteresis loop is formed in a new equilibrium state. The position and shape of the loop have changed compared with those of the unloaded state.

Fig. 5
figure 5

Experimental characterization of the temperature-dependent hysteresis loops for the magnetostrictive micropositioner: a Experimental setup; b Measured and fitting displacement vs. time and temperature vs. time, respectively; c Output displacements with 6 Hz input currents under different surrounding temperatures; and d Temperature-dependent hysteresis loops

Another custom-developed magnetostrictivemicropositioner (see Fig. 5a) is utilized to examine the temperature-dependent characteristics of the hysteresis loops. The stroke of the magnetostrictive actuator is magnified by an amplified structure which is essentially a lever arm. The specifications of the magnetostrictive micropositioner are illustrated in Table 2. The reason we use this magnetostrictive micropositioner is that its diameter is smaller than the one in Fig. 2a, making it easier to measure the temperature of the actuator housing and thus evaluate heat changes inside the actuator.

Table 2 Specifications of the magnetostrictive micropositioner

The operation of the magnetostrictive micropositioner is affected by the temperature variation. When the surrounding temperature of the magnetostrictive material rises, additional thermal-induced strain is produced, and vice versa. The experimental procedures to study the temperature-dependent characteristics of the hysteresis loops are described as follows: (i) The initial heat is acquired, after a short time of 5 A DC current is applied to the excitation coil of the magnetostrictive actuator; (ii) then the magnetostrictive actuator cools naturally without input current, while the temperature on a surface spot of the magnetostrictive actuator is measured with a radiation infrared thermometer. It is noted that the actual temperature inside the magnetostrictive actuator is higher than the measured.

Figure 5b shows the measured and fitting curves of the temperature vs. time and displacement vs. time, respectively. The displacement is a relative quantity of which the initial value is set to a certain value. From Fig. 5b, it can be seen that the displacement of the magnetostrictive micropositioner decreases as the surrounding temperature declines. The exact displacement vs. temperature model is not discussed because it is out of scope for this work. Next, the 6 Hz sinusoidal motion experiments of the magnetostrictive micropositioner are conducted. Similarly, the initial temperature is obtained by providing a short time of DC current to the excitation coil. During the experiment, the measured temperatures are 42.5 \(^\circ \hbox {C}\) at initial time, 38.6 \(^\circ \hbox {C}\) at 4 min and 30.4 \(^\circ \hbox {C}\) at 14 min. From Fig. 5c, we see that the displacement of the micropositioner decreases from 200 mm to 125 mm when the temperature drops. The corresponding hysteresis loops vary in terms of the shapes and orientations, as shown in Fig. 5d.

3 Hysteresis online identification approach

To improve the rate/load/temperature-dependent hysteresis modeling accuracy, a hysteresis online identification approach is presented, which will be demonstrated in this section.

The block diagram of the proposed hysteresis online identification approach is shown in Fig. 6. First, the rate-independent nonlinear part \(H(\cdot )\) is modeled via the FPMPI model; thus, the input is redefined to \(u_r\) and the system can be regarded as linear. Then, the linear dynamics is modeled with the OIIR filter whose parameters are estimated by the adaptive RLS algorithm.

Fig. 6
figure 6

Block diagram of hysteresis online modeling approach for the smart material actuators

Adaptive online identification is an excellent system modeling strategy to deal with system uncertainty and external disturbance [33,34,35]. Compared against the hysteresis offline approach, the dynamic feedback is introduced into system identification process. The main feature of the adaptive identifier is that it achieves the identification objective despite arbitrarily small uncertainty and time variation associated with \(\varDelta \) and \(G(z^{-1},k)\), respectively. In this paper, we assume that the system uncertainty and time-varying dynamics exist in the linear dynamics of the smart material actuator. The phenomena can be described by the OIIR filter.

3.1 Fractional-order polynomial-modified Prandtl–Ishlinskii model

Different from the integer-order polynomial-modified PI model in [2, 11, 12], in this article, we utilize the fractional-order polynomials to modify the basic PI model, aiming at improving the modeling accuracy of asymmetry and saturate rate-independent hysteresis.

The FPMPI model \(H_\text {FPMPI}(\cdot )\), shown in Fig. 7a, is utilized to describe the rate-independent hysteresis. The FPMPI model is the cascade of the weighted fractional-order polynomials superposition andweighted Play operators superposition.

Fig. 7
figure 7

FPMPI model to describe the asymmetric and saturate rate-independent hysteresis: a Structure of the FPMPI model; b Elementary fractional-order polynomial function; and c Comparison of the FPMPI (the elementary polynomial vector is \([1,u,u^2,u^{1/2}]\)) and IPMPI models (the elementary polynomial vector is \([1,u,u^2,u^3]\))

The basic PI model is shown in the right part of Fig. 7a. Since the displacements of the magnetostrictive and piezoelectric actuators cover positive range, the single-side Play operator is used in this article. Its discrete form, at time instant k, can be expressed as

$$\begin{aligned} \begin{aligned} H_{r_H}[v](k)= {\left\{ \begin{array}{ll} \max \{ {v}(k) - r_H, \min \{v(k),H_{r_H}[v](k-1)\}\}; &{}k\geqslant 1\\ \max \{v(0) - r_H, \min \{v(0),H_{r_H}[v](0)\}\};&{} k=0 \end{array}\right. } \end{aligned}\nonumber \\ \end{aligned}$$
(1)

where v and \(H_{r_H}\) are the input and output of the Play operator, respectively, \(H_{r_H}[0]\) is the initial value which is often set to 0, and \(r_H\) is the threshold value of Play operator. PI model is formulated with the weighted Play operator superposition as

$$\begin{aligned} H[v](k) = \varvec{H}_{r_H}[v](k) \cdot \varvec{w}_H^{\text{ T }} \end{aligned}$$
(2)

where \(\varvec{H}_{r_H}=[H_{r_{H,0}},H_{r_{H,1}},\cdots ,H_{r_{H,N}}]\) is the Play operator vector, and \(\varvec{w}_H = [w_{H,0}, w_{H,1},\cdots , w_{H,N}]\) is the weight vector.

\(\varvec{r}_H = [r_{H,0}, r_{H,1},\cdots , r_{H,1},\cdots , r_{H,N}]\) is the threshold vector corresponding to the Play operator vector, and its \((i+1)^\text {th}\) element is given by

$$\begin{aligned} r_{H,i} = \frac{i}{N+1} \max {\{|v(k)|\} }; \quad i = 0,1,2,\cdots ,N. \end{aligned}$$
(3)

Before the PI model, the input u is propagated to the sum of weighted fractional-order polynomial. The overall system is called fractional-order polynomial-modified PI model, and its mathematical formulation is given as

$$\begin{aligned} u_r(k) = \varvec{H}[u](k) = \varvec{H}_{r_H}[\varvec{P}[u] \cdot \varvec{w}_P^T ](k) \cdot \varvec{w}_H^T \end{aligned}$$
(4)

where \(u_r(k)\) is the FPMPI model output, \(\varvec{H}\) is the FPMPI model, \(\varvec{P} = [p_0, p_1, \cdots , p_i, \cdots , p_L]\) is the fractional polynomial operator vector whose dimension is \(L+1\) (L is an odd number), and its \((i+1)^\text {th}~(i=0,1,2,\cdots ,L)\) element is given by

$$\begin{aligned} \begin{aligned} p_i = {\left\{ \begin{array}{ll} u^i; &{} i = 0,1\\ \displaystyle u^{\frac{i}{2}+1};&{} i = 2,4,6,\cdots ,L-1\\ \displaystyle u^{\frac{2}{i+1}};&{} i = 3,5,7,\cdots ,L. \end{array}\right. } \end{aligned} \end{aligned}$$
(5)

where \(\varvec{w}_P = [w_{P,0}, w_{P,1}, \cdots , w_{P,L}]\) is the weight vector of the fractional polynomial operator.

The graphs of the elementary fractional-order polynomial functions are shown in Fig. 7b, where the function inputs and outputs are normalized to interval [0, 1]. It is seen that \(u^{1/2}\) and \(u^{1/3}\) are symmetric to \(u^{2}\) and \(u^{3}\) along the line \(y=u\), respectively. It can be predicted that with the combination of the weighted fractional-order polynomials, the modified PI model will be more capable of describing the asymmetric and saturate hysteresis compared with the pure integer-order polynomials.

Next, we will use a simulation example to compare the difference between the integer-order and fractional-order polynomial-modified PI models in describing the asymmetry and saturate hysteresis loop. In Eq. (4), \(\varvec{P}[u]\)s are set to \([1,u,u^2,u^{1/2}]\) and \([1,u,u^{2},u^{3}]\) for FPMPI and IPMPI models, respectively; \(\varvec{w}_P\) and \(\varvec{w}_H\) are set to \([0,0.3,0.1,w_{P,3}]\) and [0.1, 0.05, 0.1, 0.04], respectively. The weights \(\varvec{w}_P\) and \(\varvec{w}_H\) of FPMPI and IPMPI differ in the weight values of \(u^{1/2}\) and \(u^{3}\). When the value of \(w_{P,3}\) increases from 0 and 1, the hysteresis loops constructed by FPMPI are more close to the asymmetric saturation hysteresis loops of the magnetostrictive actuator (see in Fig. 2c) by the contrast with the IPMPI. It can be illustrated from the simulation results (Fig. 7c) where \(w_{P,3}=0.2, 0.4, 0.6, 0.8\), the reason is that the integer- and non-integer-order polynomials of the FPMPI model are located on either side of the line \(u_r=u\), and the actual hysteresis curve can be described more accurately based on the different weights of the FPMPI model.

3.2 Rate-dependent subsystem online identification

The dynamics of the smart material actuators are constructed by the OIIR filters. The structure of the OIIR model is shown as

$$\begin{aligned} {\hat{G}}(z^{-1},k) = \frac{Y_m(z^{-1},k)}{U_r(z^{-1},k)} = \frac{P(z^{-1},k)}{1-Q(z^{-1},k)} \end{aligned}$$
(6)

where \(Y_m(z^{-1},k)\) and \(U_r(z^{-1},k)\) are the Z-transforms of the output and input of the actuator dynamics, respectively; \(P(z^{-1},k) = \textstyle \sum _{i=0}^{M} p_i(k) z^{-i}, Q(z^{-1},k) = \textstyle \sum _{j=1}^{N} q_j(k) z^{-j}\); \(p_i(k)\) and \(q_j(k)\) are the time-variant numerator and denominator coefficients of the OIIR filter—these coefficients are also called OIIR filter weights; \(M+1\) and \(N+1\) are the numerator and denominator orders of the OIIR filter.

In terms of the conventional IIR-based system identification method, the output error e(k) is formulated as follows:

$$\begin{aligned} e(k) = y(k) - \varvec{w}(k)\varvec{\varphi }(k) \end{aligned}$$
(7)

where

$$\begin{aligned} \varvec{\varphi }(k)= & {} [u_r(k),\cdots ,u_r(k-M),y_m(k-1),\cdots ,\nonumber \\&y_m(k-N)]^T \end{aligned}$$
(8)

is the input signal sequence satisfying the persistent excitation condition;

$$\begin{aligned} \varvec{w}(k) = [p_0(k),\cdots ,p_M(k),q_1(k),\cdots ,q_N(k)] \end{aligned}$$
(9)

is the weight vector of the OIIR filter; and y is the actual output of the actuator.

According to Eq. (7), the feedback signal that transmits to \(Q(z^{-1})\) is the OIIR filter output signal \(y_m(k)\). Under this condition, the error evaluation function, by which the optimal weight coefficients of the IIR-based dynamics are acquired, may be non-quadratic. Consequently, the local minimum estimation error may be obtained [36]. To overcome this drawback, the actual output signal y(k) is used to replace the model output signal \(y_m(k)\) to determine the weight coefficients of \(Q(z^{-1})\), as shown in Fig. 6. Therefore, the modified error \({\bar{e}}(k)\) is formulated as

$$\begin{aligned} {\bar{e}}(k) = y(k) - \varvec{w}^T(k)\varvec{{\bar{\varphi }}}(k) \end{aligned}$$
(10)

where

$$\begin{aligned} \begin{aligned} \varvec{{\bar{\varphi }}}(k)&= [u_r(k),\cdots ,u_r(k-M),y(k-1),\cdots ,\\&y(k-N)]^T. \end{aligned} \end{aligned}$$
(11)

Note that e(k) is called “equation error” in Eq. (7), as against the “output error” \({\bar{e}}(k)\) in Eq. (10).

The weight vector \(\varvec{w}(k)\) is estimated by minimizing the least-square error \(\xi (n)\) at time instant n as

$$\begin{aligned} \min {\xi (n)} = \sum _{i=0}^{n} \lambda ^{n-i} {\bar{e}}^2(i). \end{aligned}$$
(12)

where \(\lambda ~(0<\lambda \leqslant 1)\) is the “forgetting factor” that makes the older error sequences exert less influence upon the optimization process.

This minimization problem can be solved by the recursive least squares (RLS) technique, and the weight auto-tuning process is given as

$$\begin{aligned} \begin{aligned} \varvec{P}(n+1)&= \frac{1}{\lambda } \biggl [\varvec{P}(n) - \frac{\varvec{P}(n) \varvec{{\bar{\varphi }}}(n) \varvec{{\bar{\varphi }}}^T(n) \varvec{P}(n)}{\lambda +\varvec{{\bar{\varphi }}}^T(n) \varvec{P}(n) \varvec{{\bar{\varphi }}}(n)} \biggr ]\\ \varvec{w}^{\text{ T }}(n+1)&= \varvec{w}^{\text{ T }}(n) + \varvec{P}(n+1) \varvec{\bar{\varphi }} {\bar{e}}(n). \end{aligned} \end{aligned}$$
(13)

where \(\varvec{P}(n)\) is the inverse of the correlation matrix \(\varvec{R}(n)\) of the input sequence \({\varvec{u}}_r(n)\). The initial value of matrix \(\varvec{P}(n)\) is set to the inverse of the input signal power estimate. The K-dimension (\(K=M+N+1\)) squared matrix \(\varvec{R}(n)\) is formulated as

$$\begin{aligned} \begin{bmatrix} r(0)&{}r(1)&{}\dots &{}r(K-1)\\ r(-1)&{}r(0)&{}\dots &{}r(K-2)\\ r(-2)&{}r(-1)&{}\dots &{}r(K-3)\\ \vdots &{}\vdots &{}\ddots &{}\vdots \\ r(-K+1)&{}r(-K+2)&{}\dots &{}r(0) \end{bmatrix} \end{aligned}$$
(14)

where r(k) is the autocorrelation function of the input sequence \({\varvec{u}}_r(n)\) at lag k.

Compared Fig. 1 with Fig. 6, it is observed that the system uncertainty \(\varDelta \) and external disturbance d(k) can not be modeled for the hysteresis offline identification approach. However, their effect upon system model is considered in the OIIR filter—\(\varDelta \) and d(k) are introduced into the online identification algorithm and reflected by the time-variant weight coefficients of the OIIR filter.

4 Hysteresis identification results and discussion

With the experimental setups shown in Fig. 2a, Fig. 3a and Fig. 5a, the rate/load/temperature-dependent hysteresis online identification experiments are conducted. Meanwhile, the hysteresis offline identification results for the smart material actuators will be compared to the online results.

4.1 Magnetostrictive hysteresis identification results

The measured current and displacement are normalized to 3 A and 37 \(\mu \) m, respectively, that is, normalized current \({\bar{i}}\) and displacement \(\bar{\chi }_m\), respectively.

To identify the rate-independent hysteresis, the 0.05 Hz sinusoidal currents of which the amplitudes increase arithmetically from 0.3 A to 3 A are applied to drive the magnetostrictive actuator. With the measured input/output data and FPMPI model in Eq. (4), the weight coefficients of Play and fractional-order polynomial operators, \(\varvec{w}_H\) and \(\varvec{w}_P\), are obtained, as shown in Table 3. The orders of \(\varvec{w}_H\) and \(\varvec{w}_P\) are set 10 and 8, respectively, with the trade-off between identification accuracy (more than 97%) and computational complexity (to keep low). Based on the acquired FPMPI model and particle swarm optimization algorithm command particleswarm in MATLAB, we compare the identified rate-dependent hysteresis against the actual as depicted in Fig. 8a. It is seen that although there exists certain identification error in some regions, the FPMPI model totally describes the asymmetric and saturate rate-dependent hysteresis well—the relative identified error is 2.83% in RMS sense.

Table 3 Weight coefficients of the offline-identified rate-independent hysteresis for the magnetostrictive actuator
Fig. 8
figure 8

Rate-independent hysteresis and dynamics via the offline identification approach: a Comparison of the actual and FPMPI identified rate-independent hystereses; b Comparison of the actual and transfer function identified dynamics

As for the hysteresis offline identification approach, transfer function-based dynamics of the magnetostrictive actuator are obtained offline. A small amplitude 0.1–20 Hz band-limited current is utilized to drive the actuator. As shown in Fig. 1, with the intermediate signal \(u_r\) and output displacement y, the parameters of the transfer function are estimated offline by tfest in MATLAB. To keep relatively low computation complexity and small identification error (<3%), the numerator and denominator orders of the transfer function are selected as 8 and 4, and the delay constant is set to 1 with trial and error. The specified structure of the transfer function is formulated as

$$\begin{aligned} {\hat{G}}({z^{ - 1}})=z^{ - d} \frac{{\sum \nolimits _{j = 1}^J {{b_j}{z^{ - i}}} }}{{1 + \sum \nolimits _{i = 1}^I {{a_i}{z^{ - i}}} }} \end{aligned}$$
(15)

where \(d=1\), \(a_i(i=1\cdots I, I=9)\) and \(b_j(j=1\cdots J, J=4)\) are the elements of the coefficient vectors

$$\begin{aligned} \varvec{a}= & {} [0, 1.90,-10.00,21.05,-22.16,\nonumber \\&11.65,-2.44,0.016,-0.016]^{\text{ T }} \end{aligned}$$
(16)

and

$$\begin{aligned} \varvec{b}=[-3.64,4.95,-2.99,0.67]^{\text{ T }} \end{aligned}$$
(17)

, respectively.

The dynamics identification results of magnetostrictive actuator are shown in Fig. 8b, where the actual frequency response curve is obtained by tfestimate in MATLAB.

It can be seen that the actual and transfer function identified frequency response curves match fairly well. The dynamics identification accuracies of the magnetostrictive actuator vary at different frequencies—at some frequencies, the identification accuracies deteriorate. It is noted that the transfer function identified dynamics will result in great errors if there exists system uncertainty as shown in Fig. 2d.

Fig. 9
figure 9

Comparison of the offline- and online-identified rate-dependent hystereses for a 1 Hz and b 5 Hz input currents with the cases in Fig. 2

Differing from the hysteresis offline identification approach, the OIIR filter-based dynamics is acquired in real time. The actual current and displacement of the magnetostrictive actuator are detected at every sampling time via CompactRIO 9082 real-time system. The numerator and denominator orders, M and N, in Eq. (6) are set to 3 and 5, respectively, by the trade-off of accuracy and time cost. The forgetting factor \(\lambda \) in Eq.(12) is set to 1. The initial value of the correlation matrix \(\varvec{R}(n)\) in Eq. (13) is set to \(10^5\varvec{I}\). After shorter transient processes (around a few microseconds), the weight vector of the OIIR filter converges quickly to a stable value. Afterward, the online-identified hystereses at steady state are compared against the actual ones.

The offline- and online-identified rate-dependent hystereses of the magnetostrictive actuator are comparatively illustrated in Fig. 9. Figure 9a and b correspond to the cases of 1 Hz and 5 Hz input currents, respectively. It is observed that although the actual hysteresis loop shapes of the magnetostrictive actuator change dramatically, both offline- and online-identified hysteresis loops can adapt to the variation of the actual ones. The relative identification errors of 1 Hz and 5 Hz hystereses are 2.91% and 2.88%, respectively, in RMS sense. However, the uncertainty in smart material actuators is not considered for hysteresis offline identification approach. With the proposed online identification approach, the hysteresis identification accuracy improves because the offline-model uncertainty is characterized by the OIIR.

The hysteresis offline model cannot accurately follow the change of the real hysteresis loop, when the disturbance affects the output of the smart material actuator. Figure 10a compares the offline- and online-identified load-dependent hysteresis curves. When the load collides with the output disk of the magnetostrictive actuator, the hysteresis curve oscillates. However, the original offline-identified hysteresis curve remains unchanged. As a comparison, the hysteresis online model can accurately follow the change of the real hysteresis loop, in three situations where no external load is applied (before 1 s), the load collides with the actuator (1 s to 3 s), and the load is applied (after 3 s). Fig. 10b compares the offline- and online-identified temperature-dependent hysteresis curves. When the surrounding temperature decreases from 42.5 \(^\circ \hbox {C}\) to 30.4 \(^\circ \hbox {C}\), the thermal-induced strain of the magnetostrictive material decreases and the shapes of hysteresis loops change. The offline-identified hysteresis model cannot track this change. As a comparison, it is seen that the actual hystereses with the surrounding temperature 42.5 \(^\circ \hbox {C}\), 38.6 \(^\circ \hbox {C}\) and 30.4 \(^\circ \hbox {C}\)  are described very well with the proposed hysteresis online identification approach.

Fig. 10
figure 10

a Comparison of the offline- and online-identified load-dependent hysteresis with the case in Fig. 4b; b Comparison of the offline- and online-identified temperature-dependent hysteresis with the case in Fig. 5d; Time series of the OIIR filter coefficients of the identified c Load- and d temperature-dependent hystereses, corresponding to the cases of Fig. 4b and Fig. 5d, respectively

To demonstrate the virtues of the hysteresis online identification approach, the time series of the OIIR filter coefficients, \(p_i(i=0\cdots 3)\) and \(q_i(i=1\cdots 5)\) in Eq. (6), are shown in Fig. 10c and d. Although the external load leads to the varying hysteresis loops, the OIIR filter is capable of adjusting its own parameters, so as to track the variation of hysteresis loops (see Fig. 10c). Figure 10d shows the OIIR filter coefficients reduce with the decreasing surrounding temperature, because the output displacements of the magnetostrictive actuator reduce with the decreasing surrounding temperature.

Since the online model is applicable for the system running with variable external disturbance, it can be extended to control position servo drive system of high speed and high precision. Moreover, the hysteresis online model can completely comprehend the dynamics of an evolving complex process. It can accommodate a useful representation of the process model in some situations where the continuous detection of the system states is required.

4.2 Piezoelectric hysteresis online identification results

The measured voltage and displacement are normalized to 150 V and 75 \(\mu \) m, respectively, that is, normalized voltage \({\bar{v}}\) and displacement \(\bar{\chi }_p\), respectively.

Fig. 11
figure 11

Comparison of the offline- and online-identified rate-dependent hystereses with a 10 Hz, b 60 Hz sinusoidal and c 10 Hz, d 20 Hz triangle input voltages

Like the hysteresis offline identification approach for magnetostrictive actuator, the 0.1–100 Hz band-limited current of small amplitude is treated as the input signal to identify the dynamics of the piezoelectric actuator. In order to identify the rate-independent hysteresis, the 0.1 Hz sinusoidal input voltage of which the amplitude increases arithmetically from 15 V to 150 V is applied to drive the piezoelectric actuator. The rate-independent hysteresis and linear invariant dynamics are cascaded to offline identify the rate-dependent hysteresis for piezoelectric actuator. Figure 11 compares the offline- and online-identified hystereses. The rate-dependent hystereses with the sinusoidal (10 Hz, 60 Hz) and triangle (10 Hz, 20 Hz) input voltages of constant amplitude are measured and identified. It is seen that with the offline model, the identified hystereses track the actual accurately despite with the different types of input voltages. There exist larger errors in the corners of hysteresis loop in Fig. 11c and d. The reason is that the derivatives of input triangle signal in those positions are discontinuous, resulting in some oscillation for output signal. However, it is seen that with the proposed hysteresis online identification approach, the actual hystereses can be tracked well by the online-identified ones under the different types of input voltages. Particularly, when the input is 10 Hz and 20 Hz triangle voltages, the online identification errors are reduced obviously by the contrast with the offline.

Fig. 12
figure 12

Hysteresis online identification for SMA actuator: a Experimental setup; b Comparison of the offline- and online-identified temperature-dependent hystereses

Table 4 Relative identification errors (%) of the rate/load/temperature-dependent hysteresis for the magnetostrictive, piezoelectric and SMA actuators

4.3 Shape memory alloy actuator

In Ref. [37], the ambient temperature and rotation angle of a two-wire SMA actuator are measured. Figure 12a shows the experimental setup of the two-wire SMA actuator. When the amplitudes of the ambient temperature increase slowly from 80 \(^\circ \hbox {C}\) to 370 \(^\circ \hbox {C}\), the hysteresis loop varies for the SMA actuator. The measured temperature and rotation angle of the SMA actuator are normalized to 370 \(^\circ \hbox {C}\) and 32 degrees, respectively, that is, normalized temperature \({\bar{T}}\) and rotation angle \(\bar{\chi }_s\), respectively. The experimental data are applied in this paper.

Since the rotation of the SMA actuator shows quasi-static state, the sole FPMPI model is utilized to identify its hysteresis offline. We select the orders of \({\varvec{w}}_H\) and \({\varvec{w}}_P\) as 10 and 8. Based on the particle swarm optimization algorithm command particleswarm in MATLAB, we compare the offline-identified hysteresis against the actual as depicted in Fig. 12b. Furthermore, based on the iterative hysteresis identification algorithm in Fig. 6, we conduct the real-time simulation for the two-wire SMA actuator hysteresis identification. The online-identified hysteresis is compared against the actual and offline-identified as shown in Fig. 12b. It is seen that the online-identified model describes the actual hysteresis more accurately. Statistical analysis shows that the hysteresis relative modeling errors are 4.23% and 0.10% with the offline and online identification approaches, respectively.

To quantitatively evaluate the hysteresis online identification performance, the relative modeling errors in Norm-2 sense and in Norm-\(\infty \) sense, i.e., \(\mathrm {re_{N2}}\) and \(\mathrm {re_{N\infty }}\), respectively, are defined by

$$\begin{aligned} \mathrm {re_{N2}}\triangleq \frac{||\varvec{y}-\varvec{y_{m}}|| _{2}}{||\varvec{y_{a}}||_{2}} \times 100\%, \\ \mathrm {re_{N\infty }}\triangleq \frac{||\varvec{y}-\varvec{y_{m}}|| _{\infty }}{||\varvec{y}||_{\infty }} \times 100\%\nonumber \end{aligned}$$
(18)

where \({\varvec{y}}\) and \({\varvec{y}_m}\) are the waveforms of the actual and identified outputs, respectively. Table 4 comparatively shows the values of \(\mathrm {re_{N2}}\) and \(\mathrm {re_{N\infty }}\) for the hysteresis offline and online identification of the magnetostrictive and piezoelectric actuators. The subscripts, “off” and “on,” represent the offline- and online-identified hystereses, respectively. From Table 4, it is cogently concluded that with the proposed hysteresis online identification approach, the rate/load/temperature-dependent hysteresis of the smart material actuators can be described much better than the offline approach.

By summarizing the hysteresis online identification results of three types of smart material actuators, it can be concluded that the hysteresis online model can characterize the uncertainty of the offline model. As such, the online model-based controller is much potential to apply in the ultra-precision position and attitude tracking control system.

It is necessary to point out that comparison of the offline and online identification techniques reveals that additional detection and information processing equipment are required for online identification. More importantly, it necessitates sensors of high data transfer performance and processors of high operational speed. Nevertheless, with the development of intelligent and integrated electronic devices, the aforementioned drawbacks of the hysteresis online identification methodology will be overcome.

5 Conclusion

In this article, we report a FPMPI and OIIR integrated model to online identify the rate/load/temperature-dependent hystereses for the magnetostrictive, piezoelectric and shape memory actuators. The custom-developed magnetostrictive, commercial piezoelectric and existing SMA actuators are employed to verify the proposed hysteresis online identification approach. First of all, the traditional Hammerstein-based hysteresis offline identification approach is introduced. The Hammerstein-based model incorporates a PMPI and transfer function sub-models. However, due to the system uncertainty, the rate-dependent hysteresis cannot be modeled accurately via the offline identification approach. Moreover, the offline-modeled hysteresis cannot track the actual varying hysteresis with the external load and temperature, respectively. Then, instead of the offline transfer function, we apply an OIIR filter to capture system uncertainty and time-varying dynamics. According to the experimental result comparison between the offline and online approaches, it is found that all hysteresis online identification results are better significantly than the offline ones with different input signals and external disturbances. In the future, we will further develop the hysteresis online identification approach by constructing an online FPMPI model to improve modeling accuracy and robust ability.