An Application of NARX-Network to Reduce Contour Errors

Feng Huo, Peter Chao-Yu Chen, and Aun-Neow Poo


NARX neural network, Model prediction, Contour error


The problem of improving the contour error in two-dimensional CNC machines is considered in this paper. The nonlinear autoregressive with exogenous inputs (NARX) network is a dynamic neural architecture commonly used for input-output modeling of nonlinear dynamic systems. In the work presented here, two sets of off-line trained NARX networks are used to predict the position outputs at the next sampling time instant for the two axes of a CNC machine. From these values, the expected axial components of the contour error for the next instant is computed and used to adjust the reference position inputs to compensate for this error. The inputs to the NARX networks are the original uncompensated reference position inputs and actual axial positions together with corresponding values in past instances, the number of these latter depending upon the complexity of the dynamics of the system. An iterative procedure is used to improve compensation performance. Simulation results using linear, circular and parabolic contours show that this approach can significantly improve contouring accuracy. Although model-based in its control strategy, this approach does not require an accurate knowledge of the system's dynamic model as the NARX networks are trained using actual input-output data which can be readily obtained from the system during operation.

Important Links:

Go Back