The invention belongs to the field of parameter self-
adaptive control, and particularly discloses a
laser welding parameter self-
adaptive optimization method based on
machine learning, and the method comprises the steps of hardware equipment configuration,
weld bead width prediction and
laser welding parameter optimization. According to the scheme, a deep neural network is established as a
weld bead width prediction model, a Markov
decision process is established, a discount factor is introduced, an SAC
algorithm is adopted to maximize an entropy regularization
reinforcement learning target, a neural Q network is utilized as a function approximator, Q function parameters are optimized by minimizing Bellman residual errors, and a
weld bead width prediction result is obtained. And a
loss function is defined through KL
divergence to optimize
welding strategy parameters, a weld joint
square error minimization formula is rewritten into a space discount form, the weld bead length and the
laser position serve as variables, an integral award function is defined in combination with the instantaneous welding speed, the influence of accumulated errors is reduced through a space discount mechanism, and space self-adaptive adjustment of the welding speed is achieved.