Fractional order inspired iterative adaptive control

Abstract Although several studies have revealed that fractional order controllers usually outperform conventional integer-order control solutions, fractional order controllers are not yet widely applied in industrial applications due to their complex mathematical background. In this paper, further improvements of a simple weighted sum feedback design are introduced that imitates the behavior of a fractional order controller but is free from its various formal restrictions. The proposed control solution has the main characteristics of a fractional order controller, such as finite memory length, excellent transient response with no overshoot and robust behavior, but it is placed into a much simpler mathematical framework. In the current paper, a simple derivative term was incorporated in the design which made the controller’s output more stable by completely eliminating output chattering. The proposed control method was developed for a general second-order system. It was tested in a fixed point iteration-based adaptive control scenario, through simulations using a robotic example and on experimental basis as well, utilizing a simple one-degree-of-freedom electromechanical system. The presented experiments are the first systematic investigations of the fixed point iteration-based adaptive control method.


Introduction
Fractional calculus is a generalization of differential calculus invented by Isaac Newton and Gottfried Leibniz, which includes non-integer order differential and integral.The origin of fractional calculus dates back to the late 17th century, since in 1695 L'Hospital wrote a letter to Leibniz, in which the following famous question arose -"What if n be 1/2?"(this question referred to a differential of 1/2th order) [1].Over the years, many famous mathematicians contributed to the development of fractional calculus including Euler, Lagrange, Laplace, Fourier, etc. [1,2], also various definitions were developed for fractional order operators, which can be used in different research areas [3,4].The most commonly used definitions are the Riemann-Liouville, the Grünwald-Letnikov and the Caputo versions [5].In the past few decades, fractional order calculus gained a great deal of attention both from scientific and industrial community.Extensive research was carried out in different application areas, showing that it has ample applications in biology [6], modeling distributed systems [7], viscoelastic phenomena [8], systems with delay [9], industrial applications [10], etc.It is considered at the deepest level of formulating physical principles [11].Discrete-time realization of the concept was considered for example in ref. [12].Regarding control applications, the superiority of fractional order control solutions was emphasized in refs.[13,14], foreshadowing the widespread of Fractional Order Proportional-Integral-Derivative (FOPID) controllers in industrial applications.Perhaps one of the most known features of FOPID controllers is the excellent startup response.In ref. [15], a Fractional Order Proportional Integral (FOPI) and a conventional PI ( Proportional Integral) control solution were tested on an electromechanical drive system in which the FOPI controller outperformed the PI controller, by almost fully eliminating the initial overshoot and the oscillation of the system, both in position and speed control.Various other studies showed similar results using fractional order feedback terms in their design, in robotics and in other process control applications (e.g.: refs.[16][17][18]).Besides excellent startup response of fractional order controllers (FOCs), some studies also showed that they can work more energy efficiently [19], which makes this control approach more suitable for "off grid" applications (i.e., mobile robots, drones, etc.).
Fractional order feedback can be formulated in various manners.Perhaps the most intuitive solution is the generalization of a PID controller, introduced by Podlubny in ref. [20] as where ℐ λ t is a general non-integer order integral operator of order λ ∈ R, and in similar manner,  μ t is a general non-integer order differential operator of order μ ∈ R and e(t) is the error.Equation ( 1) is often called the output equation of a PI λ D μ controller, which yields a simple PID controller with K p proportional, K i integral and K d derivative gain, for λ, μ = 1 parameter settings.For FOPID controllers, theoretically λ, μ might have any values, however, due to the physical interpretations, it is usually chosen from [0, 2] interval [5], providing additional tuning options to the user to more efficiently shape the system response, that way stabilizing the controlled system and improve its robustness.Using the Laplace transform of fractional derivative and integral with zero initial conditions [21], the parallel form of transfer function can be obtained, It is well known that fractional order systems are infinite dimensional so, in a control application, infinite number of elements should be considered from error signal's past (infinite memory).That way, digital implementation of FOCs usually involves some kind of approximation of fractional operators, for example, Oustaloup's recursive filter method [22] (or its improved version [23]) is often used [24][25][26][27].The essence of this solution is the approximation of s q , q ∈ R, q ∈ [−1, 1] fractional terms in a given frequency range [ω l , ω h ] as, where the ωk and ω k are consecutive zero and pole frequencies, which can be recursively calculated ωk = ω l ω h ω l k+N+0.5

