登录

  • 登录
  • 忘记密码?点击找回

注册

  • 获取手机验证码 60
  • 注册

找回密码

  • 获取手机验证码60
  • 找回
毕业论文网 > 毕业论文 > 电子信息类 > 通信工程 > 正文

基于单片机的地磁检测软件的设计与实现毕业论文

 2021-05-13 11:05  

摘 要

紧跟着我国经济的繁荣壮大,汽车工业也有相应的提升。然而在汽车数目日益膨胀的同时,国家的停车位问题却没有得到有效地解决,从而影响了汽车的高效使用,也妨碍了人们的正常出行。由于许多商业化区域的停车位稀缺而导致路旁停车杂乱,不仅妨碍了正常的交通,而且由于收费不规范而产生诸多纷争。近年来,车辆检测技术发展迅速,目前使用的最多的是线圈检测,但一种新型技术—无线地磁检测由于其体积小,寿命长,易于安装等优点得到了行业的普遍认可,具有不错的发展前景。

本文设计了一个应用于路旁停车的车辆检测系统。通过分析传感器测量到的地磁信号对停车位状态进行判断,由此记录停车时长,从而实现自动收费功能,而且通过车辆信息管理平台在APP上对停车位信息做实时发布,司机通过查询APP数据来决定车辆停靠位置,实现了车辆的导引作用,最大程度地提高了停车位的使用率。

作者的主要研究工作如下:

(1)设计与实现了一款低功耗地磁检测系统。通过对芯片选型及软件设计实现了产品的低功耗工作,根据LIS3MDL芯片的中断阈值触发功能,大部分时间内将MCU置于休眠状态,只有在地磁信号产生变化时,通过地磁传感器的中断唤醒MCU进行工作;

(2)设计与实现了一种地磁检测算法。通过比较当前稳态数据与基值数据,根据其差值的大小采取不同的数据处理方式,根据不同的参数来判断停车位状态。这种方法结合了动态过程及静态数据,根据不同的差值大小采用不同的判断方法,使得判别过程简洁且精确可信;

(3)设计了一个自动收费系统。在车位检测到车辆之后,停车位的收费人员到达现场,将车辆扫描并与缴费APP相连,车主便可通过APP查询收费状态,当车辆离开时,APP自动扣除停车费用。

通过对无线地磁检测器进行实际的道路测试,在较长时间内对不同车型的停车数据进行分析实验,发现该检测器的精度达到95%以上,这说明本文提出的无线地磁检测器检测精度高,且具有低功耗,体积小,易于安装的优点。本文中提出的地磁车辆检测算法为有效解决停车难问题提供了一种解决思路。

关键词:车辆检测;地磁传感器;无线传感网络

Abstract

With the prosperity of China's economic, auto industry has obtained the great development accordingly. However, while per capita car ownership in the country is growing, the parking problem has not been effectively solved. Parking has become a big problem in our life. Due to many commercial areas have not much parking space for cars that many cars park desultorily in the roadside, which hindered the normal traffic. Meanwhile the result of the charging without specification is a lot of disputes. In recent years, vehicle detection technology has developed rapidly. The most popular of them is the loop vehicle detector, but a kind of new technology - wireless magnetic detector get general recognition of the industry because of its small volume, long service life and easy installment , thus it will have a good development prospect.

In this paper, an road vehicle detection system applied to the parking space has been designed. Parking space state can be gotten through the analysis of the magnetic signal of sensor. By the same way, it records the parking time, so as to realize the automatic charging function. And through the vehicle information management platform in the APP to do real-time parking information release, the driver can determine the vehicle parked position by querying the APP data. Accordingly, it has realized the guide function , maximizing the efficiency of the parking space.

The main research works are as follows:

Firstly, this paper has designed and achieved a low-power consumption magnetic signal detector. The low-power performance has been achieved through the selection of chip and design of software. According to the Interruption thresholds trigger function of LIS3MDL,MCU is set to dormant state in the most of time, and it will be awaken by the interruption of magnetic sensor only when the magnetic signal has been changed;

Secondly, this paper has designed and achieved a new kind of magnetic detection algorithm. By comparing the difference value of current flat data and the based data, different data disposal is applied to the situation, thus the station of parking lot can be obtained by some important parameters. This paper has proposed algorithm that combines dynamic process and static data, using different judgment method according to different value, which makes the judgement clear and accurate;

Thirdly, an automatic charging system has been designed. After detected the vehicle on the parking lot, the manager arrived to scan the vehicle and combine the APP with the vehicle. Driver can inquiry the charging station by this APP. When the car leaves the parking lot, APP can deduct expenses automatically.

Through the actual road test of wireless magnetic detector by different models of vehicle in a long time, we found that the precision of the detector can reach more than 95%. This shows that the proposed wireless magnetic detector has many advantages, such as high precision, low-power consumption, small size and easy to install. This paper puts forward a geomagnetic vehicle detection algorithm which can effectively solve the problem of parking difficulty.

KEY WORDS: vehicle detection;magnetic sensor;wireless sensor network

目 录

摘要 I

Abstract II

第1章 绪论 1

1.1 研究来源、背景及目的、意义 1

