1、图书分类号: 密 级: 毕业设计(论文) 基于 TCS230 颜色传感器的色彩识别器的设计 THE COLOR RECOGNITION DESIGN BASED ON TCS230 COLOR SENSOR 学生学号 20070501116 学生姓名 学院名称 信电学院 专业名称 电子信息科学与技术 指导教师 2011 年 5 月 4 日 I 摘要 随着现代工业生产向高速化、自动化方向的发展,色彩识别广泛应用于各种工业检测 和自动控制领域,而生产过程中长期以来由人眼起主导作用的颜色识别工作将越来越多地 被相应的颜色传感器所替代。如:各种物体表面颜色识别(产品包装色标检测,产品外表 特征颜色的检
2、测,液体溶液颜色变化过程的检测与控制,等等) 。而本文就是介绍如何通 过使用 TCS230 颜色传感器来实现色彩识别的功能的。 首先,通过了解一定深度的光与颜色的知识(主要是三原色的感应原理)以及深入学 习研究 TCS230 识别颜色的原理,实现 TCS230 颜色传感器测量颜色的功能。其次,对所 测得的数据进行处理,转换成 RGB 三种颜色光数值。最后,通过 LCD 将经过处理后的数 据显示出来。 本设计具有体积小、成本低、功能强等特点。 关键字:关键字:TCS230 颜色传感器;AT89S51 单片机;LCD1602;色彩识别 II Abstract As the modern indus
3、trial production to high-speed, automatic direction of development, color recognition is widely used in various industrial areas of detection and automatic control, and the production process has long played a leading role by the human eye color will be more and more recognition Be replaced by the c
4、orresponding color sensor. Such as: all kinds of surface color recognition (detection of color product packaging, the products look like the color of the test, the liquid solution, the color change process of detection and control, etc.). And this is how by using the TCS230 color sensor to achieve c
5、olor recognition function. First, by understanding light and color of a certain depth of knowledge (mainly primary colors of the induction principle) and identify the color-depth study of the principles TCS230, TCS230 color sensor to achieve the function of color. Secondly, the measured data is proc
6、essed, converted into RGB three colors of light values. Finally, the LCD will be processed by the data displayed. The design has the characteristics of small size, low cost, functionality and so on. Keywords TCS230 Color-Sensor AT89S51 MCU Color-Recognition 1 目目 录录 摘要 I 1 绪 论 . 3 1.1 研究背景 . 3 1.2 色彩识别及颜色传感器技术的发展趋势 . 3 1.2.1 颜色识别技术的研究成果 . 3 1.2.2 国内颜色传感器的研究成果与动态 . 4 1.3 本论文的主要工作及意义 5 2 颜色识别及颜色传感器技术介绍 . 6 2.1 色彩识别 . 6 2.2 色彩识别算法 . 6 2.2.1 色彩识别的应用 6 2.2.2 色彩识别一般算法 6 2.3 颜色传感器技术 7 2.3.1