文档介绍:基于单片机的客车超载监控系统的设计
摘要
本文设计了一个客车超载监控系统,以MCS-51单片机为核心,利用反射式红外传感器、方向识别电路、报警电路、锁定电路设计,能够通过键盘手动设置乘客人数的上限值,并用LED显示器显示车内的实时乘客人数。当客车内人数超载时,系统发出声光报警,并通过继电器切断客车的电子启动装置,从而将汽车锁定,使之无法行驶。当超载解除后,声光报警也相应的解除,客车锁定解除,可以正常运行。
本设计共分两部分,硬件系统设计和软件系统设计。硬件部分利用红外传感器和方向识别电路将乘客的上、下车情况进行检测和判断并输入单片机系统。经过单片机系统将处理的数据送LED显示,声光报警电路由蜂鸣器和发光二极管组成,用继电器实现对客车启动装置的锁定。软件部分用汇编语言进行编程,采用模块化设计思想。该系统通过调试后,能够较好的完成客车超载的预警提示,并对超载情况进行相关控制。
关键词:客车;超载;监控;单片机
Abstract
This paper illustrates the design of a carriage overload monitoring -51 MCU as core is used to design hardware circuit and this subject we use infrared sensors,identify circuit and alarmcircuit latch circuit to design a carriage overload monitoring systerm that enables the keyboard to manually set limits on the number of passengers and can use LED at the same time to display the number of passengers the passenger overloading,the sound and light alarm systerm cuts off the bus through the electronic launch doing this,the overload monitoring systerm can lock the car,so that the car can’t be the overload is canceled,the sound and light warning is canceled. The bus is also unlocked and can be operated normally.
The design is divided into two parts,hardware systerm design and software systerm hardware systerms part uses infrated sensors and identify circuit to detect and judge the situation whether the passengers are getting on or off the systerm can display the number of passengers on LED. The sound and light alarm circuit posed of buzzer and LEDs,the lock function of the bus’s launch devices achieves by using the relay language is used in the software system and modularization design idea is monitor system plete an alarm beforehand for overload, meanwhile the mut uality cont rol will be adopted.
Key words: carriage;overloading;monitoring; SCM(single chip puter)
目录
第1章绪论 1
1
3
3
第2章客车超载监控系统的方案论证 4
4
2