The application of intelligent control to the welding robot