Next Article in Journal
A Nondestructive Real-Time Detection Method of Total Viable Count in Pork by Hyperspectral Imaging Technique
Previous Article in Journal
Modeling, Simulation, and Performance Analysis of Decoy State Enabled Quantum Key Distribution Systems
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Tuning Guidelines for an Adaptive-Gain Parabolic Sliding Mode Filter

1
School of Engineering, Yanbian University, Yanji 133002, China
2
School of Mechanical Engineering and Automation, Harbin Institute of Technology Shenzhen Graduate School, Shenzhen 518055, China
*
Author to whom correspondence should be addressed.
Appl. Sci. 2017, 7(3), 209; https://doi.org/10.3390/app7030209
Submission received: 7 December 2016 / Revised: 2 February 2017 / Accepted: 16 February 2017 / Published: 23 February 2017

Abstract

:
This paper quantitatively evaluates the performance of an adaptive-gain parabolic sliding mode filter (AG-PSMF), which is for removing noise in feedback control of mechatronic systems under different parameter values and noise intensities. The evaluation results show that, due to the nonlinearity of AG-PSMF, four performance measurements, i.e., transient time, overshoot magnitude, tracking error and computational time, vary widely under different conditions. Based on the evaluation results, the paper provides practical tuning guidelines for AG-PSMF to balance the tradeoff among the four measurements. The effectiveness of the guidelines is validated through numerical examples.

Graphical Abstract

1. Introduction

The sliding mode filter [1,2] employing a certain kind of parabolic-shaped sliding surface has been studied for effectively removing noise in feedback control of mechatronic systems. One of major advantages of the filter is that its output converges to the input when a constant input is provided. In addition, the filter does not require a dynamic model. The sliding mode filter has been recognized one of the most effective and robust filters, and its evaluation results [3,4,5] and applications [6,7,8,9,10,11,12,13,14] have been reported in the literature. However, the filter is prone to overshooting.
In response to the drawbacks of the sliding mode filter [1,2], Jin et al. [15] presented a new parabolic sliding mode filter, which is referred to as PSMF. It is reported [16,17] that PSMF is advantageous over the filter referred to in [1,2] and linear filters because it is less prone to overshooting and produces smaller phase lag. After that, Jin et al. [18] presented an adaptive-gain parabolic sliding mode filter, referred to as AG-PSMF, by extending PMSF. In that work, Jin et al. stated that AG-PSMF effectively removes noise by balancing the tradeoff between the filtering smoothness and the suppression of delay [18]. However, due to the strong nonlinearity, theoretical evaluation and corresponding result-based parameter tuning guidelines remained as open problems for future study.
To respond to these problems, in an alternative manner this paper provides insight into the issues of quantitative performance evaluation and parameter tuning of AG-PSMF through numerical analysis. Specifically, the contribution of the paper is two-fold. It (1) quantitatively evaluates the performance of AG-PSMF under different parameter values and input signals; and (2) based on the results of the quantitative evaluation, the paper presents practical tuning guidelines for AG-PSMF.
The rest of this paper is organized as follows: Section 2 provides an overview of parabolic sliding mode filters; Section 3 quantitatively evaluates the performance of AG-PSMF; Section 4 presents tuning guidelines of AG-PSMF based on the evaluation results; Section 5 validates the effectiveness of the presented guidelines through numerical examples; and Section 6 covers concluding remarks.

2. Parabolic Sliding Mode Filters

