Abstract
This paper proposes algorithms to model fractional (dynamical) behaviors using non-singular rational kernels whose interest is first demonstrated on a pure power law function. Two algorithms are then proposed to find a non-singular rational kernel that allows the input-output data to be fitted. The first one derives the impulse response of the modeled system from the data. The second one finds the interlaced poles and zeros of the rational function that fits the impulse response found using the first algorithm. Several applications show the efficiency of the proposed work.
1. Introduction
The search for non-singular kernels [1,2,3,4,5] or alternative solutions to fractional models [6,7] is gaining momentum in the field of modeling fractional dynamical behaviors. Using such kernels makes it possible to overcome certain limitations of fractional models, such as fractional differential equations or pseudo-state space descriptions, which have recently been highlighted [8,9,10,11,12,13,14]. For instance, it was demonstrated that a fractional integrator operator in the Riemann–Liouville sense [15,16] involves infinitely large and infinitely small time constants, which makes fractional models doubly infinite models: infinite because distributed, but also infinite as defined on an infinite equivalent spatial domain [17]. In a modelling context, these infinitely large and infinitely small time constants are not required to capture the behavior of a real system that operates on finite spatial and time scales. Moreover, these time constants introduced by fractional models (and that do exist in the modelled system) can greatly complicate the analyses and lead to erroneous conclusions on certain internal properties of the modelled system. This is the case for initialization [18,19] or observability for example [20].
However, fractional behaviors (produced by physical phenomena) and fractional models should be distinguished. The former designates a property of a physical system while the latter designates a model class, among a set of model classes able to capture fractional dynamical behaviors. Based on this observation, a whole new field opens up, from the search for new models dedicated to capturing fractional behaviors to the study of their properties and the development of identification methods. A few studies undertaken from this perspective are already available in the literature [6,7], which is also the case in the present article.
To overcome the limitations mentioned in the first paragraph, we propose in this paper to use non-singular rational kernels to model fractional behaviors and propose an algorithm to find the parameters in the kernel description. Non-singular rational kernels are considered for the three following reasons:
- -
- a fractional behavior defined by the power law , can be associated with a rational function with an infinite number of interlaced poles and zeros as shown in this paper.
- -
- the approximation of such a function by rational functions of degree leads to a very small approximation error in comparison to polynomials of degree [21];
- -
- rational kernels permit the approximation of fractional behaviors with a reduced number of parameters in comparison to fractional models.
For all these reasons, it appeared necessary to develop a simple and efficient algorithm allowing the determination of the coefficients of a rational kernel in a convolution model, which fits a given fractional behavior with a defined given level of accuracy.
To the best knowledge of the authors, there is no method that allows a direct estimation of the parameters of a rational kernel in a convolution model. That is why we have defined a two-step method that consists of:
- -
- first, estimating the time response of the kernel in the convolution model that fits the input-output behavior of the modeled system.
- -
- then, estimate the parameters of a rational function that fits the kernel time response.
For the second step of this strategy, there are many methods that allow rational interpolation [22,23,24,25,26]. But these methods are not well adapted to fractional behaviors, that is to say with time behaviors with slow convergence. On the other hand, when working in the logarithmic domain as in the methodology we propose, a time compression occurs which facilitates fitting over large time domains.
The paper is thus organized as follows. In Section 2, the approximation of a pure power law function by a rational function involving interlaced poles and zeros is considered. It demonstrates the accuracy and the simplicity of rational kernels to approximate a fractional behavior and thus justifies their use. In Section 3, two algorithms are proposed to find a non-singular rational kernel capable of fitting input-output data. The first one derives the impulse response of a system from the data. The second one finds the interlaced poles and zeros of the rational function that is used to fit the impulse response found in the first step. Several applications are presented in Section 4 to show the efficiency of the proposed algorithms.
2. Approximation of a Pure Power Law Behavior by Non-Singular Rational Kernels
This section shows the efficiency of non-singular rational kernels for the modelling of fractional behaviors. The fractional behavior considered is first the pure power law function:
This function indeed falls within the definition of a fractional integration order operator defined in the Riemann–Liouville sense by [15,16]
with . The idea is to approximate the kernel by a non-singular rational kernel , to avoid the limitations cited in the introduction, while allowing the model
to capture fractional behaviors.
For the approximation of , the following rational kernel is considered:
The decimal logarithm of is
Decimal logarithm applied to the function gives:
At , from (1),
and using relation (4),
Thus, to ensure that , it is imposed that
The functions and of relation (5) are represented in Figure 1 for , as a function of . For and , the functions and behave, respectively, as lines of slope 1 and −1. The function given by relation (2) has a slope of on a logarithmic scale. Thus, taking inspiration from the work which aimed to approximate fractional integrator operators in the frequency domain [27,28,29,30,31,32], and adapting them to the time domain, the function can be approximated by choosing the appropriate values of and in an alternation of function and .
Figure 1.
Representation of functions and for , as functions of .
Figure 2 describes how the functions and are used to produce the desired slope. On this figure, it is assumed that an approximation of relation (1) is required on the time interval . In the functions and , it is assumed that the time and meet the following relations
Figure 2.
Illustration of the algorithm used to approximate an affine function of slope (red line) by an alternation of function and (blue line).
It is assumed that functions and are used for the approximation. Thus, according to Figure 2, it can be written
In order for the distribution of times and to lead to the same slope as the function to be approximated, the following conditions on the slopes must be verified
which can be combined into:
Using the non-singular rational function of relation (4), an approximation of the function , which is close to the impulse response of a fractional integrator, can then be obtained using the following algorithm.
Figure 3 illustrates the efficiency of the above approximation algorithm for the power law function (1) with and . In this application the following parameters were used: , , thus leading to , , and .
Figure 3.
Comparison of and with a logarithmic time scale.
Based on this analysis we can say that
in which the poles and zeros are linked by relations (10) to (12).
It must be noticed that the kernel is singular at time . With the method we propose, we can get as close as necessary to 0 with the approximation method developed as it is done on a defined time interval. The accuracy of the approximation then depends on the number of poles and zeros used in the approximation.
But the problem is not whether it is possible or not to fit a pure power law, because in practice it is not necessary to do so. As mentioned in the first paragraph of the introduction, if a pure power law is used in a convolution product as in relation (3), the resulting model has infinitely large and infinitely small time constants. In modelling context, these infinitely large and infinitely small time constants are not required to capture the behaviour of a real system that operates on finite spatial and time scales. Thus, in practice, it is not necessary to be able to fit a pure power law for times tending to 0 or infinity.
Figure 4 compares the approximation given by relation (4) associated with Algorithm 1, and the approximation currently used in the literature for function (1) (close to the impulse response of a fractional integrator), based on a distribution of the exponential function in the time domain:
which corresponds to the inverse Laplace transform of the transfer function
with
Figure 4.
Comparison of , and with a logarithmic time scale.
In the comparison of Figure 4, parameters and are chosen equal to 7 and 0.3 for relations (18) to (20). Parameters , and in relation (20) and , and in relation (4) are chosen so that the two approximations cover the same time domain:
, , and for relation (4),
, , and for relation (18).
In the same figure, the comparison is also done with the function (1) with and .
Within the approximation interval, this figure reveals a better approximation with relation (4) with significantly fewer oscillations.
| Algorithm 1: Approximation of a Pure Power Law Behavior |
| 1: Chose the time interval on which the approximation is required and the degree of the rational function. |
| 2: Compute . |
| 3: Compute and . |
| 4: Compute and the other and using relations (10) and (11). |
| 5: Compute . |
3. Algorithms to Model More General Fractional Behaviors
This section proposes an algorithm to determine a non-singular rational kernel of the model in relation (3) from input-output data produced by a system with a fractional behavior. The algorithm allows an approximation of the kernel with a given absolute bound on the error. The algorithm is split into parts:
- -
- computation of the kernel sample which is described in Section 3.1,
- -
- computation of the kernel approximation with a non-singular rational function, which is described in Section 3.2.
3.1. A Least Squares Method to Obtain the Kernel Samples
In order to obtain the kernel (3) samples , let and be, respectively, the output and the input of this system, that is
If and are sampled with a sampling period , then at time , ,
Many numerical schemes can then be used to evaluate the integrals in (23). With Gaussian quadrature, then
For k = 1
For k = 2
For k = 3
For k = 4
An approximation of the kernel function for , can thus be obtained by solving in the least square sense the linear system of equations
obtained by writing the expression of output given by relation (24) for .
In order to evaluate the efficiency of this algorithm, it is applied to the data produced by the fractional model:
with , , , , , .
After partial fraction expansion of the transfer function (30), the exact impulse response of the transfer function is given by:
with
To generate data, the pseudo-random binary sequence of Figure 5 is used as an input of the transfer function . In Figure 6, the function estimated using the algorithm described above is compared to the function . It reveals a very accurate estimation of , with a quadratic error over data samples
Figure 5.
Pseudo random binary sequence used as the input of the transfer function .
Figure 6.
Comparison of and .
3.2. Algorithm for Sample Fitting with a Non-Singular Rational Kernel and a Given Absolute Error Bound
The interlaced poles and zeros concept in a non-singular rational function proved its efficiency in Section 2 to fit a pure power law behavior (a fractional behavior). The concept is used again here to develop an algorithm for fitting more general fractional behaviors from their impulse response (that can be computed as detailed in Section 3.1) with a given absolute error bound . This algorithm is given below.
It must be noted that with Algorithm 2, the time domain on which the poles are located is defined in step 1. At this step, it is supposed that the function to fit, , is known on the interval with . This is on this interval that the poles and the zeros are placed by the algorithm. There is thus no risk for instability and ill-conditioning with relation (4).
| Algorithm 2: Fitting of a general fractional behaviour with a Non-Singular Rational Kernel and a Given Absolute Error Bound |
| 1: Compute on ; select ; initialise ; initialise ; |
| 2: Compute the bound and on ; |
| 3: Compute and ; |
| 4: if ; |
| 5: if ; |
| 6: if , ; ; ; |
| 7: if , ;; |
| 8: Compute and on ; if ; if ; |
| 9: If or go to to step 6; |
| 10: end. |
Algorithm 2 is now applied to another fractional behavior: the impulse response of a fractional model defined by the transfer function
with , , , , , .
After partial fraction decomposition, the impulse response of the transfer function is defined analytically by:
with , and .
The results produced by Algorithm 2 for three values of , , and are shown in Figure 7. This figure shows the function and the two bounds and . It also shows:
Figure 7.
Comparison of and for the impulse response of model (30), for 3 values of . left column: asymptotic diagram built by the algorithm, right column: obtained function .
- -
- on the left, how poles and zeros are added in as the asymptotic behavior of this function intersects the upper and lower bounds.
- -
- on the right, the resulting function .
This figure demonstrates the efficiency of the proposed algorithm to fit a fractional behavior. It also shows that it is possible to control the accuracy of this fitting through parameter . This is confirmed by the calculation of the absolute error
for the three values of considered. These errors , reported in Table 1, decrease as decreases.
Table 1.
Comparison of and .
This comparison permits us to say that, even if I + f convergence of the kernel is slow as the time tends towards infinity, the fitting method described by Algorithm 2 remains possible. The order of the fraction will increase, but it is still possible. Nevertheless, it must be mentioned that, when working in the logarithmic domain, a sort of time compression occurs which facilitates fitting over large time domains.
Another kind of impulse response is now considered, the one produced by the transfer function (30) and which is defined analytically by relation (31). The result obtained with Algorithm 2 is shown in Figure 8 and reveals again times the impulse response fitting in compliance with the imposed bound.
Figure 8.
Comparison of and for the impulse response of model (27) with . left column: asymptotic diagram built by the algorithm, right column: obtained function .
4. Conclusions
In this paper, several algorithms are proposed to fit a fractional dynamical behavior using a convolution integral involving a rational kernel. In the case of a pure power law function, a first algorithm based on an interlacing distribution of poles and zeros in the rational kernel is given. Using a logarithmic scale on the abscissa and ordinate axes, a power law function of order ( appears as a line of slope . It is thus possible to approximate it by interlacing poles and zeros which, respectively, induce in this same system of coordinates, an asymptotic behavior of slope −1 and 1. It is then demonstrated that the values of the poles and zeros are linked by geometric ratios that are computed by the algorithm. This fitting solution appears to be similar to the one commonly used in the frequency domain to approximate the behavior of a fractional integrator or differentiator. In fact, it is observed that the solution proposed here in the time domain leads to fewer oscillations for the same number of poles and zeros.
Inspired by the idea of interlacing of poles and zeros, a second algorithm is proposed to fit the impulse response of a system with any fractional dynamical behavior. First, we propose a solution based on a least squares method to derive the sampled-data impulse response of a dynamical system from input-output data. Then, the solution to obtain an approximant of this impulse response in the form of a rational function consists of adding poles or zeros in the approximant so that the error remains bounded in absolute value. This algorithm adds a pole if the approximant asymptotic diagram induced by the pole or the zeros previously added intersects the selected upper bound, and vice versa, a zero is added if the asymptotic diagram of the approximant induced by the pole or the zero previously added intersects the lower bound. In the applications proposed in the paper that illustrate the algorithm’s efficiency, a constant error bound is imposed over the whole approximation time interval. However, this algorithm also works by taking different upper and lower bounds and functions of time. This algorithm is able to place the poles and zeros of the approximation and limit the approximation error between an upper and lower bound, but this placement is sub-optimal with regard to the quadratic error between the impulse response and its approximation. Moreover, this sequence of two algorithms (kernel samples computation using the algorithm described in Section 3.1 and then fitting the kernel samples with a rational kernel using Algorithm 2) can lead to the accumulation of errors. Furthermore, although Algorithm 2, which is recursive, has a low chance of leading to numerical instabilities, the algorithm used in Section 3.1 may have some. On the other hand, the solution we propose is very simple to implement and can constitute a solution for initializing future algorithms which will be developed by the authors. The authors have also now to consider additional real-life fractional behavior in order to clearly identify the limits of the use of non-singular rational kernels in modeling situations and to consider possible significant changes over time in the modelled system behavior.
This work is an additional illustration that fractional behaviors can be modelled using other tools than the ones based on fractional calculus.
Author Contributions
Conceptualization, J.S. and C.F.; methodology, J.S. and C.F.; validation, J.S. and C.F.; writing—original draft preparation, writing—review and editing, J.S. and C.F. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Data Availability Statement
Data available on request as no repository were created.
Conflicts of Interest
The authors declare no conflict of interest.
References
- Caputo, M.; Fabrizio, M. A new definition of fractional derivative without singular kernel. Prog. Fract. Differ. Appl. 2015, 1, 73–85. [Google Scholar]
- Atangana, A.; Baleanu, D. New fractional derivatives with nonlocal and non-singular kernel: Theory and application to heat transfer model. Therm. Sci. 2016, 20, 763–769. [Google Scholar] [CrossRef]
- Hristov, J. Derivatives with Non-Singular Kernels from the Caputo-Fabrizio Definition and Beyond: Appraising Analysis with Emphasis on Diffusion Models. In Frontiers in Fractional Calculus; Chapter 10; Bentham Science Publishers: Sharjah, United Arab Emirates, 2017. [Google Scholar]
- Saad, K.M.; Atangana, A.; Baleanu, D. New fractional derivatives with non-singular kernel applied to the Burgers equation. Chaos 2018, 28, 063109. [Google Scholar] [CrossRef] [PubMed]
- Hattaf, K. A New Generalized Definition of Fractional Derivative with Non-Singular Kernel. Computation 2020, 8, 49. [Google Scholar] [CrossRef]
- Sabatier, J.; Farges, C.; Tartaglione, V. Fractional Behaviours Modelling: Analysis and Application of Several Unusual Tools, Intelligent Systems, Control and Automation: Science and Engineering Series; Springer: Cham, Switzerland, 2022; Volume 101. [Google Scholar]
- Sabatier, J. Modelling Fractional Behaviours without Fractional Models. Front. Control. Eng. 2021, 2, 716110. [Google Scholar] [CrossRef]
- Dokoumetzidis, A.; Magin, R.; Macheras, P. A commentary on fractionalization of multi-compartmental models. J. Pharmacokinet. Pharmacodyn. 2010, 37, 203–207. [Google Scholar] [CrossRef] [PubMed]
- Sabatier, J.; Farges, C.; Trigeassou, J.-C. Fractional systems state space description: Some wrong ideas and proposed solutions. J. Vib. Control 2014, 20, 1076–1084. [Google Scholar] [CrossRef]
- Balint, A.M.; Balint, S. Mathematical Description of the Groundwater Flow and that of the Impurity Spread, which Use Temporal Caputo or Riemann–Liouville Fractional Partial Derivatives, Is Non-Objective. Fractal Fract. 2020, 4, 36. [Google Scholar] [CrossRef]
- Sabatier, J.; Farges, C.; Tartaglione, V. Some Alternative Solutions to Fractional Models for Modelling Power Law Type Long Memory Behaviours. Mathematics 2020, 8, 196. [Google Scholar] [CrossRef]
- Sun, H.; Wang, Y.; Yu, L.; Yu, X. A discussion on nonlocality: From fractional derivative model to peridynamic model. Commun. Nonlinear Sci. Numer. Simul. 2022, 114, 106604. [Google Scholar] [CrossRef]
- Pantokratoras, A. Comment on the paper “Fractional order model of thermo-solutal and magnetic nanoparticles transport for drug delivery applications, Subrata Maiti, Sachin Shaw, G.C. Shit”. Colloids Surf. B Biointerfaces 2023, 222, 113074. [Google Scholar] [CrossRef] [PubMed]
- Pantokratoras, A. Discussion on the paper “A Numerical Scheme for Fractional Mixed Convection Flow Over Flat and Oscillatory Plates, Yasir Nawaz, Muhammad Shoaib Arif, Kamaleldin Abodayeh”. J. Comput. Nonlinear Dyn. 2022, 17, 071008. [Google Scholar]
- Podlubny, I. Fractional Differential Equations. In Theoretical Developments and Applications in Physics and Engineering Mathematics in Sciences and Engineering; Academic Press: Cambridge, MA, USA, 1999. [Google Scholar]
- Samko, S.G.; Kilbas, A.A.; Marichev, O.I. Fractional Integrals and Derivatives: Theory and Applications; Gordon and Breach Science Publishers: London, UK, 1993. [Google Scholar]
- Sabatier, J. Fractional Order Models Are Doubly Infinite Dimensional Models and thus of Infinite Memory: Consequences on Initialization and Some Solutions. Symmetry 2021, 13, 1099. [Google Scholar] [CrossRef]
- Ortigueira, M.D.; Coito, F.J. System initial conditions vs derivative initial conditions. Comput. Math. Appl. 2010, 59, 1782–1789. [Google Scholar] [CrossRef]
- Sabatier, J.; Farges, C. Comments on the description and initialization of fractional partial differential equations using Riemann–Liouville’s and Caputo’s definitions. J. Comput. Appl. Math. 2018, 339, 30–39. [Google Scholar] [CrossRef]
- Sabatier, J.; Farges, C.; Merveillaut, M.; Fenetau, L. On observability and pseudo state estimation of fractional order systems. Eur. J. Control 2012, 18, 260–271. [Google Scholar] [CrossRef]
- Newman, D.J. Newman, Rational approximation to |x|. Mich. Math. J. 1964, 11, 11–14. [Google Scholar] [CrossRef]
- Lether, F.G. Thiele Rational Interpolation for the Numerical Computation of the Reversible Randles–Sevcik Function in Electrochemistry. J. Sci. Comput. 1999, 14, 259–274. [Google Scholar] [CrossRef]
- Nakatsukasa, Y.; Sète, O.; Trefethen, L.N. The AAA Algorithm for Rational Approximation. SIAM J. Sci. Comput. 2018, 40, A1494–A1522. [Google Scholar] [CrossRef]
- Filip, S.-I.; Nakatsukasa, Y.; Trefethen, L.N.; Beckermann, B. Rational Minimax Approximation via Adaptive Barycentric Representations. SIAM J. Sci. Comput. 2018, 40, A2427–A2455. [Google Scholar] [CrossRef]
- DeVore, R.A. Approximation by Rational Functions. Proc. Am. Math. Soc. 1986, 98, 601–604. [Google Scholar] [CrossRef][Green Version]
- Cuyt, A. Rational Approximation Theory: A state of the art. Acta Appl. Math. 1993, 33, 119. [Google Scholar] [CrossRef]
- Manabe, S. The non-integer Integral and its Application to control systems. ETJ Jpn. 1961, 6, 83–87. [Google Scholar]
- Carlson, G.E.; Halijak, C.A. Simulation of the Fractional Derivative Operator and the Fractional Integral Operator. Available online: http://krex.k-state.edu/dspace/handle/2097/16007 (accessed on 15 January 2008).
- Ichise, M.; Nagayanagi, Y.; Kojima, T. An analog simulation of non-integer order transfer functions for analysis of electrode processes. J. Electroanal. Chem. Interfacial Electrochem. 1971, 33, 253–265. [Google Scholar] [CrossRef]
- Oustaloup, A. Systèmes Asservis Linéaires d’ordre Fractionnaire; Masson: Paris, France, 1983. [Google Scholar]
- Raynaud, H.-F.; Zergaïnoh, A. State-space representation for fractional order controllers. Automatica 2000, 36, 1017–1021. [Google Scholar] [CrossRef]
- Charef, A. Analogue realisation of fractional-order integrator, differentiator and fractional PIλDµ controller. IEE Proc. Control Theory Appl. 2006, 153, 714–720. [Google Scholar] [CrossRef]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 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 (https://creativecommons.org/licenses/by/4.0/).