## Modeling and Control of Complex Dynamic Systems: Applied Mathematical Aspects

View this Special IssueResearch Article | Open Access

Ruili Dong, Yonghong Tan, Hui Chen, Yangqiu Xie, "Nonsmooth Recursive Identification of Sandwich Systems with Backlash-Like Hysteresis", *Journal of Applied Mathematics*, vol. 2012, Article ID 457603, 16 pages, 2012. https://doi.org/10.1155/2012/457603

# Nonsmooth Recursive Identification of Sandwich Systems with Backlash-Like Hysteresis

**Academic Editor:**Zhiwei Gao

#### Abstract

A recursive gradient identification algorithm based on the bundle method for sandwich systems with backlash-like hysteresis is presented in this paper. In this method, a dynamic parameter estimation scheme based on a subgradient is developed to handle the nonsmooth problem caused by the backlash embedded in the system. The search direction of the algorithm is estimated based on the so-called bundle method. Then, the convergence of the algorithm is discussed. After that, simulation results on a nonsmooth sandwich system are presented to validate the proposed estimation algorithm. Finally, the application of the proposed method to an *X-Y* moving positioning stage is illustrated.

#### 1. Introduction

Usually, a sandwich system with backlash-like hysteresis is defined as the system that a backlash-like hysteresis is sandwiched between two linear dynamic subsystems. In engineering applications, many mechanical systems such as mechanical transmission systems, servo control systems, and hydraulic valve systems can be described by the so-called sandwich systems with backlash-like hysteresis. The reason to cause the backlash-like hysteresis phenomenon is mainly due to the gaps existing in transmission mechanism systems such as gearbox and ball screw.

Recently, identification of sandwich systems has become one of the interesting issues in the domain of modeling and control for complex systems. References [1โ3] proposed the recursive identification methods for the sandwich system with smooth nonlinearities. The main ideas of those approaches are to extend the linear system identification methods to smooth nonlinear cases. Moreover, there have been some methods for the identification of Hammerstein or Wiener systems with backlash-like hysteresis [4โ8], most of which are the modified linear system identification methods.

However, until today, there have been very few publications concerning the identification of the sandwich systems with backlash-like hysteresis. Reference [9] proposed a method to identify the sandwich systems with backlash-like hysteresis, but the approach is still based on idea to extend the linear system identification method to nonlinear cases. On the other hand, the switching functions in that method have significant influence on the convergence speed of the algorithm.

In this paper, a recursive gradient algorithm based on the bundle method is proposed to identify parameters of the sandwich model. In this algorithm, the effect of the nonsmoothness caused by the backlash-like hysteresis in sandwich system is considered. In order to obtain the optimizing search direction at the nonsmooth points of the system, the Clarke subgradient technique is utilized based on the idea of the bundle method [10โ12]. By comparing with the above-mentioned available methods, the proposed method employs the nonsmooth optimization technique to identify the nonsmooth sandwich systems with backlash-like hysteresis. Thus, it will provide us with a new approach for dealing with on-line modeling of nonsmooth dynamic systems. A numerical example will be presented to evaluate the performance of the proposed approach. Finally, experimental results on an moving positioning stage are illustrated.

#### 2. Brief Description of Sandwich Systems with Backlash

The structure of a sandwich system with backlash-like hysteresis is shown in Figure 1, in which a backlash-like hysteresis is embedded between the input and output linear subsystems, that is, (ยท) and (ยท). It is assumed that input and output can be measured directly, but the internal variables and are not measurable.

Suppose that both linear subsystems are stable, and the time delays and in (ยท) and (ยท) are known, respectively. The corresponding discrete-time models of (ยท) and (ยท) are, respectively, written as where and are the orders of (ยท), is the time delay, and as well as are the coefficients of (ยท); and are the orders of (ยท), is the time delay, and and are the coefficients of (ยท). Let both and be equal to unity for unique representation.

Note that the backlash-like hysteresis shown in Figure 1 is specified by the slopes and as well as the absolute thresholds, and , where , and . Hence, the discrete-time model of the backlash-like hysteresis is described as

