Initial development of an online control system for laser welding