Sei sulla pagina 1di 4

Third International Symposium on Intelligent Information Technology and Security Informatics

ZigBee-based Vehicle Access Control System

Rong Zhou, Chunyue Zhao, Lili Fu, Ao Chen and Meiqian Ye


College of Information & Electronic Engineering
Zhejiang Gongshang University
Hangzhou, China
Email: yemeiqian@pop.zjgsu.edu.cn

Abstract—Vehicle access control system is an important management systems, this issue puts forward that the
sub-system of the intelligentized residence section. Today, in a vehicle access control should be achieved with the usage of
growing emphasis on personal and property safety, the control ZigBee wireless sensor networks. ZigBee based on IEEE
of vehicles’ access authorization and the management of the 802.15.4, is an emerging short-range, low-speed, low-power
vehicles’ access authority, access time and access method via wireless networking technology. ZigBee wireless
computer, is safe and convenient. networking technology is mainly used for short-range
This paper describes a set of vehicle access control system wireless connectivity. Features of it include the following
based on ZigBee wireless technology. In this system, ZigBee sections:
coordinator and its terminal nodes installed respectively in the
1) Low data transmission rate: Only 10kb/s~250kb/s,
entrance of the district and the vehicles, together form a
ZigBee wireless sensor network. This paper mainly introduces focusing on low-transmission applications.
the overall structure, hardware platform and software design 2) Low power consumption: In the low-power standby
of this system. The implementation and performance tests of mode, two ordinary 5 batteries can be used more than 6
this system are fairly good. months. This is also the unique advantage which ZigBee’s
proponents have been proud of.
Keywords—ZigBee; WSN (Wireless Sensor Networks);
3) Low cost: The cost is greatly reduced because of its
CC2430; Vehicle Management
low data transmission rate and simple protocol.
I. INTRODUCTION 4) Large capacity of the network: Each ZigBee network
With the increasing raise of people's living standards, the can at most support 255 devices, which means each ZigBee
vehicle theft in community, as well as the total amount of device can connect with another 254 devices.
car, has a rapid growth. How to conduct an intelligent Therefore, it is possible to apply ZigBee technology to
management to the access of internal vehicles efficiently vehicle access control system, so that the whole
and effectively suffers more and more attention from management system is composed to be a ZigBee wireless
various circles. At present, the most widely approaches used sensor network, which can achieve wireless transmission
in vehicle management are: and management of vehicle information. It is of great
1) Artificial inquiry identification method: This is the practical significance to the intelligent management of
most simple and convenient way. Its advantage lies in its vehicles.
flexibility, which simultaneously shows its hidden crises: II. SYSTEM BUILDING OVERVIEW
Dominated by personal factors; waste of labor and difficulty
The implementation of this Vehicle Access Control
of information communication.
Wireless System is based on ZigBee technology. According
2) Image recognition method: It is not new to all of us. to its applications, its network topology uses the star-shaped
Though it has reduced the labor force, it also has many wireless network, which consists of one monitoring center
disadvantages, such as large investment, low recognition and a number of terminal equipments. Fig. 1 shows the
rate and susceptibility to weather. network structure of the system.
3) Contact IC Card Management: The contact IC
(Integrated Circuit) card, packaging a IC chip in a standard
PVC (polyvinyl chloride) card, reads and writes data relying
on direct contact between the bare chip and reader card
connector. It inherits the advantages of image recognition
method, and its recognition rate is much higher. However, Figure 1. star network topology
its own shortcomings become insurmountable obstacles to
its further development, such as contact wear, difficult to Monitoring center is composed by a computer and a
maintain, large investments in infrastructure facilities. network coordinator. The network coordinator is a special
In allusion to the shortcomings of these current vehicle full-function device (FFD), which can realizes a set number

978-0-7695-4020-7/10 $26.00 © 2010 IEEE 232


DOI 10.1109/IITSI.2010.50

