Next Article in Journal
Smart Tool Wear Monitoring of CFRP/CFRP Stack Drilling Using Autoencoders and Memory-Based Neural Networks
Previous Article in Journal
Comparative Study of the Antibacterial Activity, Total Phenolic and Total Flavonoid Content of Nine Hypericum Species Grown in Greece
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

New Approach of the Variable Fractional-Order Model of a Robot Arm

1
The Institute of Applied Computer Science, Lodz University of Technology, 90-924 Lodz, Poland
2
Faculty of Electrical Engineering, The Institute of Control and Industrial Electronics, Warsaw University of Technology, 00-661 Warsaw, Poland
*
Author to whom correspondence should be addressed.
Appl. Sci. 2023, 13(5), 3304; https://doi.org/10.3390/app13053304
Submission received: 29 January 2023 / Revised: 28 February 2023 / Accepted: 2 March 2023 / Published: 5 March 2023
(This article belongs to the Section Robotics and Automation)

Abstract

:
This paper proposes a simple mathematical model based on the variable fractional-order difference equation of a robot arm. The model of the described arm does not consider the impact of the movement of the mobile platform, it was assumed that all degrees of freedom would be taken away from it. The implementation of the task was divided into two stages. First, a mechanical model was developed. In order to estimate the torques of nodal propulsion motors, a description of the components of the Lagrange equation for the considered system, i.e., energy, power, and external interactions, and derivation of the equations of motion of the tested manipulator based on the Lagrange equation was made. An additional criterion was also considered in the selection of drives in the kinematic nodes of the links, which was to set the manipulator in a vertical position at a specific time. Processing the measured data of a robot arm, model parameters were selected, and the order function was chosen. The second stage was a simulation, whose results were compared with the collected data.

1. Introduction

Robots are becoming more and more popular every day. It is hard to find an industry where robots are not used. The most popular form of commonly used robots are robotic manipulators, which are employed in the industry to perform repetitive tasks, search and rescue missions [1], and inspections [2]. In the case of robot arms, the most popular approaches are derived from Euler–Lagrange equations [3]. Their complexity, expressed by many relevant parameters, is often difficult to estimate, forcing a search for new solutions. Another new approach to modelling dynamics is based on fractional calculus.
The concept of fractional calculus is not new and has been known since 1695, but it has recently gained popularity as a tool generalizing the commonly known calculus. It is becoming more and more popular in different research areas, ranging from electrical engineering, electromagnetism, electrochemistry, electronics, mechanics, and rheology to biophysics and economy [4,5,6]. Fractional calculus is also used to solve real-life problems, like control of autonomous vehicles [7], or to model and predict new cases of the COVID-19 [8]. In many instances fractional calculus allows modeling of the dynamics of more complex processes than their integer counterparts [9], for example, in the description of the transient behavior of a robot arm. The fractional system perspective in the study of the PRR (planar parallel robot) with three DOFs (degrees of freedom) was presented in [10]. Fractional calculus also has a generalization; when order varies with time, it is called variable fractional-order (VFO) calculus [11,12].
The concept of variable fractional-order integrals, and differentials was first proposed in 1993 [13]. Some complex physical phenomena show variable fractional order integrators, or differentiator properties [14]. Variable fractional-order calculus was implemented in many different fields. The increasing attention on theoretical analysis and physical modeling using VFO can be noticed. The experimental study of variable fractional-order differentiators and integrators was examined in [14]. Additionally, the viscoelasticity behavior of rubbery state polymers was modeled using variable fractional-order calculus [15]. The comparison of the prediction of the proposed VFO model and those previously published in the literature demonstrated the higher accuracy of the former. VFO calculus is top-rated in control problems. A study was conducted comparing variable fractional-order PID (VFOPID) controllers for different types of unstable order derivatives [16]. The VFOPID controllers opened new possibilities for shaping its transient characteristics [17,18,19]. The simulation results of the VFOPID controller applied to plants with delay showing its advantage over both traditional and fractional-order PID controllers [20]. The VFOPID also provides additional flexibility during the designing phase. Another version of controllers which can be enhanced by VFO is fuzzy PID controllers [21]. The variable fractional-order fuzzy PID (VFOFPID) controller was applied along with an active tuned mass damper to improve building structures’ performance when subjected to horizontal ground motions [22].
In the paper, we propose a simple model of a robot arm using a variable fractional-order difference equation. In the previous studies, the variable fractional-order discrete-time PD controller for this arm was proposed [16,23] along with the analysis of order function selection [24]. The variable fractional-order backward difference is introduced in Section 2. Next, the description of the robot arm is provided along with a discussion concerning its mathematical models. Then, some rules for the choice of the differentiation order functions are given. Finally, measured and simulated step responses of the robot arm are presented.

2. Mathematical Preliminaries

This Section presents essential information concerning the essential mathematical tool used in mathematical model building [3]. The derivative of the fractional order derivative called further fractional derivative is defined as an approximation of the following series [25,26,27].
, a t a τ 1 a τ 2 f ( τ 3 ) d τ 3 d τ 2 d τ 1 ,   a t a τ 1 f ( τ 2 ) d τ 2 d τ 1 ,   a t f ( τ 1 ) d τ 1 f ( t ) ,
d f ( t ) d t ,   d 2 f ( t ) d t 2 ,   d 3 f ( t ) d t 4 ,  
In a Davis notation for any real function, f ( t ) the fractional derivative is denoted as
D t 0 t ( ν ) f ( t ) ,
where
  • t 0 , t —terminals of fractional differentiation,
  • ν ϵ R —fractional order.
  • The D t 0 t ( ν ) f ( t ) notation represents an integral of fractional order.

2.1. Grünwald–Letnikov Definition