For the convenience to describe the system, the discrete-time model of the backlash-like hysteresis can be rewritten as where the switching functions, , and are, respectively, defined as where .

Thus, (2.1)โ(2.3) present the model to describe the sandwich system with backlash-like hysteresis. Hence, the unknown parameter vector of the model can be written as , where According to concept of the gradient algorithm, define the objective function as where is the estimate of , and is the output of system model. The optimal estimate of can be obtained by minimizing the above-mentioned criterion.

#### 3. The Nonsmooth Estimation of the Sandwich Model with Backlash-Like Hysteresis

In this section, a gradient-based identification algorithm is proposed for identification of the sandwich system with backlash-like hysteresis. Due to the nonsmoothness of the backlash, the gradients of the system output with respect to the parameters of the backlash at nonsmooth points will not exist. The smooth gradient-based methods directly applied to nonsmooth systems may fail in convergence [13]. On the other hand, the genetic algorithms [14] or Powellโs method [15], which are based on derivative-free techniques, may be unreliable and become inefficient when the system structure is complicated. Thus, we should find a special way for solving this problem. The simplest way to solve the problem is to apply the Clarke subgradients [11] to the approximation of the gradients at the nonsmooth points.

The basic idea of the bundle method is to approximate the subdifferential of with respect to by gathering the subgradients from previous iterations into a bundle for the nonsmooth objective function . The gradient can change discontinuously, and some change of the gradient may not be small in the neighborhood of the minimum of the function. So the values of and at a single point do not offer sufficient information of the local behavior of . The detail of the bundle method can be found in [10โ12] and reference therein.

Considering that the sandwich system with backlash-like hysteresis is locally Lipschitz continuous, we have the following definition.

*Definition 3.1 (see [11]). *Let : be locally Lipschitz continuous. This allows one to define a Clarke subgradient of at as :
where โconvโ denotes the convex hull of a set.

The set of all the Clarke subgradients is the Clarke subdifferential of at which is denoted by [11].

Considering that backlash-like hysteresis is a nonsmooth mapping, the gradients of parameters in (ยท) with respect to do not exist at a nonsmooth point. Hence, we define the parameters of the backlash-like hysteresis and (ยท) as . Considering the cost function described by (2.6), the gradients of with respect to will not exist at the nonsmooth points*.* Hence, at the nonsmooth points of , the Clarke subdifferential of with respect to , that is, *,* can be obtained by
where , and is the gradient of , the output of backlash-like hysteresis, with respect to at the smooth points. Thus, the corresponding gradients of with respect to at the smooth points are
where , and the coefficients and are the corresponding estimated values at the previous step.

Hence, based on (3.2) and (3.3), the Clarke subdifferential of with respect to can be obtained at nonsmooth points of the system. Besides, as (ยท) is a smooth function, the gradients of with respect to the parameters of the linear subsystems (ยท) always exist. So, the Clarke subdifferential of with respect to all the unknown parameters of the sandwich system can be determined.

The proper Clarke subgradient direction **t** of with respect to the parameters to be estimated at nonsmooth points can be derived based on
where denotes the Euclidean norm; is a nonempty subset of ; set is the predicted amount of descent; for , and are some trail points (from the past iterations); is the locality measure of subgradient; is the distance measure parameter ( if is convex), is the linearization error; is the distance measure to estimate without the requirement to store the trial point .

According to formula (3.4), and are obtained, that is,
where , =, , and .

*Remark 3.2. *If is convex, the model is an underestimate for , and the nonnegative linearization error measures the performance of an approximation of the model to the original cost function. If is nonconvex, these facts are not valid anymore because may have a small or even negative value, although the trial point locates far away from the current iteration point , and thus, the corresponding subgradient is worthless. For these reasons, the locality measure of subgradient is introduced.

Therefore, the proposed recursive gradient estimation algorithm based on bundle method for the sandwich model with backlash-like hysteresis is shown as follows.

*Step 1. *Select starting point and stopping parameter *. *Calculate and vector , where , , , is the element number of , and is a given positive number. Set , and the line search parameters

*Step 2. *Calculate optimal solution based on formulas (3.2)โ(3.6). If , then stop.

