Abstract
There are three kinds of commonly used fractional calculus definitions. And they are Grünwald-Letnikov (GL) calculus, Riemann-Liouville (RL) calculus, and Caputo calculus. Relationship among GL, RL and Caputo calculus is the basis for formalization of fractional order control systems. Higher order logic theorem proving method is applied to construe the relationship in this paper. The essential differences among these three definitions are introduced firstly. Relationship between GL calculus and Caputo calculus is verified by a higher order logic theorem prover. And then the relationship between RL definition and Caputo calculus is also formalized in this paper. The study provides a good research foundation for formal verification of fractional order PI controller. The fractional order PI controller in a humanoid robot system has been verified based on the formalization of fractional calculus. Results show that fractional order PI controller is very effective and reliable. And it also shows that the formalization of fractional calculus definitions is correct. It provides the research method for formalization of fractional order control systems.
Introduction
Fractional calculus is traceable in 1695 [1]. And it has a history of more than three hundred years. Fractional calculus extends the order of integer order calculus from integer to non-integer. Fractional order models based on fractional calculus can describe nature characteristics and property behavior of real-time systems more accurately. At present, fractional calculus has been widely used in various fields [2, 3, 4, 5, 6, 7]. It can be used to represent dynamic course of the system which cannot be described accurately by integer order system. Research has shown that fractional calculus can more accurately depict the attributive character of actual systems [8, 9, 10, 11, 12].
There are three kinds of commonly used definitions of fractional calculus. They are Grünwald-Letnikov (GL) calculus, Riemann-Liouville (RL) calculus, and Caputo calculus [13]. Relationship among GL, RL and Caputo calculus definitions is very important. And the relationship is the basis for fractional order control systems. Fractional order PI controller is one of fractional order PID controller. This relationship should have a complete proof. That will provide a firm foundation for correctness of fractional order systems. The complete formalization of fractional order PID controller is the guarantee of system operation.
The relationship can be verified by theoretical paper-and-pencil proof techniques. But traditional manpower analysis method is very easy to mistake due to the required complex calculations. The most commonly used analysis method for fractional calculus is simulation method which is on the basis of numerical computation. The simulation method cannot give accurate results. Therefore, the system is prone to error. Theorem proving has been successfully used in software and hardware [14]. Theorem proving provides a viable underpinning for an accurate analysis of the relationship among three fractional calculus definitions. Mathematical models of fractional calculus definitions can be converted into logical models in theorem proving. Logically it is verified to be correct. Siddique and Hasan [15] has formalized Gamma function and RL calculus. Shi et al. [16] has formalized GL calculus. In [17], we have established the formalization of Caputo calculus definition. And in this paper the relationship among three kinds of fractional calculus definitions will be verified using higher order logic theorem prover (HOL).
Higher Order Logic (HOL) system is used to the formal study on fractional order theory in this paper. HOL is an interactive theorem prover [18]. The formal logic is interfaced to a general purpose programming language in which terms and theorems of the logic can be denoted, proof strategies expressed and applied, and logical theories developed. The version of higher order logic used in HOL is predicate calculus with terms from the typed lambda calculus. This was originally developed as a foundation for mathematics. The primary application area of HOL was initially intended to be the specification and verification of hardware designs. However, the logic does not restrict applications to hardware. HOL has been applied to many other areas. The HOL syntax contains syntactic categories of types and terms whose elements are intended to denote respectively certain sets and elements of sets.
The rest of the paper is organized as follows: Section 2 presents formalizations of the relationship among three fractional calculus definitions in HOL. Section 3 proposes formalizations of fractional PI controller based on fractional calculus. Conclusions are drawn in Section 4.
Formalization of relationship
GL calculus, RL calculus and Caputo calculus are the most commonly used fractional calculus definitions. These definitions can be consistent in certain conditions. And they also have different characteristics, respectively [19, 20]. GL calculus extends calculus concept from integer to any real number based on integer higher order derivatives. It is suitable for numerical calculations. For numerical calculation of fractional differential equations, researchers have proposed many approaches based on GL calculus [21]. These methods have greatly improved the computational accuracy and complexity. GL calculus definition also has greatly contributed to the practical application of fractional order calculus. However, GL calculus is complex and this definition has a strong premise condition. GL calculus will have a certain limitation for practical problems. In 1872, Letnikov proposed another definition which can weaken the premise condition. That is RL calculus. RL calculus defines fractional calculus by Cauchy’s integral formula and general derivative. It is defined as the differential integral form which makes the mathematical analysis of fractional calculus become easier. RL calculus is good at the calculation for space fractional order derivative. Compared with GL calculus, RL calculus is more commonly used. But there is a little critical requirement that the function must be continuous and integrable in RL calculus. And the application of RL calculus is still restricted because the initial value lacks physical meaning [22]. In order to solve this problem, Caputo calculus was proposed [23]. Caputo calculus can facilitate the modeling of actual problems. Caputo calculus is more able to reflect the feature that fractional calculus is the expansion of integer order calculus. Therefore, Caputo calculus is more widely used in the modeling of actual problems.
When the initial value is zero, GL calculus and Caputo calculus are equivalent. And RL calculus and Caputo calculus are equivalent when the original function
Where
val FRAC_C_GL =
Where, F RAC C GL is a defined name that represents the relationship between two definitions. And f rac c represents Caputo calculus. f rac gl represents GL calculus. And f a is the value of the function f with lower limit a. And Gamma represents Gamma function. The variable is the real (1-v). When the initial value of function is zero, two fractional calculus definitions are equivalent. This can be verified in HOL.
FRAC_C_GL_EQ =
Here,
Relationship between RL calculus and Caputo calculus is as following:
This relation is formalized in HOL as follows:
val FRAC_C_RL =
Here, FRAC_C_RL is the name that represents the relationship between Caputo calculus and RL calculus. And frac_rl represents RL calculus. And
We should also be able to deduce that two definitions are consistent when function
FRAC_C_RL_QE =
(
Formal difficulty is how to construct the model in HOL. In prerequisite, function
Because high order logic formalized validation is completeness validation method. The results of theorem proving are also precise and perfect. Then fractional PI controller has been formalized based on fractional calculus and some of the properties [24].
Fractional order PI controller is one of fractional order PID controller [25]. During the robot’s autonomous positioning and navigation, fractional PI controller can reduce the error between actual position and estimate position [26]. This method is very effective and reliable in the NAO humanoid robot navigation. In [26], the coefficient of fractional PI controller, K_p
Mathematical expressions of fractional order PI controller in the time domain and frequency domain have:
The higher-order logic formalization of Eq. (3) is as follows:
val FOPI_controller_time_domain =
= K_p * e_t t + K_i * frac_c e_t (-lambda) 0 t
Here, u_t_pi is output of fractional PI controller; e_t is input; K_p is the proportionality coefficient; K_i is integration coefficient; and lambda is order of integration. The higher-order logic formalization of Eq. (4) is as follows:
Formal analysis of fractional order PI controller.
val FOPI_controller_frequency_domain =
= K_p + K_i * s complex_rpow (-alpha)
Where, C_s_pi is the transfer function. (s complex_rpow v) denotes power operation when bottom number is complex number. And the higher-order logic formalization is:
val complex_rpow =
Here complex_ln represents natural logarithm function based on complex number. And its mathematical expressions is
val complex_ln =
(ln (modu z),0) + (complex_scalar_rmul (0:real,1:real) (arg z))
Based on these formalization definitions and fractional calculus, fractional PI controller in [26] can be verified in HOL. Firstly, linearity of fractional PI controller is verified.
((
/
/
/
/
/
==> (u_t_pi 0.7 ((
= k * (u_t_pi_1 0.7 e_t_1 0.2 0.1 t) + l * (u_t_pi_2 0.7 e_t_2 0.2 0.1 t))
Fractional order PI controller can reduce error and improve the precision. Then the fractional order PI controller can be validated in HOL.
==> (lim(
= (0:real))
Firstly, object function is simplified by above formalization definitions in HOL. Then original target is divided into two subgoals. For the first subgoal, strategy METIS_TAC can be used during the verification. Another subgoal can be simplified by fractional calculus formalization definition. Goal is verified by Theorems and Strategy SELECT_ELIM_TAC and CONJ_TAC.
High order logic formalized validation is a formal verification method. The formalization process is intuitive and mathematic. Based on theorem prover HOL, the relationship among three fractional calculus definitions is verified. The relationship among three fractional calculus definitions is the theoretical bases for extensive application of fractional order systems. Therefore, formalizations of the relationship are the critical work in this paper. Then fractional PI controller is formalized based on formalized. The achievements will provide a theoretical basis for the higher order logic formalized analysis of fractional order systems.
Footnotes
Acknowledgments
This work was supported by the National Natural Science Foundation of China (61862062, 6110 4035).
