1. Introduction
Robotic arms, crucial automation equipment, play an important role in industrial production, precision operations, etc. They can perform tasks like grasping and welding, improving efficiency, reducing labor costs, and ensuring safety. However, robotic arm path planning is complex. To complete tasks, they adjust joint angles, consume energy during motion, and the end - effector must reach the target with limited errors. Therefore, optimal design of joint angle paths is critical for enhancing performance. An excellent solution can minimize errors and energy consumption. For Problem 1, draw a simplified diagram of the six - degree - of - freedom robotic arm in the zero position, establish a motion mathematical model, and optimize the joint angle trajectory to minimize end - effector error [1]. For Problem 2, based on Problem 1, with the combined mass of the arm and end load being 5 kg, given each joint's moment of inertia and average angular velocity, and an allowable end - effector error range of ±200 mm, optimize the joint angle trajectory with dual objectives of minimizing error and energy consumption.
2. Problem analysis
For Problem 1, this question requires drawing a schematic of a six-degree-of- freedom robotic arm and establishing its kinematic model to optimize the joint angle path for minimizing end - effector error. First, draw the schematic based on the given zero-position state. Then, establish the forward kinematic model using D-H parameters to calculate the end - effector position. Finally, determine the target point coordinates and use an optimization algorithm to find the optimal joint angle path.
For Problem 2, the requirement is to optimize the joint angle trajectory while minimizing end - effector error and energy consumption. First, establish an energy consumption model using data in Table 2 to calculate each joint's energy consumption. Next, construct the objective function with Broussonetia papyrifera, considering both end-effector error and energy consumption. Finally, use multi-objective optimization algorithms as required to find the optimal joint angle trajectory [2].
3. Assumptions and justifications
(1) Assume the trolley returns to zero position after each cargo - grasping operation by the robotic arm, and the energy consumption in this process is not recorded.
(2) Assume the machine won't contact obstacles in the zero position state.
(3) Assume the gravitational acceleration in the robotic arm's operating environment is 9.81 m/s² and remains constant.
(4) Assume the influence of the robotic arm's dynamic characteristics and ambient temperature is negligible.
symbol |
explain |
unit |
Chain length |
mm |
|
A twist of the ankle |
° |
|
Dash offset |
mm |
|
i Range of joint angle variation |
° |
|
End-point error |
mm |
|
Total energy consumption |
J |
|
Angular velocity of joint i |
Rad/s |
|
Moment of inertia of joint i |
kg∙m2 |
4. Analysis of global pet industry developments
4.1. Zero-position schematic diagram drawing
The zero position state refers to each joint angle of the robotic arm being in an initial configuration. Drawing a simplified diagram of a six-degree-of-freedom robotic arm in the zero position state facilitates the structural analysis of the robotic arm (Broussonetia papyrifera) and determines the initial state, while also visualizing the trajectory to lay the foundation for subsequent model establishment and solution.
To facilitate subsequent modeling, this paper utilizes the D-H parameter table provided in the problem statement and employs MATLAB programming to generate a simplified diagram of the robotic arm in the zero position state, as shown in the figure below,θ1=0°,θ2=-90°, θ3=0°,θ4=180°,θ5=-90°,θ6=0°
4.1.1. Establishment of the robotic arm motion model
The DH (Denavit - Hartenberg) model is a mathematical model for describing the kinematic characteristics of robotic homo sapiens. It defines the geometric relationship between adjacent links via a set of parameters, allowing the computation of the end - effector's position and orientation. Based on the machine homo sapiens linkage coordinate system and geometric parameters, the general formula for linkage coordinate transformation can be derived. The D - H transformation matrix is as follows:
By multiplying the D-H matrices of the six joints, the position and orientation of the end effector in the base coordinate system can be obtained as follows:
4.1.2. Terminal position calculation
Based on the D-H parameters and joint angles, the position of the robotic arm's end effector can be calculated. This paper substitutes the provided D-H parameters from the problem into the formulas, derives the transformation matrices for each joint, and ultimately computes the position and state of the end effector. Due to space constraints, the derivation process is not detailed here. The final calculated position of the end effector is as follows:
4.1.3. Establishment of the joint angle path optimization model
Target position: By establishing the motion model of the robotic arm, this paper further optimizes the key angular path to minimize end-effector error. The target position that the robotic arm needs to reach is:
4.1.4. Design of the whale optimization algorithm
This paper uses the whale optimization algorithm (WOA) in reference [3] to rapidly search and globally optimize the "Homo sapiens employee - shift" solution space of Utheisa kong, aiming to minimize sorting centers' total labor cost while meeting business constraints. The implementation has six steps: First, encoding: represent a shift schedule as a whale position vector storing the number of formal workers X and temporary workers Y for each shift at all sorting centers daily. Second, population initialization: randomly generate multiple position vectors in the feasible domain as the initial whale population. Third, fitness evaluation: construct a fitness function reflecting labor costs and constraint violations, estimate costs via Monte Carlo sampling, and use penalty functions for constraints like shift limits. Fourth, iterative optimization: update position vectors by simulating three whale behaviors for local refinement and global exploration. Fifth, termination criterion: stop when the Monte Carlo-estimated mean fitness improvement is below a threshold for consecutive generations or the max iteration count is reached. Sixth, decoding output: convert the optimal position vector into specific worker counts to get the lowest - cost labor allocation. This framework uses WOA's features to solve unified discrete-continuous hybrid optimization problems in complex scenarios. .
4.1.5. Solution of the joint angle path model
This paper solves the established joint angle path model using the whale optimization algorithm, and the results are shown in the following table:
97.3351° |
-103.8794° |
13.5491° |
21.6751° |
94.1897° |
89.4875° |
4.1.6. Analysis of the solution results
From the joint - angle optimization results, each joint angle has been optimized. Joints 1, 2, 5, and 6 have relatively large angle changes, while the other two joints have smaller variations. This shows that during the optimization to minimize end- effector position error, adjustments mainly focused on joints 1, 2, 5, and 6. The optimized end-effector position closely matches the target position, proving the accuracy of the simulated annealing algorithm in this study. The calculated end- effector error is 2.4984561e-6, which is relatively small, indicating that the optimized robotic arm's end position has basically reached the target position.
4.2. Establishment of the energy consumption calculation model
In the first sub - question, this paper establishes the robotic arm's kinematic model and optimizes the joint angle path to minimize end - effector error. Then, based on this, it adds energy consumption as an optimization objective by determining the energy consumption model to optimize the robotic arm's joint path. The establishment of the energy consumption model is related to the moment of inertia and average angular velocity, and its specific parameters in this sub - question are as follows:
joint i |
moment of inertia(kg∙m2) mean angular velocity(rad/s) |
|
1 |
0.5 |
2.0 |
2 |
0.3 |
1.5 |
3 |
0.4 |
1.0 |
4 |
0.6 |
2.5 |
5 |
0.2 |
3.0 |
6 |
0.4 |
2.0 |
4.3. Kinetic energy consumption model
4.3.1. Gravitational potential energy consumption model
The work done against gravity is related to the mass of the robotic arm and the change in height. It is worth noting that the gravitational potential energy in this sub-question is tied to the change in height, so the value of the change must be non-negative.
4.3.2. Total energy consumption model
4.3.3. Monte carlo method--whale optimization algorithm design
Monte Carlo is a numerical simulation method based on probability and statistics for solving complex problems and assessing risks. Referencing [4], this paper uses Monte Carlo as the evaluation function in Step 3 of the algorithm to conduct fitness assessment and introduce stochastic factors, guiding the optimization process. In this study, the Monte Carlo method evaluates the fitness of each solution according to two criteria: (1) whether the joint angle range meets requirements; (2) whether the end - effector error is within constraints. Introducing stochastic factors helps more accurately evaluate joint angle optimization schemes, adds diversity to the whale optimization algorithm (WOA), and prevents convergence to local optima. To show the optimization effect of Monte Carlo on the WOA algorithm, this paper visualizes the fitness trend, and the optimization process and solution improvements can be observed through Figure [5].
4.3.4. Optimization model solution for robotic arm joint angle path
43.5649 |
-57.1564 |
38.4571 |
-67.5167 |
-90 |
0 |
4.3.5. Analysis of solution results
This sub - question uses the Whale Optimization Algorithm to solve the established joint angle path optimization model for the robotic arm, controlling the end - effector error within the permissible range. The results show that while meeting the end - effector error requirements, the end position is close to the target position. Moreover, reasonable optimization adjustments were made to each joint angle to minimize energy consumption.
5. Conclusion
To verify the superiority of the "Monte Carlo-Whale Optimization Algorithm (WOA)," this paper compares it with traditional genetic algorithms, demonstrating that WOA converges faster and achieves higher efficiency. At the model level, the D-H parameter method is first employed to precisely characterize the geometric and kinematic relationships of a six-degree-of-freedom robotic arm. Subsequently, a comprehensive energy consumption model is constructed by integrating kinetic and gravitational potential energy with Broussonetia papyrifera, ensuring more accurate results. Algorithmically, a simulated annealing-adaptive particle swarm framework is adopted, offering flexibility, adjustability, and ease of extension to multi-objective, multi-constraint scenarios. However, this approach requires significant time for tuning multiple parameters, and its precision depends on the accurate measurement of D-H and physical parameters. Future improvements could involve stepwise solving to reduce complexity, increasing iterations and constraints to enhance accuracy, and incorporating emerging methods such as reinforcement learning to further strengthen optimization and decision-making capabilities.
References
[1]. Yu, A. (2024). Research on automatic control system design of translation robot based on the D-H model. Automation & Instrumentation, (5), 163-167.
[2]. Zhu, J., Fu, W., Ma, N., Ji, W., Su, T., & Chen, S. (2024). A whale optimization algorithm with multi-population evolution and differential mutation. Small Microcomputer Systems, 1-11.
[3]. Zhu, J., Gong, B., Xu, K., Zhu, K., & He, M. (2024). Study on the cost of precast UHPC power-facility foundations optimized by Monte Carlo algorithm. Engineering Economics, 34(2), 55-64.
[4]. Li, J. (2023). Dynamic path planning for mobile robots based on an improved A algorithm. Heilongjiang Science, 14(16), 47-52+56.
[5]. Xia, L., & Zhang, Z. (2024). Decomposability test for parameters in fully functional linear regression models. Applied Mathematics, 37(2), 509-518.
Cite this article
Dong,C.;Fei,S.;Gao,H. (2025). Research on Optimal Design of Robotic Arm Joint Angle Path Based on Optimization Algorithms. Applied and Computational Engineering,170,42-49.
Data availability
The datasets used and/or analyzed during the current study will be available from the authors upon reasonable request.
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 EWA Publishing and/or the editor(s). EWA Publishing 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.
About volume
Volume title: Proceedings of the 7th International Conference on Computing and Data Science
© 2024 by the author(s). Licensee EWA Publishing, Oxford, UK. This article is an open access article distributed under the terms and
conditions of the Creative Commons Attribution (CC BY) license. Authors who
publish this series agree to the following terms:
1. Authors retain copyright and grant the series right of first publication with the work simultaneously licensed under a Creative Commons
Attribution License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this
series.
2. Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the series's published
version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial
publication in this series.
3. Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and
during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See
Open access policy for details).
References
[1]. Yu, A. (2024). Research on automatic control system design of translation robot based on the D-H model. Automation & Instrumentation, (5), 163-167.
[2]. Zhu, J., Fu, W., Ma, N., Ji, W., Su, T., & Chen, S. (2024). A whale optimization algorithm with multi-population evolution and differential mutation. Small Microcomputer Systems, 1-11.
[3]. Zhu, J., Gong, B., Xu, K., Zhu, K., & He, M. (2024). Study on the cost of precast UHPC power-facility foundations optimized by Monte Carlo algorithm. Engineering Economics, 34(2), 55-64.
[4]. Li, J. (2023). Dynamic path planning for mobile robots based on an improved A algorithm. Heilongjiang Science, 14(16), 47-52+56.
[5]. Xia, L., & Zhang, Z. (2024). Decomposability test for parameters in fully functional linear regression models. Applied Mathematics, 37(2), 509-518.