Woodworking manipulators are applied in wood processing to promote automatic levels in the wood industry. However, traditional trajectory planning results in low operational stability and inefficiency. Therefore, we propose a method combining 3-5-3 piecewise polynomial (composed of cubic and quintic polynomials) interpolation and an improved particle swarm optimization (PSO) algorithm to study trajectory planning and time optimization of woodworking manipulators. In trajectory planning, we conducted the kinematics analysis to determine the position information of joints at path points in joint space and used 3-5-3 piecewise polynomial interpolation to fit a point-to-point trajectory and ensure the stability. For trajectory time optimization, we propose an improved PSO that adapts multiple strategies and incorporates a golden sine optimization algorithm (Gold-SA). Therefore, the proposed improved PSO can be called GoldS-PSO. Using benchmark functions, we compared GoldS-PSO to four other types of PSO algorithms and Gold-SA to verify its effectiveness. Then, using GoldS-PSO to optimize the running time of each joint, our results showed that GoldS-PSO was superior to basic PSO and Gold-SA. The shortest running time obtained by using GoldS-PSO was 47.35% shorter than before optimization, 8.99% shorter than the basic PSO, and 6.23% shorter than the Gold-SA, which improved the running efficiency. Under optimal time for GoldS-PSO, our simulation results showed that the displacement and velocity of each joint were continuous and smooth, and the acceleration was stable without sudden changes, proving the method’s feasibility and superiority. This study can serve as the basis for the motion control system of woodworking manipulators and provide reference for agricultural and forestry engineering optimization problems.
The manipulator has been widely used in the wood processing industry; the main problem currently faced is optimizing the motion trajectory to enhance the processing efficiency and operational stability of the woodworking manipulator and worktable. A 5-7-5 piecewise polynomial interpolation method is proposed to construct the spatial trajectories of each joint. An improved non-dominated sorting genetic algorithm (INSGA-II) is proposed to achieve a time–jerk multi-objective trajectory planning that can meet the dual requirements of minimal processing time and reduced motion impact. In order to address the limitations of the standard NSGA-II algorithm, which is prone to local optima and exhibits slow convergence, we propose a good point set method for multi-objective optimization population initialization and a linear ranking selection method to refine the parent selection process within the genetic algorithm. The improved NSGA-II algorithm markedly enhanced both the uniformity of the population distribution and convergence speed. In practical applications, selecting suitable weightings to construct a normalized weight function can identify the optimal solution from the Pareto frontier curve. A high-order continuous and smooth optimal trajectory without abrupt changes can be obtained. The simulation results demonstrated that the 5-7-5 piecewise polynomial interpolation curve effectively constructed a high-order smooth processing trajectory with continuous and smooth velocity, acceleration, and jerk, free from discontinuities. Moreover, the INSGA-II algorithm outperforms the original algorithm in terms of convergence and distribution, enabling the optimal time–jerk multi-objective trajectory planning that adheres to constraint conditions. Optimized by the improved NSGA-II algorithm, the optimal total running time is 4.5400 s, and the optimal jerk is 17.934 . This provides a novel approach to solving the inefficiencies and operational instability prevalent in traditional woodworking equipment.