【正文】
e on the system in which one does not need to delete the node. In short, through the host monitoring software users can visually and many aspects of general wireless sensor work systems to understand and use. 4 test and verification testing Testing equipment:4 MCl3192ZigBee chip node,1as a gateway node, the remaining 3as sensor nodes. Test method: the gateway node power,4 LED and light, scanning channel if the search to the idle channel, the LED goes out and join the free channel for. The sensor node power,4 LED scanning in the channel at the same time, polling light. LED1 flashes once when the sensor nodes receive the allocation address of the gateway node, So far, working process and address binding process is plete. Zigbee RF munication test Testing equipment: ZigBee node 4, a puter terminal station Test method: according to the ZigBee transmission frame format, the actual transmission total bytes for ( n 6), namely ( n 6) bytes for a data packet. According to the set parameters of the software, such as packet loss is the loss number plus 1. If the received data packet, receives the data packet number plus 1, and then sends the data were pared with data, if the data is correct, the number of packets plus 1, and error packets number plus 1. The last statistic results, can know the data packet loss and packet error rate. The 4 node to form a ZigBee work,1 of them as the gateway, the remaining 3 nodes for sensor node. Write a program to set:3nodes and gateway munications, puter terminal and the gateway is connected through RS232, terminal equipment software records from the 3node to receive data, nodes work at GHz frequencies, transmission of a byte of data, circular send 100 times. To obtain the final3 node test average as a result of the data analysis. Star work radio frequency munication BER test results as shown in table 1. Experimental analysis of: in a star work for data transmission, the test results significantly worse on a single point to single point transmission mode. This is mainly because, in the transmission process node must exist between the frequency interference and other interference. test System status and hibernation, respectively, using a multimeter to test the gateway node and the power consumption of sensor nodes, the test results listed in Table 2. Conclusion This paper analyzes the IEEE and ZigBee protocol, bined with the general development principles of munication systems and embedded syste ms, protocol on the μC / OSII operating system, select the appropriate hardware and software platform, focusing on software support for the platform, the software design of the overall structure of the munication protocol stack, and ultimately to achieve a pliant with the ZigBee specification car star wireless data acquisition work. The system has the following advantages: ① system easy to install. Wireless interconnection makes the equipment installation location is flexible to meet the requirements of the automation system is installed. It is simply that the power can take equipment. The work system can automatically plete the work configuration. ② scalability. Equipment within the coverage of the vehicle gateway, turn on the device, the node will automatically join the work.③ work selfhealing ability. If the work is a device fails, the vehicle gateway can automatically monitor, issue the mand the device reset and rework. 車載無線傳感器網(wǎng)絡(luò)監(jiān)測系統(tǒng)設(shè)計 康一梅,趙 磊,胡 江,楊恩博 (就 讀于北京航天航空大學(xué)) 摘要: 基于 IEEE 802. 15. 4和 ZigBee標(biāo)準(zhǔn)實現(xiàn)了一個車載無線傳感器網(wǎng)絡(luò)監(jiān)測系統(tǒng)。本文基于 IEEE 802. 15. 4 和 ZigBee 標(biāo)準(zhǔn)的無線傳感器網(wǎng)絡(luò)構(gòu)建車載監(jiān)測系統(tǒng),設(shè)計實現(xiàn)更加優(yōu)化的無線傳感器網(wǎng)絡(luò),逐步實現(xiàn)車載系統(tǒng)的網(wǎng)絡(luò)化、智能化和可控性,以提,高車載系統(tǒng)的安全性。這樣設(shè)計的目的是用一個監(jiān)控主機端來檢測多個待測目標(biāo)環(huán)境,考慮到接入的數(shù)據(jù)吞吐量和軟件系統(tǒng)的復(fù)雜程度,采用時分復(fù)用的方式,逐個對網(wǎng)內(nèi)的終端采集點進行控制采集。當(dāng)車載傳感器節(jié)點發(fā)送數(shù)據(jù)時,車載網(wǎng)關(guān)進入數(shù)據(jù)接收狀態(tài),并將數(shù)據(jù)上傳到車載 監(jiān)控中心作進一步處理。節(jié)點在活躍期完成數(shù)據(jù)采集,向網(wǎng)關(guān)發(fā)送數(shù)據(jù),接收并執(zhí)行網(wǎng)關(guān)命令;在休眠期關(guān)閉無線射頻模塊以節(jié)省能量,直到下一個活躍期來臨??紤]到原始數(shù)據(jù)需要進行后續(xù)的處理與深入的分析,才能對車載系統(tǒng)的狀況進行準(zhǔn)確的判定,軟件中還添加了數(shù)據(jù)文件形式的保存與數(shù)據(jù)文件回顯功能。它還具有一個優(yōu)化的數(shù)字核心,有助于降低 MCU 處理功率,縮短執(zhí)行周期。 MC13192 的控制和數(shù)據(jù)傳送依靠 4 線串行外設(shè)接口 (SPI)完成,其 4 個接口信號分別是 MOSI、 MISO、 、SPICLK。 MC13192 的中斷通過 IRQ 引腳和中斷寄存器來判斷中斷類型。 圖 2 MC13192 與 MC9S08GB60 的硬件連接圖 3 系統(tǒng)軟件設(shè)計 3. 1 軟件整體設(shè)計 軟件設(shè)計是本設(shè)計的核心,關(guān)鍵在于軟件的總體架構(gòu)和數(shù)據(jù)結(jié)構(gòu)的設(shè)計。 SMAC 在不同硬件平臺的移植只需修改 PHY和 MAC 層,其上各層可以屏蔽硬 件差異