Authorized licensed use limited to: Thangavelu Group of Institutions. Downloaded on June 22,2010 at 09:12:55 UTC from IEEE Xplore. Restrictions apply.
of ZigBee services. It is responsible for communication with In this system, we use the backplane with LCD
its child nodes, data collection and dissemination of control expansion as the network coordinator, and the backplanes
information. In this system, the network coordinator is with ZigBee wireless sensor as vehicle wireless terminals.
installed in the duty room. It establishes and manages the Both Coordinator and terminals have two LED (Light
network, receives the data and displays them on the LCD Emitting Diode) lights on their backplanes, in order to
(liquid crystal display). Meanwhile, the coordinator sends display the network traffic status visually. Figure above only
the data into the PC (Personal Computer) through RS-232 draws two terminal nodes, in fact, ZigBee network can
serial cable. PC is responsible for storage and further dynamically add more nodes. Compared with the traditional
processing of the data. The terminal device may be either vehicle access control system, ZigBee wireless
FFD or Simplifies device RFD(Reduced Function Device). network-based Vehicle Management System has a greater
RFD is the simplest ZigBee node, only implementing a network capacity, it can manage more wireless terminal
minimum of ZigBee services. RFD node in this system has nodes. It can also monitor vehicles, equals to a simple
been installed in each vehicle, and it’s responsible for positioning system.
reading, processing and sending the vehicle’s information.
The overall architecture of this system is shown in Fig. 2. B. System software design
The system software, designed in a modular modus, is
comprised of the hardware layer, software layer and
application layer. The hardware layer, with a core of
CC2430 internally owning an 8051 core and a RF (radio
frequency) transceiver, completes the collection of data and
delivery of commands. Software layer transplants the
Z-stack to achieve the data processing and transmission.
Figure 2. System frame diagram Application layer runs programs written by ourselves,
which, in this system, is mainly responsible for reading and
When the RFD node hasn’t entered into the sending vehicle information. The design structure is shown
communication range, that is it hasn’t yet joined into the in Fig. 4.
network, the coordinator will not receive its information.
Once the RFD node has entered into the communication
range, it will automatically join into the network. And the
coordinator will be able to receive messages sent by this
node, followed by a corresponding set of processes and
operations.
III. SYSTEM IMPLEMENTATION
A. Hardware platform
Figure 4. System design structure
The system uses C51RF-3-ZDS series ZigBee/802.15.4
wireless MCU (Microprogrammed Control Unit) The MAC (Media Access Control) layer and physical
development system. The hardware platform includes: layer protocols of Z-stack are IEEE802.15.4 protocol
C51RF-3-ZDS emulator, wireless 2.4GHz High Frequency standards, and need not to change; Network layer and
Module, backplanes with LCD expansion or ZigBee security layer is formulated by the ZigBee Alliance,
wireless sensor and so on. provided in the form of library. Thus, the development of
The ZigBee wireless vehicle management system the entire system is mainly about the procedures’
formed with C51RF-3-ZDS is as shown in Fig. 3. implementation on application layer. Its core is the Software
Design of coordinator and the terminals, as well as the
procedures’ implementation of several key techniques and
algorithms.
1) Software Design of Coordinator:
After power, coordinator will first initialize the hardware
and software on the board, such as the radio part of the
CC2420, the internal CPU (Central Processing Unit) and so
on. Then, the coordinator will set up a network: coordinator
attempts to establish a new network by scanning an empty
channel, then waits for new device nodes to join its network
and allocates addresses to them. If there is no entrant, the
coordinator will go to handle a variety of pending events.
Coordinator node in this design is mainly used to receive the
Figure 3. C51RF-3-ZDS formed ZigBee Wireless Vehicle Management
data from all terminal nodes. Flowchart of the receive
System program is as shown in Fig. 5.

233

