ore quality analyzing system for production