TMCnet News

The Intelligent Transportation System Using the Infrared Sensors Based on the ZigBee Protocol and Eclipse [Sensors & Transducers (Canada)]
[April 22, 2014]

The Intelligent Transportation System Using the Infrared Sensors Based on the ZigBee Protocol and Eclipse [Sensors & Transducers (Canada)]


(Sensors & Transducers (Canada) Via Acquire Media NewsEdge) Abstract: There are more and more cars. The traffic jam cost people a lot of time on the road. This system got the number of the cars in waiting on every crossroad by the infrared sensors in the CC2530. Based on the Zigbee protocol, the routers embedded in the infrared sensors sent the information of cars in waiting to the coordinator wirelessly. Then the coordinator sent the information to the website which is developed on the Eclipse platform through the serial port. People can check the designated crossroad whether there is the traffic jam by smart telephone or the web browser. This system can release the newest information. It can be widely applied in the transportation system. Copyright © 2013 IFSA.



Keywords: Intelligent transportation system, Eclipse, ZigBee protocol, Infrared.

1. Introduction The CC2530 provides solutions for a true systemon-chip (SoC). It combines the excellent performance of RF transceiver for ZigBee network. It is possible to build a strong network at a very low cost. It included the industry-standard enhanced 8051 CPU and programmable flash, 8-KB RAM and many other powerful features. CC2530 has many different operating modes to make it adapt to ultra-low power requirements. That short time for transitions between operating modes ensure low energy consumption.


This system mainly applied the CC2530 interrupt function. And it also used the Zigbee protocol to form the wireless network. It finished the intelligent transportation software platform which provided the interfaces for the wireless sensor network.

Based on the ZigBee stack application support sub-layer (APS), paper [1] presents additional mechanisms which include the ZigBee data segmentation (ZDS) function, the modified acknowledgment transmission (MAT) function, and the ZigBee congestion control (ZCC) function. The method provides solutions for a situation where the data congestion problems are expected to happen due to a large amount of data transmission.

The paper [2] presents the design method of hardware and the software process for the Electronic ordering dish system. The CC2430 is used as its core processor. The paper [3] developed the ZigBee-based electronic aid for daily living for quadriplegics system consisting of the assistive computer input device, application software, communication control board, and the appliance control nodes. The paper [4] is to improve the performance of the control network in smart home system, and to design the controller module which is used ARM server as our home controller processor. ZigBee Wireless module communicates with the wireless gateway normally, at the same time, connects with the mobile terminals to remotely monitor the 3G mobile phones. Combined with ZigBee wireless transmission technology, paper [5] realized remote real-time temperature monitoring for construction site. The system hardware consists of main controller, gateway, wireless sensor nodes and thermocouple temperature sensors. Through wireless sensor network nodes, the data is sent to main controller terminal via gateway. The paper [6] presents the use of a novel Real-Time Locating Systems (RTLS) based on ZigBee technology that provides users' positions in order to enhance context information in learning applications.

The paper [7] used Wireless MEMS Inclination Sensor Systems (WMISS). Its system used various bridge deflection measuring methods, ZigBee/IEEE 802.15.4 MAC protocol. The papers [8-10] developed a public transportation system using GPS, GSM, RFID, Zigbee or the TDOA positioning algorithm which acts as friendly to the user. The paper [11] designs and implements an Intelligent Control Box to convert different wireless signals of Cyber Physical Systems (CPSs).

Paper [12] presents a novel connectivity architecture using the radio frequency for consumer electronics based on the wireless zero-configuration and enhanced key agreement approach.

2. The Hardware Design of the System The system used the CC2530 as the core chip. The routers were embedded with the infrared sensors. They communicated with the coordinator wirelessly with 3 db antenna. The coordinator was linking with the upper computer through the serial port. The system designed N meters marked in the four branches of the Fig. 1. It fixed sixteen small infrared sensors in eight lines. The number of vehicles in waiting for every direction was collected because the two infrared sensors count the number of vehicles which passed the two sensors respectively. The number of the vehicles is uploaded to the personal computer by the coordinator. In the website, it is received through the serial port and used to calculate the number of the cars stopping at the crossroads with the help of the algorithms. Then the traffic conditions are identified on the Google map of the website.

The value N in the Fig. 1 depending on the specific crossroads. And it can be altered. The system assumes that N is 200 meters from the first infrared sensor to the second infrared sensor. The position of the infrared sensor is on the stop line shown in the Fig. 1. The traffic conditions are divided very congested, congestion, unimpeded, very smooth. Every traffic condition has its corresponding value range In the Fig. 1, the position of the two short lines in each direction is the place of the two infrared sensors. In the Fig. 2, it simulated for the actual intelligent traffic in the laboratory.

2.1. CC2530 Module and Infrared Sensors Nine CC2530 modules consisted of the entire hardware architecture. One is the coordinator. And the other eight modules are routers. The sensing range of the infrared sensors is from 3 cm to 80 cm. The infrared sensors are fixed on the CC2530 through three wires. They need DC 5 V supply voltage. There is a small yellow potentiometer knob in the infrared sensors. The distance measured by the infrared can be adjusted by rotating the knob. As long as the measured object is in sight of the infrared sensors, a low level will be output.