Authorized licensed use limited to: Thangavelu Group of Institutions. Downloaded on June 22,2010 at 09:12:55 UTC from IEEE Xplore. Restrictions apply.
algorithms:
Wireless links use the same transmission medium - the
air to transmit the radio signal. In order to achieve
multi-point inter-communication within the same area, how
to prevent the collision between the data packets
transmitting in the air must be considered, so that reliable
wireless transmission paths can be established. In this
system, some solutions, such as FDMA (Frequence Division
Multiple Access), CSMA/CA (Carrier Sense Multiple
Access with Collision Avoidance) and so on, are used to
solve corresponding issues, as their commonly usage in
wireless communication.
a) FDMA program implementation:
In the program, change of channel is necessary. Setting
the 2.4GHz frequency band, the channel can be changed
with the change of the CHANNR value in register. In
programming, different transmitting modules are fixed
Figure 5. Flowchart of the receive program mandatorily in different channels. Take a simple system as
an example, which is composed of two transmit module
After the initialization was finished, the LED lights flash TX1 and TX2, a receiver module RX.
three times and then are all closed, turning into the Module TX1 and TX2 send data packets to the RX
wait-to-receive state. The program is designed to listen to module at the same time. (as they send in different
multiple channels circularly. If receiving signal from a sub-channels, packet collision will not occur in the air,
certain transmitter module, the corresponding LED light neither will appear packet transmission errors.) While, the
flashes once. Meanwhile, the received data will be displayed RX module constantly scans the different sub-channels to
on the LCD, and uploaded to the monitoring host in order to monitor whether there is a qualified data packet. If any, it
facilitate data analysis and preservation. Then, the program will automatically receive it. So it achieves point (module
will skip to the next channel to continue listening. RX) to multi-point (module TX1 and module TX2) reliable
2) Software Design of Terminal node: wireless data communication.
Terminal’s main function is to send the information on b) CSMA/CA program implementation:
its vehicle to the coordinator circularly. Flowchart of the ZigBee adopts CSMA/CA algorithm. CSMA/CA
send program is as shown in Fig. 6. protocol provides that: When one of the sites tends to send a
message, it should first monitor the channel to check
whether the idle period is longer than a certain frame
interval. If so, sent immediately, otherwise don’t send and
continue monitoring. CSMA/CA communication mode
closely links the division of the time domain with the frame
format, ensures that only one site is sending at a time, and
achieves centralized control of network systems.
IV. SYSTEM TEST AND RESULTS
Figure 6. Flowchart of the send program
C51RF-3-ZDS hardware development platform is used
After power, the terminal device will first initialize the to demonstrate this system. C51RF-3-ZDS emulator has all
hardware and software, that is the RF part of the C2420 and C51 source level debugging functions, such as high-speed
the internal CPU. Terminal device nodes need to find code download, on-line DEBUG, hardware breakpoints,
whether there is already a network that can join. Once the single step, variable observation, registers observation, and
terminal device detects the existence of a coordinator on a so on. The integrated development environment used is IAR
particular channel, it will launch notification either Embedded Workbench IDE.
associated with or isolated, in order to join or re-join the In Demonstration, a LCD expansion board plus a ZigBee
network. module CC2430 constitutes the coordinator (RX); Two
After joining the network successfully, the LED lights ZigBee wireless sensor plates and two ZigBee Modules
on the module flash three times together, then flash CC2430 constitute two terminal nodes (TX1\TX2).
circularly, sending data. After the completion of Demonstrate the following steps:
initialization, in order to correspond to the receiving 1) Build the hardware platform: Plug the CC2430's
channel, the node’s sending channel is re-set according to its ZigBee module into the expansion board, connect the
ID (Identity) number, so that different nodes possess their ZigBee module antenna, and install the battery. Then
sole channels respectively. connect C51RF-3-ZDS emulator with ZigBee module
3) Program implementation of the key techniques and through artificialline, and with computer through the USB

234

