Quality control systems for mills and plant of the future