operating principle of the ball mill machine type