Optimization Algorithms Combining (Meta)heuristics and Mathematical Programming and Its Application in EngineeringView this Special Issue
A Position-Level Global Optimization Inverse Kinematic Solution Algorithm for Dual Redundant Robots Based on Motion Characteristics
Camera robot is an important tool for realizing and reproducing complex camera motion path in modern special film effects. This paper proposed an inverse kinematics optimization algorithm for PRRPR-S redundant degrees of freedom (DoF) camera robot. This paper analyzed the motion characteristics, in Genetic Mix (GM) method, from the idea of movement boundary composed of part robot axis. Then proposed Simplify Mix (SM) method which can stably converge to the global optimal solution in a shorter time.
1.1. Project Requirements Analysis
The PRRPR-S robot, referred to as camera robot, is an important tool of reproducing camera movement for multilayer composite film effects and realizing complex camera motion path. It is an important interactive node in film virtual manufacturing . At present, the camera shooting trajectory is obtained by teaching mode, and the camera motion data in the preview system cannot be used directly. This paper studied the inverse kinematic algorithm of camera robot with global optimization ability, which makes camera move directly and transparently in a shorter time.
1.2. Theory Requirements Analysis
The algebraic equation form of redundancy serial robot inverse kinematics on velocity level is linear style , and the position-level is expressed as a nonlinear system and usually solved by numerical iteration. Liegeois  proposed gradient projection method based on generalized inverse matrix, which got the local optimal solution on velocity level but there was a cumulative error. Parker et al.  used genetic algorithm (GA) to solve the kinematic equations of redundant DoF manipulators. Sung et al.  took the terminal actuator positional deviation as the optimization target on the basis of the forward kinematics equation, which obtained the global optimal solution. The algorithm runs for a long time, and the multioptimization objective function is hard to construct.
Masayuki et al.  and Singh and Claassens  analyzed the single redundant DoF serial robot, which determined the self-motion space, and converted the redundancy into arm angle. The method is easy to construct the objective function.
The camera robot needs to get the position and attitude of the end-effector exactly in practice. And it has 8 joints, corresponding to high dimension of solution space, in other words, low effective solution proportion space. By using GA method based on forward kinematics equations, it is difficult to find valid solutions and attach other optimization goals. In addition, the randomness of the initial population makes the existence probability of the effective individuals very low, and the algorithm convergence effect is poor. Taking the axes of and as redundancy, Zhang et al.  proposed Genetic Mix (GM) method which include motion characteristics, GA based on redundant DoF and pattern search. By presetting the initial population, GM overcomes the defects of randomness and sequence in GA and converges to the global optimal solution stably on position-level. But in literature , there is no discussion about key analysis of how to get redundant DoF theoretical effect solution area. This paper, first, discussed the key analysis in detail, which regarded as the most extended/contract state, and, second, proposed Simplify Mix (SM) method which reduces the time consumption further.
2. Motion Characteristic Analysis
2.1. Camera Robot Workspace
The camera robot is shown in Figure 1. There are 8 axes, including bottom linear axis , ring style bottom rotate axis , ring style top rotate axis , top linear axis , elbow axis , rotate of wrist , tilt of wrist , and roll of wrist . Modeled with D-H method, the robot “initial standard zero state” and coordinate system on the link are shown in Figure 2.
The kinematic link parameters are shown in Table 1.
and are fixed value by mechanism. represents the shoulder point, represents the elbow point, represents the wrist point, and represents the upper arm point ( is not an axis).
The DH matrices of camera robot are as follows:
The values of Table 1 are as follows: , , , , and . Then giving axes value, any posture of robot link can be calculated by transfer equations. For example, the posture of end-effector is
Temporarily assume that the end-effector of the camera robot can get any posture through the wrist. As the robot moving in the bottom linear rail, the reachable space of in the plane perpendicular to the rail represents the robot workspace. Based on the transfer matrix, as (2), the workspace coordinates of the key points and boundary equation can be calculated, as shown in Figure 3. The red curve is the outer boundary, and the green curve is the inner boundary.
2.2. Redundancy Setting
Considering that the industrial 6-DoF robot has mature algorithm of inverse kinematic solution, the bottom linear axis () and the top linear axis () are chosen as redundancy. After arbitrarily determining a set of , countable inverse solutions can be obtained. Choose the solution with the smallest value of the optimal function as the optimal solution, which reduces the 8-dimensional solution space to 2-dimensional one.
For clarity, declare the axis physical motion range as physical constraint and geometric constraint as theoretical constraint. The intersection of two constraints is the range which contains effective solution, called comprehensive constraint.
When using GA method with physical constraints of for the gene range, due to the fact that the wrist attitude adjustment mechanism may block the view of camera, the effective solution share is very low and the algorithm is inefficient. In order to solve this problem, it is necessary to further analyze dual redundancy effective range. The basic idea is that, after a given posture, the robot should have two ways as “most extended state” and “the most contract state” to achieve the specified posture.
2.3. Analysis of Comprehensive Constraint
Note the following:(1) is the distance between shoulder point () and wrist point ().(2) is a 3-dimensional vector and represents the coordinate of target point position.(3) is the trace of shoulder point.
As for the rail can be extended to any length, the physical constraint of is not in consideration.
At different heights, there are specific theoretical maximum , , and the theoretical minimum , , as shown in Figure 4.
Ask perpendicular to , as , and the foot is . If , refer to the lateral deviation of that is not big enough, as shown in Figure 5. There is .
If , refer to the lateral deviation of target point that is big enough, as shown in Figure 5. There is .
Thus, can be determined based on the .
When the camera robot reaches in the most contract state, there are three cases according to the height of the target point and the degree of lateral deviation, as shown in Figure 6. According to and , the limit position of can be obtained, and then determine the limit value of .
When the camera robot reaches in the most extended state, must be on the arc, in which is the radius and the projection of on horizon plane passed is the center, as shown in Figure 7.
According to and , obtain the limit position of , so as to determine the limit value of . In summary, according to as input, range is
2.4. Analysis of Comprehensive Constraint
2.4.1. The Factors of Determination Analysis
After arbitrarily determining in the comprehensive constraint, there are four factors that limit the value of :(1), , constitute a generalized triangle, as .(2) moves within its physical constraint, as .(3) moves within its physical constraint, as .(4) moves within its comprehensive constraint, as .
The inclusion relation of factor sets is That factor 4 included in factor 3 will be approved in the following context. Thus while is in the workspace and is determined, there are
Select an arbitrary in this range which can guarantee that at least one effective inverse solution is obtained. So it is important to analyze impact of factor 4 to .
2.4.2. Analysis of Factor 4
Given the target posture, is fixed after selecting . For is fixed, must be on the circle , whose center is and radius is . Similarly, length is fixed, so point must be on the circle . is right angle as mechanism set. length is , as shown in Figure 8. Regardless of the height of , length is the main factor affecting the length of the .
Take in horizontal as the benchmark situation. When rotates and is on the connection of , gets smallest length on the connection. When is perpendicular to , takes the extreme value. Since physical constraint is , the limits of by theoretical constraint at in horizontal state and by physical constraint are the same.
According to the geometric principal, theoretical constraint is determined:
The general case when at an arbitrary angle to the horizontal plane is shown in Figure 9.
is perpendicular to . While specifying , the angle of and the horizontal plane is . There are In general, when specifying and , three theoretical characteristic positions of are obtained. Since has a physical constraint, as . Therefore, we need to take comprehensive constraint intervals and position of into account.
Before interpartition analysis, discuss the function: This function may get that is outside the physical constraint. First, obtain corresponding to the horizontal state: Then, In , by cosine theorem, there is At the same time, there is In , by cosine theorem, there is Considering position of line with , there is The result is
2.4.4. Analysis of Effective Comprehensive Constraint
After determining and , discuss comprehensive constraint. Based on this, discuss comprehensive constraint.
The blue sector (filled with upper right oblique line) is theoretical constraint. The red sector (filled with upper left oblique line) is physical constraint. The green sector (filled with cross line) is the overlapping area, which refers to comprehensive constraint. The purple line is position. Among them, the limit position and scale of physical constraint do not change, and there always is .
According to the following principles, get and corresponding to the value of :(A)Effective exists in the intersection (green sector).(B)With as the boundary, the theoretical constraints on both sides are monotonically increasing space.
When , and . There is an intersection of the lower subinterval of physical constraint and the higher subinterval of theoretical constraint, as shown in Figure 10(b). There are
And when , obtain .
When , obtain .
When , and . There is an intersection of the lower subinterval of physical constraint and the higher subinterval of theoretical constraint, as shown in Figure 10(c). There are
And when , obtain .
In summary, on the basis of the boundary of the camera robot workspace, comprehensive constraint is determined according to with characteristic as benchmark. After selecting , the influencing factors of are analyzed synthetically, and comprehensive constraint is obtained. And this is also the conception of sequence of the two redundancy in GA.
3. Optimized Method SM
3.1. Optimized Objective Function
The optimization goal is to improve the motion stability of the end-effector; this paper sets the motor shaft to move as little as possible with the higher load inertia. The optimization objective function iswhere is the weight vector and represents the movement distance vector of axis.
3.2. Algorithm Optimization
According to the camera robot motion characteristics, can be determined first and then the theoritical effect range of can be calculated. This is the sequence of two variables. GM method used the dual redundancy as genes. By setting the initial population with average distribution in effect solution area, GM can eliminate the large iterative calculation from GA nonlinear constraints caused by sequence of dual redundancy and overcome the low effective proportion of stochastic initial population. Then through the pattern search algorithm, the composite algorithm can converge to the global optimal solution stably.
In the experiment, it is found that the optimal solution of GM did not change or change little in the process of iterative computation. That is, the analysis of camera robot motion characteristics with average initial population distribution greatly weakened the global optimization effect of GA in GM. So it is desirable to solve in a shorter time by motion characteristics with pattern search. This paper proposed SM method. To verify the effect of it, set the experiment.
The robot is in the initial standard zero state. 4 to 8 meters in the positive direction of the rail, set 45 target postures evenly. Specifically, five planes are set in the space, and 9 target postures are distributed in each plane, as shown in Figure 11, where red line represents the coordinate system -axis and black line represents the coordinate system -axis.
Assume that both and are 8-dimensional vectors and are solutions for each method, which can both achieve the target posture.
Set the physical constraints of each axis aswhere
can be understood as the proportion of the generalized distance between different solutions in the entire workspace.
Take the experiment as follows.
Select 20 values in comprehensive effective subinterval (specified as boundary, the robot at the same side with the current state). According to 20 values, the corresponding comprehensive constraints are calculated. Select the middle value as value, forming an individual with the corresponding .
Calculate the optimal solutions by GM and SM methods, respectively. The result is shown in Figure 12. The -axis is the target posture number, and -axis is . The solid point on the corresponding coordinate of the -axis indicates that the GM gets a better solution, and the triangle represents that the SM gets a better solution. The cross symbol means that the two methods get the same solution.
For 45 target postures, GM costs 6328.32 s and SM costs 3410.07 s. There is only one posture with big distance appearing on the 30th posture, where the ratio of two values of optimal objective function is 12%, and GM method gets a better solution. The robot states are shown in Figure 13, the black body is the result of the GA, and the blue body is the result of the SM. The actual difference of two solutions is not big. The solutions of two methods for the other 44 target postures are close enough to the global optimal solution (verified by a certain accuracy of the traversal algorithm). is nearly to 0.
In summary, SM method is more convenient in practical application than GM.
In this paper, the motion characteristics analysis of PRRPR-S robot is discussed; GM method overcomes the defects of dual redundancy sequence and stochastic of GA. The experiment in Section 3 proved that GA in GM has little effect. SM gets good result directly and more quickly (about half the time consumed in GM).
Even though the kinematic solution method is for PRRPR-S robot, by using the idea of subworkspace and motion path, combining with pattern search, any other type of redundant robot can get the inverse kinematic solution. This is the significance of SM method.
Conflicts of Interest
The author declares that there are no conflicts of interest related to this paper.
J. He, S. Wang, and C. Wang, “Application analysis of camera robot in flim vitrual manufacture,” Advanced Motion Picture Technolgy, vol. 10, pp. 44-45, 2017.View at: Google Scholar
Z. Lu, Theory and Application of Redundancy Robot, China Machine Press, 2007.
S. Masayuki, K. Hiromu, W. K. Yoon, K. Kosei, and K. Kazuhiro, “An analytical solution for the inverse kinematics of a redundant 7DoF Manipulator with link offsets,” IEEE Transactions on Robotics, vol. 24, no. 5, pp. 1131–1142, 2008.View at: Google Scholar
G. K. Singh and J. Claassens, “An analytical solution for the inverse kinematics of a redundant 7DoF manipulator with link offsets,” in Proceedings of the 23rd IEEE/RSJ 2010 International Conference on Intelligent Robots and Systems, IROS 2010, pp. 2976–2982, Taipei, Taiwan, October 2010.View at: Publisher Site | Google Scholar