Professional Documents
Culture Documents
Juan Zambada, Ricardo Quintero, Ramon Isijara, Ricardo Galeana, Luis Santillan
Computer Science Department
Technological Institute of Culiacan. Sinaloa, Mexico
{jzambada, rquintero, risijara, rgaleana, carlos santillan}@itculiacan.edu.mx
Abstract—School transport is used by millions of children bus in order to know the location of their children or its aprox-
worldwide. However, not a substantial effort is done in order imate arrival time to school or home. In addition to parents,
to improve the existing school transport systems. This paper new stakeholders may arise. For example, the local transport
presents the development of an IoT based scholar bus monitoring authorities or even a research team from a university that is
system. The development of new telematics technologies has interested in analyzing the behavior of school transportation in
enabled the development of various Intelligent Transport Systems.
a particular region of the world using aggregate data provided
However, these are not presented as ITS services to end users.
This paper presents the development of an IoT based scholar bus by cloud services to determine when and where does the school
monitoring system that through localization and speed sensors transportation violates the guidelines established by their local
will allow many stakeholders such as parents, the goverment, the authorities.
school and many other authorities to keep realtime track of the
The rest of this paper is organized as follows: In section II,
scholar bus behavior, resulting in a better controlled scholar bus.
the design of the monitoring system for the school transport is
Keywords—School Transport, Intelligent Transport Systems exposed. In Section III, the proposed hardware to implement
(ITS), Internet of Things (IoT), propagation node, sensor, mon- a mobile propagation node, localization and speed sensors on
itoring, MQTT, EPC, EPCGlobal, RFID, Mosquitto Broker school transportation is presented. Section IV presents how
the properties of ubiquity, uniqueness and discoverability are
I. I NTRODUCTION implemented in the mobile propagation node, and localization
and speed sensors, to meet the paradigm of Internet of Things.
School transport is used by millions of children in the In Section V, we present a service that we developed that uses
European Union (EU) [1] and so in many cities around the the designed monitoring system. In section VI the results from
world. Having said this, although children are some of the the developed service are presented. Finally in section VII we
most vulnerable users, little research has been conducted with present the conclusions and future work.
the goal of achieving a safer school transport system for them
[2]. To achieve a safer school transport, one has to consider
it from the moment that children leave home, until they reach II. DESIGN OF THE MONITORING SYSTEM FOR
the door of his school as most of the deaths and injuries they SCHOOL TRANSPORT
suffer are presented outside the school transport (74%) [3]. In this research, we propose a Monitoring System for
School Transport, based on the paradigm of the Internet of
In the United States from 2003 to 2012, 119 pedestrians
Things, allowing the school transportation to have intelligence
school age (under 19 years) have died in accidents involving
and ability to provide information and features of discov-
school buses; 65% were beaten by school transportation, 5%
erability and ubiquity, which allows different actors to use
operating as school transport vehicles and 30% by other
the information obtained to give different uses; for instance
vehicles involved in accidents [4]. The result on a pilot study
analysis and visualization using new paradigms such as cloud
[5] was that children feel safer and experience less stress level,
computing and big data.
when the school transport reduces the speed when approaching
schools and bus stops. In order to have a safer school transport The system’s proposed hardware consists of a mobile
system, the Intelligent Transportation Systems (ITS) should propagation node and localization and speed sensors as shown
take into account all stakeholders, from government authori- in Fig 1.
ties, to parents, including those that may arise indirectly, as
can be university researchers teams, who at a certain moment
can carry out research on the behavior of school transport
somewhere in the world. Since the 80s, the development of
new telematic technologies have enabled the development of
several intelligent transport systems, with the aim of providing
a service to a single user or a defined number of them (Traffic
managers, public and private Organizations, stakeholders and
others), and not as a global service where anyone interested
could make use of it [6].
Fig. 1. Mobile Propagation Node and Sensors of Localization and Speed
The aim of this paper is to present a new scholar bus
monitoring system that implements localization and speed Through the mobile propagation node using the Message
sensors using the Internet of Things architecture. The use of Queuing Telemetry Transport connectivity protocol (MQTT)
this system will not only allow parents to monitor the scholar [7], the internet is extended to reach the location and speed
,(((
sensors connected to it, so that they can transmit the location mobile propagation node requires mobile communication. For
and speed of school transportation in the form of small infor- this reason, it will connect to the internet through the GPRS
mation data packets called chirps. The packages will be sent standard of the physical layer, using the MQTT [7] protocol.
to the cloud by the mobile propagation node using the General MQTT is a lightweight machine-to-machine communication
Packet Radio Service (GPRS) provided by cellular networks. protocol, designed for devices with limited resources and
Both the mobile propagation node, as those, localization and unreliable networks.
speed sensors are installed on school transportation.
For an economical solution, the MQTT protocol is imple-
mented in the PIC18F45K20 microcontroller. For deployment
III. PROPOSED HARDWARE to the microcontroller, the debugger/programmer manufactured
School transport differs from country to country. In some by Microchip PICkit 3 was used. Microchips PICkit 3 In-
countries, school buses (properly equipped) are constructed for Circuit Debugger/Programmer uses in-circuit debugging logic
the sole purpose of serving as school transport; however in incorporated into each chip to provide a low-cost hardware
other countries, the vans undergo a process of adaptation in debugger and programmer. The MPLAB X is an Integrated
order to be allowed to be used as school transport. We rely on Development Environment (IDE) that we used to develop the
these facts so that the hardware we propose can meet economic MQTT client code embedded in the PIC18F45K20. To do
feasibility and easy installation in any vehicle used as a school this, we used the MPLAB XC compiler, a compiler language
transport anywhere in the world. C/C++.
The MQTT protocol implements the publish/subscribe ar-
A. Mobile Propagation Node chitecture [10] with a central broker in the cloud, so we get
the following benefits:
The mobile propagation node was built with a
PIC18F45K20 microcontroller manufactured by Microchip • Low coupling between business logic and sensors of
which is embedded in a DM164130-4 demo board. The localization and speed.
facilities offered by the PIC18F45K20 are: up to 16,384
single-word instructions, 1536 bytes of internal RAM, 36 • Availability of communication from many to many.
terminals I/O, a EUSART serial port, architecture optimized
for C compilers, among others. These facilities allow us to The availability of communication from many to many is
meet the objectives of the intelligent identification, locating, what allows us to integrate all stakeholders, from government
tracking, monitoring, and managing the school transport, authorities, to parents, including those that may arise indirectly,
taking into account the vision of IoT [8]. The block diagram as can be teams of university researchers. Figure 3 shows
of the mobile propagation node is shown in Figure 2. the publish/subscribe architecture with a central broker in the
cloud.
Peripheral and I/O ports that are not used by the
PIC18F45K20 can be used to add modules to the mobile node
propagation that enables other sensors connect to it.
The Internet of Things aims to extend the Internet to the
ubiquitous assets in the physical world. In this case we extend
the Internet to the localization and speed sensors to monitor
school transportation via mobile propagation node.
A. Ubiquity
Fig. 5. Block diagram of the Demo Card DM164130-4, and the The ubiquity of the localization and speed data is accom-
GPS/GPRS/GSM V3.0 Module
plished by extending to them the Internet through the mobile
propagation node using the communication protocol MQTT,
via a mosquitto broker [15] located in a publicly accessible
sandbox server available at iot.eclipse.org, port 1883.
R EFERENCES
[1] TIS, “Road safety in School school transport,” 2004.
[2] A. Anund and T. Dukic, “From user wishes to system architecture safety
for children going to and from school by bus,” in ITS Telecommunica-
tions (ITST), 2011 11th International Conference on, pp. 327–331, Aug
2011.
[3] A. Anund, T. Dukic, S. Thornthwaite, and T. Falkmer, “Is european
school transport safe?the need for a door-to-door perspective,” European
Transport Research Review, vol. 3, no. 2, pp. 75–83, 2011.
[4] N. H. T. S. A. U.S. Department of Transportation, “2003 2012
Data School-Transportation-Related Crashes,” Tech. Rep. June, 2014.
Available at http://www-nrd.nhtsa.dot.gov/Pubs/811890.pdf.
[5] A. Anund, T. Dukic, B. Börsbo, and T. Falkmer, “Piloting smart safe
school bus: Exploration of security gains from implementation of a
driver support system, additional technical equipment and intelligent
bus stops,” European Transport Research Review, vol. 2, no. 3, pp. 157–
Fig. 12. Mapping the Location and Speed of the School Transport 163, 2010.
[6] V. Tomas, M. Pla Castells, J. Samper, and F. Soriano, “Intelligent
transport systems harmonisation assessment: use case of some spanish
intelligent transport systems services,” Intelligent Transport Systems,
to users. The information that the monitoring system received IET, vol. 7, pp. 361–370, September 2013.
was stored in a non relational database. During the first month [7] A. OASIS, “MQTT Version 3.1.1,” 2014.
a trained driver used the system and an untrained driver used [8] S. Chen, H. Xu, D. Liu, B. Hu, and H. Wang, “A vision of iot:
it during the second month. Applications, challenges, and opportunities with china perspective,”
Internet of Things Journal, IEEE, vol. 1, pp. 349–359, Aug 2014.
The following results were obtained from the data analysis:
[9] C. Zhou and X. Zhang, “Toward the internet of things application and
management: A practical approach,” in A World of Wireless, Mobile
• First month, trained driver: The 100% of the time and Multimedia Networks (WoWMoM), 2014 IEEE 15th International
the vehicle’s speed did not exceed the 60kph speed Symposium on, pp. 1–6, June 2014.
limit. [10] P. T. Eugster, P. A. Felber, R. Guerraoui, and A.-M. Kermarrec, “The
many faces of publish/subscribe,” ACM Comput. Surv., vol. 35, pp. 114–
• Second month, untrained driver: The 15% of the 131, June 2003.
time the vehicle’s speed exceeded the 60kph speed [11] R. Want, “An introduction to rfid technology,” Pervasive Computing,
limit. IEEE, vol. 5, pp. 25–33, Jan 2006.
[12] “Ieee standard for a smart transducer interface for sensors and actu-
On 02/23/2015 the system was used for 25 minutes. From ators - common functions, communication protocols, and transducer
this 25 minutes the 1.4% of the time, the system reported electronic data sheet (teds) formats,” IEEE Std 1451.0-2007, pp. 1–335,
that the vechicle exceeded the speed limit. Here we can notice Sept 2007.
that although the percentage of time that the vehicle exceeded [13] F. A. Johnson, J. Farmenincsusjnjcom, H. B. Gs, L. Burstein, P. D.
the speed limit is short, during 21 seconds the law was Impinj, J. D. Procter, B. Hogan, and G. S. Us, “The EPCglobal
Architecture Framework,” tech. rep., 2007.
violated. From this analysis we can notice that the safety of
[14] K. Traub, S. Bent, T. Osinski, S. N. Peretz, S. Rehling, S. Rosenthal, and
the passengers can be increased thanks to the effective realtime B. Tracey, “The application level events (ALE) specification, version
monitoring the system provides. 1.0,” EPCglobal Proposed Standard (Feb. 2005), pp. 1–71, 2004.
[15] Mosquitto.org, “MQTT Version 3.1.1,” 2014. Available at http://
VII. CONCLUSIONS AND FUTURE WORK mosquitto.org/.
[16] EPCglobal, “EPC Tag Data Standard,” 2010.
In recent years, the Internet of Things has developed very [17] Gs1, “GS1 General Specifications,” Tech. Rep. 2, 2013.
rapidly and has become a development trend to improve living [18] C.-W. Tseng and C.-H. Huang, “A uniform epc scheme design of
conditions in the world as a whole. One of the feasible areas ieee 1451 transducers for iot applications,” in Ubiquitous and Future
to cover with this new paradigm in the field of smart cities is Networks (ICUFN), 2014 Sixth International Conf on, pp. 255–260,
the monitoring of school transport. Considering the above, we July 2014.
propose a scholar bus monitoring system easy to implement [19] “Iso/iec/ieee standard for information technology – smart transducer
in any vehicle and usable by anyone or any “thing” using the interface for sensors and actuators – part 2: Transducer to microproces-
sor communication protocols and transducer electronic data sheet (teds)
paradigm of the Internet of Things in order to provide greater formats,” ISO/IEC/IEEE 21451-2:2010(E), pp. 1–130, May 2010.
security to the users of this medium of transport. [20] S. M. Kywe, “Evaluation of Different Electronic Product Code Discov-
The Internet of Things applied to the monitoring of the ery Service Models,” Advances in Internet of Things, vol. 02, no. 02,
pp. 37–46, 2012.
school transport will play an important role in the management
[21] GS1, “GS1 Object Name Service ( ONS ),” Tech. Rep. 2, 2013.
of urban transport in the cities of the future. So, as future work,
[22] Gs1, “EPC information services (EPCIS). Version 1.1 specification.,”
we consider integrating wireless communication protocols to no. May, pp. 1–169, 2014.
the mobile propagation node, to add other sensors to it such
as proximity sensors at the school transportation stops, in the