Você está na página 1de 6

Monitoring System for Intelligent Transportation

System Based in ZigBee


Calle Heredia Xavier Ezequiel Heredia Barriga Christian Jorge D. Iturralde
Escuela de Ingeniería Electrónica Escuela de Ingeniería Electrónica Escuela de Ingeniería Electrónica
Universidad del Azuay Universidad del Azuay Universidad del Azuay
Cuenca, Ecuador Cuenca, Ecuador Cuenca, Ecuador
xaviercalle@es.uazuay.edu.ec cristianhj93@es.uazuay.edu.ec diturralde@uazuay.edu.ec

Delgado Oleas Gabriel Alfonso Cabrera Flor Andrés Patricio


Escuela de Ingeniería Electrónica Escuela de Ingeniería Electrónica
Universidad del Azuay Universidad del Azuay
Cuenca, Ecuador Cuenca, Ecuador
gabrieldelgado@uazuay.edu.ec apcabrera@uazuay.edu.ec

Abstract— This research work analyzes the urban section IV shows the tests and results of the monitoring
transportation system, which is one of the problems attempted system. Finally, section V is dedicated to conclusions based
to solve by means of digital cities. A system is designed through on the results obtained.
the use of a wireless sensor network (WSN) where each unit
has a ZigBee communication module and a global positioning II. STATE OF THE ART
system (GPS). This allows to obtain the position and speed of
each transport unit and to transmit that information to the In this section, prior work about intelligent transport
central station, where a software is developed to analyze and systems is overviewed. These works were implemented with
monitor the obtained information through a server and a different technologies such as Bluetooth, GSM, RFID and
database. ZigBee.
Keywords— Digital Cities, Intelligent Transportation System A. Bluetooth:
(ITS), ZigBee. The system presented in [3] consists in Bluetooth low
I. INTRODUCTION energy (BLE) devices installed on buses, an application for
smartphone and a server in the cloud. The BLE has a GPS
Population growth in the cities implies a proportional device, and it activates the app when the user with the
increment in the number of vehicles leading to one of the smartphone is on the bus. The app sends the location
biggest urban problems: traffic congestion. The search for obtained by the GPS to the cloud. Finally, the user can
citizens to satisfy their transportation needs has led to an download the information from the server through another
increase in the use of public transportation, which has not application.
been satisfactory for users due to related problems such as
insecurity, discomfort, delays, etc. In addition to these In [4] a system is presented where the inner sensors from
problems, situations such as road maintenance cause the a smartphone (gyroscope) and from the vehicle are used in
change of the usual routes, so the user has uncertainty about addition to a GPS. The fusion between inner sensors is
where they should take their usual transportation. achieved through a Bluetooth-CAN adapter to communicate
Furthermore, the citizen has uncertainty about whether the the smartphone with the vehicle. Then, the data is merged
transportation that is waiting for has spaces available. One using a Kalman filter. The result allows to obtain an accurate
of the most common complaints is the long wait at bus system.
stops, wasting user's time. As a result, the transportation
system has been ignored and not able to satisfy citizen’s The research presented in [5] consists in the use of
transportation needs [1]. Bluetooth devices to share information from each bus. An
interesting result from this paper is the use of a fuzzy logic
Based on these needs, an Intelligent Transport System is model created from information previously obtained about
proposed such as the one analyzed in [2] to monitor urban the state of buses such as arrival times to each bus stop,
transport using a wireless sensor network (WSN) with a average speed, etc. to obtain a prediction about future arrival
technology that has not been used to its full potential such as times. Also, the system consists in a Bluetooth device
ZigBee, which will be used to establish a data network with a installed on buses and Bluetooth detectors at bus stops, so
server, so a user would be able to visualize and monitor the when a bus gets closer to a bus stop, the detector records the
information about each transport unit. All of this being a MAC address of the device on the bus and measures how
contribution to the proposal to turn a city into a digital city. much time the communication between the Bluetooth
devices lasts. The information is sent to a data center so the
The rest of the paper is organized as it follows. Section users can access to it through an app. Finally, to unify the
II is dedicated to the analysis of the state of the art, section system, an IP network is created.
III establishes the implementation of the WSN system,

