Optimization of Machining System: By Application of Adaptive Control Principles