摘要
讨论了一种基于CPLD(复杂可编程逻辑控制器件)的汽车防撞预警系统。方案基于CPLD并行控制技术,可同时控制多个超声波传感器。微控制器与CPLD进行并行通讯,缩短数据读取时间,增加了预警时间。给出了系统硬件设计图和软件流程图。系统可以实时测量显示车辆前、后、左、右四个方向障碍物距离,当超出安全距离是会发出声光报警,对减少碰撞事故有较高的参考价值。
An automotive collision avoidance system based on CPLD is discussed in the paper. Several ultrasonic sensors can be controlled simultaneously by CPLD. Between MCU and CPLD, parallel port control technology is used to read the data of distance. As a result, the time of read data is reduced and the pre-waming time is increased. The hardware and software of the system are described. The distance around the automobile is detected and displayed in real time. The sound and light warning alarm is given when the distance beyond the safe distance, it is quite helpful to prevent vehicle collision.
出处
《自动化技术与应用》
2016年第7期105-108,共4页
Techniques of Automation and Applications
关键词
可编程逻辑控制器
并行通讯
超声波
单片机
CPLD
parallel communication
ultrasonic
single-chip microcomputer