XXX-X-XXXX-XXXX-X/XX/$XX.00 ©20XX IEEE


B. GSM
The system proposed by [6] consists in a network which In [12], the use of Wi-Fi and GPS technologies is
uses GSM and GPS technologies to locate a bus and know proposed to know any bus location. The GPS is installed on
the times and delays in each bus stop. Three modules are the bus to obtain its location. Likewise, a smartphone
used by the system: a transmitter on the bus, a receptor at the uploads information through an application to a webserver.
bus stop and a smartphone. The GPS located on the bus The server hosts a web site where estimations are made
transmits its coordinates via GSM to bus stops where the about bus location and also has a map where current
approximate arrival times are estimated, then the user can position is marked. It is important to consider that the bus
access to the information through a smartphone. will send its information when it approaches to a stop.
Similarly, the approximate time that it takes to the bus to get
The system in [7] allows to obtain the bus location away from the stop should be taken into account. Thus, the
through GPS and retransmit it to bus stops via GSM, where Wi-Fi communication is made to determine the proximity
is visualized in a screen. The GSM device sends the between the bus and the bus stop, which also helps to
information continuously to a microprocessor located at the determine the location of the bus through a network
bus stop. The system may be improved if the information is identifier unique for each stop.
sent to a server which would take care of estimations and
then retransmit it to bus stops. The system in [13] consists in a monitoring system for
buses inside urban areas where the only use of GPS isn’t
In [8] a GSM network consisting in cellular base stations enough. The research is based in a tool known as SVD
and each cell associated to a base station is used so a (Signal Voronoi Diagram) to partition the Wi-Fi’s RF signal
cellphone may be located. Location accuracy depends of from the access point, and then these are converted into a
each cell’s coverage and environmental conditions. The bus “finer” signal, thus resolving the interference problem
trajectory is drawn considering each cell division. Then, a produced in urban areas. An application known as
cellphone may obtain the information of a cell and know WiLocator has been implemented to track the bus, estimate
when a cell change has occurred. The bus speed has to be times and design a map of the zone.
considerate and it can be obtained by an average between the
velocity zero and the maximum velocity allowed in the city. E. ZigBee
An important aspect is the time it takes for a bus to go
The work in [14] uses ZigBee modules to establish
through a cell. With these considerations a model is proposed
communication between vehicles, stops and the monitoring
to predict the bus arrival time to each bus stop, with the
station. An application requires that buses can package its
consideration that in each cell only one bus stop is located.
information status to get transmitted to the stops. This
system provides information such as: number of passengers,
C. RFID bus speed, stop reports, etc.
A RFID system designed in [9] consists in tags which
use radio frequency signals to transmit its location to a The work in [15] agrees that the implementation of a
RFID module which usually retransmits the information to a system based only in a GPS network is expensive and
server. In this system, tags are installed on buses and inefficient. Detailed knowledge about a bus may be
modules are installed at each bus stop. The server is located uncertain due many variables such as: traffic, accelerations
in any part of the city and receives the information and and decelerations, waiting times of a bus at the stop due the
notifies to next bus stops the location of a bus. It is required high number of passengers or even the bus may skip a stop
to identify every bus route and save them in a data base. without passengers. To improve the system, it is necessary
that the vehicle transmits data continuously to a monitoring
The system proposed in [10] consists in the introduction center, and the center has to retransmit data to the stops.
of microprocessors on each bus and bus stop. RFID Once data has been transmitted to the center, crossed
technology is used for the communication. When a bus gets information is processed and compared by different priority
closer to a bus stop, it receives an answer generated by the levels.
microprocessor’s inner clock from the bus stop. Then,
arrival time of the bus to the bus stop is registered. In [16] ZigBee and GPS features are applied in buses,
Likewise, the time that a bus stays at the bus stop is monitoring stations and a monitoring center. At stations,
measured. All this information is sent to a data center, where signals form each bus are received wirelessly, then the
estimations about the arrival time to the other bus stops is station detects the bus indicator number. Thereby, the
calculated. station sends the information about the bus arriving time to
the station directly to the center trough a GPRS network,
then the station sends back its own ID number to the bus, so
D. Wi-Fi the bus can access to the required information.
The investigation made in [11] is based on the growth of
wireless Wi-Fi networks; many of the bus stops in the After the analysis of publications about Intelligent
United States have Wi-Fi. Internet of Things (IoT) devices Transportation Systems (ITS), the conclusion is that it may
collect traffic and passenger data from each bus station, be implemented in base of three methodologies: V2V
which are stored on a server in the cloud. At the same time, (vehicle to vehicle), being this the simplest, where the
data can be analyzed to suggest new routes, bus stops, etc. vehicles communicate with each other; I2V (infrastructure
to vehicle) where a structure such as a data center or a server
sends information to the vehicles, and V2I (vehicle to 3) Maximum data speed
infrastructure) where the vehicle sends information to a data All the wireless technologies analyzed reach up to
center or a server. The use of wireless technologies is 115200 bps.
essential to implement an ITS. However, these technologies
have features that may hinder the implementation of an ITS 4) Topology
such as: coverage rates, energy consumption, cost, etc. It specifies the way in which devices in a wireless
Therefore, the right choice of a technology is vital for the network interconnect and communicate with each other.
successful implementation of an intelligent transport system. Bluetooth can be implemented under star or mesh
topologies, the topology for GSM is point to point (P2P), a
Wi-Fi network has a star topology and ZigBee operates
III. SYSTEM DESCRIPTION under mesh topology.
The building blocks involved in the proposed system are
represented in Figure 1. 5) Maximum number of nodes
Indicates how many devices can be part of the network.
Bluetooth supports 7 nodes (slaves) in addition to the master
node, in GSM there are 2 nodes, Wi-Fi supports up to 32
TCP clients and a TCP server, while a ZigBee network can
be formed with up to 65534 devices.