*Step 3. *Search for the largest step size such that and if
it holds
Then, we take a long step and set and ; go to Step 4.

Otherwise, if , and formula (3.8) holds, then we take a short step and set , and where . Go to Step 5.

If , and formula (3.8) holds, we take a null step, and namely set and ; go to Step 5.

*Step 4. *Let , ; if , then , and if , then , then go to Step 2.

*Step 5. *, ; if , then , and if , then , and the proper Clarke subgradient satisfies
then go to Step 2.

*Remark 3.3. *In long step, there is an obvious decrease in the value of the objective function. Hence, it is unnecessary to detect discontinuities in the gradient of . Thus, we just set . On the other hand, in short steps and null steps, the gradient of is discontinuous. Then, based on (3.10), both and located on the opposite sides of this discontinuity are guaranteed, and the new subgradient will force an obvious modification of the next search direction. Hence, the algorithm approximates the effectively searching direction at nonsmooth points based on the bundle method, which cannot be realized by the smooth optimization techniques.

*Remark 3.4. *If the value of is too small, the convergence speed will be very sluggish, while is too large, and the algorithm may not be convergent. Hence, it is important for to be chosen properly. Usually, is chosen based on an empirical method.

*Remark 3.5. *If all the Clarke subgradients are included in , the corresponding storage capacity is infinite. Hence, the number of the subgradients in must be constrained. In the proposed algorithm, we give the upper bound of , and the upper bound is specified by empirical method.

#### 4. Convergence of the Estimation

For the convergence of the above-mentioned estimation algorithm, we have the following

Theorem 4.1. *Suppose that and satisfy
**
respectively, then the parameters can be convergent to a local optimal value.*

* Proof. *The proof of this theorem can be found in Appendix.

#### 5. Simulation

The proposed approach is used to identify a numerical sandwich system with backlash-like hysteresis based on the measured system input and output. Suppose that the parameters of the backlash-like hysteresis in the system are *, **, *, and . The linear subsystems (ยท) and (ยท) are
respectively.

That implies *, **, **, *, and . In the simulation, both and are assumed to be equal to unity for model uniqueness, which implies that the corresponding equivalent true values of the coefficients are , , , , , , , , and , respectively, but this does not affect the properties of the whole system.

In the simulation, the signal to excite the system is a random sequence with variance . Choose . In the proposed algorithm, based on Remark 3.4, select , , and , respectively. For comparison, the traditional gradient method is also used to estimate the parameters of the system. In this method, the nonsmooth points of the system are omitted for the gradients of the system do not exist at nonsmooth points. The initialized values of the parameters are the same as those used in the proposed method. The optimizing step is chosen as 0.009.

Figure 2 illustrates the comparison of the estimated parameter convergence procedures between the proposed method and the traditional gradient method. In Figure 2, blue and solid lines denote the convergence procedures of the parameters estimated by the proposed method, while red and dotted lines show the convergence procedures of the parameters determined by the traditional gradient method. From Figure 2, we note that the parameters of the backlash-like hysteresis converge slower than those of the linear submodels especially the input linear submodel. Moreover, the proposed method has achieved faster convergence than that of the traditional gradient method. It is noticed that the oscillation and sharp jumps happened in the estimation procedure of the traditional gradient approach.

In the case that the system is affected by random noise, the proposed strategy can still obtain better convergence of parameter estimation. In the simulation with noise, the signal to noise rate (SNR) is equal to 46.5. All the initial values of the parameters are the same as those in the noise-free case.

Figure 3 shows the comparison of the convergence procedures of the estimated parameters in the case with noise between the proposed method and the traditional gradient approach. Similar to the noise-free case, the blue and solid lines denote the convergence procedures of the parameters estimated by the proposed method, while the red and dotted lines show the convergence procedures of the parameters estimated by the traditional gradient method. Obviously, the proposed method has obtained faster convergent results than the traditional gradient method.

#### 6. Application to an Moving Positioning Stage

