System Identification and Adaptive Compensation of Friction in Manufacturing Automation Systems