Abstract
A novel switching-differentiator (SD) that can asymptotically track the time derivative of time-varying signal was previously proposed. This paper extends the previous SD to estimation of higher-order time derivatives. This study shows that higher-order time-derivatives can be estimated by connecting multiple SDs in cascade form. By successive applying the generalized Barbalat’s lemma, all higher-order tracking errors also approach zeros asymptotically. To illustrate the performance of the proposed higher-order switching differentiator, simulations were performed for estimating higher-order time-derivatives of a signal.
1. Introduction
In the field of controllers for linear or nonlinear systems, the online time-derivative estimator or differentiator plays a crucial role. Applications of differentiators include proportional–integral–derivative (PID) controller [1,2], state estimator in the output-feedback controller [3,4,5], active disturbance rejection [1,6], fault diagnosis schemes [7], and approximation-free controller for uncertain nonlinear systems [8,9,10]. The performance of the controller is directly influenced by that of the differentiator. Therefore, extensive research studies have been performed on differentiators, including high-order sliding mode differentiators (HOSMDs) [4,11,12,13], singular perturbation-technique-based differentiators [14], high-gain observers (HGOs) [3,15,16], uniformly convergent differentiators [17], and augmented nonlinear differentiators [18]. Especially in the output-feedback controller design of uncertain nonlinear systems, HGO and HOSMD are widely adopted differentiators. The HGO dynamics has a relatively simple linear form. It has a drawback of peaking caused by a non-zero initial condition. Thus, it is not robust against measurement noise. The HOSMD has the advantages of finite-time exact convergence and robustness against disturbance. However, HOSMD contains switching functions in its dynamics, so its estimations inevitably contain chatterings. Another drawback of HOSMD is that its dynamic equations are rather complex.
Park et al. proposed a novel switching-differentiator (SD) that can asymptotically track the time-derivative of a signal in [19]. Its dynamic equation has a simple form and neither peaking nor chattering occur in the estimation. Another merit of this SD is that the tracking error tends to be zero asymptotically irrespective of the large initial error. In addition, it is robust against measurement disturbance. However, in [19], the SD was geometrically proved only for the first-order time-derivative estimation case. In this study, the SD was extended to the case of higher-order time-derivative estimations. We prove that higher-order time-derivatives can be observed by connecting multiple SDs in cascade and that tracking errors can go to zero asymptotically by successive applying the generalized Barbalat’s lemma [20]. The merits of the proposed higher-order switching differentiator (HOSD) are summarized as follows:
- The proposed HOSD can estimate higher-order time-derivatives of a time-varying signal. Estimation errors are proved to approach zero asymptotically irrespective of large initial errors.
- The HOSD estimations show no peaking or chattering, although its dynamics contain switching functions.
- The dynamic equations and structure of the differentiator are relatively simple compared with those of other well-known derivative estimators.
We compared the performance of HGO, HOSMD and the proposed HOSD via simulations. Simulations of the estimations of higher-order time-derivatives of a signal were conducted to compare and illustrate the performance of the proposed HOSD.
2. Main Results
2.1. Preliminaries
Definitions of , , and are used throughout this paper. Denotation is an abbreviated expression of . The following definitions are also used throughout this paper:
Definition 1.
Let Φ be a set of all strictly increasing infinite sequences whose first numbers are zeros such that:
Definition 2.
For a sequence , let be a continuous function, that is, is not disconnected at any . Let be a piecewise continuous function disconnected at some or all . The set of all f and g is denoted .
Definition 3.
For , define the set of functions as follows:
where is a constant. The functions in refer to be bounded in the piecewise sense (BPWS) below L.
If a continuous function f is in , f is simply a bounded continuous function, i.e., for .
Fact 1.
Consider two functions and , where . Then is bounded in the piececwise sense, that is, with and .
The proof of Fact 1 is trivial. Thus, it is omitted.
In [20], the following more generalized version of the conventional Barbalat’s lemma was presented as follows:
Lemma 1.
Let . Suppose satisfies:
- 1.
- V(t) exists.
- 2.
- is twice differentiable on each interval .
- 3.
- exists, such that .
Then .
According to ([20] Remark 1), because V and can be piececewise functions, Lemma 1 can be regarded as an extension of the conventional Barbarlat’s lemma to the class of piecewise continuous functions by requiring to be bounded in the piecewise sense.
Park et al. proposed an asymptotically convergent firstst-order time-derivative estimator in [19]. The main result of [19] can be described as follows.
Lemma 2.
Consider the following dynamics, where is the time-varying signal that satisfies for all
where . Then, in (4) is asymptotically convergent to if and .
Here, is a switching function defined as follows:
Note that in Lemma 2, is allowed to be the piecewise continuous function as long as it is bounded. That is, the property of Lemma 2 still holds for where . As commented above, in [19], Park et al. proved that approaches asymptotically. That is, denoting the estimation error as:
Then, Lemma 2 describes . For a description of the more specific behavior of , which is required in the proof process of the following Lemmas, define infinite time sequence , where changes its value (from 1 to −1 or vice versa). In [19], Park et al. showed that an infinite number of time intervals exists , such that . The changes its sign (i.e., crosses the line) at some time point . The fact that inequality holds for all , as also been proven in [19]. The typical trajectory of is illustrated in Figure 1. As shown in Figure 1, oscillates and its magnitude converges to zero asymptotically.
Figure 1.
Typical trajectory of (solid line) and (dotted line).
2.2. Expansion to the Second-Order Differentiator
The first concern for the next step in the higher-order expansion is the behavior of for , whose dynamics are described as:
To prove convergence of , the conventional Barbalat’s lemma cannot be applied since the has a piecewise continuous function. By using Lemma 1 instead of Barbalat’s lemma, the following key aspects can be directly proven:
Fact 2.
If for all where and , then for all .
Proof.
In the case of , if we let , then condition (1) of Lemma 1 is satisfied since by Lemma 2. Because both and have piecewise continuous functions, is twice differentiable in the piecewise sense. Considering , since holds by assumption and by (4), it can be concluded that from Fact 1. Thus, conditions (2) and (3) of Lemma 1 are also satisfied for , which results in .
Next, let us define . Using mathematical induction, it is sufficient to show that holds under the assumption of . is twice differentiable in the piecewise sense and we obtain . Since and hold, is also in by Fact 1. Because all conditions in Lemma 1 are met, it can be concluded that . This completes the proof. □
Using Lemma 2 and Fact 2, an asymptotically convergent second-order time-derivative estimator can be constructed by connecting two SDs in a cascade form.
Lemma 3.
Assume a signal satisfies , for some positive constants , , and . is also assumed to be bounded in the piecewise sense. Consider the following dynamics:
where and . If , , , and , then and .
Proof.
From Lemma 2, by defining , the estimate of is:
with . In the second SD (9), is the estimate of . From Fact 2, holds, which means . Therefore, exists, such that for . If we let , then:
After , is also guaranteed again from Lemma 2, substituting (10) into (11) results in:
From Fact 2, is satisfied. Thus, it can be concluded that . □
Fact 3.
For , holds.
Proof.
We already proved in Lemma 3 that holds. From the definition of and , for , it can be concluded that is also in for . By repeatedly applying Lemma 1, it can be recursively guaranteed that via mathematical induction. □
2.3. Expansion to HOSD
Using the preliminary facts and second-order differentiator, the SD can be extended to the HOSD with asymptotically convergent estimations. The main result in this paper is described in the following theorem.
Theorem 1.
Let , and for a signal , assume that for where ’s are positive constants and . is assumed to be bounded in the piecewise sense. Consider the following HOSD dynamics:
where with . If the design constants are chosen such that and for all , then:
holds.
Proof.
For convenience, Equations (10) and (12) in Lemma 3 are rewritten here as follows:
Since, holds from Fact 3, which means , exists, such that for . By defining , can be written using (16) as:
with after by Lemma 2. In general, is recursively derived as:
where with . The following is the procedure for the mathematical induction.
Assume that , , ⋯, for all . The fact implies . Therefore, exists such that for . Thus, by Lemma 2 after . It is true that all summed terms in the right-hand side of (18) tend to be zero, which leads to . The convergent property of for can be easily performed by similar procedure of the proof of Fact 2 or Fact 3. Thus, it is omitted.
Combining all these together, it can be concluded that, for :
- holds
- for holds under the assumptions of for .
Therefore, it can be recursively proven that (14) holds. □
Remark 1.
Through various simulations, we found that parameter must be chosen as a large enough value to ensure good performance. We recommend that is selected as tens to thousands of times .
3. Simulation
3.1. Example 1
In this section, the performance of the proposed HOSD is shown via simulations. In the following simulations, Python language and its libraries, such as scipy, numpy, and matplotlib [21], are used. Time-derivatives of are estimated by the proposed HOSD, HOSMD, and HGO. Estimations were also compared. Time-derivatives of are and . First, the proposed HOSD equations of (8) and (9) were used to estimate and . The HOSMD is a second estimator whose dynamics are as follows:
where and are positive design constants. In (19), and were used as estimates of and , respectively. The third one is the HGO, which has the following form:
where ’s () and are design constants. The estimates of and are and , respectively. Three sets of parameters were chosen as presented in Table 1.
Table 1.
Simulation parameter sets.
The simulation results using parameter set ① in Table 1 are depicted in Figure 2 and Figure 3. Since the gains are relatively small compared to those of other parameter sets, estimation errors move toward zero slowly. Although the tracking errors of HOSD and HOSMD also go to zero, HGO estimations had relatively larger peaking and steady-state errors, as shown in Figure 3c.
Figure 2.
Estimations of using parameter set ① in Table 1.
Figure 3.
Estimations of using parameter set ① in Table 1.
Figure 4 and Figure 5 illustrate the simulation results using parameter set ② in Table 1. Due to sufficiently large gains, and were exactly estimated by HOSD, HOSMD, and HGO. However, in the case of HOSMD, if M was larger to achieve a short transient time, chattering in the estimation appeared (Figure 5b). The HGO estimations showed considerably larger peaking at as shown in Figure 5c since the value decreased.
Figure 4.
Estimations of using parameter set ② in Table 1.
Figure 5.
Estimations of using parameter set ② in Table 1.
The parameter set ③ in Table 1 is stronger than those in sets ② and ①. Figure 6 and Figure 7 illustrate the results. In this case, the advantage of the proposed HOSD is even more pronounced. The estimations of HOSD seemed to be exact. No peaking or chattering were observed in or (Figure 6a and Figure 7a). However, in the estimation of HOSMD, peaking and chattering in existed as depicted in Figure 7b. In the case of HGO, huge peaking in at appeared (Figure 7c).
Figure 6.
Estimations of using parameter set ③ in Table 1.
Figure 7.
Estimations of using parameter set ③ in Table 1.
3.2. Example 2
In this section, the performance of differentiator-based controllers for an uncertain nonlinear system is compared. In [9], Park et al. proposed a HOSMD-based output-feedback controller for uncertain nonautonomous and nonaffine pure-feedback nonlinear systems. The HOSMD that was adopted in the controller of [9] was replaced by HOSD and HGO. The performance and properties of these three different controllers based on HOSMD, HGO, and the proposed HOSD were compared via simulations.
The dynamic equations of the example second-order pure-feedback nonlinear system are shown as follows:
where and u are the output and input of the system, respectively; is an unmeasurable state variable. Note that the controller has no information on the dynamic equations and contained disturbances. Due to the term in (22), this example system is sensitive to small changes in the control input, which complicates the control of the output. The control objective was to drive for tracking while maintaining all signals as bounded.
The controller design procedure proposed in [9] is summarized as follows:
- Construct a differentiator that can estimate up to second time-derivatives of a signal , which is defined in the next step. Let and be the estimate of and , respectively, in what follows.
- The signal is composed using the following control input filtering:where is a design constant usually chosen as 1, and is the tracking error.
The biggest advantage of the differentiator-based controllers proposed in [9,10,22] is that the controller requires no universal approximators, such as neural net or fuzzy system, irrespective of the intrinsic unstructured uncertainties in a controlled system. Studies typically adopted such approximators to capture unstructured uncertainties for controlling uncertain nonlinear systems (e.g., refer to [8,23,24,25,26,27,28,29] and the references therein). Thecontroller (24) is directly influenced by the performance of the differentiator. The block diagram of the overall closed-loop control system is illustrated in Figure 8.
Figure 8.
Block diagram of the closed-loop control system.
In the following simulations, the controller constants are the same as and , from which the vector in (24) is calculated as . All initial values of the controlled system, controller, and differentiators were set to zero. The same differentiators, that is, HOSD (8), (9), HOSMD (19), and HGO (20), were used in the following simulations. The parameters in the respective differentiators were selected so that the settling time of the system output was about 0.5 seconds under the condition that they all used the same controller constants (c and g).
3.2.1. First Simulation
Tracking performance was compared using the desired output in this subsection. Differentiator parameters are presented as ⓐ in Table 2. The simulation results with HOSD are shown in Figure 9, Figure 10 and Figure 11.
Table 2.
Simulation parameter sets.
Figure 9.
In the case of the proposed HOSD: (a) y, and (b) u.
Figure 10.
The proposed HOSD: trajectories of and .
Figure 11.
The proposed HOSD: trajectories of and .
The simulation results ofr HOSMD are shown in Figure 12, Figure 13 and Figure 14. To meet the settling time restriction, a large M value was required and the input chattering was inevitable.
Figure 12.
For HOSMD: (a) y, , and (b) u.
Figure 13.
For HOSMD: trajectories of and .
Figure 14.
For HOSMD: trajectories of and .
The simulation results with HGO are shown in Figure 15, Figure 16 and Figure 17. To meet the settling time restriction, a small value was required and a huge peaking in the control input appeared.
Figure 15.
For HGO: (a) y, , and (b) u.
Figure 16.
For HGO: trajectories of and .
Figure 17.
For HGO: trajectories of and .
3.2.2. Second Simulation
In this subsection, was moved abruptly at (since ) and to check and compare the performance of the controllers. The difference of this simulation from the first simulation was that was harder to track because it changed abruptly at some time points. The selected parameters are presented in Table 2 ⓑ.
The simulation results with HOSMD are depicted in Figure 18 and Figure 19. For the specified settling time (0.5 s), the intensive chattering in the control input was inevitable in the case of HOSMD.
Figure 18.
For HOSMD: (a) y, , and (b) u.
Figure 19.
For HOSMD: trajectories of and .
For HGO, the simulation results are depicted in Figure 20 and Figure 21. In this case, the parameters needed to meet the settling time of 0.5 s were not found. For a better controller performance, the value of must be smaller, resulting in instability as well as control chattering. As shown in Figure 20, even with a relatively large value, the system output diverged at .
Figure 20.
In the case of HGO: (a) y, , and (b) u.
Figure 21.
For HGO, trajectories of and .
The simulation results for the proposed HOSD are depicted in Figure 22 and Figure 23. In this case, the specified settling time (0.5 s) was clearly met and the output of the system tracked the desired one well. Besides the inevitable short periods of chattering after the abrupt changes in , no severe chattering was observedd in the control input and .
Figure 22.
For the proposed HOSD: (a) y, , and (b) u.
Figure 23.
For the proposed HOSD: trajectories of and .
4. Conclusions
A novel HOSD that can asymptotically track higher-order time-derivatives of a signal was proposed. Based on a prior study [19], the result was extended to the case of higher-order derivative estimations. We proved by successively applying the generalized Barbalat’s lemma that the estimations of higher-order time-derivatives of a signal approach zero asymptotically. Its dynamic equations are relatively simple. No chattering or peaking was shown in the estimations. In the simulations, the proposed HOSD performed better than existing widely used differentiators, such as HOSMD or HGO, when was used in the estimations of higher-order time-derivatives of a signal.
Author Contributions
Conceptualization, J.-H.P. and T.-S.P.; methodology, J.-H.P.; software, J.-H.P.; validation, S.-H.K.; writing—original draft preparation, J.-H.P., T.-S.P., and S.-H.K.; project administration, S.-H.K.; funding acquisition, S.-H.K. All authors have read and agreed to the published version of the manuscript.
Funding
This research was supported by Korea Electric Power Corporation (Grant number: R18XA04).
Conflicts of Interest
The authors declare no conflict of interest.
References
- Han, J. From PID to Active Disturbance Control. IEEE Trans. Ind. Electron. 2009, 56, 900–906. [Google Scholar] [CrossRef]
- Belanger, P.R.; Dobrovolny, P.; Helmy, A.; Zhang, X. Estimation of Angular Velocity and Acceleration from Shaft-Encoder Measurements. Int. J. Robot. Res. 1998, 17, 1225–1233. [Google Scholar] [CrossRef]
- Khalil, H.K. High-Gain Observers in Feedback Control: Application to Permanent Magnet Synchronous Motors. IEEE Control Syst. Mag. 2017, 37, 25–41. [Google Scholar]
- Levant, A. Non-homogeneous finite-time-convergent differentiator. In Proceedings of the 48th IEEE Conference on Decision and Control, Shanghai, China, 15–18 December 2009; pp. 8399–8404. [Google Scholar]
- Carneiro, J.F.; Almeida, F.G.D. On the Influence of Velocity and Acceleration Estimators on a Servopneumatic System Behaviour. IEEE Access 2016, 4, 6541–6553. [Google Scholar] [CrossRef]
- Gao, Z. Active Disturbance Rejection Control: A Paradigm Shift in Feedback Control Design. In Proceedings of the 2006 American Control Conference, Minneapolis, MN, USA, 14–16 June 2006. [Google Scholar]
- Efimov, D.; Zolghadri, A.; Raissi, T. Actuator fault detection and compensation under feedback control. Automatica 2011, 47, 1699–1705. [Google Scholar] [CrossRef]
- Park, J.-H.; Kim, S.-H.; Park, T.-S. Output-Feedback Adaptive Neural Controller for Uncertain Pure-Feedback Nonlinear Systems Using a High-Order Sliding Mode Observer. IEEE Trans. Neural Netw. Learn. Syst. 2019, 5, 1596–1601. [Google Scholar] [CrossRef] [PubMed]
- Park, J.-H.; Kim, S.-H.; Park, T.-S. Approximation-Free Output-Feedback Non-Backstepping Controller for Uncertain SISO Nonautonomous Nonlinear Pure-Feedback Systems. Mathematics 2019, 7, 456. [Google Scholar] [CrossRef]
- Park, J.-H.; Kim, S.-H.; Park, T.-S. Approximation-Free State-Feedback Backstepping Controller for Uncertain Pure-Feedback Nonautonomous Nonlinear Systems Based on Time-Derivative Estimator. IEEE Access 2019, 7, 126634–126641. [Google Scholar] [CrossRef]
- Levant, A. Robust Exact Differentiation via Sliding Mode Technique. Automatica 1998, 34, 379–384. [Google Scholar] [CrossRef]
- Levant, A. Universal Single-Input–Single-Output (SISO) Sliding-Mode Controllers with Finite-Time Convergence. IEEE Trans. Autom. Control 2001, 46, 1147–1451. [Google Scholar] [CrossRef]
- Levant, A. Higher-order sliding modes, differentiation and output-feedback control. Int. J. Control 2003, 76, 924–941. [Google Scholar] [CrossRef]
- Wang, X.; Chen, Z.; Yang, G. Finite-Time-Convergent Differentiator Based on Singular Perturbation Technique. IEEE Trans. Autom. Control 2007, 52, 1731–1737. [Google Scholar] [CrossRef]
- Ibrir, S. Linear time-derivative trackers. Automatica 2004, 40, 397–405. [Google Scholar] [CrossRef]
- Khalil, H.K. Cascade high-gain observers in output feedback control. Automatica 2017, 80, 110–118. [Google Scholar] [CrossRef]
- Angulo, M.T.; Moreno, J.A.; Fridman, L. Robust exact uniformly convergent arbitrary order differentiator. Automatica 2013, 49, 2489–2495. [Google Scholar] [CrossRef]
- Shao, X.; Liu, J.; Li, J.; Cao, H.; Shen, C.; Zhang, X. Augmented nonlinear differentiator design and application to nonlinear uncertain systems. ISA Trans. 2017, 67, 30–46. [Google Scholar] [CrossRef]
- Park, J.-H.; Kim, S.-H.; Park, T.-S. Asymptotically convergent switching differentiator. Int. J. Adapt. Control Signal Process. 2019, 33, 557–566. [Google Scholar] [CrossRef]
- Su, Y.; Huang, J. Stability of a Class of Linear Switching Systems with Application to Two Consensus Problems. IEEE Trans. Autom. Control 2012, 57, 1420–1430. [Google Scholar] [CrossRef]
- Hunter, J.D. Matplotlib: A 2D graphics environment. Comput. Sci. Eng. 2007, 9, 90–95. [Google Scholar] [CrossRef]
- Park, J.-H.; Kim, S.-H.; Park, T.-S. Approximation-Free Output-Feedback Control of Uncertain Nonlinear Systems Using Higher-Order Sliding Mode Observer. J. Dyn. Syst. Meas. Control 2018, 140, 124502-1–124502-5. [Google Scholar] [CrossRef]
- Park, J.-H.; Huh, S.-H.; Kim, S.-H.; Seo, S.-J.; Park, G.-T. Direct Adaptive Controller for Nonaffine Nonlinear Systems Using Self-Structuring Neural Networks. IEEE Trans. Neural Netw. 2005, 16, 414–422. [Google Scholar] [CrossRef]
- Park, J.-H.; Kim, S.-H.; Moon, C.-J. Adaptive Neural Control for Strict-Feedback Nonlinear Systems without Backstepping. IEEE Trans. Neural Netw. 2009, 20, 1204–1209. [Google Scholar] [CrossRef]
- Park, J.-H.; Park, G.-T.; Kim, S.-H.; Moon, C.-J. Direct Adaptive Self-Structuring Fuzzy Controller for Nonaffine Nonlinear Systems. Fuzzy Sets Syst. 2005, 153, 429–445. [Google Scholar] [CrossRef]
- Park, J.-H.; Park, G.-T.; Kim, S.-H.; Moon, C.-J. Output-feedback control of uncertain nonlinear systems using a self-structuring adaptive fuzzy observer. Fuzzy Sets Syst. 2005, 151, 21–42. [Google Scholar] [CrossRef]
- Park, J.-H.; Kim, S.-H. Direct Adaptive Output-Feedback Fuzzy Controller for Nonaffine Nonlinear System. IEE Proc. Control Theory Appl. 2004, 151, 65–72. [Google Scholar] [CrossRef]
- Park, J.-H.; Park, G.-T. Robust Adaptive Fuzzy Controller for Nonaffine Nonlinear Systems with Dynamic Rule Activation. Int. J. Robust Nonlinear Control 2003, 13, 117–139. [Google Scholar] [CrossRef]
- Park, J.-H.; Park, G.-T. Robust adaptive fuzzy controller for nonlinear system using estimation of bounds for approximation errors. Fuzzy Sets Syst. 2003, 133, 19–36. [Google Scholar] [CrossRef]
© 2020 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).