The proposed identification approach is also applied to the modeling of an moving positioning stage with the architecture shown in Figure 4. In this equipment, the movement of the work platform of each axis is driven by a DC servomotor through a ball-screw-nut mechanism which transforms the rotational shaft movement into linear displacement. The servomotor is controlled by a digital signal processor (TMS320LF-2407A). The displacement of each axis is measured by a linear encoder (RGF2000H125B). The signals of both phase A and phase B encoders are decoded by a quadrature decoding circuit which is based on the decoding chip (Agilent HCTL-2020).

In this system, the servomotor can be considered as a second-order linear dynamic subsystem. The movement of the work platform is also described by a linear second-order dynamic model. Due to the inherent characteristic, both dead zone and backlash-like hysteresis exist in this system. In order to simplify the identification procedure, the dead zone is compensated by a dead zone inverse model-based compensator. Thus, in the identification, only the effect of backlash-like hysteresis existing in the ball-screw-nut mechanism will be considered. Therefore, the identified system is actually a typical sandwich system with backlash-like hysteresis. In this section, only the identification procedure of axis A will be presented due to the limited space. The corresponding models used to describe the behavior of axis A are shown as follows:(1)the input linear model (): (2)the model of the backlash-like hysteresis: (3)the output linear model (): where is the moving speed of the work platform.

Based on the operating requirement, a sequence of square wave plus sinusoidal wave is used to excite the system within the operating range. The corresponding amplitude of the input varies in the range between โ1.09โV and 1.05โV, and the sample period is 0.5โms.

In this model, both and are set to one. The initial values of the other parameters are chosen as , , , and . After 6700 steps, the convergence of the estimation is achieved. Figure 5 illustrates the corresponding procedure of the parameter estimation. It shows that the estimate procedure converges quickly. Figure 6 shows the corresponding mean square error (MSE) of the parameter estimation. We can see that the MSE is decreased sharply in the beginning, at the 180th step, and a local minimum can be found. After that, the algorithm jumps out of the local minimum, and the corresponding MSE gradually converges to a constant of about 0.4.

Then, the corresponding model validation result is shown in Figure 7(a), while Figure 7(b) shows the comparison of the input-output plots between the proposed model and the real data. The maximum relative modeling error is less than 11%. Moreover, it is obvious that the obtained model can accurately approximate the behavior of the moving positioning stage. Hence, it can be concluded that the proposed identification method is rather promising in engineering application.

**(a)**

**(b)**

#### 7. Conclusion

In this paper, a recursive gradient-based identification algorithm for the sandwich system with backlash-like hysteresis is proposed. The subgradient is applied to the search of gradient direction at the nonsmooth points of the system. In order to find the proper search direction at the nonsmooth points, the technique of so-called bundle method is utilized. Simulation results have shown that the proposed algorithm has provided us with an option for identification of nonsmooth dynamic systems, and it provides a novel method to identify the more complicated nonsmooth systems. The experimental results of stage also show that the proposed method has potential in engineering applications.

#### Appendix

Based on (3.5) and Step 3 of the algorithm, it is obtained

Subtracting the local optimal value from both sides of (A.1), it leads to

Rewrite (A.2) as where .

Choose the quadratic function as

According to (A.3), it leads to

As , if (3.5) holds, then the cutting-plane model is

Based on the definitions of and , as well as the idea of bundle method, we know that . Thus, considering (A.6) yields

Choosing and holding (A.7) yield

Based on (A.5) and (A.8), we obtain

According to the idea of the gradient algorithm and [16], we know that

Hence, the change of is written as

According to (3.5) and Step 3 of the algorithm, it yields:

From (A.11) and (A.12), we get

According to (A.10) and (A.13), we obtain Based on (A.4), (A.9), and (A.14), it leads to the following: if and , we have Hence, the parameters can be convergent to a local optimal value.

#### Acknowledgments

This work was supported by the projects of Shanghai Normal University (DZL811, DRL904, and DYL201005); the projects of Shanghai Education Commission (11YZ92); the project of NSFC (Grant nos. 60971004 and 61171088); the projects of Science and Technology. Commission of Shanghai (09220503000, 10JC1412200, and 09ZR1423400).

#### References