6) Power consumption
It is important to have low power consumption devices
in order to implement an efficient system and minimize the
cost of operation. Bluetooth operates with 3.3 V and 8.5
mA, GSM has a high power consumption, Wi-Fi works with
5V and 100mA and ZigBee operates with 3.3 V and 20 mA.

7) Cost
Finally, cost is another important factor to take into
Fig. 1. Proposed Monitoring System. account to opt for a technology for the system. The
Bluetooth module costs $40, the GSM device is valued at
Different wireless technologies were analyzed to $46, without the contract with a mobile carrier for a
establish which of them is more convenient to be message packet, so the cost will be higher. Wi-Fi and
implemented with this monitoring system. Among the ZigBee modules are the most inexpensive: $17 and $14
studied technologies are: Bluetooth, GSM, Wi-Fi and respectively.
ZigBee; so the comparison is made based on the most [17]
relevant characteristics: frequency, coverage, maximum data
speed, topology, maximum number of nodes, power The comparison between Wireless technologies is
consumption and cost. presented in table I.

1) Frequency Using the comparison presented in table I, it is


Frequency bands in which the wireless communication concluded that to implement the proposed system the most
modules operate are specified. For Bluetooth, Wi-Fi and convenient technology is ZigBee due to: an acceptable
ZigBee the operation band is 2.4 GHz, while for GSM the coverage range, scalability due to the number of devices that
operation band depends on the mobile carrier, so it has four can be part of the network; mesh topology that allows to
bands which are: 800, 950, 1800 and 1900 MHz. obtain a flexible network, in which the addition of new
devices is simple.
2) Coverage
It refers to the maximum distance between devices to Then, once ZigBee devices are configured, each device
establish communications among them. It is important to fulfills a specific function. The Coordinator (unique within
have high coverage ranges, so the number of wireless the network) is the responsible for creating the network,
devices is minimized and the system is more efficient and establishing a channel (based in a frequency band around
cheaper. Bluetooth has a poor coverage (less than 100 m), 2.4 GHz), assigning a unique address for the network known
GSM has full coverage due to the cellular base stations as PAN ID and assigning an address for each device. The
installed in urban areas. Wi-Fi has a range of coverage less end device (ED) installed together with the GPS on the
than 400m and the coverage for ZigBee reaches up to 1000 transport units transmit the coordinates to the coordinator.
m. Routers act as intermediate points between the coordinator
and EDs to route information.
TABLE I. COMPARATIVE TECHNOLOGIES

