Optimal design of control charts for a CNC milling machine