Authorized licensed use limited to: Thangavelu Group of Institutions. Downloaded on June 22,2010 at 09:12:55 UTC from IEEE Xplore. Restrictions apply.
interface. has many issues that urgently to await improvement.
2) Compile, download and debug procedures with the This design choses Z-Stack to achieve a complex
IAR software integrated development environment: Open the network, which can support for many nodes theoretically.
project file through the IAR, compile and modify related But in fact, when the system is too large, its transmission
procedures in the application layer according to design delay will be too long, leading to reduced efficiency of the
system. Therefore, in future work, the development of
requirements. It is noteworthy that, the channels of TX1 and
low-level needs further optimization, based on the ZigBee
TX2 are defined NO_1_FREQUENCY 2480000 and protocol stack. So that, a large-scale, strong functions
NO_2_FREQUENCY 2420000 with the macro. Download Wireless Vehicle Management System can be formed. In
the modified receive code to the RX module, and 2 send addition, if improvement in energy-saving and flexibility is
codes to the TX1, TX2 modules respectively. Debug after expected, terminal nodes can be designed to work in sleep
the download is complete. mode before accessing to communication zone. When
3) Run the program: When running programs in the RX entering into the communication zone, they will be waked
module, after pressing the RESET button, the red and up by the coordinator and start sending data. The power
yellow LED lights flash three times together, meanwhile consumption can be largely reduced in this way. It would be
LCD screen displays the open interface (wireless dragon very worthy of further exploration and experimentation.
icon) and words “Receive”. Then both lights are closed, V. CONCLUSION
waiting to receive data. When running programs in the
This design utilizes ZigBee WSN technology to realize
TX1\TX2 module, the two lights, after three times
the wireless management and dispatch system of vehicle
simultaneous flash, flash alternately and circularly, and send access. At the same time, In demonstration and testing, the
data. If the RX module receives data from TX1, the red light system has achieved good test results, in the usage of
flashes; If TX2, yellow light flashes. At the same time, on C51RF-3-ZDS hardware development platform.
the LCD of RX module displayes the specific data received. This system has realized the following functions: when a
The sent data can be modified in the program. It can be vehicle assess to the entrance, the transmitter installed in the
arbitrary strings consisting of no more than 48 letters, car sends related information, through the radio transmitter
numbers, or punctuations. module in CC2430 chip, to the receiver which is set in the
4) Analyze the data frame: With C51RF-6-type network access control office. After successfully received the
analyzer, the data transmitting through the air in the process vehicle’s information, the receiver passes the data to
microcontroller to decode them. The control system will
of communication can be seen, as shown in Fig. 7.
receive this information and store it in the database. The
manager can query all the information in database, including
license plate number, driver number and so on.
Though, there are a number of things need improving,
this system has been basically completed, and has passed the
test with a quite satisfactory results.
Figure 7. Date from TX1\TX2
REFERENCES
In the figure above, the number 5 packet is from TX1,
number 6 is from TX2. The data situation of each frame in [1] Sinha A., Chandrakasan A., Mit C., Dynamic power management in
wireless sensor networks. IEEE Design & Test of
each layer is quite clear. Between these two packets, only Computers18(2),2001: 62-74.
the payloads of the MAC-layer are different, and the rest is [2] Mainwaring A, Polastre J, Szewczyk R, Culler D, Anderson
the same. J,Wireless sensor networks for habitat monitoring In ACM WSNA’02
In C51RF-3-ZDS hardware development platform, this 2002.
vehicle management system can debug successfully. We [3] Cerpa A, Elson J, Estrin D, et al. Habitat monitoring:Application
also test the performance of this system, mainly includ driver for wireless communication technology , In:Proc ACM
communication distance testing and reliability testing. Test SIGCOMM Workshop on Data Communications in Latin America
and the Carribean.2001.20~41.
results show that in the absence of relay router, this system
can form a Point-to-Multipoin star-type network within a [4] GAO Lei. Design of Residential District Parking Intelligent
Management System Based on ZigBee. Low-voltage electrical
radius of 100m, increasing TX power can increase the appliances(2009 NO.10) Electrical articles of modern architecture.
communication distance. If the network is stable, [5] DONG Hai Tao, QU Yu Gui, ZHAO Bao Hua. Design and
transmitting node can sends 1000 consecutive packets in implementation of ZigBee wireless sensor network platform.
30m transmission distance successfully, with the packet loss Computer Technology and Its Applications.
rate 0. [6] Li Xiaomin, Zhao Zhihong, Guo Zhi. Experiment of ZigBee wireless
Thus, the communication distance of ZigBee network sensor network forming. EL ECTRONIC MEASUREMENT
meets the needs of most Vehicle Access Control System, TECHNOLOGY, Vol 30, No. 5, May 2007
and the network has high reliability. Use ZigBee wireless [7] Wang Lin, Huang Hongguang, Chen Yiwen. Design of wireless call
ing system based on the ZigBee technology. EL ECTRONIC
network technology to design Wireless Vehicle MEASUREMENT TECHNOLOGY, Volume 31, No. 10, 2008.10
Management System is feasible. Of course, this design still

235

Authorized licensed use limited to: Thangavelu Group of Institutions. Downloaded on June 22,2010 at 09:12:55 UTC from IEEE Xplore. Restrictions apply.

Potrebbero piacerti anche