The invention relates to the technical field of
automatic control, and discloses a path
planning method and device for mechanical arm and
laser synchronous
machining, and the method comprises the steps: obtaining a workpiece three-dimensional model, a material and technological parameters, and extracting an irregular curved surface to generate a discrete
point set; the
tail end
pose of the mechanical arm is calculated through
inverse kinematics, and a preliminary
joint angle and a track sequence are obtained. The optimal
laser parameters are matched in combination with the parameters, a change curve is generated and synchronously mapped to a
joint angle sequence, and a synchronous
joint angle sequence is obtained through spline interpolation fine adjustment. And fitting a smooth track by using a B spline curve, and generating a motion track control instruction in combination with the synchronous joint angle. And the mechanical arm and the
laser move according to instructions, the track compensation coefficient is dynamically adjusted when the environment changes, online compensation is conducted through the self-adaptive
Kalman filtering algorithm, and a correction control instruction is obtained. According to the method, irregular curved surface
machining details are extracted, the mechanical arm and the laser working sequence are aligned, the
machining environment is sensed in real time, the adaptability of path planning is improved, and therefore efficient and accurate machining is achieved.