For a given function f ( t ) ϵ R of a real variable t , the first-order left derivative has the form
f ( t ) = d f ( t ) d t = l i m h 0 f ( t ) f ( t h ) h ,
The second-order left derivative is as follows
f ( t ) = d 2 f ( t ) d t 2 = l i m h 0 f ( t ) f ( t h ) h = l i m h 0 f ( t ) f ( t h ) h f ( t h ) f ( t 2 h ) h h = l i m h 0 f ( t ) 2 f ( t h ) + f ( t 2 h ) h 2 = l i m h 0 1 h 2 [ 1 2 1 ] [ f ( t ) f ( t h ) f ( t 2 h ) ] ,
For any order n, one has
f ( n ) ( t ) = d n f ( t ) d t n = l i m h 0 1 h n [ a 0 ( n ) a 1 ( n ) a n ( n ) ]   [ f ( t ) f ( t h ) f ( t n h ) ] ,
or
f ( n ) ( t ) = d n f ( t ) d t n = l i m h 0 1 h n i = 0 n a i ( n ) f ( t h i ) ,
where the coefficients a i ( n ) are defined as follows
a i ( n ) = { 1 f o r i = 0 ( 1 ) i n ( n 1 ) ( n 2 ) ( n i + 1 ) i ! f o r i = 1 , 2 , 3 ,
or
a i ( n ) = a i 1 ( n ) ( 1 n + 1 i ) ,
The above formulas are valid for any order including fractional ones. Then, one has
D t 0 t n f ( t ) = l i m h 0 h n i = 0 t t 0 h a i ( n ) f ( t h i ) = 1 ( n 1 ) !   t 0 t ( t τ ) n 1 f ( τ ) d τ ,
The variable fractional-order backward difference (VFOBD) of a bounded discrete function f k is defined as follows:
Δ 0 G L k ( ν k ) f k = a k ( ν k ) f k = i = 0 k a i ( ν k ) f k i ,
where
a k ( ν k ) = { 0 for k < 0 1 for k = 0 ( 1 ) k ( ν k k ) for k 1 ,
( ν k k ) = ν k ( ν k 1 ) ( ν k 2 ) ( ν k k + 1 ) k ! , v k o r d e r   o f   t h e   f r a c t i o n a l   d i f f e r e n c e   i n   t h e   t i m e   s t e p   k .
On the basis of the above equations, one derives a general formula
[ a 0 ( n ) a 1 ( n ) a n 1 ( n ) a n ( n ) ] = [ a 0 ( n m ) a 1 ( n m ) a n 1 ( n m ) a n ( n m ) ]   [ a 0 ( m ) a 1 ( m ) a 2 ( m ) a 3 ( m ) 0 0 0 0 a 0 ( m ) a 1 ( m ) a 2 ( m ) 0 0 0 0 0 a 0 ( m ) a 1 ( m ) 0 0 0 0 0 0 a 0 ( m ) 0 0 0 0 0 0 0 a 0 ( m ) a 1 ( m ) a 2 ( m ) 0 0 0 0 0 a 0 ( m ) a 1 ( m ) 0 0 0 0 0 0 a 0 ( m ) ] ,
Equation (13) denotes a discrete convolution and ν k > 0 is the differentiation order function. For negative order functions, Equation (10) defines variable fractional-order integration (discrete summation). One should realize that for integer order + ν k = n > 0 , one immediately obtains a classical backward difference.
Δ 0 G L k ( n ) f k = a k ( n ) f k = i = 0 k a i ( n ) f k i = Δ ( n ) f k ,
The above difference may serve as an approximation of a left derivative.
d n f ( t ) d t n = d n f ( t ) d t n | t = h k Δ 0 G L k ( n ) f k h h n = 1 h n i = 0 k a i ( n ) f k h i h = Δ ( n ) f k h n ,

2.2. The Fractional Order Integrator

As in classical integer order dynamical systems case, on a base of derivatives, one can build differential equations. The simplest one is an equation describing the fractional integrator. So in the fractional systems case,
y ( t ) = T u 0 D t v u ( t ) ,
where y(t) and u(t) such that u(t) for t < 0 denote the system output and input signals, respectively. ν is an order of the integrator whereas 0 < T u R is a time constant. For a zero initial condition, the one-sided Laplace transform is of the form which can be further represented by its transfer function.
G F I ( s , T u ) = Y ( s ) U ( s ) = 1 T u s ν   ,
The impulse response is described as
g D ( t , T u ) = 1 { G F I ( s , T u ) } = 1 { 1 T u s ν } = 1 T u t ν 1 Γ ( ν ) ,
where Γ ( ν ) is the Euler gamma function. The unit step response is described as follows
h D ( ν ) I ( t ) = 1 { 1 s G F I ( ν ) ( s , T u ) } = 1 { 1 T u ( s ν + 1 ) } = t ν Γ ( 1 ν ) ,
The fractional integrator response to any signal can be described by an integral
y ( t ) = 0 t θ ν 1 Γ ( ν ) u ( t θ ) d θ = 0 t ( t θ ) ν 1 Γ ( ν ) u ( θ ) d θ ,

2.3. Fractional Derivative

In this subsection, one considers the formula
f h ( ν ) ( t ) = 1 h ν i = 0 t t 0 h a i ( ν ) f ( t h i ) = 1 h ν [ a 0 ( ν ) a 1 ( ν ) a n 1 ( ν ) a n ( ν ) ] [ f ( t ) f ( t 1 h ) f ( t n h + h ) f ( t n h ) ] ,
where ν   + , h > 0 and n = E ( t t 0 k ) is an integer part of a number. Based on the above formula, one defines a fractional order derivative. It is called the Grünwald–Letnikov fractional order derivative [16].
D t 0 t ( ν ) f ( t ) = l i m h 0   f h ( ν ) ( t ) = l i m h 0   1 h ν i = 0 t t 0 h a i ( ν ) f ( t h i ) ,

Fractional Derivative Selected Properties

Fractional derivative linearity property for two differentiable functions f 1 ( t ) ,   f 2 ( t ) and constants a 1 , a 2 , there is
D t 0 t ν [ a 1 f 1 ( t ) + a 2 f 2 ( t ) ] = a 1 D t 0 t ν [ f 1 ( t ) ] + a 2 D t 0 t ν [ f 2 ( t ) ] ,
The fractional derivative superposition property for any
D t 0 t ν 1 + ν 2 [ f ( t ) ] = D t 0 t ν 1 { D t 0 t ν 2 [ f ( t ) ] } = D t 0 t ν 2 { D t 0 t ν 1 [ f ( t ) ] } ,

3. The Robot Arm Description

The presented solution is an element of building a comprehensive simulation environment for the robot’s actuator in the form of an arm. The study of the system properties is primarily associated with the possibly precise reconstruction of the actual course of the arm’s work. Mathematical models are used for this purpose. The model of the described arm does not consider the impact of the movement of the mobile platform, and it was assumed that all degrees of freedom would be taken away from it. The motion system of the presented arm is a simple open kinematic chain, in which the adjacent members relate to each other by means of a kinematic pair. The movement of individual links is independent, performed using dedicated harmonic gears with the ability to maintain a specific position. The mechanical structure of the robot arms allows for their further expansion. The modularity of the structure allows it to quickly change its configuration with no necessity to modify the operation of the entire system. The observation head can be replaced with a gripper or a specialized tool or supplemented with further links. The assumed possibilities of further expansion of the mechanical structure allow for its adaptation to the requirements of the future user, both in the defense and civil operations zone. The whole construction is controlled by a microprocessor system with implanted algorithms using original control procedures with controllers with variable non-integer orders of differentiation. They are a generalization of classical PD regulators. Regulators of this type can be included in the so-called adaptive regulators, where the variables are not so-called controller settings but differentiation and summation orders. Before commencing the work regulation process, appropriate executive systems had to be selected. During the numerical simulations, the following values of the manipulator parameter were assumed:
  • m1 = 1.0 [kg]—the weight of the drive systems;
  • m2 = 7.0 [kg]—total weight of the manipulator;
  • m = 0.5 [kg]—weights of the manipulator links;
  • l = 0.5 [m]—the length of the manipulator links;
  • M0(t), M1(t)—driving torque.
Selected ranges of displacements φ1, and φ2 of the manipulator links in the given time interval Δt were subjected to numerical analysis in the context of selecting the values and time courses of the drive torques required to complete the given trajectory of the manipulator links. Two basic cases of the initial positions of both links were considered. The calculations assumed the same time course, presented in Figure 1, for changes in the moments M0(t), M1(t), where:
  • M0, M1—fixed values of driving torque;
  • Δt0—start-up phase, an increase of drive torques to the assumed fixed values;
  • Δt1—phase of steady drive torques;
  • Δt2—phase of reduction of drive torques to zero;
  • Δt3—stop phase drive torques equal zero;
  • l = 0.5 [m]—the length of the manipulator links.
During the analysis, two prominent cases were studied (Figure 2a,b), mainly setting manipulators in the horizontal and vertical orientation. The first analyzed case is to set the manipulator in vertical position φ1 = π/2, φ2 = π/2 (Figure 2b) starting from horizontal position φ1 = 0, φ2 = π (Figure 2a) in time Δt = 1 [s].
From the application point of view, it is important to achieve the required position of the links with the minimum possible values of velocities and accelerations to stop the manipulator. In order to achieve the optimal effect, the following links position and speed functions were considered during numerical simulations:
f ( x ) = ( φ 1 π 2 ) 2 + ( φ 2 π 2 ) 2 ,
f ( v ) = φ ˙ 1 2 + φ ˙ 2 2 ,
When a function (25) reaches the minimum value of zero, the vertical position of the links is realized (Figure 2b). On the other hand, the minima of the function (26) indicate the lowest possible velocities of the manipulator links after a given time Δt. Figure 3a,b show three-dimensional projections of surfaces representing the functions f(x) and f(v) over the two-dimensional space of parameters M0, and M1, while Figure 4a,b shows (in red) areas of these parameters, where functions (25) and (26) reach minimum values. The calculations were carried out by numerically integrating the equations of motion using the 4th order Runge–Kutta method. The time values of the drive parameters (Figure 1) are Δt0 = 0.05 [s], Δt1 = 0.45 [s], Δt2 = 0.30 [s], and Δt3 = 0.20 [s].
The time intervals of the driving torques were selected based on numerical analysis, which was carried out at the fixed values M0 = 9.0 [Nm], M1 = 48.0 [Nm], and the constant on start-up phase Δt0 = 0.05 [s]. However, the parameters Δt1 and Δt2 changed during analysis (Δt3 is the result of select the remaining intervals). The results of this numerical experiment are presented in Figure 5a,b, where the quantities f(x) and f(v) are given as a function of the time intervals Δt1 and Δt2. It can be seen that the possibly low-speed values (green areas in the bottom left of the diagram) in Figure 5b coincide with the range where the manipulator reaches the vertical position (green stripe in Figure 5a).
In the last phase of movement, Δt3 the drive is switched off. Such control of drive torques allows us to achieve the lowest possible values of velocities and angular accelerations when the manipulator links reach the vertical position. This fact is confirmed by the time courses of displacements, velocities, and accelerations presented in Figure 6. The determined driving torques are M0 = 9.46 [Nm] and M1 = 49.44 [Nm]. These moments deviate slightly from the optimal values resulting from Figure 4a,b (areas marked in red). The reason for this slight discrepancy may be a different method (Euler’s algorithm) or the step of integration of the equations of motion in the case of the diagrams shown in Figure 6. It can be seen that at Δt = 1.0 [s] the cells occupy the required vertical position φ1 = φ2 = π/2 at relatively low values of velocities and accelerations (Figure 6).
Figure 7 shows the results of the numerical analysis analogous to the one shown in Figure 6, but taking into account the trajectory limitation of the links by the presence of the base. Contact with the ground means that the first link cannot occupy positions defined by a negative angle φ1. Hence, when integrating equations, an additional condition was introduced in the form “if φ1 < 0 then φ1 = 0, φ ˙ 1 = 0”. The application of this condition allowed us, for the assumed Δt and the vertical position of the links (Figure 7), to obtain the optimal values (Figure 7) at slightly lower values for the drive torques M0 (8.89 Nm) and M1 (48.27 Nm).
The second of the considered cases is shown in Figure 8. The task is to set the manipulator in a vertical position φ1 = π/2, φ2 = π/2 (Figure 2b) from the initial horizontal position φ1 = 0, φ2 = 0 of the links (Figure 8).
Numerical experiments have shown that an attempt to place the manipulator with positively directed moments M0(t), M1(t) (Figure 8) requires the application of a maximum torque of at least M0 ≈ 90 [Nm] in node “0”, both in the case of operation of both drives, as well as in the case of applying only the M0(t) moment with the locked node “1”. On the other hand, the driving power demand is much lower when lifting the manipulator in stages, i.e., moving the link 1 from the position φ2 = π/2 (Figure 8) to the position φ2 = 0 in the first stage, using only the drive M1(t), and then setting the links in a vertical position in accordance with the case 1 described above, using both drives.
Setting the link 2 in a vertical position (with the locked link 1) with a driving torque of a fixed value M1 = 42.4 [Nm] in time Δt = 1.0 [s] is shown in Figure 9. The time intervals of the torque M1(t) are: Δt0 = 0.05 [s], Δt1 = 0.75 [s], Δt2 = 0.20 [s], Δt3 = 0.0 [s].
Figure 10 presents a block diagram of the mathematical model of the robot arm. The arm work is modeled as a simple first-order integrator with negative feedback generated by the moment caused by the gravitational force of the robot arm. Thanks to the use of harmonic gears in the electromagnetic brake in the kinematic nodes, the dynamics of motion can be simplified to the presented model. The correctness of adopting the simplified model can be proven by the presented transient states of the actuator of the described object.
Connecting to the inverter positive feedback with a one-step delay block causes the PWM inverter to work as a discrete-time integrator. In order to protect the system against doubled integrating action in the robot arm angular velocity control loop, one introduces additional negative feedback with the discrete differentiation to obtain a closed-loop system treated. Figure 11 presents the block diagram of the first robot arm angular velocity control system.

4. The Robot Arm’s Mathematical Models

To design optimal manipulator control algorithms, it is necessary to prepare a correct mathematical model describing it [28]. The trade-off between model accuracy and its complexity should also be taken into consideration. In this section two mathematical models of the robot arm are analyzed. The first one is derived from the well-known Newton—Euler formalism whereas in the second the Fractional Calculus is applied. To simplify the calculation model, it was assumed that the mobile platform on which the arm is located is stationary. In addition, the horizontal position of the trolley was assumed, as well as a non-deformable suspension.

4.1. Classical Mathematical Model (CM) of the Robot Arm

The theoretical model of a robot arm is presented in Figure 12 [6,10].
Following the Euler–Lagrange formalism, two classical differential second-order equations describing the dynamic system are as follows
D [ q ( t ) ] q ¨ ( t ) + C [ q ( t ) , q ˙ ( t ) ] q ˙ ( t ) + g [ q ( t ) ] = τ ( t )
where
τ ( t ) = [ τ 1 ( t ) τ 2 ( t ) ]   drive   moments ,    
q ( t ) = [ q 1 ( t ) q 2 ( t ) ]   coordinates   of   the   manipulator   links   position ,  
D [ q ( t ) ] = D = [ I 1 + I 2 I 2 I 2 I 2 ] moments   of   inertia   matrix   of   the   driving   system ,  
C [ q ( t ) , q ˙ ( t ) ] = [ h ( t ) q ˙ 2 ( t ) h ( t ) q ˙ 2 ( t ) + h ( t ) q ˙ 1 ( t ) h ( t ) q ˙ 1 ( t ) 0 ] =
= m 2 l 1 l c 2 s i n [ q 2 ( t ) ] [ q ˙ 2 ( t ) q ˙ 2 ( t ) q ˙ 1 ( t ) q ˙ 1 ( t ) 0 ] , h ( t ) = m 2 l 1 l c 2 s i n [ q 2 ( t ) ] , g [ q ( t ) ] = g [ ( m 1 l c 1 + m 2 l 1 ) c o s [ q 1 ( t ) ] + m 2 l c 2 c o s [ q 1 ( t ) + q 2 ( t ) ] m 2 l c 2 c o s [ q 1 ( t ) + q 2 ( t ) ] ] ,
  • g —acceleration of the Earth,
  • l 1 , l 2 —lengths of the robot arm,
  • l c 1 , l c 2 —distance from the precedent joint to the arm centroid.
Now one assumes that the second arm is immobilized. This means that q ¨ 2 ( t ) = 0 ,
q ˙ 2 ( t ) = 0 , and q 2 ( t ) = q 2 = const , τ 2 ( t ) = 0 . From Equation (27), one obtains
[ I 1 + I 2 I 2 I 2 I 2 ] q ¨ ( t ) + q ˙ 1 ( t ) m 2 l 1 l c 2 s i n [ q 2 ] [ 0 1 1 0 ] q ˙ ( t ) + g [ ( m 1 l c 1 + m 2 l 1 ) c o s [ q 1 ( t ) ] + m 2 l c 2 c o s [ q 1 ( t ) + q 2 ] m 2 l c 2 c o s [ q 1 ( t ) + q 2 ] ] = [ τ 1 ( t ) 0 ]
Pre-multiplication of both sides of Equation (28) by a matrix
[ I 1 + I 2 I 2 I 2 I 2 ] 1 = [ 1 I 1 1 I 1 1 I 1 1 I 1 + 1 I 2 ]
yields
q ¨ ( t ) + q ˙ 1 ( t ) m 2 l 1 l c 2 s i n [ q 2 ] [ 0 1 I 1 1 I 2 1 I 1 ] q ˙ ( t ) + g [ 1 I 1 1 I 1 1 I 1 1 I 1 + 1 I 2 ] [ ( m 1 l c 1 + m 2 l 1 ) c o s [ q 1 ( t ) ] + m 2 l c 2 c o s [ q 1 ( t ) + q 2 ] m 2 l c 2 c o s [ q 1 ( t ) + q 2 ] ] = [ τ 1 ( t ) 0 ]
Further transformations lead to
[ q ¨ 1 ( t ) 0 ] + m 2 l 1 l c 2 s i n ( q 2 ) [ 0 q ˙ 1 2 ( t ) I 2 ] + g [ ( m 1 l c 1 + m 2 l 1 ) c o s [ q 1 ( t ) ] I 1 ( m 1 l c 1 + m 2 l 1 ) c o s [ q 1 ( t ) ] I 1 + m 2 l c 2 c o s [ q 1 ( t ) + q 2 ] I 2 ] = [ τ 1 ( t ) 0 ]
From the first row, one has
q ¨ 1 ( t ) + g ( m 1 l c 1 + m 2 l 1 ) c o s [ q 1 ( t ) ] I 1 = τ 1 ( t )
Additionally, the second row must be satisfied
m 2 l 1 l c 2 s i n ( q 2 ) I 2 q ˙ 1 2 ( t ) + g ( m 1 l c 1 + m 2 l 1 ) c o s [ q 1 ( t ) ] I 1 + g m 2 l c 2 c o s [ q 1 ( t ) + q 2 ] I 2 = 0
As a discrete time, mathematical model, one takes an approximation of the derivative by a difference
q 1 ( k h ) 2 q 1 ( k h h ) + q 1 ( k h 2 h ) h 2 + g ( m 1 l c 1 + m 2 l 1 ) c o s [ q 1 ( k h ) ] I 1 = τ 1 ( k h )
In further considerations to verify adopted assumptions, only the first link was the subject of the analysis. Mechanical friction and backlash are omitted. Now one denotes:
K = g ( m 1 l c 1 + m 2 l 1 ) I 1
Hence, under the assumptions mentioned above, in the model there is only one parameter to evaluate.

4.2. Variable Fractional-Order Mathematical Model (VFOM) of the Robot Arm

The VFOBD may will be applied to model the robot arm. From the general form of a linear, time-invariant variable fractional-order difference equation:
i = 0 n A i Δ 0 G L k ( ν k ) y k = i = 0 m B i Δ 0 G L k ( μ k ) u k
where
  • A i , B j —constant coefficients with A n = 1 ,
  • ν n , k > ν n 1 , k > > ν 1 , k > ν 0 , k = 0 —order functions,
  • μ m , k > μ m 1 , k > > μ 1 , k > μ 0 , k 0 —order functions,
  • u k , y k —the robot arm input and output functions.
The robot arm possesses the integration element properties. Hence, in the first approach one considers (14) with n = 1 , m = 0 and μ k = 0 . Then, from (35) one gets the equation:
Δ 0 G L k ( ν k ) y k = B 0 u k
describing a variable fractional-order integrator (VFO-I) [25]. In such simple model structure, there are two parameters to select: a coefficient B 0 and an order function ν k . Note that this is a generalization of the FO discrete integrator, which in turn is a generalization of the classical (first-order) integrator. By (10) and (11), a response of the VFO-I is of the form:
y k = [ a 1 ( ν k ) a 2 ( ν k ) a k ( ν k ) ] [ y k 1 y k 2 y 0 ] + B 0 u k
It is easy to prove that Equation (37) can be transformed to an equivalent form
y k = B 0 Δ 0 G L k ( μ k ) u k
where
μ k = ν k
Because one may expect non-linear behavior, one takes that B 0 ( u k ) . For a better modelling elasticity, one also assumes that the integration order depends on the input signal. Hence, the final model structure has the form:
y k = B 0 ( u k ) Δ 0 G L k [ μ k ( u k ) ] u k
The block diagram of the Wiener VFOM is presented in Figure 13.

5. The Robot Arm Tests

The examined system is part of a larger project, which is the development of a comprehensive design of the mobile platform. Figure 14 shows the executive part of the robot with an observation head. The drive in this mechanism is carried out by means of a DC electric drive motor with harmonic gear powered by a single-phase PWM inverter. Positive feedback to the inverter occurs with a delay of one trial period.
To the robot arm electrical drive input, several constant voltages were supplied. Zero initial conditions were assumed although the initial angle is nonzero. This is caused by the robot construction. Hence, there were measured step responses of the robot arm. The input constant voltages are collected in a set U :
U = { 3 , 4 , 5 , 6 , 7 , 8 , 9 , 10 , 15 , 20 , 25 }   [ V ]
The responses are presented in Figure 15. It can be seen in Figure 15 that higher input voltages cause the faster responses of the robot arm.

6. The VFOM and CM Parameters Selection

In this Section, both models’ parameter selection methods are described. The main fitting criterion is a minimum of the square error defined as a difference between measured real system responses y m , k and simulated y s , k ones
I C M = min K , [ 0   k ] | y m , k y s , k ( K ) | 2
I V F O M = min B 0 , ν k , [ 0   k ] | y m , k y s , k ( B 0 , ν k ) | 2
First, the coefficient B 0 in formula (36) is evaluated. Here, one initially assumes that ν k = 1 . Then, for u k = u 0 1 k ( 1 k denotes the unit discrete step function) one gets
y j , k = B 0 i = 0 k u i = B 0 u j , 0 k h   f o r   u j , 0 U
where h denotes a sampling time. For the chosen time instants (for which the responses achieve for the first time its maximal value) from (43) one gets coefficients
B j , 0 ( u j , 0 ) = y k m a x u j , 0 k m a x h   f o r   u j , 0 U
Plots of B j , 0 ( u j , 0 ) y j , k are presented in Figure 16. The coefficients (44) are plotted in Figure 17.
This enables us to evaluate the static characteristic of the model. It is presented in Figure 18. To check the response shapes, the time coefficients are added. The coefficients w j ( u j , 0 ) are selected in order to get the same transient times. Comparison of all such responses revealed its changes due to the input signal value. In Figure 18 all mentioned responses are presented.
As the order functions, one takes
ν k = 1 + c ( u k ) e d k
with 0 < c ( u k ) < 1 , d < 0 . For c ( u k ) and d parameters, selection of an ISE (integrated square error) criterion was applied.
I [ c ( u k ) , d ] = i = 0 k m a x e i 2
where
e k = y k y s , k = y k B 0 ( u k ) Δ 0 G L k [ 1 + c ( u k ) e d k ] u k
For 0 < c ( u k ) < 1 , a plot of coefficients c ( u k ) vs. u k is presented in Figure 19.
The responses that were measured and simulated for d = 0.001 are presented in Figure 20. Figure 20 also shows the response obtained by simulation of the classical model where g ( m 1 l c 1 + m 2 l 1 ) I 1 = 0.6 and K = 0.1787 are added (in blue).
In Figure 21, similar responses for different input signals are compared.
To compare the simulation results, two performance criteria were used: IAE and ISE. The first error is defined by formula (45) and the second is defined as e k = y k q 1 ( kh ) where h = 0.0215 denotes the simulation step. The obtained IAE and ISE criteria values are given in Figure 22.

7. Conclusions

In this article, two mathematical models of a robot arm were analyzed: one derived from the well-known Newton–Euler formalism, and the second described by variable fractional-order difference equations. Both models were compared with measured values of a robot arm. Based on the two criteria used for comparison (IAE and ISE), it was shown that the model described by variable fractional-order difference equations gave better result. The proposed variable fractional-order difference equation-based model had more parameters than the classical one, which led to a better model of the actual behavior of the modeled object. The open question is the selection of the right order function, which can be related to the measured real-time signals in the system. The next step is also to investigate the impact of platform movement on the tested system. In the real model, the actuator in the form of an arm is mounted on a six-wheel mobile platform with independent suspension of each wheel. We intend to develop the model with elements of the dynamics of the platform’s movement (change in speed and direction of movement, impact of ground shape, etc.) on the robot arm.

Author Contributions

P.O. conceived the research direction and collected relevant information; P.O., P.D. and M.B. designed the Simulink and Matlab simulations and experiment; M.B. built the test stand; P.D. provided microcontroller implementation; P.O., M.B. and P.D. analyzed the data; P.O., M.B., and P.D. wrote the paper. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data sharing not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Govindarajan, V.; Bhattacharya, S.; Kumar, V. Human-robot collaborative topological exploration for search and rescue applications. In Distributed Autonomous Robotic Systems; Springer: Tokyo, Japan, 2016; pp. 17–32. [Google Scholar]
  2. Brito, T.; Queiroz, J.; Piardi, L.; Fernandes, L.A.; Lima, J.; Leitão, P. A machine learning approach for collaborative robot smart manufacturing inspection for quality control systems. Procedia Manuf. 2020, 51, 11–18. [Google Scholar] [CrossRef]
  3. Kilbas, A.A.; Srivastava, H.; Trujillo, J.J. Theory and Applications of Fractional Differential Equations; Elsevier Science Inc: New York, NY, USA, 2006; Volume 204. [Google Scholar] [CrossRef]
  4. Podlubny, I. Fractional Differential Equations. In An Introduction to Fractional Derivatives, Fractional Differential Equations, to Methods of Their Solution and Some of Their Applications; Academic Press: San Diego, CA, USA, 1999. [Google Scholar]
  5. Sabatier, J. Fractional order systems. Applications in modelling, identification, and control. J. Eur. Des. Systèmes Automatisés. RS Série JESA 2008, 42, 625. [Google Scholar]
  6. Spong, M.W.; Vidyasagar, M. Robot Dynamics, and Control; John Wiley & Sons, Inc.: Hoboken, NJ, USA, 1989. [Google Scholar]
  7. Alagoz, B.B.; Tepljakov, A.; Ates, A.; Petlenkov, E.; Yeroglu, C. Time-domain identification of One Noninteger Order Plus Time Delay models from step response measurements. Int. J. Model. Simul. Sci. Comput. 2019, 10, 1941011. [Google Scholar] [CrossRef]
  8. Garrappa, R.; Kaslik, E.; Popolizio, M. Evaluation of Fractional Integrals and Derivatives of Elementary Functions: Overview Tutorial. Mathematics 2019, 2, 7050407. [Google Scholar] [CrossRef] [Green Version]
  9. Vinagre, B.M.; Podlubny, I.; Hernandez, A.; Feliu, V. Some approximations of fractional order operators used in control theory and applications. Fract. Calc. Appl. Anal. 2000, 3, 231–248. [Google Scholar]
  10. Rosario, J.M.; Didier, D.; Tenreiro Machado, J.A. Analysis of fractional-order robot axis dynamics. IFAC Proc. 2006, 39, 367–372. [Google Scholar] [CrossRef] [Green Version]
  11. Rhouma, A.; Sami, H. A Microcontroller Implementation of Fractional Order Controller. Int. J. Contr. Syst. Robot. 2017, 2, 122–127. [Google Scholar]
  12. Sierociuk, D.; Malesza, W. Fractional variable order anti-windup control strategy. Bull. Pol. Acad. Sci. Tech. Sci. 2018, 66, 427–432. [Google Scholar]
  13. Samko, S.; Ross, B. Integration and differentiation to a variable fractional order. Integr. Transf. Spec. Funct. 1993, 1, 277–300. [Google Scholar] [CrossRef]
  14. Sheng, H.; Sun, H.G.; Coopmans, C.; Chen, Y.Q.; Bohannan, G.W. A physical experimental study of variable-order fractional integrator and differentiator. Eur. Phys. J. Spec. Top. 2011, 193, 93–104. [Google Scholar] [CrossRef]
  15. Meng, R.; Yin, D.; Drapaca, C.S. A variable order fractional constitutive model of the viscoelastic behavior of polymers. Int. J. Non-Linear Mech. 2019, 113, 171–177. [Google Scholar] [CrossRef]
  16. Sierociuk, D.; Macias, M. Comparison of variable fractional order PID controller for different types of variable order derivatives. In Proceedings of the 14th International Carpathian Control Conference (ICCC), Rytro, Poland, 26–29 May 2013; pp. 334–339. [Google Scholar] [CrossRef]
  17. Ostalczyk, P. Variable-, fractional-order discrete PID controllers. In Proceedings of the 2012 17th International Conference on Methods & Models in Automation & Robotics (MMAR), Miedzyzdroje, Poland, 27–30 August 2012; pp. 534–539. [Google Scholar] [CrossRef] [Green Version]
  18. Dabiri, A.; Moghaddam, B.P.; Machado, J.T. Optimal variable-order fractional PID controllers for dynamical systems. J. Comput. Appl. Math. 2018, 339, 40–48. [Google Scholar] [CrossRef]
  19. Ostalczyk, P.; Duch, P. Closed—Loop system synthesis with the variable-, fractional—Order PID controller. In Proceedings of the 2012 17th International Conference on Methods & Models in Automation & Robotics (MMAR), Miedzyzdroje, Poland, 27–30 August 2012. [Google Scholar] [CrossRef]
  20. Oziablo, P.; Mozyrska, D.; Wyrwas, M. Discrete-Time Fractional, Variable-Order PID Controller for a Plant with Delay. Entropy 2020, 22, 771. [Google Scholar] [CrossRef] [PubMed]
  21. Liu, L.; Pan, F.; Xue, D. Variable-order fuzzy fractional PID controller. ISA Trans. 2015, 55, 227–233. [Google Scholar] [CrossRef] [PubMed]
  22. Amini, M.; Waezi, Z.; Manthouri, M. Seismic control of the structures with active tuned mass damper and variable fractional order fuzzy proportional–integral–derivative controller. J. Vib. Control. 2022, 10775463221115451. [Google Scholar] [CrossRef]
  23. Ostalczyk, P.; Brzezinski, D.; Duch, P.; Łaski, M.; Sankowski, D. The variable, fractional-order discrete-time PD controller in the IISv1. 3 robot arm control. Open Phys. 2013, 11, 750–759. [Google Scholar] [CrossRef] [Green Version]
  24. Ostalczyk, P.W.; Duch, P.; Brzeziński, D.W.; Sankowski, D. Order functions selection in the variable-, fractional-order PID controller. In Advances in Modelling and Control of Non-Integer-Order Systems; Springer: Cham, Switzerland; pp. 159–170.
  25. Ostalczyk, P. Zarys rachunku różniczkowo—Całkowego ułamkowych rzędów. In Teoria i zastosowanie w automatyce, Komitet Automatyki i Robotyki Polskiej Akademii Nauk, Wydawnictwo Politechniki Łódzkiej. Monografie Tom 12; Łódź, Polska, 2008; Available online: http://repozytorium.p.lodz.pl/handle/11652/1843 (accessed on 28 January 2023).
  26. Ostalczyk, P. Discrete Fractional Calculus. In Applications in Control and Image Processing, Series in Computer Vision; World Scientific: Hackensack, NJ, USA, 2015; Volume 4, ISSN 2010-2143. [Google Scholar]
  27. Sierociuk, D.; Macias, M.; Malesza, W.; Sarwas, G. Dual Estimation of Fractional Variable Order Based on the Unscented Fractional Order Kalman Filter for Direct and Networked Measurements. Circuits Syst. Signal Process. 2016, 35, 2055–2082. [Google Scholar] [CrossRef] [Green Version]
  28. Monje, C.A.; Chen, Y.; Vinagre, B.M.; Xue, D.; Feliu, V. Fractional-order Systems and Controls Fundamendals and Applications. In Advances in Industrial Control; Springer: London, UK, 2010. [Google Scholar]
Figure 1. The time course of the moment changes M0(t), M1(t).
Figure 1. The time course of the moment changes M0(t), M1(t).
Applsci 13 03304 g001
Figure 2. The extreme position of the manipulator’s arms: (a) folded; (b) maximum reach.
Figure 2. The extreme position of the manipulator’s arms: (a) folded; (b) maximum reach.
Applsci 13 03304 g002
Figure 3. Three-dimensional projections of surfaces representing functions f(x) and f(v) over the two-dimensional parameter space M0, M1. (a) Three-dimensional projections of surfaces representing f(x) functions over the two-dimensional parameter space M0, M1. (b) Three-dimensional projections of surfaces representing f(v) functions over the two-dimensional parameter space M0, M1.
Figure 3. Three-dimensional projections of surfaces representing functions f(x) and f(v) over the two-dimensional parameter space M0, M1. (a) Three-dimensional projections of surfaces representing f(x) functions over the two-dimensional parameter space M0, M1. (b) Three-dimensional projections of surfaces representing f(v) functions over the two-dimensional parameter space M0, M1.
Applsci 13 03304 g003
Figure 4. The red color indicates areas of these parameters where f(x) and f(v) reach minimum values. (a) The areas of parameters M0 and M1 where f(x) reaches minimum values. (b) The areas of parameters M0 and M1 where f(v) reaches minimum values.
Figure 4. The red color indicates areas of these parameters where f(x) and f(v) reach minimum values. (a) The areas of parameters M0 and M1 where f(x) reaches minimum values. (b) The areas of parameters M0 and M1 where f(v) reaches minimum values.
Applsci 13 03304 g004
Figure 5. The results of this numerical experiment, where the values f(x) and f(v) are presented as a function of the time intervals Δt1 and Δt2. (a) The values f(x) is presented as a function of the time intervals Δt1 and Δt2. (b) The values f(v) is presented as a function of the time intervals Δt1 and Δt2.
Figure 5. The results of this numerical experiment, where the values f(x) and f(v) are presented as a function of the time intervals Δt1 and Δt2. (a) The values f(x) is presented as a function of the time intervals Δt1 and Δt2. (b) The values f(v) is presented as a function of the time intervals Δt1 and Δt2.
Applsci 13 03304 g005
Figure 6. Time waveforms of displacements, velocities, and accelerations.
Figure 6. Time waveforms of displacements, velocities, and accelerations.
Applsci 13 03304 g006
Figure 7. Results of numerical analysis analogous to those shown in Figure 6 but considering the limitation of the trajectory of the links by the presence of the substrate.
Figure 7. Results of numerical analysis analogous to those shown in Figure 6 but considering the limitation of the trajectory of the links by the presence of the substrate.
Applsci 13 03304 g007
Figure 8. View of the arm in a horizontal position.
Figure 8. View of the arm in a horizontal position.
Applsci 13 03304 g008
Figure 9. Setting link 2 in a vertical position (with link 1 blocked) with a steady state torque of M1 = 42.4 [Nm] at time Δt= 1.0 [s].
Figure 9. Setting link 2 in a vertical position (with link 1 blocked) with a steady state torque of M1 = 42.4 [Nm] at time Δt= 1.0 [s].
Applsci 13 03304 g009
Figure 10. Robot first arm with a motor and shaft block diagram.
Figure 10. Robot first arm with a motor and shaft block diagram.
Applsci 13 03304 g010
Figure 11. The block diagram of the first robot arm angular velocity control system.
Figure 11. The block diagram of the first robot arm angular velocity control system.
Applsci 13 03304 g011
Figure 12. The theoretical model of robot arm.
Figure 12. The theoretical model of robot arm.
Applsci 13 03304 g012
Figure 13. Block diagram of the VFOM.
Figure 13. Block diagram of the VFOM.
Applsci 13 03304 g013
Figure 14. Robot arm photo.
Figure 14. Robot arm photo.
Applsci 13 03304 g014
Figure 15. Robot arm measured step responses.
Figure 15. Robot arm measured step responses.
Applsci 13 03304 g015
Figure 16. Robot arm measured step responses with coefficients (44).
Figure 16. Robot arm measured step responses with coefficients (44).
Applsci 13 03304 g016
Figure 17. Plot of coefficients B j , 0 ( u j , 0 ) .
Figure 17. Plot of coefficients B j , 0 ( u j , 0 ) .
Applsci 13 03304 g017
Figure 18. Responses of the robot arm with transformed time.
Figure 18. Responses of the robot arm with transformed time.
Applsci 13 03304 g018
Figure 19. Coefficient c ( u k ) vs. u k .
Figure 19. Coefficient c ( u k ) vs. u k .
Applsci 13 03304 g019
Figure 20. Measured (black) and simulated fractional (red) and classical (blue) robot arm mathematical model step responses.
Figure 20. Measured (black) and simulated fractional (red) and classical (blue) robot arm mathematical model step responses.
Applsci 13 03304 g020
Figure 21. Measured (black) and simulated fractional model (red) robot arm responses.
Figure 21. Measured (black) and simulated fractional model (red) robot arm responses.
Applsci 13 03304 g021
Figure 22. IAE and ISE criteria.
Figure 22. IAE and ISE criteria.
Applsci 13 03304 g022
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.

Share and Cite

MDPI and ACS Style

Bąkała, M.; Duch, P.; Ostalczyk, P. New Approach of the Variable Fractional-Order Model of a Robot Arm. Appl. Sci. 2023, 13, 3304. https://doi.org/10.3390/app13053304

AMA Style

Bąkała M, Duch P, Ostalczyk P. New Approach of the Variable Fractional-Order Model of a Robot Arm. Applied Sciences. 2023; 13(5):3304. https://doi.org/10.3390/app13053304

Chicago/Turabian Style

Bąkała, Marcin, Piotr Duch, and Piotr Ostalczyk. 2023. "New Approach of the Variable Fractional-Order Model of a Robot Arm" Applied Sciences 13, no. 5: 3304. https://doi.org/10.3390/app13053304

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

Article Metrics

Back to TopTop