Infrared temperature sensing of laser welding