To make the infrared sensors and the CC2530 work normally, POLEN, PICTL and P0IFG have to be programmed. POLEN is the Interrupt mask register. PICTL is the Interrupt control register. P0IFG is the interrupt flag bit. The IEN1 includes the bit of the enabling the interrupt.

In the system, the application set the registers to control the external interrupt in CC2530 as follows.

POLEN | = 0x10; / / P0_4 is set to be the interrupt mode; PICTL & = ~ 0x10;" / / the falling edge trigger the interrupt IEN1 | = 0x20; / / P0 port interrupt was allowed So the P0_4 port of the microcontroller is set to trigger interrupts at the falling edge. The system will process the data from the infrared sensor through P0_4. Whenever the infrared sensed the running car, it resulted in a falling edge to trigger the interrupt. In the interrupt service program, the value of the variable was added by 1. After the gradual accumulation, the total number of vehicles sensed by the infrared will be counted.

3. The Software Design This suite of device uses the LAR integrated development environment in the Windows platform to collect the information of the infrared module. The website has been finished in the eclipse development platform which is a famous integrated cross platform. It uses the Structs technique and hibernate to load the Google map. It makes the received information from wireless sensor network store in Mysql database. And it displays them dynamically and browsed by intelligent phones and computers in the internet.

3.1. The Design for the Data Acquisition Module The data acquisition module has finished the designs both for the application protocol of the routing nodes and for the protocol of the coordinator node. The protocol is consistent with the message struct which is received by the website.

Their application layers of the routing nodes complete the following tasks. First, they start infrared acquisition module. Second, they set the specific information and the data collected from the infrared sensor together into encapsulated packets. Third, they send the data packets from the APP layer to the HAL layer according to the Zigbee protocol to the coordinator. The number of each routing node corresponds to the defined module number according to the following Table 1.

The application layer of the coordinator node is mainly to complete the following tasks. First, it accepts and processes data from the routing nodes. Second, it analyzes and filters the data packets. And it encapsulates the data into packets and sent to the upper computer through the serial port.

3.2. The Design and Implementation of Web The website used the AJAX technique and java program language on the Eclipse platform. The several modules consist of the whole architecture. They refresh the screen respectively or are refreshed manually. The website received the fixed stuct data according to the protocol from the coordinator. It resolved the data struct and released to the interface realtimely. It can receive data from more than one USB port at different crossroads simultaneously. And it included the servelst technique and the concurrency control scheme. Also it is able to receive a large number of data from many infrared sensors by one or more coordinators. It can display the Google map according to the requirements of users. And on the map, users can browse the traffic conditions of their target crossroads online. The condition is determined by the number of the vehicles at the crossroad then.

4. The Results of the System Testing The smart traffic system is applied at the crossroads. So the distance between the coordinator and the router is tested. Because of various uncertain factors in the wireless transmission, some routing nodes transmit data can not reach the coordinator. Also this research does the statistical analysis for the packet loss rate as follows. There is a variable in the router's program which indicates the times of the sent packets. Of course, the variable is part of the package. The coordinator finally sends the received data to the upper computer through the serial port. The serial port assistant can display the received packets and save them in a local text document for the analysis.

The test is finished on the outdoor venues. The routing nodes numbered by 1,2 are 50 meters from the coordinator. The nodes numbered by 7, 8 are placed 70 meters away from the coordinator. The nodes numbered by 3 and 4 are 20 meters away from the coordinator. And the nodes numbered by 5, 6 nodes are 10 meters away from the coordinator. In the testing, eight routing nodes send the information got by the infrared sensors on the routing nodes respectively at the same time. And the only one coordinator receives the information from eight routers and sends all information to the website in the upper computer. The obtained test results of the system are in the local text document. The statistical result is shown in the following Table 2.

In the Table 2, the nodes numbered by 1 and 2 which are 50 m away from the coordinator have the lowest packet loss rate. The nodes numbered by 7 and 8 have the highest packet loss rate. But such high packet loss rate does not affect the system. First, the nodes numbered by 7 and 8 sent packets at regular intervals. In other words, their time interval is longer than the time interval of the other nodes numbered by 1, 2, 3, 4, 5 and 6.

Their last packet represents the newest information. Second, the website is refreshed every 5 s. So it does not need that every packet is able to be received. It only needs the newest packet of every routing node. It analyses the data and does the statistics for the received data. It accords to the latitude and the longitude to display whether the traffic of the crossroad is heavy on the online Google map. The website interface is shown in the following Fig. 3.

The blank space on the left corner of the Google map can input the name of the space. Then the user can click the 'search' button. Then the target place will be marked in the red color on the map. The address of the place will display on the top right of the Fig. 3. The specific information of the target place sensed by the infrared sensors at the crossroad will be uploaded to the website and will be shown in the bottom right of the Fig. 3. If there is no search condition, the right will be as shown in the Fig. 3 now.

