Effective and efficient online process monitoring and control of ultrasonic metal welding