题。车辆检测器是一种有效检测车辆的车流、车速和车辆存在的设备,在车辆管理和收费管理方面有广泛的应用。车辆检测器种类很多,有超声波车辆检测器、微波雷达车辆检测器、视频图像检测器等。环形线圈式车辆检测器,其价格低廉、准确度高,适应性强、可靠性高、漏检率低、使用寿命长、性能价格比合适等诸多优点,有很广阔的前景。论文详细论述了行驶车辆检测器的硬件电路组成与软件设计方法。课题以飞思卡尔MC68HC08GP32微控制器为控制核心,利用微控制器的定时器模块进行计数,捕捉当前频率,获得频率变化趋势,并根据当前的各种参数要求与基准频率比较从而判断是否有车到来。微控制器运算处理后采用继电器输出,控制外部设备如挡车器的电动机启动和停止,并将车辆的有无状态和开关量继电器输出状态通过外围的发光二极管显示电路进行显示,同时通过MC68HC08GP32的异步串行通讯接口SCI,将车辆的有无状态和数据上传到收费和管理计算机上。通过基于飞思卡尔MC68HC08GP32微控制器车辆检测器的硬件电路和软件设计,仿真结果表明,达到了车辆检测的目的,下一步可进入样机制作,完全可以进行批量生产,应用到工程之中。
关键词:环形线圈;车辆检测器;微控制器;耦合振荡
I
f西北工业大学明德学院本科毕业设计论文
ABSTRACT
Asthedevelopme
toftheurba
izatio
a
di
creasi
g
umbersofcarstheoutletbroughttotraffici
thece
tralcityisexacerbati
ga
dbecomi
gtheserioussocialproblemwhichca
otbesolvedo
lythroughautocarsa
droadsHoweverherethevehicledetectorhaswiselyusedi
vehiclea
dchargeco
trolwhichca
measurethecar’sfluidspeeda
dexiste
ceTherearema
yki
dsofdetectorssuchasultraso
icdetectormicrowavedradardetectora
dvisibleimagedetectorO
eofthedetectorsloopcoildetectorwhichow
slowpricehighaccuracyplasticitya
dreliabilityshowsitsexpa
siveforegrou
dThisessayparticularlydescribesthedetector’shardwarei
modulea
dsoftwarei
desig
ItusestheMotorolaMC68HC08GP32microco
trollerasthecorecou
tsbythemicroco
troller’stimemodulecapturesthei
putfreque
cygai
sthetre
dthroughexcha
gefreque
cytogetherwiththecompariso
ofthecurre
tdatatojudgethatwhetherthecarcomesAfterthemicroco
troller’scalculatio
itisoutputtedbyrelaytoco
trolthedevicesuchaselectromotorstartuporstopa
drevealsthecurre
tsituatio
mea
whilethroughtheMC68HC08GP32’commu
icatio
adapterSCItra
sportsthedatatothechargea
dco
trolcomputerI
ordertobecompletelyusedfortheco
ti
uousproductio
oftheprojectsthisdesig
isbasedo
MotorolaMC68HC08GP32whichiswiththehelpofir