Specifications

Technology Max
Power
Frequency Coverage Data Cost
Topology Max Number of Nodes Consumption
(GHz) (m) Speed ($)
(mA)
(bps)

Bluetooth 2.4 100 115200 Mesh-Star 8 8.5 40

GSM 950 Full 115200 P2P 2 High >46

Wi-Fi 2.4 400 115200 Star 33 100 17

ZigBee 2.4 1000 115200 Mesh 65534 20 14

The server receives the information from each transport


unit (latitude, longitude, and speed) through de coordinator
IV. RESULTS
device and is the responsible for presenting the information
obtained in a visual way, thus allowing a monitoring of each First, the ZigBee network is designed. For this research,
transport unit individually. This has been developed in the ZigBee device xcore2530 has been used. Specifications for
LabView software environment. The server operation is this module are presented below:
shown in the flow diagram of Figure 2. Flow diagram starts • Sensitivity (reception power): -97dBm (1.99x10-10
when communication between the server and the coordinator dimensionless)
device is started, then the number of the transport unit that is • Transmission power: 4.5dBm (2.81 dimensionless)
wanted to monitor is selected. After that, characters from the • Antenna gain: 2dB (1.58 dimensionless)
received packet data (speed, longitude and latitude) are
[18]
separated. Next, date and hour are obtained within the server
and visualized together with the bus speed. Finally, using the Based on these specifications, the maximum
latitude and longitude, an URL object is created which
communication distance between the devices based on Friss
among other parameters contains the URL of Google Maps
Propagation Model is calculated. Friss Propagation Model is
to visualize the coordinates on the map. Then, the
communication is closed. At the end, a database is developed presented in Equation (1):
to store the obtained information as shown in section IV. 𝑃𝑟 𝜆 2
=( ) 𝐺𝑟 𝐺𝑟 (1)
𝑃𝑡 4𝜋𝑅
Where, 𝑃𝑟: Reception power, 𝑃𝑡: Transmission power,
𝜆 : wavelength, 𝐺𝑟 : Reception antenna gain, 𝐺𝑡 :
Transmission antenna gain and 𝑅: distance.

Then, solving R from (1) and using the values provided


by the specifications we have:
𝑅 = 1865.2 𝑚
The distance obtained represents the maximum
theoretical distance between two ZigBee devices. However,
it has been implemented a redundant network to guarantee
complete coverage in the city, so the distance between
devices will be 800 m.

ZigBee network will be implemented in a specific city:


Cuenca, Ecuador. The urban area for this city is
approximately 70 𝐾𝑚 2 . For the design of the ZigBee
network, a network consisting of hexagonal cells of
coverage will be taken as a reference. In the design, it is
proposed that each cell will be associated with a router.
Therefore, cells of approximately 650 m have been
designed. Thus, an approximate of 110 cells is needed to
cover the urban area of the city. The ZigBee network
designed is shown in figure 3:

Fig. 2. Server’s flow diagram


A ZigBee network performs efficiently because it has an
acceptable coverage range, is scalable due to the number of
devices that can be part of it and mesh topology allows to
obtain a flexible network in which the coordinator device is
responsible for accepting new devices to the network in an
easy way, assigning to the new devices a unique address
within the network. Through the design of the network
presented in section IV, it can be observed that in the urban
area a WSN is implemented, the application for this WSN
can be extended not only for monitoring transport units, but
also for environmental measurement, traffic measurement,
etc. Likewise, the technology used (ZigBee) has not yet
been exploited in its entirety, resulting in a WSN with a
technology contributing to implement a smart city.
Fig. 3. ZigBee Network
The server allows to visualize one transport unit at a
The server is represented in figure 4: time, making the monitoring of a bus easier, and allowing to
analyze the information. Therefore, the communication
between the coordinator device and the server must be done
correctly as well as the connection to the database to store
correctly information about each transport unit.
VI. REFERENCES