(1−q) 2N+1
, , K = ω q k is the filter gain and the order of the recursive filter is n = 2N + 1.
Oustaloup's recursive filter provides very good approximations of the fractional order elements, however, it is limited to the [ω l , ω h ] frequency range.To overcome this issue, a time domain approximation was introduced in ref. [28] by Machado et al. for motion control applications.This solution is a simple nterm truncated series approximation of the Grünwald-Letnikov definition of fractional derivatives, which provides a simple digital implementation and robust behavior, however, it requires very low sampling times and high number of terms for good approximation.
These two examples nicely exhibit the implementation complexity of FOCs compared to that of the traditional PID controllers, since Eq. ( 1) can be implemented in a single line of code for λ = μ = 1 integer order case.This induced our research in a simple weighted sum feedback design (some preliminary results can be found in ref. [29]), which has properties similar to that of a FOC, such as short-term finite memory, robust behavior and excellent transient response with no overshoots, but completely independent from the mathematical framework of fractional order control that way providing a simple alternative to FOCs in motion control applications.The proposed weighted sum feedback design can be implemented in a fixed-point iteration-based (FPI-based) control scenario, that way a robust adaptive control solution can be achieved with good error convergence.The control method can be used in various applications, for example, controlling industrial robots (Section 5) or in life sciences.The application of FPI-based control in robotics has been widely investigated and it was shown that it can be combined with various classical methods, for example, it can improve the stability of a Slotine-Li Adaptive Robot Controller [30] or improve the parameter identification process in case of Adaptive Inverse Dynamics Controller [31].The adaptive deformation, which is the essence of FPI-based control, can guarantee a strictly prescribed behavior for the components of e(t), which is highly desirable for robot control applications, where no overshoot in the joint coordinates is also necessary for safe operation.The main contributions of this paper are: • In this paper, further improvement of a simple weighted sum feedback design is introduced, which eliminates the design issues of the originally proposed solution [29].This improved version generates a nice continuous output signal without output chattering, and it is easy to implement in a simple microcontroller.• The proposed control solution is tested and compared to a PID control solution on experimental basis on a simple electromechanical system using FPI-based adaptive control scenario.It can be an important milestone in the research of FPI control since although this control solution was introduced in 2009 [32], no systematic experimental results have been presented on this topic so far.
The paper is structured in the following manner.In Section 2, some implementation details of a fractional order computed torque controller are introduced, which served as an inspiration for our feedback design.Section 3 was divided into two parts.In the first part, some details were introduced about the originally proposed weighted sum design, and in the second part, the newly proposed and improved weighted sum design is introduced.In Section 4, a detailed description of FPI-based control is presented.Section 5 contains some simulation results for a robotic system since this paper serves as continuation of ref. [29].The proposed control solution was also verified on experimental basis in Section 6.Finally, in Section 7, the conclusions are summarized.

Fractional order computed torque control
In control applications, to achieve asymptotic error convergence, most commonly PID-type error feedback is used, which was developed at the beginning of the 20th century [33,34].For complex non-linear systems such as industrial robots, the mathematically simplest control solution is the Computed Torque Control (CTC) [35], which directly utilizes the available dynamic model of the system.However, later it was revealed that CTC controllers -as well as other model-based control solutions -were burdened by modeling imprecisions [36] which makes precise trajectory tracking rather difficult.CTC is a special implementation of PID control for trajectory-tracking application.If q N (t) ∈ R n denotes the nominal trajectory (in joint space), which should be precisely tracked by the robot and e int (t) := t t 0 e(ξ )dξ is the integral of the trajectory tracking error (e(t) = q Nom (t) − q Real (t)), then a kinematic prescription can be formulated as Evidently, the general solution of (4) can be given as the linear combination of certain basis functions that span the linear space of the solutions as e int (t) = 2 =0 a (t − t 0 ) exp (− (t − t 0 )) .In that solution the initial conditions are determined by the parameters {a 0 , a 1 , a 2 }, and the exponential terms of a 0 , a 1 and a 2 coeffcients are mapped to zero by the corresponding operators and finally + d dt 3 .That yields that the "desired value" of second derivative of the joint coordinates (q Des (t) ∈ R n ) can be obtained as In Eq. ( 5), R > 0 is the "error decay time constant" and ė(t) is the derivative error.controller for first-order systems), too.The obtained values of qDes (t) can be directly applied in the available dynamic model of our system in order to calculate the necessary control force (Q(t) ∈ R n ), which is then applied to the system.However, such solutions can generate significant overshoots or undershoots due to the integer order calculus used in their design.They are very sensitive to modeling errors, too.The PID feedback gains can be identified in (5) as K p = 3 2 , K d = 3 , K i = 3 .These gains can be calculated independently in more sophisticated manner, too, using the Lyapunov-equation [37,38], however, usually this requires continuous tuning of the parameters.
The control performance can be increased by introducing the second integral of the tracking error [39], but this may result in more significant overshoots and undershoots of the system, e int2 (t) := In similar manner, multiple integral terms can be incorporated into the kinematic prescription, which leads to one of the simplest definitions of fractional order feedback [40].The multiple integral terms can be expressed using "Riemann-Liouville n-fold Integral" formula, In Eq. ( 7), the solution can be extended to real and complex numbers if the 1 (n−1)!term is replaced with Euler's Gamma function ( (s) = (s − 1)!, s ∈ C), which can be calculated for complex numbers as well.The Riemann-Liouville Fractional Integral and Derivative of order C α > 0 are defined as the generalization of the Riemann-Liouville n-fold integral as, Upon careful revision of Eq. ( 8), some numerical issues can be revealed, since in the definition of Riemann-Liouville Fractional Derivative, the integrand is singular at its upper boundary (ξ = t).To tackle this problem, a simple solution was introduced in refs.[41,42], in which the numerical issues were avoided by applying an integer order integral of the fractionally derivated term.The idea is that consider the derivative term in (5) as the integral of the second derivative (ė(t) = ė(t 0 ) + t t 0 ë(ξ )dξ ), in which the derivative can be replaced with a fractional order α ∈ [0, 1] derivative as ė(t) = t t 0  α t 0 ė(ξ ) dξ .That way a simple fractional order PID-type kinematic design can be achieved as, Due to the integer order integral applied on the fractional derivative of ė(t), the numerically problematic integral in (8) can be eliminated.The integral in the last term of (9) can be numerically approximated, due to the "forgetting nature" of the integral term in the definition equation of fractional derivative, which allows the application of finite memory length ("old" data on the trajectory tracking error makes only negligible contribution -"short memory principle" [43]).The interval [(t 0 ≤ )t − T, t] was considered as a grid of points {t − Kδt = t − T, . . ., t − 2δt, t − δt, t}, and it was assumed that ė(t) did not vary considerably within the intervals.So (t − ξ ) −α dξ was applied in which for the integral simple closed-form formula was available.The closed-form integral term can be easily calculated for each [t i , t i + δt] interval, which yields C l coefficients in (10), that way a "weighted sum type" feedback can be achieved as, In the above equation, the "forgetting nature" of the solution can be revealed by C l coefficients, also it becomes apparent that this solution is free from the singularity issue mentioned previously (when ξ = t) by the fact that C 0 C 1 > 0. The parameters T and α can be arbitrarily set by the user.The latter describes the "speed of forgetting the past," and on the other hand, T characterizes the "memory length" of this solution.If a small value is selected for T, a similar solution can be achieved as in (5).In both refs.[41] and [42], it was shown that this type of fractional feedback can yield better transient response than conventional PID control solution.If α, 1 and 2 parameters are set correctly, the initial overshoot of the system can be reduced or sometimes completely evaded.

