1. Introduction
The study on novel motion profiles is a motivating and valuable research area, since it can provide productivity increase and other significant benefits and to a wide variety of industrial applications. As a matter of fact, in many automation tasks transfer time represents a large part of the complete cycle time; as a consequence, the reduction of the transfer time can remarkably improve the overall plant efficiency. An emblematic example is robotics. Nowadays, robot mechanisms are much more lightweight and, consequently, flexible than in the past [Reference Albu-Schäffer, Haddadin, Ott, Stemmer, Wimböck and Hirzinger1, Reference Zhou and Bai2], in particular when compliant joints are adopted [Reference Bruzzone and Molfino3, Reference Pham, Hazel, Hamelin and Liu4]. Therefore, the conception of smooth motion profiles, suitable for reducing residual vibrations and overshoot, plays a noteworthy role in the optimization of the task execution [Reference Gasparetto, Boscariol, Lanzutti and Vidoni5].
For given limits on force/torque and on linear/angular velocity, the motion completion time is minimized by trapezoidal velocity motion profiles, with constant acceleration and deceleration in the first and last phase, and constant velocity in the intermediate phase. Nevertheless, it is well known that this law, characterized by discontinuities in acceleration (infinite jerk), produces persistent residual vibrations, penalizing the settling time [Reference Lewin6]. To face this issue, great research efforts have been devoted to the conception of smoother velocity profiles, which are frequently based on trigonometric or polynomials functions [Reference Biagiotti and Melchiorri7–Reference Berselli, Balugani, Pellicciari and Gadaleta11].
There are two main classes of methods which can be used for the generation of a rest-to-rest motion profile for a dynamic system.
The first class is represented by dynamic methods [Reference Constantinescu and Croft12]. These approaches exploit the dynamic model of the system, optimizing the motion profile while respecting kinematic and dynamic constraints, such as limits on force/torque and on the jerk.
On the contrary, kinematic methods do not consider the dynamic model. The synthesis of the motion profile is based exclusively on kinematic assumptions and constraints, usually expressed in terms of acceleration and jerk [Reference Kyriakopoulos and Saridis13]. Unquestionably, these methods are much simpler than dynamic ones, and consequently, they are widespread in industry. Moreover, they are more suitable for all implementations in which the motion planning is not known a priori but needs to be calculated in real-time. On the other hand, only sub-optimal solutions can be obtained using kinematic methods, reducing the system’s performance. However, reasonably good performances can be achieved, provided that jerk is properly limited [Reference Zanotto, Gasparetto, Lanzutti, Boscariol and Vidoni14].
In ref. [Reference Stretti and Bruzzone15], a kinematic method based on a motion law with elliptic jerk has been proposed and compared to other profiles discussed in the scientific literature: trapezoidal velocity, S-curve (trapezoidal acceleration), cycloidal, sinusoidal jerk [Reference Valente, Baraldo and Carpanzano16], modified sinusoidal jerk [Reference Fang, Qi and Hu17].
The conception of this law is indeed curiosity-driven: the ellipse is a geometrical entity related to many physical phenomena, and it can be defined by a small number of parameters. Therefore, the starting point is the idea of defining a motion law with an elliptical jerk profile and then evaluating its features by comparison with other widely used and well-known profiles.
In this paper, the definition of the motion profile is presented (Section 2); then, the analytical expressions of jerk (Section 3.1), acceleration (Section 3.2), velocity (Section 3.3), and position (Section 3.4) are discussed. Section 3.5 explains how all the profile parameters can be calculated from a minimum set of independent parameters (six time parameters for the asymmetric elliptic jerk profile and four time parameters for the symmetric elliptic jerk profile). In Section 4, a purely kinematic comparison with the other considered motion profiles is carried out, in terms of coefficients of jerk, acceleration, and velocity. Then in Section 5, the comparison is extended using a dynamic model, assessing the vibrations induced by the motion profiles to a second-order linear system. In Section 6, conclusions are debated, outlining benefits and drawbacks of the proposed motion law.
The main novelty of the work with respect to the early results presented in ref. [Reference Stretti and Bruzzone15] is the presentation of the analytical expressions of the motion profile in terms of acceleration, velocity, and displacement, obtained by successive integrations, and a more extended discussion of the dynamic response as a function of the system damping coefficient.
2. Elliptic jerk motion profile
A dimensionless formulation is adopted for the sake of generality. For given displacement length h and motion duration T:
-
the dimensionless time is the time t normalized by T: t ad = t/T;
-
the dimensionless position is the position s normalized by h: s ad = s/h;
-
the dimensionless velocity is the velocity v normalized by h/T: v ad = vT/h;
-
the dimensionless acceleration is the acceleration a normalized by h/T 2: a ad = aT 2/h;
-
the dimensionless jerk is the jerk j normalized by h/T 3: j ad = jT 3/h.
The proposed motion law is based on the jerk profile shown in Fig. 1 as a function of the dimensionless time, which varies from 0 to 1 from rest to rest. This profile is divided into seven phases (#1–#7, Fig. 1). The ith phase starts at t ad,i-1 and ends at t ad,i.
The first three phases are characterized by positive acceleration and have an overall duration t ad,pa. The fourth phase has null acceleration and constant velocity. The last three phases are characterized by negative acceleration and have an overall duration t ad,na. Consequently, the duration of the fourth phase is (1 − t ad,pa − t ad,na).
The positive acceleration motion is performed with positive jerk in phase #1, with null jerk in phase #2, and with negative jerk in phase #3. The durations of the phases #1 and #3 are, respectively, t ad,papj and t ad,panj. Consequently, the duration of phase #2 is (t ad,pa − t ad,papj − t ad,panj).
The deceleration is performed with negative jerk in phase #5, with null jerk in phase #6, and with positive jerk in phase #7. The durations of the phases #5 and #7 are, respectively, t ad,nanj and t ad,napj. Consequently, the duration of phase #6 is (t ad,na − t ad,nanj − t ad,napj).
There are four phases with non-null jerk: #1, 3, #5, and #7. In these phases, the jerk profile is elliptic. The two phases with positive jerk, #1 and #7, have, respectively, maximum values of +j ad1 and +j ad7. The two phases with negative jerk, #3 and #5, have, respectively, minimum values of −j ad3 and −j ad5. With the hypothesis of the elliptical profile, the dimensionless jerk law is completely defined by 10 positive parameters:
-
four positive jerk peak parameters: j ad1, j ad3, j ad5, j ad7;
-
six time parameters: t ad,pa, t ad,na, t ad,papj, t ad,panj, t ad,nanj, t ad,napj.
3. Analytical expression of the motion profile
3.1. Expression of the jerk profile
The analytical expression of the motion profile can be derived from the representation of the semi-elliptical shape of the jerk of a generic phase shown in Fig. 2.
The parametric equation of the semi-ellipse of Fig. 2 is
where 0 ≤ u ≤ π. By means of some trigonometric manipulation, we can obtain the following expression of the jerk, valid for all the phases, including the null jerk ones, for which σ i = 0:
3.2. Expression of the acceleration profile
The expression of the acceleration profile has been found by analytical integration of Eq. (2), obtaining the following formula for the ith phase, for t ad,i-1 ≤ t ad < t ad,i:
where a ad,i-1 is the acceleration at the end of the i − 1th phase. In particular, for the phases with null jerk (i = 2, 4, 6), σ i = 0, then acceleration is constant, and Eq. (3) becomes:
3.3. Expression of the velocity profile
The expression of the velocity profile has been found by analytical integration of Eq. (3), obtaining the following formula for the ith phase, for t ad,i-1 ≤ t ad < t ad,i:
where v ad,i-1 is the velocity at the end of the i − 1th phase. In particular, for the phases with null jerk (i = 2, 4, 6), σ i = 0, then acceleration is constant, and the velocity profile becomes:
3.4. Expression of the position profile
The expression of the velocity profile has been found by analytical integration of Eq. (5), obtaining the following formula for the ith phase, for t ad,i-1 ≤ t ad < t ad,i:
where s ad,i-1 is the position at the end of the i − 1th phase. In particular, for the phases with null jerk (i = 2, 4, 6), σ i = 0, and the position profile becomes:
3.5. Dependence of the motion profile parameters
As discussed in Section 2, the jerk profile is completely defined by 10 parameters, four jerk peak parameters and six time parameters. Consequently, also the acceleration, velocity, and position profiles, which are obtained by successive integrations, are defined by these 10 parameters. Nevertheless, these parameters are not independent, once these conditions are imposed:
-
I. null acceleration at the end of phase #3: a ad(t ad3) = a ad(t ad,pa) = 0;
-
II. null acceleration at the end of phase #7: a ad(t ad7) = a ad(1) = 0;
-
III. null velocity at the end of phase #7: v ad(t ad7) = v ad(1) = 0;
-
IV. unit dimensionless position at the end of phase #7: s ad(t ad7) = s ad(1) = 1.
Since acceleration is the integral of the jerk, conditions I and II mean that the semi-elliptical areas defined by the jerk profiles are equal for the couple of phases #1–#3, and for the couple #5–#7. The four conditions I–IV establish four equations in the 10 profile parameters, which can be used in different ways. One possible choice, which is adopted in the following of the work, is to obtain the four jerk peak parameters (j ad1, j ad3, j ad5, j ad7) as functions of the six time parameters (t ad,pa, t ad,na, t ad,papj, t ad,panj, t ad,nanj, t ad,napj). Using this approach, the equations representing the conditions I–IV have been elaborated, obtaining the following expressions of the four peak parameters as a function of the time parameters:
where the four constants c 0–c 3 are defined by the following equations:
In particular, Eq. (10) represents the ratio between the two jerk peaks in acceleration due to condition I, while Eq. (12) represents the ratio between the two jerk peaks in deceleration due to condition II. Equations (9) and (11) derive, respectively, from conditions IV and III.
For example, Fig. 3 shows the jerk, acceleration, velocity, and acceleration motion profiles obtained imposing the time parameters t ad,pa = 0.3, t ad,na = 0.5, t ad,papj = 0.05, t ad,panj = 0.15, t ad,nanj = 0.2, and t ad,napj = 0.25. The resulting jerk peak parameters are j ad1 = 208.07, j ad3 = 69.36, j ad5 = 37.83, and j ad7 = 30.26. The dimensionless acceleration varies between a maximum of 8.17 in phase #2 and a minimum of −5.94 in phase #6, while the dimensionless velocity reaches a maximum value of 1.634 in phase #4.
The maximum absolute values of dimensionless jerk, acceleration, and velocity (208.07, 8.17, 1.634) correspond to the coefficients of jerk, acceleration, and velocity, defined as follows [Reference Biagiotti and Melchiorri7]:
The jerk profile of Fig. 3 is completely asymmetric, since all the phases have different durations, and all the four jerk peaks are different. This profile is named asymmetric elliptic jerk profile. The maximum absolute values of acceleration and jerk are lower in deceleration (phases #5−#7) with respect to acceleration (phases #1−#3), as usual in motion control to reduce residual vibrations.
The condition of lower absolute values of acceleration and jerk in deceleration can be maintained even with a simplifying assumption, which reduces the number of profile parameters. With the hypothesis that t ad,papj = t ad,panj and t ad,nanj = t ad,napj, from Eqs. (10) and (12), it follows that j ad1 = j ad3 and j ad5 = j ad7. Consequently, both the acceleration motion (phases #1–#3) and the deceleration motion (phases #5-#7) have symmetric acceleration profile, but can have different maximum values of acceleration and jerk. This profile is named symmetric elliptic jerk profile. In this case, the minimum set of parameters that define the motion profile is lower: four independent duration parameters (t ad,pa, t ad,papj = t ad,panj, t ad,na, t ad,nanj = t ad,napj) and two dependent peak parameters (j ad1 = j ad3 and j ad5 = j ad7). An example of symmetric jerk profile is shown in Fig. 4, which represents the dimensionless jerk, acceleration, velocity, and displacement for t ad,pa = 0.3, t ad,na = 0.5, t ad,papj = t ad,panj = 0.1, and t ad,nanj = t ad,napj = 0.2. The corresponding jerk peak parameters are j ad1 = j ad3 = 106.10, and j ad5 = j ad7 = 35.37. The dimensionless acceleration varies between a maximum positive of 8.33 in phase #2 and negative minimum of −5.56 in phase #6, while the dimensionless velocity reaches a maximum value of 1.667 in phase #4.
4. Kinematic comparison with other motion laws
In this section, the proposed elliptical jerk motion profile (EJ) is compared from a purely kinematic point of view to other geometric and trigonometric motion laws analyzed in the scientific literature, maintaining the dimensionless approach for the sake of generality. The following motion profiles are compared in Fig. 5:
-
TV: trapezoidal velocity profile [Reference Biagiotti and Melchiorri7]
-
TA: trapezoidal acceleration (S-curve) [Reference Biagiotti and Melchiorri7]
-
CY: cycloidal profile [Reference Biagiotti and Melchiorri7]
-
SJ: sinusoidal jerk profile [Reference Valente, Baraldo and Carpanzano16]
-
MSJ: modified sinusoidal jerk profile [Reference Fang, Qi and Hu17]
The cycloidal law cannot have finite phases with null jerk. Therefore, in order to include in the comparison also the cycloidal law, for the EJ profile a null duration has been imposed for the phases with null jerk (#2, #4, #6), along with an equal duration of 1/4 for the remaining ones (#1, #3, #5, #7). With these assumptions, all the considered motion profiles are fully defined, except the MSJ profile.
In general, the MSJ profile is characterized by 15 phases [Reference Fang, Qi and Hu17]. In the phases #1, #3, #5, #7, #9, #11, #13, and #15 jerk is sinusoidal; in the phases #2, #6, #10, and #14 the jerk is constant; in the phases #4, #8, and #12 the jerk is null. In practice, the MSJ profile is similar to the EJ profile, but each phase with semi-elliptical jerk is replaced by a triplet of phases (sinusoidal-constant-sinusoidal). To include in the comparison the CY law, the null jerk phases of the MSJ law (#4, #8, #12) have been eliminated. The constant jerk phases cannot be eliminated; otherwise, the MSJ law becomes a SJ law. Therefore, the following assumptions are made: the duration of the phases with sinusoidal jerk is 1/16, and the duration of the phases with constant jerk is 1/8.
Table I summarizes the coefficients of jerk, acceleration, and velocity (Eq. 17) for the considered motion profiles. The influence of these coefficients is extensively debated in ref. [Reference Biagiotti and Melchiorri7]. In general, smoother trajectories present higher peaks of velocity and acceleration (C v and C a). The coefficient C a is significant since the force/torque applied by the motor is proportional to acceleration for inertial systems. On the other hand, the kinetic energy is proportional to square of velocity; therefore, it is convenient to have low values of C v. The coefficient C j provides an information about the jerk peaks, which influence the vibrations induced by a motion profile.
From the analysis of Fig. 5 and Table I, it is possible to summarize the following observations:
-
As regards the coefficient of jerk, the SJ profile has the highest value (50.27), excluding the TV profile, which has infinite jerk, due to the acceleration discontinuities. The EJ profile has a coefficient C j of 40.74, which is slightly higher than the ones of the CY and MSJ profiles (respectively 39.48 and 39.11). The TA profile has the lowest C j (32.00), but has also jerk discontinuities for t ad = 0, 0.25, 0.75, and 1. Jerk is discontinuous also for the CY profile in t ad = 0, when it varies from 0 to 39.48, and in t ad = 1, when it varies from 39.48 to 0.
-
As regards the coefficient of acceleration, the EJ, TA, SJ, and MSJ profiles have the same value (8), while the CY and TV laws are characterized by lower values (2π and 4).
-
With the considered hypotheses, the coefficient of velocity has the same values for all the profiles (2).
It is possible to note that the SJ and MSJ profiles are the most qualitatively similar to the proposed EJ profile as regards the jerk shape, but the SJ as a significantly higher C j. On the other hand, the C j of the EJ profile is very close to the ones of the CY and MSJ laws. A significant difference between the EJ profile and the TV, TA, and CY laws is that the EJ jerk profile is continuous.
In the following section, a dynamic comparison among these motion profiles is carried out with reference to a second-order linear system.
5. Dynamic comparison with other motion laws
For the dynamic comparison among the considered motion laws, a second-order linear system has been taken into account, characterized by the following differential equation:
This very simple linear model has been selected for the investigation since it can represent a wide variety of single-input single-output dynamic systems, such as:
-
an inertia m (either translating or rotating), position-controlled by means of a PD closed-loop with proportional gain k, derivative gain d, and time-variable set-point x d;
-
an inertia m connected in parallel by a spring with stiffness k and by a damper with coefficient d to a moving base with time-variable position x d.
The following results are referred to a case study with m = 1 kg and k = 2200N/m, considering three different levels of damping ratio ζ: (I) ζ = 0.1 (d = 9.38 Ns/m); (II) ζ = 0.5 (d = 46.90 Ns/m); (III) ζ = 1 (d = 93.80 Ns/m).
Six different time histories of x d have been obtained scaling the six dimensionless profiles of Fig. 5 with a displacement h = 0.1 m and a motion duration T = 0.5 s. Figures 6–8 show the relative displacement x r = x – x d and the relative velocity dx r/dt for the damping levels I, II, and III, comparing the vibrations deriving from the six motion profiles.
Moreover, Table II compares the six laws in terms of maximum absolute values of x r, RMS values of x r, settling times to within ± 0.04 mm (around 2% of the maximum relative displacement), maximum absolute values of relative velocity (|dx r /dt|), and maximum absolute values of relative acceleration (|d 2 x r /dt 2 |).
From the analysis of Figs. 6–8 and of Table II, it is possible to outline the following conclusions:
-
As expected, the TV profile, characterized by acceleration discontinuities and infinite jerk, induces the highest peaks of relative acceleration and velocity, and consequently the highest settling times, for all the damping levels.
-
Also, the CY profile has high settling time with respect to the EJ, TA, SJ, and MSJ laws, especially in case I, with low damping; on the other hand, this profile induces the lowest peaks of relative acceleration and velocity.
-
From a qualitative point of view, the dynamic responses induced by the EJ law are similar to the ones induced by the MSJ profile, for all the damping levels: as a matter of fact, in Figs. 6–8 the time histories of EJ and MSJ are nearly coincident; also the behavior related to the SJ profile is quite similar, but slightly more oscillatory.
-
For all the damping levels, the maximum absolute relative displacement |x r | of the EJ law is lower than the ones of the SJ and MSJ laws, but it is higher than the ones of the CY, TA, and TV profiles.
-
The settling time of the EJ law is the second lowest in case I (lower damping), after the TA profile. In cases II and III, with higher damping, the settling times are more aligned for all the profiles, and the EJ profile is better than the TA profile. Summing the settling times in the three cases, the EJ profile is a second best after the TA law.
6. Conclusions and future developments
In this paper, a motion profile with elliptically shaped jerk has been proposed, presenting the analytical expressions of jerk, acceleration, velocity, and position. In dimensionless formulation, the profile is completely defined by 10 parameters: six time parameters and four jerk peak parameters. Nevertheless, imposing four necessary conditions (null acceleration at the end of phases #3 and #7, null velocity and unit displacement at the end of phase #7), the jerk parameters can be calculated as functions of the time parameters (explicit equations are presented).
Moreover, the minimum set of parameters can be reduced from six to four with the assumption that the two jerk peaks in acceleration are equal, as the two jerk peaks in deceleration (symmetric elliptic jerk profile). Also with this simplification, it is still possible to impose lower absolute values of acceleration and jerk during the deceleration, as usual in motion control to limit the residual vibrations.
The proposed law has been compared to other well-known geometric/trigonometric motion profiles: trapezoidal velocity, trapezoidal acceleration (S-curve), cycloidal, sinusoidal jerk, modified sinusoidal jerk.
First, a kinematic comparison has been carried out, discussing the coefficients of jerk, acceleration, and velocity of the considered profiles. Then, a dynamic assessment has been performed, evaluating the vibrations induced to a second-order linear system. Even if this model is very simple, it can represent adequately a wide range of real applications, such as closed-loop control of a mechatronic axis, or vibrations induced to a suspended mass by a moving base.
The results show that the elliptic jerk profile is an interesting option, since it achieves a good compromise among settling time and maximum values of relative velocity and acceleration. In particular, the performance of the elliptic jerk profile is interesting in case of high damping levels, more suitable for closed-loop position control. Regarding this application, not only the profile effectiveness using classical integer-order algorithms (PID/PD) will be assessed but also in combination with fractional-order and distributed-order controllers [Reference Podlubny18–Reference Bruzzone and Fanghella21]; to this aim, a test bench has been prepared, and an experimental campaign is in progress.
In future work, the dynamic analysis will be extended varying continuously two parameters: (i) the damping coefficient ζ and (ii) the nondimensional ratio between the inverse of the motion duration T and the natural frequency of the second-order system. Then, the different profiles will be compared not only in the time domain but also in the frequency domain.
Moreover, the investigation will be deepened considering not only linear systems, but extending the comparison with other motion profiles also in presence of the typical nonlinearities of real mechatronic axes with ordinary [Reference Concli, Gorla, Stahl, Hoehn, Michaelis, Schultheiss and Stemplinger22] and planetary [Reference Fanghella, Bruzzone, Ellero and Landò23] gears.
Finally, another research direction is the application of multi-input multi-output robotic systems. Innovative motion profiles can be used to plan end-effector point-to-point linear movements, improving different performance indexes (accuracy, energy efficiency). The study will start from simple robotic architectures, eventually statically balanced [Reference Bruzzone and Bozzini24], arriving at flexible architectures [Reference Boscariol, Scalera and Gasparetto25].
Author contributions
DS conceived the elliptic jerk motion profile and obtained its analytical formulation. LB and DS designed the simulation campaign. LB, PF, and GB supervised the scientific methodology. LB and DS wrote the article.
Financial support
This research has been partially funded by the Interreg Project SMERF – SME Ready for the Future.
Conflicts of interest
The authors declare no conflicts of interest exist.