1、 毕毕 业业 设设 计计 说说 明明 书书 题目题目:基于 STC 的智能车灯参数测试仪的开发与设计 摘 要 本检测设备是专为测试车灯照度,电压,电流是否符合设计标准,为车灯生产线提 供检测仪器而设计的。 硬件设计方面,使用传感器检测车灯是否安装正确,得到的信号通过单片机进行编 程,再由 LCD 屏显示检测的各种参数并报告检测结果。在设计中加入了采样电阻,光敏 电阻器,分别测出被测灯的电压和测试电流以及光的照度。测试电流,电压,照度。通 过 A/D 模块转换后载入单片机,编程后与设计标准进行比较。 软件设计方面,通过单片机编程实现了电流,电压,照度的检测、新灯号的自学习 等功能。 通过单片机的
2、使用,使测试仪具有较高的性价比和柔性,提高了车灯测试数字化水 平,对提高产品质量起到了积极地推动作用。 关键词关键词:车灯检测;单片机;液晶显示屏 常州工学院电子信息与电气工程学院毕业设计说明书 ABSTRACT The sting equipment is designed to test the lights and lighting the lamp illumination whether the current design standards, provide testing equipment for the production line for the lights. In
3、hardware design, the use of sensors to detect the lamp is installed correctly, the signals are obtained by computer programming, and then the LCD screen display detection of various parameters and the reporting of test results. Join in the design of sampling resistor, Photosensitive resistor, respec
4、tively measured the lamp voltage and the test current and light intensity. TEST current, voltage, illuminance. Through the A/D module conversion after loading the SCM, programming and design criteria are compared. Software esign, through the MCU programming current, voltage, illuminance testing, new
5、 lights on the seft learning, testing data preservation. SCM through the use, so that the tester has high performance price ratio and flexible, improve the lamp test digital level, to improve the quality of products has played a positive role in promoting. Key words: Lighting detection ; SCM; Liquid
6、 crystal display I 目录目录 摘 要 1 ABSTRACT .1 目录 .I 第 1 章 课题概述 1 1.1 引言 1 1.1.1 国外汽车车灯检测技术发展概况 1 1.1.2 国内汽车车灯检测技术发展概况 .2 1.1.3 存在的不足与发展方向 3 1.2 课题来源及现状 .3 1.3 设计要求以及目标 4 1.4 本章小结 .4 第 2 章 设计方案 .5 2.1 总体方案设计 .5 2.2 方案论证 .6 2.2.1 主控单片机的选择 6 2.2.2 光感应器的选用 9 2.2.3 显示屏的选用 .12 2.3 本章小结 .17 第 3 章 系统硬件设计 18 3.1 系统硬件设计 .18 3.1.1 单片机最小系统设计 .19 3.1.2 电流检测电路设计 21 3.1.3 电压检测电路设计 .21 3.1.4 液晶显示电路设计 22 3.1.5 调理电路的设计 .23 3.1.6 A/D 转换电路的设计 .23 3.1.7 报警电路的设计 24 3.1.8 按键电路的设计 .24 3.2 焊接电路板 .25 3.3 本章小结 .25 第 4 章 系