This section provides an overview of parabolic sliding mode filters for understanding of the presented analysis in the following sections.
In Reference [15], Jin et al. presented a sliding mode filter that employs a parabolic-shaped sliding surface (PSMF), of which continuous-time representation is given as follows:
( 1 a ) x ˙ 1 = x 2 ( 1 b ) x ˙ 2 F ( H + 1 ) 2 sgn ( σ ( F , u , x 1 , x 2 ) ) F ( H 1 ) 2 sgn ( x 2 ) ,
where
σ ( F , u , x 1 , x 2 ) 2 F ( x 1 u ) + | x 2 | x 2 ,
u R is the input, x 1 R is the output, x 2 R is the derivative of x 1 , and F > 0 and H > 1 are constants. In addition, sgn ( ) is the following set-valued signum function:
sgn ( z ) 1 if z > 0 [ 1 , 1 ] if z = 0 1 if z < 0 ,
where z R is a scalar. Figure 1 shows the sliding surface and state trajectories of PSMF in x 1 x 2 space. In PSMF, x ˙ 2 can be seen as the acceleration of the output x 1 , and F can be considered as the gain of the acceleration.
The paper [15] also presented the following discrete-time algorithm of PSMF, which is derived by using the backward Euler discretization (i.e., by replacing x 2 by ( x 1 ( k ) x 1 ( k 1 ) ) / T ):
Algorithm 1 PSMF
1:
x 2 * : = F T Φ u ( k ) x 1 ( k 1 ) F T 2
2:
x 2 ( k ) : = clip ( clip ( x 2 ( k 1 ) H F T , x 2 ( k 1 ) F T , 0 ) , clip ( x 2 ( k 1 ) + F T , x 2 ( k 1 ) + F T H , 0 ) , x 2 * )
3:
x 1 ( k ) : = x 1 ( k 1 ) + T x 2 ( k )
4:
RETURN x 1 ( k ) .
Here, T is the sampling interval, k is the discrete-time index, and Φ ( ) and clip ( ) are functions defined as follows:
Φ ( z ) sgn ( z ) 1 + 2 | z | 1 ,
clip ( a , b , z ) b if z > b z if z [ a , b ] a if z < a ,
where a R and b R satisfy a b . In Algorithm 1, x 2 * ( k ) is the value of x 2 ( k ) that satisfies σ ( k ) = 0 , and x 2 ( k ) is determined in order to follow x 2 * ( k ) under the constraint of acceleration. It should be mentioned that, owing to the use of backward Euler discretization, the discrete-time implementation of PSMF does not produce chattering, which has been considered as a common problem of sliding mode techniques.
It is reported [16,17] that the noise removing capability of PSMF is almost the same as that of second-order Butterworth low-pass filter (2-LPF), but PSMF produces smaller phase lag than 2-LPF does. In addition, compared with the filter in [1,2], PSMF produces smaller phase lag , and it is less prone to overshooting. The effectiveness of PSMF has been experimentally validated [16,17]. However, due to the fixed acceleration gain F, the output of PSMF cannot follow an input in which the acceleration exceeds that of PSMF, whereas the output becomes sensitive to the noise contained in the input of which acceleration is far below that of PSMF.
With respect to the above-mentioned limitation of PSMF, Jin et al. presented an adaptive-gain parabolic sliding mode filter (AG-PSMF), which is an extension of PSMF. Specifically, the complete algorithm of AG-PSMF is given as follows:
Algorithm 2 Adaptive gain parabolic sliding mode filter (AG-PMSF)
  1:
FOR n { 1 , , min ( k + 1 , N max ) }
  2:
v : = ( x 1 ( k 1 ) x 1 ( k n 1 ) ) / ( n T )
  3:
FOR i { 1 , , n }
  4:
e : = x 1 ( k i 1 ) x 1 ( k 1 ) + i T v
  5:
IF | e | > R ; EXIT LOOP
  6:
END FOR
  7:
IF i < n ; EXIT LOOP
  8:
END FOR
  9:
F * = N max 2 n F
10:
x 2 * : = F * T Φ u ( k ) x 1 ( k 1 ) F * T 2
11:
x 2 ( k ) : = clip ( clip ( x 2 ( k 1 ) H F * T , x 2 ( k 1 ) F * T , 0 ) , clip ( x 2 ( k 1 ) + F * T , x 2 ( k 1 ) + F * T H , 0 ) , x 2 * )
12:
x 1 ( k ) : = x 1 ( k 1 ) + T x 2 ( k )
13:
RETURN x 1 ( k ) .
In AG-PSMF, i.e., Algorithm 2, steps 1–8 check whether all previous outputs are inside the area determined by the two end-outputs x 1 ( k 1 ) and x 1 ( k n 1 ) and the constant R, as shown in Figure 2. If it is the case, the window size n is further increased. The increase of n is continued until at least one previous output lies outside the area or n reaches its maximum value N max . Then, in step 9, gain F * ( k ) is obtained by applying the adaptively determined window size for balancing the tradeoff the output smoothness and the suppression of delay.