5. Conclusion This research has the difference from the paper [8]. It does not require that microcontrollers, GSM Modem, GPS, Zigbee, RFID, LCD and infrared sensors are put in cars. It only put the wireless Zigbee nodes at the crossroads. Then the traffic information can be got through the internet. If the quantity of the Zigbee nodes is larger, the routers can be father nodes for the end nodes. And all the nodes based on the Zigbee protocol form the tree network. The public transport service can be effectively implemented by deploying the concept of this paper. And the service quality can be improved.

Acknowledgements This paper are sponsored by the Education Department of Anhui Province Key Natural Science Research Foundation of China under Grant (KJ2010A352), Research Open Platform of Suzhou University (Laboratory of Intelligent Information Processing, 2012YKF39; University Culture Research Center, 2012YKF24), University science research project of Anhui Province (KJ2011B180, KJ2012A263, KJ2012B185, KJ2013B285), Quality project of Anhui Province (20101077) and Professor (doctor) research starting foundation project (No.2012jb01). The innovation training program projects for the Anhui College students, Coal Mine Personnel Positioning System based on the RFID (201310379083), National Training Programs of Innovation and Entrepreneurship for Undergraduates (201210379006), The implementation of embedded alarms management system based on A900 (201310379023).

References [1] . Doo Seop Yun, Sung Ho Cho, Dong Wook Seo, Min Soo Kang, An efficient and reliable data transmission control method for relaxing congestion problem in ZigBee network, in Proceedings of the 2nd International Conference on Ubiquitous Information Management and Communication (ICUIMC'2008), 2008, pp. 533-537.

[2] . Jian-Mei Sun, Da-Yong Zhou, Application of the ZigBee technology in the wireless ordering dish system, in Proceedings of the 5,h International Conference on Wireless Communications, Networking and Mobile Computing (WiCOM'2009), 2009, pp. 3704-3707.

[3] . Chih-Hsien Liang, Shih-Chung Chen, Wai-Kit Lok, Ching-Hsing Luo, Shu-Wen Lin, A ZigBee-based electronic aid for daily living for quadriplegics, Journal of Medical and Biological Engineering, Vol. 31,No. 1,201 l,pp. 59-65.

[4] . Gwang Jun Kim, Chang Soo Jang, Chan Ho Yoon, Seung Jin Jang, Jin Woo Lee, The implementation of smart home system based on 3 G and Zigbee in wireless network systems, International Journal of Smart Home, Vol. 7, No. 3,2013, pp. 311-320.

[5] . Shaohua Jiang, Xia Hua, Construction site environment temperature monitoring system based on ZigBee and virtual instrument, Journal of Networks, Vol. 8, No. 4,2013, pp. 963-970.

[6] . Óscar García, Ricardo S. Alonso, Dante I. Tapia, Juan M. Corchado, Using ZigBee in ambient intelligence learning scenarios, International Journal of Ambient Computing and Intelligence, Vol. 4, No. 3, July 2012, pp. 33-45.

[7] . Yan Yu, Hang Liu, Dongsheng Li, Xingquan Mao, Jinping Ou, Bridge deflection measurement using wireless MEMS inclination sensor systems, International Journal on Smart Sensing and Intelligent Systems, Vol. 6, No. 1,2013, pp. 38-57.

[8] . V. Venkatakrishnan, R. Seethalakshmi, Public transport ticketing and monitoring system, Journal of Theoretical and Applied Information Technology, Vol. 38, No. 1,2012, pp. 31-34.

[9] Chen, Chuanqi. Research algorithm on building intelligent transportation system based on RFID technology, Sensors & Transducers, Vol. 152, Issue 5, May 2013,pp. 18-26.

[10] . Zhe Qian, Jianqi Liu, A novel intelligent transportation control supported by wireless sensor network, Sensors & Transducers, Vol. 152, Issue 5, May 2013, pp. 84-88.

[11] . Zhi-Yong Bai, Xin-Yuan Huang, Design and implementation of a cyber physical system for building smart living spaces, International Journal of Distributed Sensor Networks, Vol. 2012,2012.

[12] . Taeshik Shon, Kyusuk Han, James J. Park, YoungSik Jeong, Yang Sun Lee, A secure and robust connectivity architecture for smart devices and applications, Eurasip Journal on Wireless Communications and Networking, Vol. 2011,2011.

1 Zhenghua XIN,1 Hong LI,1 Qixiang SONG,1 Hongmei LU, 1 Baosheng YANG,1 Quande DONG,2 Hailong AN,1 Houqiang LIU 1 School of Information and Engineering, Suzhou University, Anhui Province, 234000, China 2 BRIUP company, Shanghai, China 1 Tel: 118955711392 E-mail: [email protected] Received: 19August 2013 /Accepted: 25 October 2013 /Published: 30 November 2013 (c) 2013 International Frequency Sensor Association

[ Back To TMCnet.com's Homepage ]