APP下载

基于单片机的汽车前照灯远近光自动切换系统

2015-11-09徐泽谢天怡

现代电子技术 2015年21期
关键词:单片机汽车系统

徐泽++谢天怡

摘 要: 考虑到汽车的安全性能,设计了一款采用STC89C52单片机为电子控制单元核心的汽车前照灯远近光自动切换系统。该系统主要由光强检测系统和单片机系统组成。详细介绍了系统的基本原理、理论分析及硬件设计,并提出了软件的实现方法。其中,硬件系统模块包括处理器模块、通信模块、传感器模块、显示模块和电源模块。该前照灯系统较智能化,确保了汽车夜间行车的安全性。

关键词: STC89C52; 光敏传感器; 1602液晶显示屏; 灯光自动切换

中图分类号: TN710?34 文献标识码: A 文章编号: 1004?373X(2015)21?0167?04

Microcontroller?based automatic switching system of far

and near light for automobile headlights

XU Ze, XIE Tianyi

(College of Overseas Education, Nanjing University of Posts and Teleconmmunication, Nanjing 210023, China)

Abstract: Considering the safety performance of the vehicle, an automatic switching system of far and near light for automobile headlights was designed, which is taken STC89C52 microcontroller as the core of the electronic control unit. This system is consisted of light intensity detection system and microcontroller system. The fundamental principle, theoretical analysis and hardware design of this system are introduced in detail, and the software implementation method is proposed. The hardware system model is composed of processor module, communication module, sensor module, display module and power module. This headlights system is intelligent, and can ensure the safety performance of the vehicle on night driving.

Keywords: STC89C52; photosensitive sensor; 1602LCD; automatic light switching

0 引 言

随着日益成熟的交通网络的发展,汽车成为了人类出行不可缺少的交通工具。交通事故的频繁发生成为了人们日渐担忧的问题,人们更加关心汽车的安全性能。根据报道的数据显示[1],我国夜间发生的交通事故中,70%左右是由于违章使用氙气灯造成灯光炫目,使驾驶员无法看清前方路况而发生的。照明系统是汽车主动安全的重要组成部分之一,如今汽车前照灯灯光光型单一的传统照明系统已经无法跟上当前汽车安全性能发展的趋势[1];所以,为了减少交通事故的发生,考虑到汽车的人性化设计。本文采用STC89C52单片机设计了一款自动切换远近光的汽车前照灯系统。这种前照灯系统更加智能化,能消除存在的安全隐患。

1 基本原理及理论分析

目前市面上虽然有搭载AFS系统(Adaptive Front?lighting System,自适应前照明系统)的汽车,但其功能仅局限于转向大灯辅助汽车转弯,而不能做到自动切换前照灯的远近光模式。……

登录APP查看全文

猜你喜欢

单片机汽车系统
Smartflower POP 一体式光伏系统
WJ-700无人机系统
ZC系列无人机遥感系统
基于单片机的SPWM控制逆变器的设计与实现
基于单片机的层次渐变暖灯的研究
基于单片机的便捷式LCF测量仪
连通与提升系统的最后一块拼图 Audiolab 傲立 M-DAC mini
汽车们的喜怒哀乐
Microchip推出两个全新PIC单片机系列
3D 打印汽车等