[1] D. Mejía Zumba y J. Morocho Sigüenza, Obtención de


la disposición a pagar para disminuir la congestión
vehicular en las avenidas: Huayna-Capac, 12 de Abril,
Remigio Crespo Toral, Fray Vicente Solano y
Americas, de la ciudad de Cuenca, periodo 2015,
Cuenca: Universidad Estatal de Cuenca, 2016.
Fig. 4. Server implemented [2] S. Faraz Hasan, N. Siddique y S. Chakraborty,
Intelligent Transport Systems, Springer, 2013.
The database stores the information of each transport unit
[3] T. Katsuyuki y N. Katsuhir, «Implementation of
for a later analysis and is represented in figure 5, in which it
Cooperative Bus Location System with BLE Devices
is observed that it has 7 columns, which are: Data Number,
and Smartphones,» IEEE, 2017.
Bus ID, date, time, latitude, length and bus speed:
[4] W. Oliver, J. Schmalenstroeer, A. Engler y R. Haeb,
«Smartphone-Based Sensor Fusion for Improved
Vehicular Navigation,» IEEE, 2013.
[5] Q. Wang y Q. Wang, «Study on Real-time Bus Arrival
Information System Based on Bluetooth,» IEEE, 2013.
[6] M. Najme, «Smart Public Transport System Using
Mobile Phone Based Sensing,» IEEE, 2015.
[7] B. Janarthanan y T. Santhanakrishna, «Real Time
Metropolitan Bus Positionin System Design Using GPS
and GSM,» IEEE, 2013.
[8] Y. Fan, K. Niu y N. Deng, «A Real Time Bus Arrival
Prediction Method,» IEEE, 2014.
[9] M. Anu, D. Sarikha, S. Keerthy y J. Jabez, «An RFID
Nased System for Bus Location Tracking and
Display,» IEEE, 2015.
Fig. 5. Database [10] Z. Yu y L. Yanjuan, «Intelligent Bus-Mounted System
Based ond RFID,» IEEE, 2012.
V. CONCLUSIONS
[11] S. El-Tawav, R. Oram, M. García, C. Johns y B. Park,
The proposed system is based in a methodology V2I, «Data Analysis of Transit System Using low-cost IoT
where each transport unit transmits its location to the central Technology,» IEEE, 2017.
station through the wireless sensor network improving the
transport system efficiency. [12] K. Tan y W. Koksheik, «Low-Cost Campus Bus
Tracker using WiFi Access Points,» IEEE, 2016.
[13] W. Liu, J. Liu y H. Jiang, «WiLocator: WiFi-Sensing
Based Real-time Bus Tracking and Arrival Time
Prediction in Urban Environments,» IEEE, 2016.
[14] C. Chang-qui, Z. Zhou y J. Shi_Dao, «The Intelligent
Bus Scheduling Based on ZIGBEE,» IEEE, 2012.
[15] W. Zhizhou, C. Hao, P. Yuqi y Y. Xiaoguang, «Bus
Priority Control System Based on Wireless Sensor
Network and ZIGBEE,» IEEE, 2006.
[16] F. He, L. Li, H. Yin y X. Huang, «Bus Monitoring
System Based ons ZIGBEE and GPRS,» IEEE, 2012.
[17] Wave Share, «waveshare,» 2018. [En línea]. Available:
https://www.waveshare.com/. [Último acceso: Agosto
2018].
[18] Texas Instruments, «Texas Instruments,» Abril 2011.
[En línea]. Available:
http://www.ti.com/lit/ds/symlink/cc2530.pdf. [Último
acceso: 22 Junio 2018].

Você também pode gostar