根據車輛檢測傳感器的功能要求,結合硬件電路結構,系統的軟件[5]主要實現以下功能:
(1)實時檢測和處理AMR磁阻傳感器HM2003傳入的磁場改變(由于車輛通過)信息,定時向上位機發送數據。
(2)配置無線發射接收模塊,定義好發送與接收數據幀格式。
(3)傳感器丟失報警。傳感器會定時向上位機發送信號,如果上位機連續10次沒有接收到此信號,就認為此傳感器丟失,便發出警報,通知工作人員處理相關問題。
(4)傳感器低壓報警。當傳感器供電電壓低于一定值時,便向上位機發出信號,上位機即時將該信息顯示在工作窗口上,并由工作人員處理。
3.2 軟件總體設計流程圖
程序開始執行后,首先進行系統初始化,主要包括MSP430F149時鐘的設置、I/O口的設置和A/D采樣的設置等,然后對通信部分進行設置,最后對上傳到上位機的磁場信息通過固定算法進行數據處理[6]。程序流程圖如圖3所示。
本文提出了一種車輛檢測器的設計方法,其基于各向異性磁阻傳感器,結合ZigBee無線通信技術,可以靈敏地感知到車輛對地磁場的擾動,并從擾動中提取車輛信息,具有較高的可靠性和準確性。該設計還具有體積小、安裝方便、對路面破壞小和易于維護等優點。如果在實際道路中大規模地安裝該系統,可以采集大量的真實交通數據,為交通流特性的研究、道路交通事故的預防提供基礎數據支持。
YOKOGAWA PW482-10
B 700-375-0LC21
B EPROM module
B
B 762-14-343
B description not available
B
B 762-20-018
B description not available
B
B 7MA1031-2AB02-0BB0
B description not available
B
B 7MA2030-2CA02
B description not available
B
B 7MA2030-2CA02-0AA0
B description not available
B
B 7MH1704-8DA
B description not available
B
B 7MH3305-1AA
B weigh control
B
B 7MH3305-1AB
B weigh control
B
B 7MH4032-1BB10-1BA1-Z
B description not available
B
B 7MH4322-1A200
B description not available
B
B 7MH4601-1AA01
B description not available
B
B 7NG1100-4AB421UZ9
B description not available
B
B 7NG1204-4AB453PZ9
B description not available
B
B 7NG1204-4AD42-4RA8
B description not available
B
B 7NG1205-4AB453BA6
B description not available
B
B 7NG1205-4AB453FA6
B description not available
B
B A5E00104867
B description not available
B
B C79040-A0092-C242-02-85
B output card
B
B C79040-A32-C447-05-86
B S5 130W network/comms
B
B C79040-A72-C13-2-85
B description not available
B
B C79145-A3032-A31
B description not available
B
B C79145-A3033-A3
B description not available
B
B C79145-A3047-A6
B description not available
B
B C79451-A3125-A1
B description not available
B
B C79451-A3125-A110
B description not available
B
B C79451-A3125-B100
B description not available
B
B C79451-A3125-B227
B description not available
B
B C79451-A3157-B132
B description not available
B
B C79451-A3157-B133
B description not available
B
B C79451-A3211-B4
B description not available
B
B C79451-A3244-B55
B description not available
B
B C79451-A3260-A14
B description not available
B
B C79451-A3260-A15
B description not available
B
B C79451-A3260-A20
B description not available
B
B C79451-A3260-A3
B description not available
B
B C79451-A3260-A5
B description not available
B
B C79451-A3276-A1
B description not available
B
B C79451-A3287-B4
B description not available
B
B C79451-L703-A11
B description not available
B
B C79451-L703-A111
B description not available
B
B C79451-Z1359-49
B description not available
B
B C79458-L1060-A1
B description not available
B
B C79458L2266A1
B description not available
B
B C79458-L2270-A1
B description not available
B
B C79458-L331-B1
B ram module
B
B C79458-L33-B1
B ram module
B
B C79458-L418-A1
B description not available
B
B C79458-L419-A1
B description not available
B
B C79458-L420-A1
B description not available
B
B C79458-L438-B140
B description not available
B
B C79458L7006B69
B PG MOTHERBOARD
B
B C79458-L703-A31
B description not available
B
B C79458-L715-A1
B description not available
B
B C79458-L715-A101
B description not available
B
B C79458L716A1
B description not available
B
B C79458L716A11
B description not available
B
B C79458-L717-A2
B description not available
B
B C79458-L8-A1
B description not available
B
B C8451-A10-A1
B description not available
B
B C8451-A12-A7-4
B description not available
B
B MS100
B MS101F CPU Sinumerik 6FX1113-0AA01 GE.548130.0002.01
B
B MS125
B MS125A RAM memory card 32k Sinumerik 6FX1120-0AA00 GE.548200.0001.01
B
B MS250
B MS250A Sinumerik 4 axis card 6fx1190-3aa0 GE.548129.001.00
B
B MS760A
B Interface card, NC to PLC bridge 6FX1116-8AA00Sinumerik 548 168 9001
B
B SMP-E14-A3
B 8 bit central computer C8451-A10-A1