1、无线路况信息采集引导系统 I 本科生毕业论文(设计) 论论 文文 题题 目:目: 无线路况信息采集引导系统 姓姓 名:名: 学学 号:号: 专专 业业: 电子信息工程 年年 级:级: 指指 导导 教教 师:师: 无线路况信息采集引导系统 II 无线路况信息采集引导系统 摘摘 要:要:交通运输系统是国民经济的基础,也是确保社会生产和人民生活得以正 常进行的重要条件。随着公路运输的快速发展,机动车辆保有量剧增,这在给人 们日常生活带来便利、 促进社会和经济发展的同时, 也带来了一系列的负面影响, 道路交通状况的日益恶化,并且在各个城市中,交通阻塞普遍存在、交通事故发 生量不断上涨, 本系统基于单片
2、机的数据采集系统是由将来自传感器的信号通过 放大、线性化、滤波、同步采样保持等处理后,输入AD转换为数字信号后由单 片机采集,然后利用单片机与PC机的通信将数据送到PC机进行数据的存储、后期 处理与显示。 关键词关键词:道路信息 数据采集 单片机 The Wireless Traffic Information Collection System Abstract:The transport system is the basis for the national economy, but also to ensure that the social production and people
3、s lives can proceed. With the rapid development of road transport, motor vehicle ownership surge in convenience to the daily lives of people, and promote social and economic development at the same time, also brought a series of negative effects of road traffic conditions worsening, in various citie
4、s, traffic congestion, prevalence of traffic accidents are rising, the system microcontroller-based data acquisition system by amplifying the signals from the sensors, linear, filtering, synchronous sampling to maintain treatment, enter A / D converter digital signal collected by the microcontroller
5、, and then use the SCM and PC communications data to a PC for data storage, post-processing and display. Keywords: Road information Data Acquisition Microcontroller 无线路况信息采集引导系统 III 目录 1 绪论 1 1.1 无线路况信息采集系统研究背景 . 1 1.2 无线路况信息采集系统的研究目的 1 1.3 无线路况采集原理 2 1.4 课题技术要求和主要任务 2 2 总体方案设计 . 3 2.1 系统总体方案论证 . 3
6、2.2 串行通信方案论证 . 3 2.3 数据传输方式方案论证 4 2.4 总体方案的设计 . 4 2.5 总体方案流程图 . 4 2.6 总体方案电路图 . 6 3 系统硬件电路设计 7 3.1 单片机主控电路设计 7 3.1.1 A T89S52 简介 . 7 3.1.2 A T89S52 引脚说明 8 3.1.3 单片机最小系统 . 10 3.2 单片机与 PC 机接口数据传输电路设计 10 3.3 红外避障模块设计 12 3.4 无线数据收发模块的设计 14 3.4.1 无线模块简介 14 3.4.2 XL02-232AP1 模块的技术指标 . 14 3.4.3 XL02-232AP1 端口定义及连接示意图 . 15 3.5 电源电路. 16 4 系统软件设计 . 18 4.1 主程序设计 . 18 4.2 上位机软件流程设计 . 21 5 总结 . 24 5.1 测试环境及工具 24 5.2 测试结果分析 . 24 5.