摘要 |
PURPOSE:To attain fast color discrimination through simple constitution by comparing plural arithmetic results which are obtained from values of plural detected color components of a color sensor by addition or subtraction with plural predetermined reference values. CONSTITUTION:An object 10 of color discrimination is irradiated with light from a light source 31 and its reflected light is detected by the color sensor 12. The sensor 12 has detection parts 13-15 which detect components of red R, green G, and blue B respectively, and detection signals of the detection parts 13-15 are amplified by an amplifier 16. An adding circuit 17 sums up values X, Y, and Z of the components R, G, and B and the sum is inputted to a comparing circuit 21 and also inputted to a differential amplifier 33 to make the illuminance of the light source 31 constant.Subtracting circuits 18-20 calculate X-Y, Y-Z, and Z-X, which are inputted to comparing circuits 22-24. The amplifier 33 compares the input with a reference illuminance signal to control the illuminance of the light source 31. The circuits 21-24 also input reference values from reference value setters 25-30 and output discrimination signals of white, black, red, green, yellow, and blue to output terminals 41-46. Thus, high-speed processing is performed. |