3. Performance Evaluation of AG-PSMF

This section numerically evaluates the performance of AG-PSMF under different values of parameters and noise intensities. It should mentioned here that, in the upcoming analysis, parameter values are changed in ranges that capture the response tendencies of AG-PSMF, without loss of generality. In addition, F = 1000 and T = 0.0001 s are used for the discrete-time implementation of AG-PSMF.

3.1. Transient Time and Overshoot Magnitude for Different Values of H

This part investigates the transient time and the overshoot magnitude produced by AG-PSMF with the following input:
u = 1 + α ε ( t ) ,
where ε N ( 0 , 1 ) is the unit white Gaussian noise with zero mean, and α is a normalized noise-scaling constant. Here, as shown in Figure 3, the transient time is defined as the time required for the output to reach 90 % of the signal component of the input, i.e., the input amplitude with α = 0 . In addition, the overshoot magnitude is defined as the maximum amount of the output that measured upward from the signal component of the input.
Figure 4 and Figure 5 show the transient time and the overshoot magnitude , respectively, under different values of H and α. In addition, Figure 6 provides cross-section view of Figure 4 and Figure 5 under α = 0.1 . It is shown that the overshoot magnitude decreases as H increases, and it converges to a certain value in the range of H 5 . On the other hand, the increase of H results in longer transient time, which dramatically increases within the range of H > 10 . Such tendencies become stronger as the value of α increases.

3.2. Tracking Accuracy for Different Values of N max and R

This part evaluates the tracking performance of AG-PSMF under the following input:
u = sin ( 10 t ) + α ε ( t ) , 0 s t 4.2 s .
The performance is analyzed through the average magnitude of | u ^ x 1 | (AME), which is defined as follows:
AME 1 42000 k = 0 42000 | u ^ x 1 | ,
where u ^ is the signal component of the input, i.e., u ^ = sin ( 10 t ) .
Figure 7 shows AME under different values of N max and α, and Figure 8 provides AME of Figure 7 under α = 0.1 . One can observe that AME converges to its minimum value as N max reaches around N max = 50 under a certain value of α.
The influence of R is shown in Figure 9, which gives AME for different values of R and α. In addition, Figure 10 provides AME of Figure 9 under α = 0.1 . It is shown that, under a certain value of α, AME dramatically increases and converges to a certain value as R increases in the range R > 0.0001 . On the other hand, in the case of R < 0.0001 , AG-PSMF produces smaller AME than that of the case R > 0.0001 , but the value is slightly larger compared with the case of R = 0.0001 .
The figures also show that stronger noise intensity results in larger AME for a certain value of N max and R.

3.3. Computational Time for Different Values of N m a x and R

Figure 11 shows the computational time spent by AG-PSMF with the input (7) under different values of N max and R. It is shown that the influence R on the computational time is insignificant in the range R 0.0001 . In this range, the computational time under 10 N max 40 is slightly less than that under N max > 40 , as shown in Figure 12. However, in the range R > 0.0001 , the computational time increases with either increase in N max or R.

4. Tuning Guidelines of AG-PSMF

In practice, parameter values greatly influence system performances, and thus parameter tuning guidelines are important for systems to perform properly. However, in the case of AG-PSMF, the tuning of algorithm parameters remains empirical due to the difficulty of theoretical evaluation caused by strong nonlinearity.
In response to this problem, as an alternative solution this section provides parameter tuning guidelines for AG-PSMF based on the results of numerical evaluation given in Section 3. Specifically, the guidelines focus on the influence of different values of AG-PSMF’s three parameters H, N max and R on the four measurements transient time, overshoot magnitude, tracking error (i.e., AME) and computational time. It should be said that, for a better filtering performance, the values of all four measurements should be kept small. Given this requirement, tuning guidelines for AG-PSMF’s parameters are derived as follows.