Fractional order inspired weighted sum-type feedback
One of the key features of the solution proposed in (9) is the finite memory length incorporated in its design due to fractional feedback term, which makes the trajectory tracking of a particular control system in the initial phase much better.That invokes the question "What if a similar principle is applied without the mathematical restrictions of fractional order calculus?".An answer to this question was proposed in ref. [29], which is a simple forgetting weighted sum-type solution characterized in the following subsection, including some of its advantages and disadvantages as well.

Preliminary research
Consider an order 2 system in which, on the basis of the dynamic model, q(t) can be set by the controller.Suppose that the trajectory tracking error is exponentially driven to 0 in monotonic manner, which makes it possible to apply the following time approximation, This approximation has obviously no memory effect, so the following modification was applied (the following feedback design will be denoted as Weighted Sum or WS feedback in the rest of the paper): in which the discrete memory length is H − 1.In the above equation, the C l coefficients serve a similar purpose as in Eq. ( 10), describing the "speed of forgetting the past".Equation ( 12) can be applied over a grid of points {t − lδt = t − T, . . ., t − 2δt, t − δt, t}, where the coefficient can be calculated using an arbitrarily chosen function, C ∝ f (t), so that 1 ≈ a 0 < 1, and for ∈ {1, . . ., H − 1} 0 ≈ a > 0 for small δt and reasonable > 0. As long as in a t i time instant, the calculated value of the desired trajectory tracking error is e Des (t i+1 ), the desired value of joint coordinates (sticking to a robotic control application) can be calculated as q Des (t i+1 ) = q N (t i+1 ) − e Des (t i+1 ), which leads to: using forward differences for differentiation.The convergence of sequence (Eq.( 9)) can be described in matrix form, for example, for a particular memory length (H = 4) https://doi.org/10.1017/S0263574723001595Published online by Cambridge University Press where matrix A contains all coefficients of each error term as , and it can be easily transformed into the Jordan canonical form through similarity transformation.From the structure of each Jordan Blocks (λI + ) in the main diagonal, it immediately follows that where λ ∈ C is an eigenvalue of the matrix in (14), and is a nilpotent upper triangular matrix of size m × m with the property of m = 0.The eigenvalues are the roots of the characteristic polynomial (det (λI − A)), which can be simply formulated as , that is easy to see when the determinant of ( 16) obtained through expansion according the last column, since most of the minors of matrix A are canceled due to the 0 elements.For δt → 0 limit, the roots of the polynomial can be easily obtained since a 11 → 1, and for a 1k → 0 for all k > 0, for example, p (5) (λ) = (λ − 1)λ 4 has the roots λ 1 = 1, and with greater multiplicity λ 2 = 0.For a small but non-zero δt, this polynomial varies continuously and its roots remain in the vicinity of 1 and 0, so based on the convergence requirement given in Eq. ( 15), the only concern is the root near 1, when δt > 0. For the estimation of its modification the form, λ 1 : 1 → 1 + μδt can be considered in the first order of δt while the other terms are modified as a 11 : 1 → 1 − C 0 δt, and a 12 : 0 → − C 1 δt, etc. Consequently (1 − a 11 ) varies as 0: δt that has first order in δt.Therefore, only the order 0 terms must be taken into account in λ 3 , in λ 2 and in λ 1 as 1.For instance, for the equation p (4) (1 + μδt) = 0, the approximation μ guarantees convergence for small δt and reasonable > 0 values [29].
The proposed solution method was successfully applied in an FPI-based adaptive control scene for controlling a 3-Dof PUMA-type robot arm (some simulation results are presented in Section 5 for comparison purposes).The simulations showed very nice behavior of the controlled system in the early stages of the control.The monotonic decrease of the trajectory tracking error was observed with no overshoots, on the other hand, the computational demand increased (which is a general problem for fractional order control).Later upon further investigation of the control solution, the following issues were revealed: • When the proposed solution was applied without adaptive control, a significant chattering was observed in the control force (which was nicely smoothed when FPI-based adaptive control was used).• Although chattering was sufficiently reduced in our preliminary simulations with the use of adaptive deformation, significant speed fluctuation was observed when applying the proposed control method in a motor control application.This can be caused by the time delays of the system and the higher cycle time of controller, which made the adaptive controller slightly less efficient than in the simulations, that way the chattering could not be smoothed anymore.• The solution became divergent when noise filtering was applied.
To resolve these issues a revised control solution will be proposed in the next section.

