设计说明书
总字数:18000+
关闭车窗时,存在较大的升举力,容易发生夹伤事故,因此要求汽车具备车窗防夹的功能。当前主流的防夹控制器多数采用霍尔传感器,该传感器不仅存在成本高、结构复杂和安装不便等问题,开发一款智能防夹车窗控制系统成为大势所趋。为了提高车窗控制系统的智能化程度,本设计采用STC89C52单片机作为主控芯片,通过雨水检测模块监测是否下雨,通过4个步进电机模拟四个车窗,通过4个红外对射管检测防夹,通过DHT11检测车内环境温湿度,通过5个按键共同控制车窗,其中一个控制4个同时开和关,另外四个分别控制四个不同的车窗。当监测到下雨时,自动关闭所有车窗,当车内温度超过30℃或低于10℃,湿度超过70%或低于30%,都会自动打开车窗。当检测到温湿度异常和下雨同时进行时,关闭车窗,执行高优先级的防雨保护。此外,采用无线蓝牙的通信方式,实现手机控制车窗的功能。最后,将本文设计的车窗控制系统安装到了车门上,通过蓝牙模块进行通信,对其性能在不同环境下进行了测试分析。根据实验结果,本文的智能车窗控制系统具有防夹精度高、适应环境能力强的优点,有较好的实用价值。
关键词:车窗;防夹;传感器;单片机;蓝牙
Abstract
When the window is closed, there is a large lifting force and it is easy to have a nip accident, so the car is required to have the function of the window anti-pinch. At present, most of the mainstream anti-pinch controllers use Hall sensor, which not only has high cost, complex structure and inconvenient installation problems, but also develops an intelligent anti-pinch window control system.In order to improve the intelligence of the car window control system, this design uses STC89C52 single chip microcomputer as the main control chip, monitors whether it rains through the rain detection module, simulates four Windows through four stepper motors, detects anti-clamp through four infrared reflector tubes, detects the ambient temperature and humidity in the car through DHT11, and controls the car window through five buttons. One of them controls four Windows that open and close simultaneously, while the other four control four different Windows. When rain is detected, all Windows are automatically closed, and when the temperature inside the car exceeds 30 ° C or less than 10 ° C, and the humidity exceeds 70% or less than 30%, the Windows will be automatically opened. When abnormal temperature and humidity are detected and rain is occurring at the same time, close the Windows and implement high-priority rain protection. In addition, the wireless Bluetooth communication mode is adopted to realize the function of controlling the window of the mobile phone.Finally, the window control system designed in this paper is installed on the door, and its performance is tested and analyzed in different environments through Bluetooth module communication. According to the experimental results, the intelligent window control system in this paper has the advantages of high anti-pinch precision and strong adaptability to the environment, and has good practical value.
Key words: car window; Anti-pinch; Sensor; Single-chip computer; Bluetooth
目 录
摘 要
Abstract
第一章 绪论
1.1 研究背景及实际意义
1.2 国内外研究现状
1.3研究目标
第二章 系统方案设计
2.1 主要元器件选择
2.1.1 主控模块方案选择
2.1.2无线传输方案选择
2.1.3按键方案选择
2.2 整体方案设计
第三章 硬件电路
3.1 单片机最小系统
3.1.1主控模块电路
3.1.2 晶振电路
3.1.3 复位电路
3.1.4 电源电路
3.1.5下载电路
3.2DHT11温湿度检测模块电路
3.3雨量传感器
3.4步进电机模块电路
3.5红外对射管防夹电路设计
3.6 独立按键模块电路
3.7 蓝牙模块(ECB02)
第4章 系统程序设计
4.1 编程软件介绍
4.2 系统主流程设计
4.3独立按键
4.4温湿度检测模块子流程
4.5 步进电机子流程
4.6 蓝牙模块子流程
第五章 仿真测试
5.1 整体仿真测试图
5.2 按键控制车窗仿真测试
5.3 红外对射管防夹仿真测试
5.4 参数异常仿真测试
5.5蓝牙远程测控仿真测试
第六章 实物测试
6.1 整体实物测试图
6.2 按键控制车窗实物测试
6.3 红外对射管防夹实物测试
6.4 参数异常实物测试
6.5蓝牙远程测控实物测试
总结
参考文献
致谢
附录
附录一:原理图
附录二:PCB
附录三:主程序
购买后可查看具体内容!