- N. J. Bershad, P. Celka, and S. McLaughlin, โAnalysis of stochastic gradient identification of Wiener-Hammerstein systems for nonlinearities with Hermite polynomial expansions,โ
*IEEE Transactions on Signal Processing*, vol. 49, no. 5, pp. 1060โ1071, 2001. View at: Publisher Site | Google Scholar - A. H. Tan and K. Godfrey, โIdentification of Wiener-Hammerstein models using linear interpolation in the frequency domain (LIFRED),โ
*IEEE Transactions on Instrumentation and Measurement*, vol. 51, no. 3, pp. 509โ521, 2002. View at: Publisher Site | Google Scholar - M. Boutayeb and M. Darouach, โRecursive identification method for MISO Wiener-Hammerstein model,โ
*IEEE Transactions on Automatic Control*, vol. 40, no. 2, pp. 287โ291, 1995. View at: Publisher Site | Google Scholar | Zentralblatt MATH - V. Cerone and D. Regruto, โBounding the parameters of linear systems with input backlash-like hysteresis,โ in
*Proceedings of the American Control Conference*, pp. 4476โ4481, Portland, Ore, USA, June 2005. View at: Google Scholar - E.-W. Bai, โIdentification of linear systems with hard input nonlinearities of known structure,โ
*Automatica*, vol. 38, no. 5, pp. 853โ860, 2002. View at: Publisher Site | Google Scholar | Zentralblatt MATH - F. Giri, Y. Rochdi, F. Z. Chaoui, and A. Brouri, โIdentification of Hammerstein systems in presence of hysteresis-backlash and hysteresis-relay nonlinearities,โ
*Automatica*, vol. 44, no. 3, pp. 767โ775, 2008. View at: Publisher Site | Google Scholar - R. Dong, Y. Tan, and H. Chen, โRecursive identification for dynamic systems with backlash,โ
*Asian Journal of Control*, vol. 12, no. 1, pp. 26โ38, 2010. View at: Publisher Site | Google Scholar - R. Dong, Q. Tan, and Y. Tan, โRecursive identification for dynamic systems with output backlash-like hysteresis and its convergence,โ
*International Journal of Applied Mathematics and Computer Science*, vol. 19, no. 4, pp. 631โ638, 2009. View at: Google Scholar - R. Dong and R. Tan, โOnline identification algorithm and convergence analysis for sandwich systems with backlash,โ
*International Journal of Control, Automation and Systems*, vol. 9, no. 3, pp. 1โ7, 2011. View at: Google Scholar - C. Eitzinger, โNonsmooth training of fuzzy neural networks,โ
*Soft Computing*, vol. 8, pp. 443โ448. View at: Google Scholar - M. M. Mäkelä, M. Miettinen, L. Lukšan, and J. Vlček, โComparing nonsmooth nonconvex bundle methods in solving hemivariational inequalities,โ
*Journal of Global Optimization*, vol. 14, no. 2, pp. 117โ135, 1999. View at: Publisher Site | Google Scholar | Zentralblatt MATH - S. A. Miller,
*An inexact bundle method for solving large structured linear matrix inequality [Doctoral dissertation]*, University of California, Santa Barbara, Calif, USA, 2001. - C. Lemaréchal, โNondifferentiable optimization,โ in
*Optimization*, G. L. Nemhauser, A. H. G. Rinnooy Kan, and M. J. Todd, Eds., vol. 1, pp. 529โ572, North-Holland, Amsterdam, The Netherland, 1989. View at: Publisher Site | Google Scholar - D. E. Goldberg,
*Genetic Algorithms in Search, Optimization, and Machine Learning*, Addison-Wesley, .Reading, Mass, USA, 1998. - R. Fletcher,
*Practical Methods of Optimization*, John Wiley & Sons, Chichester, 2nd edition, 1987. - C.-C. Ku and K. Y. Lee, โDiagonal recurrent neural networks for dynamic systems control,โ
*IEEE Transactions on Neural Networks*, vol. 6, no. 1, pp. 144โ156, 1995. View at: Publisher Site | Google Scholar

#### Copyright

Copyright © 2012 Ruili Dong et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.