Abstract
The five-axis CNC (computer numerical control) machines are highly flexible compared to those with three-axis and this makes them becoming popular in modern industries. In this paper, we propose a novel sliding mode contouring controller with a nonlinear sliding surface for five-axis machining tasks. The controller aims to reduce the tool tip and tool orientation contour errors. In addition, we design a disturbance observer to compensate for the effect of modeling error and external disturbance. The proposed controller with the disturbance observer results in a good performance compared with the conventional controller in terms of tool tip and tool orientation contour errors.