1. Introduction
Vibration control of moving flexible slender structures is a key issue in many engineering applications. Some examples include, but are not limited to, the following: antennas, solar arrays, radar reflectors, and robotic arms, especially in the aerospace sector [
1,
2,
3,
4,
5] or in manipulators mounted on moving platforms [
6,
7], where weight, compactness, and energy consumption are restrictive design constraints. These structures typically consist of interconnected slender and flexible elements that external actuators move to achieve specific configurations and positions. The motion law causes unwanted vibrations, with the risk of precision degradation and structural failure due to mechanical fatigue. Furthermore, vibrations can also affect the perception and sensing capabilities of robots. Sensory systems, such as cameras, lidars or other environmental sensors, can be susceptible to vibrations, leading to distorted or unreliable data acquisition. This has significant consequences for applications that rely on accurate sensing, such as autonomous navigation or object recognition. An example of this scenario is discussed in [
7], where input-shaping techniques are applied to suppress the end-effector vibrations in a mobile mine-detecting robotic manipulator; in this case, due to the long reach of the arm mounted on the moving platform, unwanted oscillations can corrupt the scanning information collected by the sensor system positioned at the end of the arm.
The most common motion-control techniques for the reduction of vibrations induced in flexible structures by imposed motion can be broadly categorised into the two following groups:
- -
open-loop control that involves generating motion trajectories [
8] able to mitigate expected vibrations by foreseeing their effects before they occur. These techniques often utilise sophisticated control algorithms, such as input shaping and model-based control, to pre-calculate and optimise the desired motion profiles;
- -
closed-loop control that employs sensors and actuators to measure and counteract vibrations in real time actively, e.g., [
9]. These methods typically utilise feedback control algorithms to monitor the system’s response continuously and to generate appropriate control signals for damping the vibrations.
The method presented in this paper falls into the first group and in the pre-shaping techniques for motion control. Pre-shaping techniques can be highly effective in reducing vibrations, but they are prone to uncertainties and non-linear behaviours. On the other hand, closed-loop techniques can be affected by sensor noise and involve complex sensing and actuation systems, higher implementation costs, and increased system complexity and maintenance requirements. Therefore, these two techniques should be considered part of a more general hybrid approach to minimise vibrations. As an example, an interesting application of a hybrid methodology can be found in [
10], where both joint trajectory planning, based on the LQR formalism, and collocated active control using piezoelectric actuation, for compensating modelling uncertainties, is applied to control a flexible link robot. It is worth saying that pre-shaping becomes the main applicable vibration control strategy when the system cannot be equipped with sensors or when sensors are not responding. An industrial example from the authors’ experience is a sorting system for laser-proceed sheets with dual-arm Cartesian kinematics [
11]. In this application, the structure whose vibrations need to be minimised is a part of the system transported by the gripping tools and, for obvious technological reasons, its sensorisation is not a viable solution; therefore pre-shaped techniques of the motion profile must be implemented to improve the system performance and to reduce vibrations. In any case, pre-shaping the motion law can improve the accuracy and robustness of sensory inputs and enable the construction of lighter systems with reduced energy consumption at a design level. It follows that pre-shaping approaches should always be considered when the system’s dynamics can be predicted with relatively good accuracy, while at the same time, closed-loop control can be added to assure robustness, stability and performance, even in the presence of uncertainties and non-linearities. Many interesting studies on motion control using open- and closed-loop techniques for reducing self-induced vibration in flexible systems can be found in the literature, and a comprehensive literature review on the subject is beyond the scope of this paper. Therefore, only some studies are cited, while a general discussion and presentation of various techniques can be found, for example, in [
12,
13,
14,
15,
16] or in books dedicated to the subject, e.g., [
17].
One of the first studies on pre-shaped motion laws can be found in [
18], where the vibration suppression problem was formulated as a mathematical optimisation in the mechanical cam profile design field. In [
18], both linear and quadratic optimisations were evaluated, and the problem of constraining kinematics was addressed. Since then, a large number of algorithms and strategies have been developed and proposed in the literature, each with the potential to be efficacious in implementing vibration minimisation. The technique known as bang-bang control, in both its open- and closed-loop variations, has been a widely used strategy for vibration control of mechanical systems actuated by electric drives. Concerning its open-loop variant, the application requires accurate knowledge of the switching times, which can be obtained from a representative dynamic model of the system, e.g., [
19]. Since the pre-shaped input law calculated using the bang-bang approach uses several discontinuities in the current profile supplied to the control, undesired oscillations and overshoot can occur, leading to sub-optimal power consumption. In [
20], a bang-bang multi-switch time-optimal control technique was compared with an open-loop control function composed of a series of harmonics of ramped sinusoids, in terms of both residual vibration attenuation and actuation time; the methodologies were applied to a three-degree-of-freedom (DOF) mechanical model, concluding that the latter approach better satisfies both objectives. In [
19], the bang-bang multi-switch method was studied on a continuous system consisting of a flexible robotic arm. Later, a different approach was proposed in [
21], where a new method of pre-shaping the motion profile based on the gradient projection method was tested on two different flexible systems actuated by a servo DC motor. In this case, the acceleration law was described by a piece-wise constant function of time; despite the work’s contribution to the field, the same issues of bang-bang control related to profile discontinuities were not solved. A comparison between different pre-shaped motion profiles to reduce residual vibration in rest-to-rest movements of a flexible manipulator arm was discussed in [
1], where the authors concluded that, compared to constant acceleration, a smoother motion profile consisting of sinusoidal arcs shows better performance in terms of vibration reduction. An interesting idea was proposed in [
22], where an open-loop vibration control strategy that ensures high smoothness of the motion profile was applied to a mechanical servosystem with elastic transmission; however, despite considering constrained kinematics, the approach in [
22] was limited to a single-DOF mechanical model and point-to-point tasks and could not be easily extended to more complex models and/or other design’s constraints such as interpolation of waypoints.
This work deals with the vibration minimisation induced in multi-mode flexible structures, such as translating or rotating flexible beams, actuated by a rigid joint. In the proposed approach, the motion imposed by the joint is obtained by appropriately calculating the control points of a time-parameterised B-spline representing the shape of the acceleration profile. The advantages of this parametrisation, which is universally accepted as a standard format in CAD applications, are well-known in the literature. Specifically, in a previous paper presented by the authors [
23], time-parameterised B-splines are used as the data structure of a trajectory design framework based on the concept of iso-parametric representation of the motion profile. The parameterisation adopted is also particularly suitable in the case of defining motion with constrained kinematics by minimising a cost function using constrained minimisation techniques. Once the cost function has been defined, the motion constraints (typically the maximum velocities and accelerations imposed by the physical system) can easily be imposed as inequality constraints on the control polygon of the spline through linear combinations, e.g., [
24,
25,
26].
The main contribution of this work is to provide a general methodology for extremely smooth pre-shaped control, increasing the knowledge in the literature on this type of method and attempting to meet the requirements of real industrial control. It is in fact demonstrated, also in the cited literature, that a smoother motion profile facilitates set-point tracking by the controller, resulting in higher performance. Compared to similar methods, the proposed technique allows the motion to be planned within the kinematic constraints imposed by the physical system and it can be easily extended to other types of constraints, such as interpolation of waypoints. The extreme flexibility of the approach also allows for other possible extensions, such as the use of multi-objective cost functions, or the control of more complex structures (implementing for example finite element models). While most of the similar techniques reported in the literature are limited to rest-to-rest applications, the method presented in this work is also suitable for defining multi-target motion profiles, especially when used in combination with an iso-parametric trajectory planning approach [
23].
The remainder of the paper is organised as follows.
Section 2 reports the mathematical theory of the proposed approach.
Section 3 illustrates the specific application case to which the presented method is applied. In order to prove the validity of the method, a multibody simulation is presented and discussed in
Section 4. Finally, a summary concludes this work in
Section 5.
2. Method: Vibration Optimal Trajectory Planning
The methodology presented in this section is proposed for a one-axis application that can be modelled by one actuated rigid joint (prismatic or revolute) and flexible or rigid structures, which can be connected to each other by other joints. Typical examples of these models are translating or rotating flexible beams or lumped multi-degrees of freedom systems with rotational or translational motion such as pendulums and chains of mass springs. In all these cases, the dynamics can be generally modelled according to the following discretised equation
where
and
are square mass and stiffness matrices,
is the acceleration imposed on the system by the actuator,
is a vector depending on the moving system and
is a vector of generalised coordinates. The latter can be physical displacements, nodal displacements of an FE model of the structure or other coordinates such as modal coordinates of an assumed-mode model.
The system considered is linear, and the mass and stiffness matrices are real, symmetric and positive-definite. Therefore, a generalised eigenvalue decomposition can be applied to diagonalise the
and
matrices. Once the eigenvalues,
, and the normalised eigenvectors matrix,
, are evaluated, one can rewrite the system of uncoupled equations of motion in the eigenspace as
where
n is the number of degrees of freedom (DOFs) in Equation (
1).
If the acceleration profile
is known, Equation (
2) can be solved by means of a convolution integral (Duhamel’s integral) [
27]. Setting the initial conditions
and
, the response in the modal coordinates is as follows:
Let
be defined by a 1D time-parameterised spline of degree
d in its B-form
where
is the final time instant of the motion and
is the vector of control points. The basis functions
are defined by Cox-de Boor recursion formula [
28]:
based on a non-decreasing knot sequence
. In this work, the knots are always non-periodic and non-uniform, i.e., in the form:
with the endpoints of the parameterisation interval repeated
times. Using Equation (
4), the modal response in Equation (
3) becomes
Denoting by
the
ith derivative of the generic function
and by
its
ith antiderivative, we proceed integrating by parts:
Since the
dth antiderivative of
is always defined, Equation (
8) can be applied repeatedly to the integrand of Equation (
7). As a consequence, the degree of the spline, resulting from the
ith derivation of
, decreases consecutively until the degree is zero [
29]. Imposing the boundary conditions
the constant terms in Equation (
8) become null, and Equation (
7) can be written as follows:
where the knots
are defined by setting the initial and final knots with a multiplicity of one in Equation (
6) and obtained from the general formulation
In Equation (
10), the terms
denote the control points of the
dth derivative of the spline
, defined by the recursion formula [
28]:
where
is a constant. From Equation (
5), we note that the terms
in Equation (
10) is equal to 1 if the variable
; otherwise, it is zero. It follows that, by the additive property of the integration operator, one obtains
Defining:
we can expand Equation (
13) to obtain a linear combination of the elements of the unknown vector
:
Repeating the same passages and similarly to how Equation (
15) is derived, the time derivatives of Equation (
3) at
is reformulated as
where
The residual energy of the system at time
can be expressed by
where
is the symmetric matrix:
Since Equation (
19) is in standard quadratic form, it follows that
From the definition of residual energy, we have
; therefore, the matrix
is positive semi-definite and the residual energy in Equation (
19) is convex. Consequently, the determination of the unknown control points
can be obtained using convex quadratic minimisation. The Hessian matrix
is uniquely defined by the adopted knots
and the coefficients
,
, and
.
Appendix A shows these coefficients up to degree 2 of the spline. The knots sequence
adopted in this work is obtained by averaging the formula from an equispaced mesh in the parametric domain, in accordance with the following expressions:
In practical applications, the motion profile is subject to physical constraints dictated by the mechanics of the system and the specific drive, in addition to the requirements of the desired trajectory. For the sake of clarity, we define the position, velocity and jerk profiles:
,
, and
. Constant kinematic limits
,
and
are assumed for the velocity, acceleration and jerk constraints, respectively. Let
and
be defined, with the subscripts
s and
t corresponding to the start and target states of the system. Since the problem is not limited to these constraints, in this work we considered the following:
Other constraints can be included in (
23); for example, it may be desired to pass through some positions (or any derivative) that can be expressed as interpolation constraints.
A spline of degree
d is always contained in the convex hull of its control polygon. It follows that it is conservative to express Equation (
23) as linear relations of the control points
of the spline
[
24,
25,
26]. The constrained QP problem can be summarised as follows:
where
is the constraints matrix, while the vectors
and
are the lower and upper limits and they are defined as follows:
with
identity matrix and
The
matrix is derived from Equation (
12), while more details about
and
are provided in
Appendix B.
The problem defined by Equation (
24) can be solved using a standard quadratic minimisation solver. In this work, the solution is computed with an Operator splitting Solver for convex Quadratic Programs (OSQP) [
30]. The OSQP solver needs the
and
matrices provided in the Compressed Sparse Column (CSC) format. A comprehensive explanation of the storage CSC format can be found in reference [
31]. In particular, for the
matrix, only its upper triangular part is required.
We conclude this section with a consideration on the limits of applicability of the proposed method. Specifically, a solution that satisfies the constraints is not always possible when the time
is insufficient to perform the displacement
satisfying both the kinematic constraints and the required smoothness of the motion profile. In this case, a solution is to increase either
, the number of control points or both until an acceptable value of the cost function in (
19) is obtained. A more refined solution would instead consist of appropriately modifying (
19) to define a multi-objective cost function that also introduces
knots into the problem variables. This solution, although of interest to the authors, will not be explored in this paper but will be the subject of future work.
3. Testing Case: A Rotating Multi-Mode Flexible and Slender Beam
Mechanical systems that consist of thin or slender flexible structures can be effectively represented by beam or rod models. Therefore, to test the method’s effectiveness, we designed the acceleration input laws to control the endpoint position of a flexible beam of length
L attached to a rigid revolute joint of moment of inertia
and radius
r (
Figure 1).
The motion of the beam is constrained to the horizontal plane, and gravity is not considered. To describe the flexural vibration of the beam, two Cartesian systems of coordinates are used: the fixed inertia coordinates
and the relative coordinates
rotating around the joint axis, as shown in
Figure 1. During the movement, the beam undergoes rigid body motion defined by
, while
represents the angular displacement of the beam’s endpoint.
Both the shear and rotatory inertia effects are neglected. The link is represented by an Euler–Bernoulli beam whose mass per unit length and Young’s modulus are denoted by and E, respectively; is the transverse displacement of the beam measured in the relative frame . The control aims to minimise the beam’s tip-point residual vibrations that result from the motion law due to the application and release of the motion generated by the actuator in the hub.
The complex dynamics of this system have been extensively studied in the literature, e.g., [
32,
33,
34,
35,
36,
37,
38], and details on the full development of the equations of motion are not reported here. We assume that the angular velocity
and the beam deflection
are relatively small so that centrifugal and Coriolis effects can be neglected [
33]. Under these premises, the governing equation of motion of the beam could be simplified as follows:
To obtain an approximate formulation of the Equation (
31), we assume the solution in the form of a series composed by a linear combination of admissible functions
, multiplied by time-dependent generalised coordinates
[
27]:
The eigenfunctions of a clamped-free beam are used as admissible functions:
where
and
is obtained from the characteristic equation
Six modes are assumed in the problem, resulting in a
problem in Equation (
1). More or less modes can be chosen according to the problem and the analyst’s choice. Substituting Equation (
32) into Equation (
31) and premultiplying by
, after integration over the domain
, the discretised equations of motion in the form of Equation (
1) are obtained, where the mass
and stiffness
matrices and the vector
in Equation (
1) are
Material and geometrical data of the beam are given in
Table 1.
Two different scenarios are considered: the first deals with rest-to-rest motion profiles; the second proposes an application of our algorithm to a multi-target problem.
3.1. Rest-to-Rest Testing Case
In this scenario, the algorithm detailed in
Section 2 is tested on rest-to-rest motion profiles, thus using the conditions
and
0. The proposed method is tested by varying some parameters; in particular, two cases are considered:
- -
Case I: angular displacement , change in actuation time ;
- -
Case II: actuation time , change in angular displacement .
In more detail, the displacements and actuation times used in the tests are reported in
Table 2. The following kinematic constraints were used in all cases:
rad/s,
rad/s
2 and
rad/s
3.
Figure 2 and
Figure 3 show the optimal motion profiles obtained with the present method for Case I and Case II. The figures report the shapes of the position, velocity, acceleration, jerk and snap profiles (snap is the fourth time-derivative of the position).
Table 2 also presents performance data related to the proposed motion law optimisation process. It can be noted that the solve time of the OSQP solver increases when the kinematic constraints become more severe and the actuation time is reduced. This condition, in fact, corresponds to more iterations of the solver and to an increase in the computational time.
3.2. Multi-Target Testing Case
In order to show the applicability of the methodology to multi-target applications, an optimised motion law for the minimisation of the vibrations at three distinct instants during the movements is presented. In this example, the desired motion profile consists of five sections: three with variable velocity, one with a constant velocity and one at zero velocity and acceleration (rest section). Such conditions occur in various application cases, such as those where a constant speed, or a rest condition, is required for the production process, e.g., a homogeneous layer for paint robots, static measurements, etc. In these cases, oscillations are undesired since they can compromise performance and quality.
The data for the different tasks are detailed in
Table 3. The following kinematic constraints were adopted for the entire motion profile:
rad/s,
rad/s
2 and
rad/s
3. All sections are defined by time-parametrised B-splines of degree
, relative to the position order, and post-processed through the framework proposed in [
23] in order to obtain a motion profile described by a single parametric function.
The shape of the generated motion profile, from position to jerk, is shown in
Figure 4, where
, with
, denotes the actuation times of the sections. As it can be seen from the details in the figure, the kinematic constraints adopted are saturated in different sections of the motion profile. As noted above and in
Table 3, this results in longer solution times for the OSQP solver.
4. Validation: Multi-Flexible-Body Simulation
The rotating beam model defined by Equation (
31), used to obtain the optimal motion laws in
Figure 2 and
Figure 3, is a strongly simplified model of the dynamics of this system (e.g., [
33]). Therefore, in order to validate the method’s effectiveness in the presence of centrifugal and Coriolis effects, coupling between axial and transverse vibrations and non-linear effects, simulations were performed using the open-source multi-flexible-body simulation engine
projectchrono [
39,
40]. The testing cases reported in
Section 3.1 and
Section 3.2 are simulated and quantitatively presented in this section.
The system’s dynamic model is formulated here through a redundant coordinate set approach [
41], in which the beam is modelled using FEA and constraints are included using Lagrange multipliers. To simulate the evolution of the model above, we employed a dedicated DAE solver, namely an implicit Hilbert–Hughes–Taylor (HHT) time integrator [
42].
Figure 5 shows the dynamic model of the system, which consists of three bodies: a fixed (invisible) truss, a rigid hub and a flexible beam. Material and geometrical data are the same as those reported in
Table 1. The hub is constrained to rotate about the
axis according to the motion profile
provided by the user. The FE model of the beam is realised using beam elements with six DOFs per node: three displacements—
and
w—and three rotations—
and
. Thirty beam elements are used to discretise the structure, which have been found to be sufficient in representing the vibrations of the beam. The beam is clamped at one end to the hub by a fixture joint (i.e., six scalar equations) and is free at the tip end.
Starting with the evaluation of the motion profiles in
Section 3.1, the results of the simulation are compared with those obtained by applying two common motion profiles, viz the constant-jerk double-S and the polynomial 3-4-5, [
43], which are typically implemented in industrial applications.
Figure 6 and
Figure 7 show the results obtained for Case I and Case II (according to
Table 2), respectively. For each sub-case, the system’s response is represented either as the angular displacement at the end-point of the beam
or as the transverse deflection
with respect to the moving frame
(with reference to
Figure 1). The simulation results show that a significant reduction in residual vibration is achieved by the proposed method. Related quantitative data are provided in
Table 4 and
Table 5, where the advantages of the proposed approach over comparison methods can be clearly seen.
Figure 8 shows the results for multi-target case study reported in
Section 3.2, where the transverse displacement of the beam during movement is illustrated. Once again, the significant reduction in residual vibration in the three target sections (the constant velocity sections, the rest section and the end of the movement) demonstrates the method’s effectiveness.