STC89C52单片机汽车自动照明系统远近光灯设计

设计关键使以单片机作为控制中心,所以单片机如何才能控制整个电路的运行,和相关数据的转化传输,是设计的难点所在,必需是单片机在工作时能准确检测输入数据(即键盘输入)并将指令


摘  要:随着科学技术的发展,对汽车的安全性要求,这些细节正变得越来越苛刻。照明系统是主动安全的汽车部件的一个重要组成部分,但在现有的照明系统的巨大交通安全隐患,以手动控制,由于人们反应时间的局限和突发情况,往往会带来安全隐患。那么,如何消除安全隐患,研究比传统的照明系统转化为智能化的汽车,这是具有重大现实意义的一课。

本文适应汽车照明控制系统,用于所述自动化系统的驱动程序可以向用户提供驱动照明范围变化,以减少交通事故,提供在车辆上的智能远近光灯的变换。这样的设计可以在不同的情况下做出正确的开灯决定。如果需要的话,在手动模式下,并且具有两种操作模式,这是比阈值,远光灯更高,并且如果超过,在自动模式中,通过超声波阈开口的装置检测事先闭塞距离物体近光灯被接通。该阈值可以由定位来控制。而这个计划是为STC89C52,低功耗系统,基于低成本微控制器的开发更好的经济效益。首先选择光敏电阻模块并设计好光亮度的临界值,确保灯光能够根据情况亮暗。然后制定超声波测距仪的阈值。最后,检查系统的实际可能性。

关键词:单片机   超声波  自动模式  电源电路。

Design of far and near lamps based on 52 single chip microcomputer auto lighting system

Abstract:With the development of science and technology, the safety requirements of the car, these details are becoming increasingly harsh. The lighting system is an important part of the active safety of the car parts, but in the existing lighting system huge traffic safety risks to manual control, the development of automotive safety has a single type I can not keep up with the current trends of lighting and light. So, how to eliminate security risks, to be more intelligent than the traditional lighting system, which is a significant practical significance of the lesson.

The present invention is adapted to an automotive lighting control system in which the driver for the automation system can provide the user with a reduced range of drive illumination range to reduce traffic accidents, provide a desired light in the vehicle & apos; s light type lamp and lamp drive environment Position parallel manual control for non-infringement manual control. Such a design can start the distance, if desired, in manual mode, and have two operating modes, which are higher than the threshold, the high beam, and if it exceeds, in the automatic mode, the device through the ultrasonic threshold opening Detection of pre-occlusion distance of the object The low beam is turned on. The threshold can be controlled by positioning. And this program is for the STC89C52, low power consumption system, based on low cost microcontrollers to develop better economic benefits. First, the system provides a brief introduction to the development of automotive adaptive lighting systems and trends in the overall design of the guknaeoeeul production and the realization of the function of it, and its basis is to elaborate the computational theory and system requirements of the operating system. And the microcontrollers of each functional part of the sensor will be selected to implement the given design actuator section. Finally, check the actual possibilities of the system

Key words: single chip microcomputer  ultrasonic  automatic mode  powercircuit.

目  录

摘要Ⅰ

Abstract-Ⅱ

目录Ⅲ

1 绪论1

1.1课题背景与意义1

1.2 本课题的研究意义与目的-2

1.3本文主要研究内容-2

2方案论证-3

2.1控制芯片的选择3

2.2 STC89C52RC-4

2.3测距波模块确定5

 2.3.1激光测距模块-5

 2.3.2 超声波测距模块-5

 2.3.3 测距模块的确定-5

3硬件电路设计6

3.1 系统总体结构6