1.1.1 研究来源 1

1.1.2 研究背景 1

1.1.3 研究目的及意义 2

1.2 车辆检测的国内外研究现状 2

1.3 本文主要研究内容及组织结构 4

1.3.1 论文的主要内容 4

1.3.2 论文的组织结构 4

第2章 地磁检测的关键理论与技术 6

2.1 车辆检测技术 6

2.1.1 车辆检测技术简介 6

2.1.2 车辆检测器的应用 7

2.2 地磁检测理论 8

2.2.1 地球磁场介绍 8

2.2.2 车辆检测原理 8

2.3 地磁传感器 10

2.3.1 传感器的对比 10

2.3.2 异向磁阻传感器 11

2.4 车辆检测算法 12

第3章 地磁检测系统总体方案设计 15

3.1 需求分析 15

3.1.1 低功耗分析 15

3.1.2 检测可行性分析 16

3.1.3 抗干扰性分析 18

3.2 系统总体设计方案 20

3.2.1 总体结构框架 20

3.2.2 系统方案设计 21

第4章 地磁检测系统软硬件的设计与实现 23

4.1 硬件设计 23

4.1.1 供电电源模块 23

4.1.2 地磁传感器模块 24

4.1.3 MCU模块 26

4.1.4 TBM-110无线收发模块 27

4.2 软件设计 28

4.2.1 软件总体设计 28

4.2.2 数据采集准备 29

4.2.3 算法流程分析 30

4.2.4 软件实现 33

第5章 系统调试与运行 36

5.1 测试过程 36

5.2 结果分析 37

第6章 总结与展望 39

6.1 总结 39

6.2 展望 40

参考文献 41

致 谢 42

绪论

研究来源、背景及目的、意义

研究来源

本课题来自于武汉某公司的实际研发项目。

研究背景

随着我国现代化进程的加快,市场经济不断成熟。过去的20年的时间内,我国的汽车工业取得了爆炸式的增长,汽车行业现已成为我国经济的支柱产业。有调查指出,近几年来,我国汽车数量的年增长率为5%,预计到2020年,中国将占世界汽车市场份额的20%[[1]]。然而在汽车数目日益膨胀的同时,国家的停车位问题却没有得到有效地解决,从而影响了汽车的高效使用,也妨碍了人们的正常出行。由于许多商业化区域的停车位稀缺而导致路旁停车杂乱,不仅妨碍了正常的交通,而且由于收费不规范而产生诸多纷争。西方发达国家在许多年前就遇到了同样的问题,虽然各国花费了大量经费治理拥堵,但仍然收效甚微。

现今采用的拥堵治理技术主要有四种:信号灯优先控制系统,地理信息系统(GIS)软件,交通管理软件及出行信息系统[[2]]。信号灯控制方法在一定程度上缓解了道路压力,但该方法并不具备智能化特征;GIS利用卫星定位和其他检测方法对道路车流量进行检测,是现今数字化信息发展最有前景的一个发展方向;交通管理软件需要将所有道路设备连入计算机,而国内大多交通设备未能联网,所以没有得到较多的应用;而出行信息系统也只是将道路实时信息反馈给道路使用者,实时性和准确率都不高。

在这样的时代背景下,我们急需一种智能型管理设备来有效解决道路拥堵问题,智能交通系统(ITS)应运而生。智能交通又称智能运输系统,是将先进的科学方法高效地统一运用于道路交通管理中 [[3]]。它是GIS技术的一种发展应用。目前国外对ITS的研究比较深入,并且该研究成果得到了许多地域采用,其实践结果也比较理想。在智能交通系统的研究中,最重要的是目标信息的获取方式,也就是道路交通信息的获取,这就需要通过各种车辆检测方法来获得实时的道路信息。车辆检测作为智能交通系统中最重要的一部分,其有效性、实时性及准确性就相应地有较高的要求。

研究目的及意义

本论文设计了一款路旁停车检测系统,利用地磁检测技术的相关原理,分析地磁信号特征得到路旁停车位状态信息,然后通过无线网络传递该信息至管理平台,在管理平台上将实时发布停车位信息,用户获取该信息后能够更好地判断停车位置。并且根据停车位上车辆占有时间的长短可以自动进行收费价格的计算,有效提高了路旁停车位的使用效率,同时通过该系统透明化收费方式,在很大程度上减缓了城市停车难的现状,使得车辆出行更加便捷。

车辆检测的国内外研究现状

在停车管理方面,国外从2006年开始研究智能停车管理系统,美国将新泽西州的Hoboken市作为试点,研究了一种新型方案来管理街道停车。后来在该方法基础上衍生的停车管理方法大多是采用车辆检测技术,将停车位上的车辆状态检测出来,通过显示屏将车位信息公布出来,从而实现车辆的引导功能。国内对停车场的管理起步的要晚一些,当前国内停车场管理解决方案主要分为以下五种:人工收费、pos机收费、咪表收费、立体停车场、距道类停车场。但这些停车管理方式都只适用于封闭式的停车场管理。

您需要先支付 80元 才能查看全部内容!立即支付

企业微信

Copyright © 2010-2022 毕业论文网 站点地图