4.1. Tuning Guideline for H

In Section 3.1, it has been discussed that the increase of H contributes to the suppression of overshoot but results in longer transient time. By carefully observing the response of AG-PSMF under different values of H, as shown in Figure 4, Figure 5 and Figure 6, one can notice that the optimum range of H is around 5 H 10 . Under such a value of H, AG-PSMF provides short transient time by producing a low level of overshoot.

4.2. Tuning Guideline for N max

In Section 3.2, it has been shown that the minimum AME appears around N max = 50 . Thus, it is suggested that N max should be set as around N max = 50 . However, in the applications where the computational time is a major concern, it is advisable to set around 20 N max 30 by considering the results of Section 3.3. This is because under such values of N max , AG-PSMF consumes slightly less computational cost while maintaining relatively low level of AME.

4.3. Tuning Guideline for R

In Section 3.2, it has been observed that AME converges to the minimum value as R approaches R = 0.0001 . On the other hand, in Section 3.3, it has been illustrated the the computational time is insignificant in the range of R 0.0001 , while it increases with the increase of R in the range R > 0.0001 . Thus, it is clear that the value of R around R = 0.0001 should be appropriate by considering both AME and computational time.

5. Numerical Examples

The effectiveness of the presented guidelines are now validated through numerical examples, the following sinusoidal signal is provided as the input of AG-PSMF:
u = sin ( 20 ) + 0.1 ε ( t ) if t 1.5 s , 2 sin ( 20 t ) + 0.1 ε ( t ) if 1.5 s < t 3 s , sin ( 40 t ) + 0.1 ε ( t ) otherwise .
According to the guidelines, the values of parameters are set as H = 5 , N max = 50 , and R = 0.0001 . Besides that, F = 1000 and T = 0.0001 s are applied.
Figure 13 shows the output of AG-PSMF under the parameter values recommended by the guidelines (hereafter denoted as the AG-PSMF Guideline). For comparison, the results of AG-PSMF with four different sets of parameter values are also included. The initial states of all conditions are set zeros at t = 0 s. The results clearly show the advantage of using H > 1 . That is, the AG-PSMF Guideline is less prone to overshooting than in the case of H = 1 . In addition, compared with the cases of N max = 25 and R = 0.001 , the output amplitude of the AG-PSMF Guideline is closer to that of signal component of the input. Furthermore, the phase lag of the AG-PSMF-Guideline is the smallest among the four cases. As a whole, one can conclude that AG-PSMF performs the best under the recommended parameter values.

6. Conclusions

This paper has quantitatively evaluated the performance of an adaptive-gain parabolic sliding mode filter (AG-PSMF) for removing noise in feedback control of mechatronic systems, under different parameter values and noise intensities. The evaluation results show that, due to the nonlinearity, the performance of AG-PSMF varies widely under different conditions. Based on the evaluation results, the paper has provided practical tuning guidelines for AG-PSMF to optimize performance. The effectiveness of the guidelines is validated through numerical examples.
One issue that remains for future study is theoretical validation of AG-PSMF.

Acknowledgments

This work was supported by Yanbian University Research Fund No. 413010089.

Author Contributions

