4.1. Pseudo-Inverse Method and Weighted Pseudo-Inverse Method
Since the Jacobian matrix of the task space has more columns than rows, it is different from the three-DOF Jacobian matrix inverse solution of the serial mechanism based on the definition of the generalized inverse. There is a right pseudo-generalized inverse for the nine-DOF Jacobian matrix of the hybrid mechanism, as follows:
where
.
The advantages of the pseudo-inverse method are its simple structure and easy application. The main shortcoming is that the serial and parallel mechanisms are treated equally without considering structural differences.
The hybrid mechanism consists of a parallel mechanism and a serial mechanism, both of which have different advantages. For example, the parallel mechanism has a fast response velocity and compensates simultaneously for a small position range and orientation. Furthermore, the orientation compensation ability is relatively strong, while the serial mechanism has superiority in position space compensation. In summary, the weighted pseudo-inverse method is adopted in coordinate motion for different tasks.
Adding a positive definite weighted matrix
for motion planning, we introduce transformations
and
to Equation (
26).
l is the weighting index. The larger the
l value, the more pronounced the weighting effect. When
, there is no weighting effect. Generally, the default value
is used.
is considered as the motion planning matrix of the hybrid mechanism.
Different sea conditions and tasks require corresponding mechanisms to exploit the benefits of their configurations. The weighted pseudo-inverse method is added to the weight
for parallel and serial connections. The larger the
value, the greater the compensation effect of the parallel mechanism, and the smaller the compensation effect of the serial mechanism. The smaller the
value, the more significant the compensation effect of the serial mechanism, and the smaller the compensation effect of the parallel mechanism. The motion of the parallel mechanism and serial mechanism is coordinated by adjusting the weight
. The weighting formula is adjusted as follows:
Among
, based on the defined transformation
,
, and Equation (
28), the following can be obtained:
After simplification, this can be expressed as
When
is selected, the weighted pseudo-inverse
degenerates to the pseudo-inverse equation (Equation (
26)). When
is selected, the weighted pseudo-inverse
is expressed as
Therefore, the weighted pseudo-inverse expression of Equation (
30) can be described as
The pseudo-inverse and weighted pseudo-inverse methods have the advantages of a simple structure and fast calculation for the motion planning of the hybrid mechanism. However, the following problems exist in practical application:
The pseudo-inverse method is unable to coordinate the motion of parallel and serial mechanisms for different motion compensation tasks. The weighted pseudo-inverse method can only proportionally distribute the parallel and serial mechanisms.
The pseudo-inverse method and the weighted pseudo-inverse method cannot avoid the limit of each joint of the parallel mechanism and the serial mechanism after exceeding the limit. The problem of joint movement exceeding the limit will occur.
For the analytical solutions, the pseudo-inverse method and the weighted pseudo-inverse method have the problems of overlap compensation and reverse compensation. The velocity values of each virtual joint are obtained by simulation using the pseudo-inverse method and the weighted pseudo-inverse method, as shown in
Table 3 and
Table 4.
According to
Table 3 and
Table 4, we can draw the following conclusions:
- (a)
In the pseudo-inverse simulation, the velocity of the parallel mechanism and the velocity of the serial mechanism are in the same direction and have the same value. The velocity direction is the same in the weighted pseudo-inverse simulation, but the value is different. Since the analytical solution cannot consider the configuration, both joints are still simultaneously compensated when the z-directional motion is assigned a small velocity, resulting in overlapping compensation.
- (b)
In the simulation of the pseudo-inverse method and weighted pseudo-inverse method, the of the parallel mechanism is in the same direction as the of the serial mechanism. The configuration showed that a negative value of causes the serial mechanism gangway to move upward and a negative value of causes the serial mechanism gangway to move downward. The current analytic solution causes the reverse motion of joints in the null space.
To solve the above problems, a multi-task redundant hybrid boarding system motion planning method is proposed in this paper.
4.2. MTMP
Since the hybrid mechanism is a redundant degree of freedom configuration, an internal motion exists in null space. This only affects the internal joint motion of the hybrid mechanism, independent of the motion state of the end-effector. The secondary task kinematic equations in null space are added to the weighted pseudo-inverse method, as shown in Equation (
33).
The first term of Equation (
33) is the Jacobian matrix for the primary task, and the second term is the Jacobian matrix for the secondary task in null space. Where
,
k is the number of secondary tasks;
represents the secondary task and
is the weight of the secondary task.
is the Jacobian matrix corresponding to the secondary tasks.
To avoid the typical drift caused by the numerical integration of the velocity vector, a closed-loop version of Equation (
33) can be adopted in the form [
28]
where
,
, and
are the expected values of the primary task,
is the current value of the primary task,
is the expected value of the secondary task,
is the current value of the secondary task, and
and
are the scale factors.
While ensuring the main motion compensation task, the hybrid mechanism must deal with multiple constraints (secondary tasks), such as internal joint reverse compensation, joint limits, etc. The hybrid mechanism needs a motion planning processing method to handle these tasks. A weighted pseudo-inverse coordinated motion control method is proposed with multiple secondary tasks. The main secondary tasks are as follows:
Virtual joint limit: There are different joint limit positions for both parallel and serial mechanisms. Exceeding this limit position will cause damage to the actuator, and the planned motion space posture is impossible to achieve. The parallel mechanism’s six-DOF motion and the serial mechanism’s three joints are defined as virtual joints of the hybrid mechanism. When planning the motion of the hybrid configuration, it is necessary to ensure that the movement is within the limit position of the virtual joints of the hybrid mechanism. The objective optimization function defined in the literature is used [
29], as shown in Equation (
35).
where
and
are the upper and lower limits of the corresponding virtual joint degrees of freedom,
is a constant factor, and
n is the number of virtual joint degrees of freedom to be restricted. The derivative of the objective function
with respect to the variable
is obtained
Then, the weight of Equation (
28) can be redefined as
where
.
From Equations (
36) and (
37), it can be seen that when the virtual joint angle of the hybrid mechanism is at the middle of the upper and lower limits,
. When the joint angle of the hybrid mechanism approaches the upper or lower limits,
tends to 0, thus ensuring that the movement of each joint angle of the hybrid mechanism is within the limit. Since the motion range of the telescopic joint of the serial mechanism is relatively large, an amplification coefficient
is added. The weight coefficient of the joint is defined as
.
Secondary task 1: The of the parallel mechanism and the of the first joint of the serial mechanism are optimized twice. This task is carried out to reduce internal energy consumption, to prevent low-velocity jitter, and to increase the rigidity of the parallel mechanism.
By configuration analysis, it can be seen that the rotation of of the parallel mechanism and of the first joint of the serial mechanism have the same effect on the hybrid mechanism end. Since the pseudo-inverse method is a numerical analysis, the advantages and disadvantages of the configurations are not considered in the solution process. When the rotation velocity is low or the angle is small, the results of the pseudo-inverse method and the weighted pseudo-inverse method still require double-joint motion compensation. By increasing the overall internal movement and energy consumption, it is also easy to cause low-speed jitter. Due to the characteristics of the parallel mechanism, its z-direction offset angle is limited, and excessive deflection reduces the rigidity of the parallel mechanism. Considering the configuration characteristics of both joints, an internal joint velocity optimization algorithm is proposed, where the first joint of the serial mechanism is used as the primary compensation task in this direction. The z-axis rotation direction of the mobile platform on the parallel mechanism is used as the auxiliary compensation task.
The secondary task 1 Jacobian matrix can be written as
The maximum positive offset angle of the first joint of the serial mechanism is defined as , the maximum negative offset angle is defined as , the maximum positive velocity is defined as , the maximum negative velocity is defined as , and the critical protection angle is defined as . is the flexible compensation range of the first joint of the serial mechanism. is to be operated in this range before the hybrid mechanism starts motion compensation.
The sum of of the serial mechanism and of the parallel mechanism is . When the first joint of the serial mechanism is operated within the critical protection angle range, cannot exceed the maximum value of , as this may cause the joint to exceed the angle limit.
The internal joint velocity optimization algorithm of secondary task 1 is implemented as Algorithm 1.
Algorithm 1 Internal joint velocity optimization |
- 1:
if
then - 2:
if then - 3:
, - 4:
else if then - 5:
, - 6:
else if then - 7:
, - 8:
else if
then - 9:
, - 10:
else if
then - 11:
, - 12:
else if
or
then - 13:
,
|
Since secondary task 1 solves the problem of overlapping internal joint motions according to the configuration characteristics, it can be mapped in the null space or processed during the velocity distribution.
Secondary task 2: The angle and velocity of the second joint of the serial mechanism are optimized, the problem of internal joint reverse compensation is solved, and the torque pressure of the single joint of the serial mechanism is reduced.
Due to configuration reasons, the analytical solutions of the pseudo-inverse method and the weighted pseudo-inverse method experience reverse compensation motion between the pose movement of the parallel mechanism and the second joint motion of the serial mechanism. The second joint of the serial mechanism has to carry the weight of the gangway and requires a wide range of orientation compensation, which generates a larger torque. The pressure is large for a single joint.
Therefore, a secondary task is added to the zero space using the gradient descent method to make the angle approach the fixed angle of the initial compensation task and the velocity approach zero. When the parallel mechanism exceeds the compensation range, the second joint’s compensation range of the serial mechanism will increase.
where
is the target motion change in the serial mechanism’s second joint and
is the initial angle of
after the end of the hybrid mechanism reaches the target point.