The Research and Realization of Long-distance Bus Monitoring Terminal
- Author
- HuShangJu
- Advisor
- DongJianYuan
- School
- Xi'an University of Architecture and Technology
- Major
- Mechanical and Electronic Engineering
- Classification
- TP277 Monitoring, alarm,fault diagnosis system
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 77
- Citations
- 0
Abstract
In recent years, with the popularity of automobiles and the construction of the highway network as well as the increasingly intercity exchanges, highway passenger transport has become the most prevalent transporting method. However, spurring on by profit, some drivers of coach always break traffic regulations, such as overloading, over speeding and so on. This phenomenon cause great losses for people’s life and property. Meanwhile, it also has a bad impact on the promotion of the carrying capacity’s structure as well as the healthy development of the highway passenger transport’s market. So highway passenger transport has become a great practical and significant topic which demanding prompt solution.Aiming at the functional requirement of the coach’ s monitoring terminal, this paper has proposed a testing programme on overloading which is composed of three parts:laying piezoelectric cable on the aisle of the coach;collecting photographs inside the coaches by photographic module;installing some sensor outside the coach’s door (installing three sets of photoelectric sensor on the side of the coach’s door, laying two sets of piezoelectric switch on the sidestep).Taking GPS as the locating tactic and using the speed information which is sent and received by GPS to judge whether the coach is overspeed or not.On the realization of hardware, this system use STM32F103VBH6 as the central controller to finish the design of receiving circuit by GPS, testing the circuit by photoelectric sensor as well as testing the circuit by piezoelectric cable, introduced the operational principle of the self-control piezoelectric switch. on the realization of software, finished the writing and testing of some program, such as sending and receiving information by GPS, testing of the overloading and overspeeding, LCD display , alerting and so on. In the digital image’s processing section of the Supervision Center, proposed a new programme which can test whether the coach is overloading or not by the similarity of the edge.Through simulation test, this system not only can effectively prevent the drivers from cheating in the overload’s test but also can correct by itself. The detection accuracy is more than 97 Percent.
Table of contents
Abstract 3-4
ABSTRACT 4-9
1 Introduction 9-14
1.1 research background and significance 9 - 11
1.2 bus overcrowding , speeding domestic situation and method of detection compared 11-12
1.3 main contents and chapters arranged 12-14
2 coaches monitoring terminal design 14-25
2.1 coaches monitoring system overall architecture 14-16
2.2 monitoring terminal of each functional module design 16-23
2.2.1 overcrowding detection scheme 16-21
2.2.2 coaches orientation program 21-23
2.2.3 coach gun program 23
2.3 chapter Summary 23-25 ??
3 long-distance bus monitor terminal hardware design 25-42
3.1 core controller of the type design 25-26
3.2 GPS information receiver module 26-27
3.3 overcrowding detection circuit design 27-38
3.3.1 multi-sensor data fusion 28-29
3.3.2 photoelectric detection circuit design 29-31
3.3.3 piezoelectric cable detection circuit design 31-37
3.3.4 homemade piezo switch design 37-38
3.4 human Interface circuit Design 38-40
3.4.1 LCD display circuit design 38-39
3.4.2 The storage module design 39-40
3.4.3 alarm circuit design 40
3.5 system power and reset circuit design 40-41 <br / > 3.5.1 system power supply design 40-41
3.5.2 reset circuit design 41
3.6 Summary 41-42
4 coach monitoring terminal software implementation 42-58
4.1 system main 42-44
4.2 GPS information receiving program 44-49
4.2.1 NMEA 0183 protocol analysis 44-46
4.2.2 GPS receivers of information and extraction 46-49
4.3 monitoring Terminal overcrowding detection program designed 49-56
4.3.1 monitoring Terminal overcrowding detection program overall structure 49-51
4.3.2 overcrowding detection mode self subroutine 51-52
4.3.3 middle overcrowding aisle detection subroutine 52-53
4.3.4 doors at normal mode detection subroutine 53-55
4.3.5 non- normal mode detection program 55 -56
4.4 overspeed detection subroutine 56
4.5 alarm subroutine 56-57
4.6 chapter Summary 57-58
5 monitoring center image processing 58-66
5.1 digital image processing 58-59
5.2 gray image processing 59-61
5.3 edge detection 61-63
5.4 image similarity comparison 63-65
5.5 chapter Summary 65-66
6 overcrowding detection simulation tests and results analysis 66-72
6.1 analog test system consists of 66-67
6.2 statistical analysis of experimental data 67-71
6.3 chapter Summary 71-72
7 Summary and Outlook 72-74
7.1 thesis work summarizes 72
7.2 Prospects papers 72-74 <br / > Thanks 74-75
References 75-80
Appendix ⅰ coach monitoring terminal hardware schematics 80-81
Appendix ⅱ three photoelectric two piezoelectric mode self subroutine 81-82
Appendix ⅲ middle aisle detection subroutine 82-83
Appendix Ⅳ speeding detection subroutine 83 -84
Appendix Ⅴ during the reading of the research 84