Shanhai Jin conceived and wrote the paper; Shanhai Jin, Xiaodan Wang and Yonggao Jin performed simulations; Xiaogang Xiong offered useful suggestions for the preparation and writing the paper.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Han, J.; Wang, W. Nonlinear tracking-differentiator. J. Syst. Sci. Math. Sci. 1994, 14, 177–183. (In Chinese) [Google Scholar]
  2. Emaru, T.; Tsuchiya, T. Research on estimating smoothed value and differential value by using sliding mode system. IEEE Trans. Robot. Autom. 2003, 19, 391–402. [Google Scholar] [CrossRef]
  3. Han, J.; Huang, Y. Frequency characteristic of second-order tracking-differentiator. Math. Pract. Theory 2003, 33, 71–74. (In Chinese) [Google Scholar]
  4. Emaru, T.; Tsuchiya, T. Research on signal tracking performance of nonlinear digital filter ESDS. Trans. Jpn. Soc. Mech. Eng. Ser. C 2004, 70, 2352–2359. (In Japanese) [Google Scholar] [CrossRef]
  5. Guo, B.; Zhao, Z. On convergence of tracking differentiator. Int. J. Control 2011, 84, 693–701. [Google Scholar] [CrossRef]
  6. Su, Y.; Duan, B.; Zheng, C. Nonlinear PID control of a six-DOF parallel manipulator. IEEE Proc. Control Theory Appl. 2004, 151, 95–102. [Google Scholar] [CrossRef]
  7. Su, Y.; Sun, D.; Duan, B. Design of an enhanced nonlinear PID controller. Mechatronics 2005, 15, 1005–1024. [Google Scholar] [CrossRef]
  8. Peng, X.; Cheng, S.; Wen, J. Application of nonlinear PID controller in superconducting magnetic energy storage. Int. J. Control Autom. Syst. 2005, 3, 296–301. [Google Scholar]
  9. Han, J. From PID to active disturbance rejection control. IEEE Trans. Ind. Electron. 2009, 56, 900–906. [Google Scholar] [CrossRef]
  10. Xia, Y.; Fu, M. Overview of ADRC. Compd. Control Methodol. Flight Veh. 2013, 438, 21–48. [Google Scholar]
  11. Duan, X.; Qiu, Y.; Mi, J.; Zhao, Z. Motion prediction and supervisory control of the macro-micro parallel manipulator system. Robotica 2011, 29, 1005–1015. [Google Scholar] [CrossRef]
  12. Su, Y.; Duan, B.; Zheng, C.; Chen, G.; Mi, J. Disturbance-rejection high-precision motion control of a Stewart platform. IEEE Trans. Control Syst. Technol. 2004, 12, 364–374. [Google Scholar] [CrossRef]
  13. Sun, D. Comments on active disturbance rejection control. IEEE Trans. Ind. Electron. 2007, 6, 3428–3429. [Google Scholar]
  14. Xia, Y.; Shi, P.; Rees, D.; Han, J. Active disturbance rejection control for uncertain multivariable systems with time-delay. IET Control Theory Appl. 2007, 1, 75–81. [Google Scholar] [CrossRef]
  15. Jin, S.; Kikuuwe, R.; Yamamoto, M. Real-time quadratic sliding mode filter for removing noise. Adv. Robot. 2012, 26, 877–896. [Google Scholar]
  16. Jin, S.; Kikuuwe, R.; Yamamoto, M. Parameter selection guidelines for a parabolic sliding mode filter based on frequency and time domain characteristics. J. Control Sci. Eng. 2012, 2012, 923679. [Google Scholar] [CrossRef]
  17. Jin, S.; Kikuuwe, R.; Yamamoto, M. Improved velocity feedback for position control by using a quadratic sliding mode filter. In Proceedings of the 11th International Conference on Control, Automation and Systems, Gyeonggi-do, Korea, 26–29 October 2011; pp. 1207–1212.
  18. Jin, S.; Jin, Y.; Wang, X.; Xiong, X. Discrete-Time Sliding Mode Filter with Adaptive Gain. Appl. Sci. 2016, 6, 400. [Google Scholar] [CrossRef]