Higher order implementation of lower order control task
By considering the discrete-time approximation of the problem with time-resolution δt, the following statement can be done for (11a): Assuming that in a given t − δt control cycle, the initial conditions are e(t − δt) (trajectory tracking error in the current control cycle) ė(t − δt) (derivative of trajectory tracking error) that determines e(t), too.Using forward differences according to (13), the acceleration, which should be applied to the system assuming that q(t) can be set instantly, can be calculated as (a similar solution was applied in ref. [44]): The freshly set value of qDes (t − δt) can be calculated as: If the dynamic model of the controlled system is available, the necessary force can be computed as this control strategy can be realized for a second-order system consistently.In a more sophisticated manner, the solution can be formulated using differential equations since the second derivative of the tracking error can be introduced as ë(t) = − ė(t), however, this would result in information loss since the value of e remains undetermined to the tune of a constant value.Instead, the following idea can be chosen: consider the difference of ė(t) and − e(t) and drive it asymptotically to zero by the strategy Evidently, if λ , (ė(t) + e(t)) very quickly has to converge to zero, that is, the original first-order strategy is soon realized.Furthermore, it can be observed that (28) essentially corresponds to (24) if λ = 1 δt .In a digital controller, the Introducing an x def = [e ė] T state variable and its time derivative ẋ = [ė ë] T , the Eq. ( 28) can be rewritten in matrix form The characteristic polynomial of matrix A that is det (ξ I − A) = ξ 2 + ξ ( + λ) + λ and its roots are ξ 1 = − and ξ 2 = −λ.Ensuring that the real part of the eigenvalues are negative (Re(ξ 1 ) < 0 and (Re(ξ 2 ) < 0 ), so , λ > 0 a stable solution can be obtained.Obviously neither Eq. ( 28) nor (27) (which is a discrete-time approximation) have memory effect.However, utilizing (12) and its derivative, the following solution can be obtained, which can be implemented in a simple embedded system.This feedback solution will be denoted as WSPD or Weighted Sum PD feedback in the rest of the paper since it is the augmentation of Eq. ( 12) with a derivative term.

Fixed point iteration-based adaptive control
The first efforts to develop adaptive control solutions were made in the 1950s when the design of autopilot solutions for high-performance aircraft was started [45].These machines work in various operating conditions (various speeds and altitudes, different weather circumstances, other external disturbances, etc.), which means that the system dynamics are almost constantly changing from controller's point of view.This could not be handled by an ordinary constant-gain feedback controller.Despite the enthusiasm in the early stages of the research, due to lack of knowledge in stability analysis (although the foundations were already given by Lyapunov at that time [38]) and catastrophic failure in a flight test [46], the research in adaptive control came almost to a halt by the end of the decade [47].However, the research in adaptive control came to a new life in the next decade when various mathematical concepts were established [48] and the Lyapunov theory was successfully applied in the design [49].Since then the Lyapunov function-based design has become superior in adaptive control (few application examples, e.g., refs.[50,51]).
In the last few decades, adaptive backstepping control got a great deal of attention from the scientific community [52][53][54].This control method is built on a recursive solution, based on Lyapunov's approach, and it can ensure the stability of the system.It was shown in a recent article that backstepping control can be combined with fixed point iteration-based adaptive deformation [55] as well, that way a robust adaptive controller can be obtained.The essence of this solution is that the design starts from a known stable state which is separated by the largest number of integration from control input and backs out step by step, stabilizing each subsystem until final external control input is achieved.Although backstepping control is an effective non-linear control solution, it requires some tedious design work from the control engineer and the problem complexity drastically increases for higher-order systems.
In the recent years, artificial intelligence techniques came into prominence in adaptive control, such as neural network (NN) [56] and fuzzy logic system [57].These techniques are mainly used to address unknown system dynamics (e.g., friction, dead-zone, etc.) through parameter estimation where some kind of friction model is utilized, although in ref. [56], a new learning algorithm was introduced for simultaneous motion control and parameter estimation.In NN-based control, a general problem is that small residual approximation errors can affect the control performance and also usually these techniques involve slow learning resulting in long transient stage.The transient response of the controlled system can be improved in various manner.In ref. [58], prescribed performance controller (PPC) was introduced and experimentally verified, where asymptotic error convergence was achieved through RISE-based (robust integral of sign of error) control design.In this paper, a smooth friction model [59] was also used in combination with an echo state neural network to learn the system dynamics and compensate for unknown non-linear model components.However, PPCs could be burdened by singularity due to the inverse error transform function in their design.On the other hand, the asymptotic tracking and prescribed transient behavior can be also guaranteed using funnel control [60,61], which is simple to implement and does not require precise parameter identification.
Fixed point iteration-based adaptive control was introduced in 2009 [32] as an alternative option for motion control applications.It can be regarded as primitive case of machine learning and it can ensure fast convergence without precise dynamic model of the controlled system.Its introduction was motivated by certain important features of the Lyapunov function-based design as follows: • The Lyapunov function can be regarded as the square of a special norm in which the metric tensor's components depend on the feedback gains.In this technique, only the monotonic decrease of this norm can be guaranteed while the individual components of which this norm is built up can increase and decrease, too.In certain application fields as for example, life sciences, the monotonic decrease of the individual components may have significance.• In many application fields, it is impossible to directly measure the components of which the Lyapunov function is built up.Since they are organic part of the metric in use, often complicated state estimation techniques have to be implemented to make the Lyapunov function-based design applicable.
The suggested new approach was exempt from such difficulties: it directly aimed at the decrease of a given component without needing the measurement or estimation of each component of the state variable.It was extended to multivariable systems, too, and operated on the basis of Banach's fixed point theorem.It needed the observation only of the variable of interest on the following basis.In the case of a control task of relative order n ∈ N, the q (n) derivative of the generalized coordinate can be immediately set by the control force, while the lower order derivatives evolve relatively slowly.Normally, by the use of the Lie derivatives it is possible to calculate the functional relationship between the control force and the appropriate derivative, however, this computation is often very complicated, time consuming, and in the possession of only an approximate system model, often is useless.Instead, a simple affine model in the form Q(t) = Aq (n) (t) + B can be used as initial approximation, since the other slowly varying components approximately can be considered as constants.In many single variable systems, the sign of A can be assumed to be constant positive or negative.The output of the kinematic design can generate a q (n)Des derivative so that if it would be realized the tracking error should asymptotically converge to zero.
If the available mathematical model of the system would be precise this scenario could be realized.However, in the case of an approximate model, the model itself together with the controlled system bring about a response function that maps the desired input to the observable output as q (n)Real (t) = f q (n)Des (t) = q (n)Des (t).To realize the desired input, according to Fig. 1, the input of the approximate model should be deformed so that q (n)Des (t) = f q (n)Def (t) , in which q (n)Def (t) is an adaptively deformed input.The necessary deformation can be iteratively found if it is known that the response function is approximately direction keeping, that is, if for an infinitesimally small x, f := f (x + x) − f (x) the scalar product x T f > 0. (This concept can be regarded as the generalization of the single variable monotonic increasing function.)Consider a small α ∈ R number and the sequence {x i+1 = x i + α(g − f (x i ))} where g is some goal value.For a differentiable response function it can be estimated that https://doi.org/10.1017/S0263574723001595Published online by Cambridge University Press that, if the matrix I − α ∂f ∂x x i decreases the norm of the vectors iteratively will result in x i → x , f (x ) = g.For an arbitrary array w, it can be written that in which for a finite partial derivative and a very small α > 0 the third term can be neglected, and for an approximate direction-keeping function, the second term is negative, that is the distance between the actual response and the goal can be step by step decreased.In the case of robots, for instance, the existence of the positive definite inertia matrix can guarantee the approximate direction-keeping nature of the response function.Figure 1 describes how this method is inserted into the control scheme of the Computed Torque Control for robots (i.e., for second-order systems) so that during one digital control step only one step of the above adaptive iteration can be done, while the goal value g(t) := qDes (t) slowly drifts in time.According to (32), the speed of convergence of this iteration depends on the value of α, and in the lack of information on the exact model parameters, the method experimentally can be installed and investigated.Equation (32) indicates that the iteration can turn into a divergent one if the parameter α is too big, while the convergence becomes too slow if it is too small.In both cases, the quality of the adaptive control is corrupted.Over the years, various transformation functions were proposed for use in the block "Adaptive Deformation" (e.g., refs.[62][63][64]) and the solution was applied in a Model Reference Adaptive Control scenario as well [65].For making it more easy to find an appropriate α, the linear iteration outlined in (31) was replaced by a non-linear one in ref. [66] in the following simple manner: by choosing a big value 0 < R ∈ R so that qReal ∈ R n , qDes ∈ R n , qDef ∈ R n R, these vectors were so augmented by the use of a "complementary, physically not interpreted dimension" that they obtained the common "augmented norm" R. Consequently, the A := [q Des ; D Des ], B := [q Real ; D Real ] and C := [q Def ; D Def ] ∈ R n+1 vectors can be rotated into each other in R n+1 , and it is easy to construct the orthogonal matrix that rotates B(i) to v Des (i + 1) so that the orthogonal subspace of these vectors remains invariant.By interpolating the angle of rotation by a factor λ a ∈ (0, 1), the physically interpreted projections of the vectors will not be completely identical: they will only approach each other.The next deformed value C(i + 1) will be created from C(i) with this rotation of limited angle.To sum up, the parameter of the adaptive rotation will be λ a instead of α in (31).In the practice, it was found that it is more easy to set λ a than α.Algorithm 1. Adaptive Deformation using Abstract Rotations [67].
The solution can be regarded as a primitive case of machine learning, as in each control cycle, the control force is calculated based on the observation of the behavior of the system in the previous control cycle, although this information is not used for amending the imperfect dynamic model parameters (in ref. [67] some efforts were made to improve the dynamic model as well, by combining the FPI controller with Particle Swarm Optimization).Also, it can be noted that this approach can be regarded as a special version of the "Data Driven Modeling Technology" (e.g., refs.[68,69]) in which the usual regression-based approach is replaced with the adaptive deformation.
This approach has the following interesting properties: • Since it applies Euler integration, the precision of the computations with the PID-type feedback terms is improved by the refinement of the discrete-time-resolution in the usual manner.• However, if a time interval of given duration is tackled with a finer time resolution, with the increase of the number of the digital control cycles, the adaptive iteration obtains a possibility for the realization of more adaptive iterative steps during unit time, so it is expected that the method's precision increases with this refinement.• By feeding back higher-order derivative, its noise sensitivity may be stronger than that of the nonadaptive case: the application of stronger noise filtering may decrease the quality of precision due to its delaying effects.This property is a common feature of the Acceleration Feedback Controllers (e.g., ref. [70]).

Simulation-based analysis
As a continuation of our previous research in replacing a fractional order controller with a simple weighted sum feedback design (first efforts were introduced in ref. [29]), further simulation-based results are shown in this section, on a simple model of a 3 Degree of Freedom (DoF) PUMA-type robot arm.The simplified schematic of the robotic arm is shown in Fig. 2. In this section, a PID (Eq.( 5)) and the originally proposed weighted sum (WS) feedback (Eq.( 12)) are compared to the improved version of the weighted sum feedback (WSPD) (Eq.( 30)) proposed in this paper, through a trajectory tracking application in a FPI-based adaptive control scenario.

Control design for simulations
For the trajectory tracking applications, the nominal trajectory (q N ) was generated in joint space as a sinusoidal function with increasing amplitude.Our simulations were made according to the following considerations: • Mathematical Model: In order to imitate modeling deficiencies, an "approximate" and an "exact" model parameter set is introduced (see in Table I).The necessary control force (Q) was calculated using the approximate parameter set and the system response, which would be measured in a real application, was calculated using the exact model parameters.The dynamic equations of the investigated system (C x = cos q x , S x = sin q x , C xy = cos (q x + q y ), S xy = sin (q x + q y )): • Adaptive Deformation: All three compared feedback solutions are implemented in a Fixed Point Iteration-based control scenario, in which convergent iteration is calculated using Abstract Rotations [66].The essence of this solution is given in Section 4. The adaptive parameter λ a = 0.06 and the initial condition is qDes (1) = qDef (1).• Kinematic Block: The parameter settings for all three kinematic feedback designs are summarized in Table II.The parameter settings were kept the same throughout our simulations.For the weighted sum-type feedback solutions, the forgetting nature of the solution was characterized as where = 0.1 and δt = 0.001 s, which is the control cycle time, finally p is the forgetting sharpness which can arbitrarly set.
Simulations were made in Julia programing language on an HP 250 G6 computer under Windows10 operating system.

Simulation results
In the first set of simulations (Figs.3-5), the three kinematic feedback designs were compared in an FPI-based adaptive control scenario.Figure 3 gives us a good basis for comparison, as in this case, the kinematic block was implemented using PID-type feedback.This solution generated a considerable overshoot at the beginning of the control, however later the modeling errors were nicely compensated through the adaptive deformation which yields a very low (less than 0.5 mrad) trajectory tracking error in the steady state (after the initial error is compensated).Figure 4 shows the simulation results for a weighted sum-type feedback in kinematic design.In this simulation, the initial overshoot of the system was completely eliminated and even lower trajectory tracking error was achieved in the steady state.However, a very drastic control action can be observed in the initial stage of the control.On the other hand, in Fig. 5, the excessively high control forces in the initial stage of the control were avoided and still very nice asymptotic error convergence was achieved.
In the second set of experiments, no adaptive deformation was applied but all kinematic parameters were kept the same as before.This simulation exhibits the advantage of the newly proposed weighted sum PD-type feedback, as in Fig. 6, using a simple weighted sum solution, a serious chattering can be observed in the control forces which could not be implemented on a real system.This effect was nicely smoothed by the adaptive deformation so the chattering effect did not appear in the previous results.On the other hand, the proposed solution produced suitable control forces without the adaptive deformation and nice tracking was achieved obviously with higher tracking errors due to modeling imprecisions (Fig. 7).
In the last simulation, which is presented in Fig. 8, the proposed weighted sum PD-type feedback solution was tested with "noisy signal measurements".In the simulation, the feedback terms/signals were loaded with Gaussian noise (σ = 10 −6 rad) and a 3rd-order low-pass filter was applied as, ...
where q S (t) is the filtered signal and q O (t) is the observed noisy signal, from ... q S (t) the qS (t), qS (t), q S (t) values were calculated using Euler integration.In Fig. 8, the effect of the applied noise filtering technique can be well seen as there is a significant difference between observed qO (t) ≈ (q O (t i+1 ) − 2q O (t i ) + q O (t i−1 ))/δt 2 and filtered qS (t) values.In the last simulation to reduce the initial force applied by the controller, the feedback gains in the kinematic block are gradually incremented by function, where g is a particular control gain ( or λ), g N is the nominal value of the control gain, S is the current control step and S max is the number of steps to reach the nominal gain (simulation setting S max = 120).This technique could reduce the joint torques in the beginning of the control (most significant reduction was achieved in case of joint 2), the effect is also visible on the q values.Figure 8 shows that with noisy feedback signal still high precision trajectory tracking could be achieved.The results also nicely exhibits properties of an FPI-based adaptive control solution, as in the figures the deformed values of the second derivatives of the joint coordinates (q Def ) are significantly different from the desired values (q Des ) which are calculated purely on kinematic basis.This is also indicated by the angle of abstract rotation which is a good measure of the adaptive deformation.
The proposed solution may be applicable in various practical fields, especially in life sciences [71,72], fluid tank control [73] or in robotics where control robustness and fast asymptotic error convergence is essential.

Experimental analysis
To further validate the effectiveness of the proposed control method, a simple experimental setup is presented in this section.The control method was evaluated through a DC motor control application with time varying load.
The experimental setup consisted of a 12 V DC motor (type FIT0185 [74]) with an inbuilt encoder and planetary gearbox with 131:1 reduction ratio.The electric motor was driven with a BTS7960-M [75] dual half bridge motor drive.
The output shaft was connected to a spring through a special coupling which provided a time varying load in our system.The loading torque (Q L ) applied by the spring on the output shaft can be calculated using Lagrangian-equation and Euler-Lagrange Equation of motion as where θ w is the inertia of the coupling, D s is the spring constant, l e denotes the lever on which the loading torque of the spring is applied, l t is the distance between the fixed mounting point of the spring and the motor shaft and finally l r0 is the length of the spring in the initial position of the motor (shown in Fig. 9).The position of the output shaft was measured through the inbuilt incremental encoder, which has a relatively low resolution (16 CPR -Counts per Rotations -for the motor shaft).However, the position of the output shaft could be precisely measured, as the encoder resolution for the output shaft is 2096 CPR, due to the high reduction ratio of the planetary gearbox.
In our experimental setup, the control algorithm was written in C++ and running on an Arduino DUE Board with Atmel SAM3X8E ARM Cortex-M3 32-bit processor.The adaptive deformation was applied for the PWM (Pulse Width Modulation) output of the controller (see Fig. 10).All measurement data were sent to a PC with a custom-made monitoring software, which allowed us to display multiple   data in real-time.The measurement results were saved in .csv(comma separated values) file and then processed in a separate script.The schematic of the full experimental setup is given in Fig. 11.

Control design for the experimental setup
The position feedback of the output shaft was obtained through the inbuilt magnetic quadrature encoder of the motor.The speed measurement (q R ) was characterized by considerable noise component due to quantization error (which is typical for low-resolution encoders).In order to reduce effects of the measurement noise, a simple Infinite Impulse Response low pass filter was implemented in our control algorithm.The cutoff frequency of the low pass filter was selected as f c = 15Hz, which resulted in good noise attenuation without significant delay.The transfer function of the digital low-pass filter was obtained through bilinear transformation [76].
The control design procedure was divided into three parts according to Fig. 1.
• Mathematical Model: In Fixed Point Iteration-based adaptive control methods, the necessary control forces (Q) are generated from the adaptively deformed qDef value using an "available" dynamic model of the controlled system which is typically imprecise.However, in ref. [77], "quasi" model-free approach was introduced which utilized a very simple affine model as Q = Aq Def + B to control an under-actuated system where not all state variables could be measured.The affine model parameters A, B could be arbitrarily set by the user and it was shown through simulations that the parameters could be set in wide range without significantly compromising the control performance.To further simplify the control approach and reduce the amount of "tunable" parameters, in our experiments, the adaptive deformation was directly applied on the PWM output (Q PWM ) of the controller, essentially qDef ≡ Q PWM .• Adaptive Deformation: Throughout the trajectory tracking applications, in our experiments the same adaptive deformation block was applied, which was implemented using abstract rotations [66].The essence of this solution is given in Section 4. The adaptive parameter was λ a = 1 and the initial condition was qDes (1) = qDef (1).• Kinematic Prescription: The kinematic prescription can be formulated in various manners.The most commonly used solution is a PID-type feedback, which will be our baseline for comparison.
For the PID-type feedback, the desired value of the 2nd derivative of the angular position (q Des ) was calculated according Eq. ( 4).For the proposed WSPD feedback in Eq. ( 30), each weight coefficient was set as C = (( + )δt) −p , where = 0.1, δt is the cycle time of the controller (or sampling time) and p was appropriately set to achieve sufficient control performance.The memory length for all of our experiments is H = 350.

Set-point tracking
In the first set of experiments, the motor was driven through multiple set points with no adaptive deformation, which provides a good basis for comparison of the transient behavior of different control solutions.The quality of the control was characterized by the steady-state error (e ss [rad]), the percentage overshoot (σ % [%]) and the settling time (t s [s]), shown in Table III.The settling time was measured for 0.05 rad error band.The measurement results are given in Fig. 12 for PID controller on the left and for the proposed WSPD on the right.The experiments were carried out for multiple gain settings for both control solutions.
The measurement result meets our preliminary expectations.In case of PID controller, higher values yield lower steady-state error and faster control response, however, induce more oscillations and more significant overshoots, especially for higher jumps in the set point (e.g., set-point 3).Furthermore, more oscillations can compromise settling time as well.On the other hand, low values produce slow control responses, which yield high settling times as well and also higher steady-state errors.In our   In our experiments, we found that relatively low forgetting speed (p = 1) yielded good results for set-point tracking for the proposed WSPD.With appropriate and λ settings, very nice asymptotic error convergence was achieved with no overshoot and without compromising the settling time (fast control response).However, high gain combined with a relatively low λ value could still produce some oscillations with small overshoot (e.g., = 60 with λ = 85) but still much less significant than that in case of PID feedback.We found that approximately 1 : 4, to λ ratio (e.g., = 25, λ = 95) yielded very nice control response and no oscillations for set-point tracking.All in all, the proposed weighted sum feedback outperformed the simple PID controller for set-point tracking, since it eliminated overshoots which yielded much lower settling times with similar steady-state error.

Trajectory tracking
In the second set of experiments, the proposed feedback term was tested in a trajectory tracking application, with q N = 4π cos (0.2π t) reference trajectory.Our experiments included multiple scenarios for PID control and the proposed WSPD feedback as well, including experiments with-and without FPIbased adaptive deformation and different loading conditions to test the robustness of the controllers.The control performance indexes for these experiments were: • Maximum absolute error: e max = max The performance indexes were calculated only for the 10 − 45 s interval, that way eliminating the effects of the transient phase, since it was already observed that the proposed control method can eliminate the oscillations and overshoots at the initial phase of the control.
In Fig. 13, some results are given for FPI-based adaptive controller with PID and WSPD kinematic block.In these experiments, the spring was not mounted on the DC motor, that way no external load was applied to the output shaft.These figures nicely exhibit the effect of the quantization error of the encoder signal, causing considerable noise in the first derivative (q R ) and more so in the second derivative (q R ) of the state variable q.The noise was attenuated by the applied low pass filter (f c = 15 Hz) and the filtered signals (q S , qS ) were used to calculate the control response.The control cycle time for the FPI-based adaptive PID controller was δt PID = 0.0015 s and for the FPI-based adaptive WSPD controller, it was δt WSPD = 0.004 s due to higher computational requirements.Both controllers yielded precise trajectory tracking, and the average and the standard deviation were near to the resolution of the encoder (2096 https://doi.org/10.1017/S0263574723001595Published online by Cambridge University Press CPR yields approximately 0.003 rad resolution).The proposed WSPD method in combination with the adaptive deformation could completely eliminate the initial oscillations, however, it is more noise sensitive and produced slightly higher error.In Table IV, PID controller with FPI-based adaptive deformation slightly outperformed the adaptive WSPD controller almost in all aspects when no load was applied.
In the next step, we repeated the same experiments with the spring applied to the shaft.To test the controllers' robustness, the measurements were made with two different springs (Fig. 14 These results are given in Table IV as well, which revealed that, despite that the adaptive PID controller yielded better average tracking error and standard deviation when no load was applied, the proposed adaptive WSPD controller had better results for both performance indices when the load was applied.The difference in robustness is more significant when no adaptive deformation was applied (Fig. 15).

Conclusion
In this paper, a fractional order calculus-inspired weighted feedback was investigated, which can be used in a fixed point iteration-based control scenario for motion control applications.It is similar to FOC solutions since the proposed feedback term exhibits memory effect, which correlates to better transient response and robust behavior but is exempt from the complex formal restrictions of fractional calculus and has a very simple mathematical structure.This control method does not require the continuous tuning of control gain parameters compared to other adaptive FOC solutions [27], which can be computationally expensive.It also directly aims the decrease the error of certain state variables in an iterative manner, that way the unexpected behavior of the state variables can be avoided in the transient state.The proposed controller can work with a very simple affine mathematical model in a "quasi" model-free approach.The basic idea was introduced in ref. [29], with a simple weighted sum feedback.However, it was shown through simulations that original solution can generate very high control force which can lead to significant chattering in the control output.To avoid this effect the control method was further developed in this paper by incorporating the solution in a PD-type feedback.The proposed control structure is applicable for strongly non-linear systems, where traditional frequency domain-based (e.g., ref. [26]) controller tuning methods are hard to implement.
It was shown on simulation basis that the proposed Weighted Sum PD-type (WSPD) feedback yields very good transient response, similar to its predecessor without generating excessive control force and output chattering.However, it was also revealed that it requires relatively large number of terms (longer memory) and low control cycle time in the weighted sum design.However, it was also shown through the experiments that modern micro-controllers are more than capable to deal with the extra computational demand since relatively low control cycle time was achieved for the weighted sum design (δt WSPD = 0.004 s), although for the PID-type kinematic block, it was δt PID = 0.0015 s.The robustness of the WSPD method was also exhibited in this paper since load variations had less effect on the trajectory tracking https://doi.org/10.1017/S0263574723001595Published online by Cambridge University Press error, but it had significantly affected the PID controller for adaptive and non-adaptive cases as well.At the same time in certain control scenarios, the PID controller could provide better control performance (e.g., when no load was applied) than the WSPD method, which originates from two issues.(1) In WSPD method, much higher derivative gain is applied, so the solution is slightly more noise-sensitive.
(2) With PID-based kinematic block, lower control cycle time was achieved and that way, more adaptive iteration could be made in the same interval compared to the WSPD method.It is also confirmed by the non-adaptive control scenarios presented in Fig. 15 where the WSPD feedback resulted in better control performance for the unloaded case as well.
The proposed experimental setup served as a "good proof of concept" which has revealed that a fixed point iteration-based control algorithm can be implemented even on relatively low-power equipment.The noise sensitivity of WSPD method can be investigated in the future by applying a more sophisticated filter design.Also, further investigation can be done about the optimal tuning of the proposed Weighted Sum PD-type feedback using some kind of genetic algorithm.

Figure 1 .
Figure1.Fixed point iteration-based adaptive control schematics using a particular adaptive deformation method (the Euler integration in the bottom of the figure refers to the fact that the exact integration is done by the "physical operation" of the controlled system); the iterative sequence can be initiated with qDef (1) = qDes (1).

Figure 9 .
Figure 9. Mechanical design of the experimental setup (left) and simplified dynamic model (right).

Figure 10 .
Figure 10.Program flow chart for the two different control solutions.In case of WSPD controller, the FIFO buffer with appropriate memory length (H) is used (short-term memory of the proposed control solution), for PID control H = 2, only the current and the data from the previous control cycle is used to do the backward difference estimation for the qR (t) and qR (t) signals.

Figure 11 .
Figure 11.Schematic of the experimental setup.

Figure 13 .
Figure 13.Measurement results with adaptive deformation and no load on the motor.https://doi.org/10.1017/S0263574723001595Published online by Cambridge University Press

Figure 14 .
Figure 14.Tracking error for DC motor control with different loads (Load 1 -D s = 1.611N mm Load 2 -D s = 0.822 N mm ) using FPI control, implemented with different kinematic blocks (PID and WSPD).

Table I .
Modelling parameters.

Table II .
Kinematic parameter setting for simulations.

Table IV .
Trajectory tracking comparison (maximum absolute errore max[rad], average absolute tracking error -μ e [rad], standard deviation of the trajectory tracking error -σ e ). 15 as the optimal gain value for set-point tracking as it provided acceptable oscillations and overshoot with a relatively low settling time.