The color sorter is a new type of machinery that makes use of the optical and colorimetric characteristics of materials to nondestructive detect defective products and sundries with abnormal colors or surface defects from materials, and automatically sort and remove them. It comprehensively applies new technologies such as electronics and biology, and is a typical high-tech equipment integrating optics, machinery and electronics. Another important part of the sorting control system is the sorting system, which is also the most likely problem of the whole ccd color sorter. After the CCD lens detects the effective signal, we get the signal we need after comparative analysis, and then drive the solenoid valve to eject bad rice through the solenoid valve drive circuit. Both the slide and the lamp are equipped with heating plates, which can adjust the most suitable working temperature. The use of high-performance integrated blocks can greatly reduce the failure rate and save power consumption. The stainless steel receiving bin can prevent the equipment from rusting, insects and mildew caused by the moisture of rice bran. The circuit and optical components adopt a fully sealed structure to achieve a dust-free working environment and ensure the stable operation of the equipment.