Figure 1. The parabolic-shaped sliding surface (thick curve) and trajectories of the state of the parabolic sliding mode filter (PMSF) (thin curve).
Figure 1. The parabolic-shaped sliding surface (thick curve) and trajectories of the state of the parabolic sliding mode filter (PMSF) (thin curve).
Applsci 07 00209 g001
Figure 2. Windowing in adaptive-gain (AG)-PSMF.
Figure 2. Windowing in adaptive-gain (AG)-PSMF.
Applsci 07 00209 g002
Figure 3. Response of AG-PSMF with input u = 1 + 0.1 ε ( t ) under H = 1.5 , N max = 25 and R = 0.001 .
Figure 3. Response of AG-PSMF with input u = 1 + 0.1 ε ( t ) under H = 1.5 , N max = 25 and R = 0.001 .
Applsci 07 00209 g003
Figure 4. Transient time with input u = 1 + α ε ( t ) under different values of H and α.
Figure 4. Transient time with input u = 1 + α ε ( t ) under different values of H and α.
Applsci 07 00209 g004
Figure 5. Overshoot magnitude with input u = 1 + α ε ( t ) under different values of H and α.
Figure 5. Overshoot magnitude with input u = 1 + α ε ( t ) under different values of H and α.
Applsci 07 00209 g005
Figure 6. Cross-section view of overshoot magnitude and transient time with input u = 1 + 0.1 ε ( t ) under different values of H.
Figure 6. Cross-section view of overshoot magnitude and transient time with input u = 1 + 0.1 ε ( t ) under different values of H.
Applsci 07 00209 g006
Figure 7. Average magnitude of | u ^ x 1 | (AME) with input u = sin ( 10 t ) + α ε ( t ) under different values of N max and α.
Figure 7. Average magnitude of | u ^ x 1 | (AME) with input u = sin ( 10 t ) + α ε ( t ) under different values of N max and α.
Applsci 07 00209 g007
Figure 8. Average magnitude of | u ^ x 1 | (AME) with input u = sin ( 10 t ) + 0.1 ε ( t ) under different value of N max .
Figure 8. Average magnitude of | u ^ x 1 | (AME) with input u = sin ( 10 t ) + 0.1 ε ( t ) under different value of N max .
Applsci 07 00209 g008
Figure 9. Average magnitude of | u ^ x 1 | (AME) with input u = sin ( 10 t ) + α ε ( t ) under different values of R and α.
Figure 9. Average magnitude of | u ^ x 1 | (AME) with input u = sin ( 10 t ) + α ε ( t ) under different values of R and α.
Applsci 07 00209 g009
Figure 10. Average magnitude of | u ^ x 1 | (AME) with input u = sin ( 10 t ) + 0.1 ε ( t ) under different values of R.
Figure 10. Average magnitude of | u ^ x 1 | (AME) with input u = sin ( 10 t ) + 0.1 ε ( t ) under different values of R.
Applsci 07 00209 g010
Figure 11. Computational time with input u = sin ( 10 t ) + 0.1 ε ( t ) under different values of N max and R.
Figure 11. Computational time with input u = sin ( 10 t ) + 0.1 ε ( t ) under different values of N max and R.
Applsci 07 00209 g011
Figure 12. Computational time with input u = sin ( 10 t ) + 0.1 ε ( t ) under different values of N max and R = 0.0001 .
Figure 12. Computational time with input u = sin ( 10 t ) + 0.1 ε ( t ) under different values of N max and R = 0.0001 .
Applsci 07 00209 g012
Figure 13. Outputs of AG-PSMF under different values of parameters for a sinusoidal input that is corrupted by white Gaussian noise.
Figure 13. Outputs of AG-PSMF under different values of parameters for a sinusoidal input that is corrupted by white Gaussian noise.
Applsci 07 00209 g013

Share and Cite

MDPI and ACS Style

Jin, S.; Wang, X.; Jin, Y.; Xiong, X. Tuning Guidelines for an Adaptive-Gain Parabolic Sliding Mode Filter. Appl. Sci. 2017, 7, 209. https://doi.org/10.3390/app7030209

AMA Style

Jin S, Wang X, Jin Y, Xiong X. Tuning Guidelines for an Adaptive-Gain Parabolic Sliding Mode Filter. Applied Sciences. 2017; 7(3):209. https://doi.org/10.3390/app7030209

Chicago/Turabian Style

Jin, Shanhai, Xiaodan Wang, Yonggao Jin, and Xiaogang Xiong. 2017. "Tuning Guidelines for an Adaptive-Gain Parabolic Sliding Mode Filter" Applied Sciences 7, no. 3: 209. https://doi.org/10.3390/app7030209

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop