Optimizing of intelligence level in welding