Sensors 22 06585 v2
Sensors 22 06585 v2
Sensors 22 06585 v2
Article
A Low Cost IoT Cyber-Physical System for Vehicle and
Pedestrian Tracking in a Smart Campus
Jamal Toutouh * and Enrique Alba
Abstract: Human tracking and traffic monitoring systems are required to build advanced intelligent,
innovative mobility services. In this study, we introduce an IoT system based on low-cost hardware
that has been installed on the campus of the University of Malaga, in Spain. The sensors gather
smart wireless devices (Bluetooth and Wi-Fi) anonymous information and environmental noise level
around them. This research studies the spatio-temporal behavior of people and noise pollution in
the campus as a short-scale Smart City, i.e., a Smart Campus. Applying specific machine learning
algorithms, we have analyzed two months of captured data (61 days). The main findings from
the analysis show that most university community members move through the campus at similar
hours, generating congestion problems. In addition, the campus suffers from acoustic pollution
according to regulations; therefore, we conclude that the proposed system is useful for gathering
helpful information for the university community members and managers. Thanks to its low cost, it
can be easily extended and even used in other similar environments, allowing democratic access to
Smart City services as an excellent added value.
face/body, respectively. These data are stored and processed in the system. As these
data can be used directly to identify vehicles (and their drivers) and persons uniquely, it
can lead to an invasion of user privacy and provoke General Data Protection Regulation
(GDPR) issues.
In recent years, with the proliferation of smart mobile devices (e.g., cellphones), an-
other manner to obtain vehicles/pedestrians mobility information is by using the cellphone
location information services [10–12]. Thus, in order to share the location, the user must
activate a service (or application) in the cellphone to exchange the information retrieved by
the Global Positioning System (GPS) module. The main benefit of these GPS-based systems
is that it does not require the installation of sensors or cameras. The main issues of this
approach are that: (a) the service used to exchange the GPS position consumes a substantial
amount of energy [11] and (b) the service generally shares private information with a third
party, usually a private entity, that manages the service [12].
A promising alternative to gather vehicles/pedestrians mobility is the installation of
sensors able to detect Bluetooth (BT) signals and identifying vehicles and pedestrians by
the Media Access Control (MAC) hardware addresses of their smart devices [13]. Thus, the
sensors detect vehicles and pedestrians by capturing the wave signals generated by the
smart devices that the people carry, e.g., cellphones and watches, or are located inside the
vehicles, e.g., on-board units. This choice is experiencing fast development since it is very
cheap and easy to maintain; however, the provided accuracy is limited by the low signal
range of BT devices and the market penetration of the target BT devices. A previous study
estimated BT penetration between 27% and 29% [14].
The main aim of this article is to propose a low-cost alternative to loop detectors,
cameras, and GPS-based systems to gather vehicle/pedestrians’ mobility. Thus, a novel
cyber-physical system is presented. Our system extends BT-detection-based sensors by
also gathering Wi-Fi (IEEE 802.11 wireless-based) signals in order to mitigate the inaccu-
racy of BT detectors [15]. The idea of also detecting Wi-Fi signals is encouraged by the
fact that more and more car manufacturers include wireless access points as part of the
equipment of their cars. In addition, we also include a noise sensor to monitor and obtain
traffic-related acoustic pollution. Thus, we present an innovative road traffic monitoring
approach that combines information sensed from different sources (BT, Wi-Fi, and noise) to
improve the accuracy of the measurements and, therefore, the information about the road
network status.
Thus, using the proposed ad hoc cyber-physical system to track mobility, we deployed
a wireless sensor network (WSN) at the campus of the University of Malaga to analyze
its suitability. The installation of this infrastructure is part of the Smart-Campus initiative
of the University of Malaga, see University of Malaga Smart-Campus website—https:
//www.uma.es/smart-campus (accessed on 30 June 2022). Smart campus initiatives aim
to apply intelligent systems to provide advanced services to the university community
members [16–18].
The remainder of this paper is organized as follows: Section 2 outlines the related
work. Section 3 describes the data gathered by the sensors and the main operation to
extract the information about human tracking and ambient noise. Section 4 introduces the
main components of the IoT system proposed in this article. Section 5 introduces the use
case at the University of Malaga applied to evaluate our system. Section 6 presents the
numerical evaluation and the analysis of the data extracted. Finally, Section 7 discusses the
conclusions drawn from this study and outlines the main lines of future work.
• To detail a new IoT cyber-physical system for vehicles and pedestrians’ movement
tracking based on a previously presented IoT system that only counts the number
of vehicles at a given point [5]. The main advantage of our cyber-physical system
presented in this article is that it aggregates data from several sensors to allow vehi-
cle/people movement tracking and not only counting. Note that the data collected and
processed can be further used to predict the movement of vehicles and pedestrians if
some deep learning or machine learning algorithms are used. Using such algorithms
will create a more dynamic application of the proposed system (although this article
does not address this matter).
• To propose a case study to show the functionality of the cyber-physical system in the
Smart Campus context. The case study analyzes vehicle/pedestrian mobility within
the campus of the University of Malaga, although the use of the sensor can be easily
adapted to be used on any other campus. This use case is relevant because high road
traffic density situations and crowded (high-people density) areas cause discomfort
to the university community members. In addition, it is important because since the
COVID-19 pandemic is being experienced, university managers are trying to measure
the occupation of enclosed spaces, such as classrooms, cafeterias, libraries, etc., and
the movement of people; thus, it is possible to identify where (which areas) and when
(at what times) are crowded. In this way, the university decision-makers can take the
appropriate measures to mitigate the accumulation of people in order to avoid mass
transmission of the virus among members of the university community.
• To evaluate the system’s ability to assess ambient noise and to discuss the importance
of providing such information to university managers.
In order to further understand the main contributions of this work, the manuscript first
introduces what data the sensors collect and how these data are collected and processed
(see Section 3); second, it presents the main components of the IoT cyber-physical system
proposed and the principal operation (see Section 4); third, it describes the use case applied
here to show the applicability of the proposed system in the context of Smart Campus (see
Section 5).
The relevance of this article in the field of IoT for Smart Cities is that it presents a
sensor-based cyber-physical system for tracking vehicles and people based on simple,
modular, scalable, and low-cost hardware. In addition, on top of the tracking systems
based on cameras, our approach has the advantage that it does not transmit or store private
information such as vehicle license plates or images (or facial/body features) of people,
thus mitigating possible GDPR issues.
Furthermore, an actual use case is presented at the University of Malaga (easily
adaptable to other campuses or environments) that employs the proposed system in the
context of Smart Campus to evaluate the movement of vehicles and people and to measure
the noise within the university campus. University managers use the information provided
by the system to assess road traffic, mobility of university community members, and
environmental noise levels.
2. Related Work
Researchers and Smart City practitioners have proposed different approaches to obtain
information about the inhabitants’ mobility in different contexts and on various scales.
Traditionally, this information has been obtained by different methods, such as collecting
travel diaries and surveys [19]. Even though this type of methodology is able to provide
accurate information, it suffers from different drawbacks, e.g., (i) the random sampling is
impracticable and it limits the representativeness of the results; (ii) the highly gathering
costs; (iii) they are usefulness from obtaining real-time data.
This study focuses on methods that rely on gathering wireless signals for monitoring
mobility because they can obtain accurate real-time information, do not involve high
installation costs, and are not road intrusive. The most promising approaches based on this
idea use Wi-Fi, BT, and Radio Frequency Identification (RFID).
Sensors 2022, 22, 6585 4 of 17
RFID technologies have been applied principally for tracking humans in indoor envi-
ronments [20]. Its main advantage is its high positional accuracy; however, the use of RFID
in large-scale outdoor environments is limited because it needs the users to carry an RFID
tag to be detected, which critically reduces the generalization. In turn, the RFID is based on
low-range communications, which reduces the detection of devices at a certain distance or
moving at a relatively high speed. Due to these issues, RFID has not been considered to be
used in the cyber-physical system proposed.
Several researchers have used BT and Wi-Fi signals (or beacons) to track spatiotempo-
ral behavior in various domains and environments [21,22]; however, most of the existing
research studies use just one of them [23–25]. The main advantage of combining the use of
BT and Wi-Fi is that most inhabitants are already equipped with smart devices that use
these wireless technologies, and therefore, it eases their non-participatory tracking.
The methodology of detecting and tracking devices (pedestrians and vehicles) using
BT and Wi-Fi is very similar. It consists of continuously gathering wireless beacons using
scanners installed at a set of given locations of interest. These scanners register every
detection by storing the unique MAC address of the beacon’s source device and the precise
detection time. This approach is based on the proximity principle [26], i.e., it is considered
that the tracked device is located very close to or at the same point as the scanner; therefore,
the path traveled by a given device (carried by a vehicle or a pedestrian) is computed by
combining the information of all scanners using some data analysis method to aggregate
the locations of each sensor (scanner).
BT scanners have been applied to study the tourists’ behavior in a city [25], to evaluate
the users’ movement in an airport [24], at outdoor festivals [27], among other uses [26].
Lately, under the coronavirus outbreak (COVID-19), contact tracing applications have
emerged to identify people in contact with an infected person [28]. These applications
installed in the mobile devices collect BT MAC addresses of the nearby devices (i.e., act as
scanners) to share the information with governmental institutions [29]. All these approaches
identify each user individually by registering their devices’ MAC address, and they provide
very competitive results; however, the detection ratio depends on the operational state
of the BT device. BT has three different ones: off, on-invisible, and on-visible. Only
devices in on-visible mode are detectable by BT scanners. Thus, researchers presented
different results in terms of detection ratio, e.g., 7% [30], 8% [25], and 11% [27]. This low
detection ratio drops the sample size when tracking the population. Moreover, BT scanning
suffers from the limitation that the detection range of BT is negatively affected by signal
interferences [26]. These interferences are generated by other electronic devices, physical
objects, etc.
Wi-Fi scan-based sensors have also been applied to extract features from a human’s
spatio-temporal movement in different environments by using a similar approach to BT.
The detection ratio of devices that uses Wi-Fi interfaces is more competitive (higher) than
when scanning BT [21,22]. This is due to different reasons: (i) The users usually tend to
keep their device’s Wi-Fi turned on to increase the chance of connecting to any nearby Wi-Fi
network; (ii) The BT discovery time is ten times longer than the Wi-Fi one; and (iii) The
Wi-Fi communication range is much longer than the BT one, and therefore, devices that are
farther are detected. The more extended communication range of the Wi-Fi connections
is also a disadvantage when using these communication interfaces to monitor users. The
accuracy of the tracking system is limited because the device is supposed to be located at
the same point as the sensor; however, as it is not designed for short-range communications
such as BT, the Wi-Fi device could be located at a given significant distance.
The main difference between our approach and other systems proposed in the liter-
ature is the combination of the data coming from the detection of BT and Wi-Fi signals
and the level of sound noise. The combination of these data sources provides a global
knowledge of the road traffic status and people density in a given point and their mobility:
the system captures MAC addresses and noise data, converts it into aggregated information,
and then builds knowledge out of it.
Sensors 2022, 22, 6585 5 of 17
Thus, the main advantages of the proposed system over the ones presented in the
literature are:
• Compared to on-road hardware (e.g., loop detectors): Our sensors consist of simple
hardware devices, which are easy to find in the market, low-cost, and easy to install
and maintain (i.e., do not require road works). The sensors consume low energy (i.e.,
they can be fed with solar cells). In addition, our cyber-physical system detects vehicles
and people. In general, on-road hardware gathers information only about vehicles.
• Compared to cameras: Our system does not transmit or store images or data of
vehicle license plates or pedestrian faces/bodies; thus, it mitigates possible GDPR
issues. Furthermore, the systems based on cameras apply high computationally cost
algorithms to process the images and obtain the data. In contrast, our approach uses
basic methods to extract the MAC addresses from the gathered packets/datagrams.
• Compared to tracking systems based on wireless signal detection: Our proposal
improves the accuracy of the other ones in the literature because we decided to simul-
taneously capture the signal from the two types of network interface (i.e., Bluetooth
and Wi-Fi). Detecting both types of wireless signals improves the likelihood of detect-
ing devices.
• Compared to all the other systems: In addition to the detection of the wireless device,
our cyber-physical system gathers noise levels because there is a correlation between
noise pollution and road traffic [31]; thus, the noise level gathered by the sensors can
be used to improve the accuracy of the road traffic estimate. Moreover, it has been
demonstrated that high noise level causes health issues [32,33]; therefore, it is a crucial
aspect to be measured and controlled in our smart cities.
(a) (b)
Figure 2. Different elements and views of the road sensor system: (a) Sensor block diagram; (b) Actual
photo of the sensor.
Table 1. Price of the components used to deploy the sensors of the proposed IoT system.
Component Price
Raspberry Pi 3 e34.31
Wi-Fi TP-LINK TL-WN722N e9.99
Bluetooth ASUS USB-BT400 e9.99
BENE TECH GM1356 soundmeter e60.02
Waterproof box e4.49
Total cost e118.80
Sensors 2022, 22, 6585 8 of 17
http
User Side
Internet
Sensor
Sensor
Sensor
An application protocol has been developed to determine the sensors’ status. This
protocol defines a procedure in which each sensor sends a packet continuously (every
minute) to the server, including information about its current status. In turn, the sensors are
equipped with a self-protection method, which allows automatically restoring the sensor
in case of failure.
Finally, a server performs three main tasks in our data center: (1) storing the data in a
database, (2) applying different methods to generate information and knowledge from the
data, and (3) providing a web interface to visualize the key information.
5. Evaluating Vehicles and People Mobility on the Campus of the University of Malaga
In this article, we have defined a use case to evaluate the IoT system proposed at the
University of Malaga. Note that our system can be easily installed and adapted to be used
over any other university campus or area.
In this study, we have made use of the infrastructure installed in the Campus of
Teatinos of the University of Malaga, that covers an area of 0.71 Km2 . This infrastructure
consists of ten sensors, as the ones introduced in Section 4, installed throughout the whole
campus and a server to store and perform the main processes. In Figure 4, the black dots
point out the location of the sensors. These locations in strategic places were selected in
order to measure the flows of people through the campus and to generate OD matrices. In
turn, the sensors are in the main entrance of the faculties to be able to measure the affluence
of people to them.
Sensors 2022, 22, 6585 9 of 17
The dots marked with a circle are the four sensors that gathered the data used in this
study. We have selected the data from these four sensors because they are the ones that have
been operating longer, and therefore, they provided more data. The data analyzed cover
two months (from 9 January to 9 March of 2019), i.e., the data evaluated were captured
during 61 days.
This article is focused on extracting information about the human movement behavior
and the environmental noise generated through the campus. It is important to remark
that, as the study takes place on a university campus, most human movements are carried
out during working days (from Monday to Friday) and regular university school opening
hours (from 8:00 h to 21:00 h); therefore, the analysis of the human spatio-temporal patterns
(human flows) proposed here takes into account these periods of time.
In order to improve the knowledge about the evolution of the environmental noise
on the campus throughout the time, we analyzed the level of noise sensed by the four
sensors studied.
The proposed use case is relevant because the university managers at the University
of Malaga are concerned about (a) the number of users in some specific university facilities
(e.g., library and cafeteria) because crowded areas provoke discomfort; (b) the mobility of
the university community members because traffic jams negatively affect the daily life of
the university community members (e.g., students arrive late to their classes); (c) the noise
levels suffered by the university community members may negatively affect to the running
of the classes and may provoke health issues.
In addition, this use case is relevant because since the COVID-19 pandemic is being
experienced, university managers are trying to measure the occupation of enclosed spaces
such as classrooms, cafeterias, and libraries, in order to control the virus transmission
among members of the university community.
Therefore, the information provided by the IoT system proposed here can be used by
the university managers to scale services and change their schedules to avoid overcrowding
in facilities such as cafeterias or libraries. Moreover, the managers could select different
opening and closing times for several schools to decrease the transit of people through
the campus during similar hours. In turn, the managers could avoid placing classes in the
noisiest areas of the campus so that students do not suffer from high noise levels.
6. Experimental Analysis
This section presents the experimental analysis carried out to evaluate the human
movement and environmental noise at the campus.
First, we discuss the number of smart devices detected by each sensor in order to
evaluate affluence of people in a given area. Then, we analyze different spatio-temporal
aspects of the tracked human flows by using our cyber-physical system. Finally, we study
the environmental noise captured on the campus.
Sensors 2022, 22, 6585 10 of 17
Table 2. Average number of devices sensed per day grouped by sensor type.
Interface Mon Tues Wed Thurs Fri Sat Sun & Holi
Wi-Fi 19,803.1 23,231.3 22,591.9 23,294.1 23,655.2 14,512.2 12,790.6
Bluetooth 542.8 601.2 639.9 650.2 622.1 220.1 166.2
Figure 5. Average value of the number (#) of devices detected for both Bluetooth and Wi-Fi devices.
These results confirmed most smartphones have the Wi-Fi interface enabled but not
Bluetooth one. In turn, the communication range of Wi-Fi communications is higher than
Bluetooth communications. This allowed the sensors to detect more Wi-Fi devices (at longer
distances), however, this may lead to have less accurate results since these devices may be
very far from the sensor (that determines their location).
Useful findings can be drawn about people’s behavior by analyzing the patterns of
people flows into the buildings. In our study, our sensors are installed nearby the main
doors of the buildings to gather data about people crossing throughout the campus streets,
but also to provide the detection of the people entering or leaving the facilities. Thus,
we evaluate the devices sensed by each sensor to extract affluence patterns. Figure 6 and
Table 3 summarize the results by averaging the number of sensed devices.
The results shown in Figure 6 present three main general patterns:
• Late-night shift (every day from 0:00 h to 7:00 h): Device detection was almost negli-
gible; therefore, there were hardly any people moving around in the different facili-
ties/buildings on campus.
• Standard working days (from Monday to Friday; from 7:00 h to midnight): The
number of detected devices increased dramatically from 7:00 h. Three peaks were able
to be observed in which the sensors detected more people. The most prominent is
around 14:00 h in the afternoon. In turn, there were two detection peaks that were less
pronounced, one around 9:00 h and another around 21:00 h. These peaks coincide with
the times when students enter and leave their classes.
Sensors 2022, 22, 6585 11 of 17
• Standard non-working days (Saturdays, Sundays, and holidays; from 7:00 h to mid-
night): It was a similar pattern to the one shown above (i.e., standard working days),
but far fewer people were detected. These days the buildings are mainly staffed by
workers performing maintenance or research tasks.
As it was observed, in general, the flow into the buildings depends on the working
and studying times at the university campus.
Figure 6. Number of devices detected over the day grouped by the week days and holidays.
Table 3 presents the average of the total amount of devices detected in terms of sensor
id: Sensor 1, Sensor 2, Sensor 3, and Sensor 4; type of day: Mon (Monday), Tues (Tuesday),
Wed (Wednesday), Thurs (Thursday), Fri (Friday), Sat (Saturday), Sun (Sunday), and &
Holi (holiday). In turn, this table shows the mean and the normalized standard deviation
for each day of the week, i.e., Mean day and Stdev day (%), and each sensor, i.e., Mean sen
and Stdev sen (%).
Table 3. Average number of devices sensed per day grouped by sensor id and type of day. The
maximum and minimum mean values are marked in red and green, respectively.
Mean Stdev
Mon Tues Wed Thurs Fri Sat Sun Holi
Sen Sen (%)
Sensor 1 24,874 28,766 29,258 26,818 30,585 16,558 14,812 14,918 23,324 27.0
Sensor 2 22,294 21,305 22,856 25,804 27,776 16,679 12,877 13,578 20,396 37.8
Sensor 3 16,519 19,224 17,637 19,784 16,336 2743 1902 2163 12,039 63.5
Sensor 4 14,505 22,087 19,844 18,533 16,809 8661 5926 2714 13,635 48.4
Mean day 19,548 22,846 22,399 22,735 22,877 11,160 8879 8343
Stdev day (%) 21.5 15.7 19.5 15.9 27.9 52.4 58.7 71.0
The Mean day results in Table 3 confirm the main findings of the patterns discussed
above. The number of sensed devices is significantly higher during the standard working
days (from Monday to Friday) than during Saturdays, Sundays, and holidays. Friday
was when the mean value of the amount of sensed devices was the highest (22,877). The
lowest affluence on the university campus buildings was sensed during holidays (only
8343 devices were detected).
Sensors 2022, 22, 6585 12 of 17
Focusing on the people affluence in the buildings, i.e., sensor ids in Table 3, the
building with the largest affluence of people was detected in the Computer Science School
(i.e., Sensor 1) with an average of 23,324 sensed devices. This result is mainly due to
the Computer Science School being the school with the largest amount of students and
professors among the four faculties on the campus studied in this research.
Sensor 3 and Sensor 4 were installed in office buildings used for administrative and
research work. Thus, the affluence of students in these buildings was limited. For this
reason, the number of sensed devices was lower than for the other two sensors. In addition,
the location of these two sensors has to be taken into account to evaluate their results. They
were installed on the walls of these buildings separated from the roads and the sidewalks
(see the map in Figure 4). This relatively long distance from the target devices made it
difficult to detect the devices, provoking the high standard deviation results (see Stdev
sen (%) in Table 3) and the very scattered results shown in Figure 6.
(a) (b)
(c) (d)
Figure 7. Mean number of detected flows over the day during working days. (a) Flow A: from
Sensor 2 to Sensor 3; (b) Flow B: from Sensor 3 to Sensor 2; (c) Flow C: from Sensor 3 to Sensor 4;
(d) Flow D: from Sensor 4 to Sensor 3.
Sensors 2022, 22, 6585 13 of 17
In general, the human tracking flows results are in line with the results about the
number of detected devices presented in Section 6.1, i.e., the times in which the sensors
sensed the maximum number of devices are the same ones in which the system tracked the
highest number of flows.
During the schools opening times (i.e., between 8:30 h and 9:00 h), there were detection
of a significant number of flows. although there were less evident increases during the end
of school hours (14:00 h and 19:30 h).
The high rise of human flows tracked during the schools opening times (i.e., between
8:30 h and 9:00 h) and the less evident increases during the end of school hours (14:00 h and
19:30 h) is mainly due to a remarkable number of students that arrived in the morning staying
at the campus until late afternoon (these students might be attending afternoon shift classes
or visiting the libraries). Generally, these students eat in the university cafeterias on campus.
In addition, our cyber-physical system allows the evaluation of the speed of the
tracked flows. The average speed of the human flows gathered was 2.95 m/s (10.62 km/h),
representing a relatively high pace for human walking. This is mainly due to the system not
only tracking people walking but also people using vehicles to move through the campus,
such as bicycles, motorcycles, and cars. Thus, the highest speed of a tracked flow was
13.1 m/s (47.2 km/h), which would correspond to a motor vehicle, such as a car.
The insights provided by analyzing the sensed devices and the human flows tracked by
our cyber-physical system directly assist the university managers. We have observed that
choosing the same opening and closing hours for several university schools provoked high
mobility of people at similar times, which may produce road congestion and overcrowding
issues. The university managers could select different opening and closing times for several
schools in order to decrease the transit of people during similar hours.
Figure 8. Average noise level sensed over the day grouped by the week days and holidays.
Sensors 2022, 22, 6585 14 of 17
In this case, the patterns defined by the results in Figure 8 do not follow similar
patterns. Even, they present some similar general behavior:
• The times with the lowest noise levels for the four sensors are the ones between
midnight and 7:00 h, which coincides with the hours in which we sensed the lowest
number of smart devices.
• The level of noise increases critically from 7:00 h. This increment depends on the type
of the day: it is higher for working days than for no working days; however, these
differences are less marked than in the data of the number of detected devices and
human flows (see Sections 3.2 and 6.1).
• Sensor 1 and Sensor 4 results do not present significant differences regarding the
different type of days or times. This is mainly because they are installed close to some
continuous noise source.
In order to evaluate the noise level depending on the sensor, we have applied a
polynomial curve fitting to the points defined by the distribution of the noise level measures.
Thus, we have obtained a curve that describes the noise evolution throughout the day.
Figure 9 shows the computed curves.
Figure 9. Polynomial curve fitting of the levels of noise for each sensor.
As it can be shown in Figure 9, the maxima and minima presented by these curves of
noise appear during the same periods as the same number of devices and flows detected
(see Sections 6.1 and 6.2); therefore, we can conclude that the primary source of noise on
the campus is the movement of people through the campus (i.e., road traffic).
According to the results in Figure 9, Sensor 1 measured the highest levels of sound.
Moreover, an essential insight of this study was that the location of the four sensors suffers
from acoustic pollution according to the Malaga city council regulations [37], since the
noise levels are higher than 50 dB during the night and higher than 60 dB during the day.
The university managers should consider these results and the benefit of maintaining
an infrastructure of sensors to evaluate noise since noise pollution is a common unpleasant
problem that negatively affects human behavior and health; thus, the European Commis-
sion adopted a directive in which the institutions are required to gather real-world data on
noise exposure to promote local actions to mitigate possible issues [32].
According to the evaluation of the data captured by our system over two months, the
patterns of the collected data about the movement of people are very similar to the same
noise levels measured. For example, the time that obtained the highest number of tracked
human flows matches with the highest amount of measured noise, which corresponded to
the regular university school starting hours. In turn, these patterns may be classified into
two main groups: working days and not working days.
Regarding the human movement, the data demonstrated that most students across
the university community move through the campus at similar hours (at 8:30 h, 14:00 h,
and 19:30 h). This generates most of the congestion problems at the campus, but they could
be mitigated by shifting the scholar schedules.
The evaluation of the noise levels sensed resulted in the campus suffering from acoustic
pollution according to the Malaga city council regulations since the noise levels are always
higher than the ones set by this organism.
The analyses presented in this study are helpful for the university managers since
they pointed at critical aspects that could be improved to benefit the whole university
community. It has been observed that most mobility through the campus occurs at similar
times, which may produce road congestion and overcrowding issues. Moreover, it has
been seen that university community members suffer from high acoustic pollution at the
location of the sensors; thus, the university managers have to take measures to change the
spatio-temporal behavior of the university community members (e.g., changing school
schedules) and to allow the community members to avoid areas of the campus with high
noise levels.
The main lines for future work are focused on four main aspects: first, proposing a
scalability analysis to evaluate our cyber-physical system on other dimensions by including
data from more sensors and longer times; second, applying machine learning and deep
learning methods (e.g., clustering, regression, and neural networks) to provide deep in-
sights into the data and predictions; third, analyzing privacy issues and GDPR violations
that the operation of our system may rise; forth, devising a website to offer information
and knowledge about the university campus to the university community.
Author Contributions: Conceptualization, J.T.; Data curation, J.T.; Formal analysis, J.T.; Funding
acquisition, E.A.; Investigation, J.T.; Methodology, J.T.; Project administration, J.T.; Resources, E.A.;
Software, J.T.; Visualization, J.T.; Writing—review & editing, J.T. and E.A. All authors have read and
agreed to the published version of the manuscript.
Funding: This research is partially funded by the Universidad de Málaga, Consejería de Economía
y Conocimiento de la Junta de Andaluía and FEDER under grant number UMA18-FEDERJA-003
(PRECOG); PID 2020-116727RB-I00 (HUmove) funded by MCIN/AEI/10.13039/501100011033; and
TAILOR ICT-48 Network (No. 952215) funded by EU Horizon 2020 research and innovation programme.
Informed Consent Statement: Not applicable.
Data Availability Statement: Not applicable.
Acknowledgments: The authors thank NEO Lab members for their support in the installation of
the sensors.
Conflicts of Interest: The authors declare no conflict of interest. The views expressed are purely
those of the writer and may not in any circumstances be regarded as stating an official position of the
European Commission.
References
1. Myeong, S.; Park, J.; Lee, M. Research Models and Methodologies on the Smart City: A Systematic Literature Review. Sustainability
2022, 14, 1687. [CrossRef]
2. Roccotelli, M.; Mangini, A.M. Advances on Smart Cities and Smart Buildings. Appl. Sci. 2022, 12, 631. [CrossRef]
3. McClellan, S.; Jimenez, J.A.; Koutitas, G. Smart Cities: Applications, Technologies, Standards, and Driving Factors; Springer: New York,
NY, USA, 2017.
4. Paiva, S.; Ahad, M.A.; Tripathi, G.; Feroz, N.; Casalino, G. Enabling technologies for urban smart mobility: Recent trends,
opportunities and challenges. Sensors 2021, 21, 2143. [CrossRef] [PubMed]
Sensors 2022, 22, 6585 16 of 17
5. Toutouh, J.; Arellano, J.; Alba, E. BiPred: A Bilevel Evolutionary Algorithm for Prediction in Smart Mobility. Sensors 2018,
18, 4123. [CrossRef] [PubMed]
6. Toutouh, J.; Alba, E. A swarm algorithm for collaborative traffic in vehicular networks. Veh. Commun. 2018, 12, 127–137.
[CrossRef]
7. Leduc, G. Road traffic data: Collection methods and applications. In Working Papers on Energy, Transport and Climate Change;
Institute for Prospective Technological Studies (IPTS), Joint Research Centre: Seville, Spain, 2008; Volume 1.
8. Fahmidha, R.; Jose, S.K. Vehicle and Pedestrian Video-tracking: A Review. In Proceedings of the 2020 International Conference
on Communication and Signal Processing (ICCSP), Chennai, India, 28–30 July 2020; pp. 227–232. [CrossRef]
9. Chen, B.Y.; Yuan, H.; Li, Q.; Lam, W.H.; Shaw, S.L.; Yan, K. Map-matching algorithm for large-scale low-frequency floating car
data. Int. J. Geogr. Inf. Sci. 2014, 28, 22–38. [CrossRef]
10. Jimoh, O.D.; Ajao, L.A.; Adeleke, O.O.; Kolo, S.S. A Vehicle Tracking System Using Greedy Forwarding Algorithms for Public
Transportation in Urban Arterial. IEEE Access 2020, 8, 191706–191725. [CrossRef]
11. Almishari, S.; Ababtein, N.; Dash, P.; Naik, K. An energy efficient real-time vehicle tracking system. In Proceedings of the
2017 IEEE Pacific Rim Conference on Communications, Computers and Signal Processing (PACRIM), Victoria, BC, Canada,
21–23 August 2017; pp. 1–6. [CrossRef]
12. Too, W.G.; Thong, C.L.; Chit, S.M.; Chaw, L.Y.; Lee, C.Y. Features of Mobile Tracking Apps: A Review of Literature and Analysis
f Current Apps Compared Against Travel Agency Requirements. In HCII 2020: Design, Operation and Evaluation of Mobile
Communications, Proceedings of the International Conference on Human-Computer Interaction, Copenhagen, Denmark, 19–24 July 2020;
Springer: New York, NY, USA, 2020; pp. 107–120.
13. Castillo, P.; Fernández-Ares, A.; García-Fernández, P.; García-Sánchez, P.; Arenas, M.; Mora, A.; Rivas, V.; Asensio, J.; Romero,
G.; Merelo, J. Studying individualized transit indicators using a new low-cost information system. In Handbook of Research on
Embedded Systems Design; IGI Global: Hershey, PA, USA, 2014; pp. 388–407.
14. Friesen, M.R.; McLeod, R.D. Bluetooth in intelligent transportation systems: A survey. Int. J. Intell. Transp. Syst. Res. 2015,
13, 143–153. [CrossRef]
15. Danalet, A.; Farooq, B.; Bierlaire, M. A Bayesian approach to detect pedestrian destination-sequences from WiFi signatures.
Transp. Res. Part C Emerg. Technol. 2014, 44, 146–170. [CrossRef]
16. Dong, Z.Y.; Zhang, Y.; Yip, C.; Swift, S.; Beswick, K. Smart campus: Definition, framework, technologies, and services. IET Smart
Cities 2020, 2, 43–54. [CrossRef]
17. Del-Valle-Soto, C.; Valdivia, L.J.; Velázquez, R.; Rizo-Dominguez, L.; López-Pimentel, J.C. Smart Campus: An Experimental
Performance Comparison of Collaborative and Cooperative Schemes for Wireless Sensor Network. Energies 2019, 12, 3135.
[CrossRef]
18. Rico-Bautista, D.; Guerrero, C.D.; Collazos, C.A.; Maestre-Góngora, G.; Hurtado-Alegría, J.A.; Medina-Cárdenas, Y.; Swaminathan,
J. Smart University: A vision of technology adoption. Rev. Colomb. Comput. 2021, 22, 44–55. [CrossRef]
19. Andres, L. Designing and Doing Survey Research; SAGE: Thousand Oaks, CA, USA, 2012.
20. Jung, I.C.; Kwon, Y. Grocery customer behavior analysis using RFID-based shopping paths data. World Academy of Science.
Eng. Technol. 2011, 59, 2011.
21. Abedi, N.; Bhaskar, A.; Chung, E. Tracking spatio-temporal movement of human in terms of space utilization using Media-
Access-Control address data. Appl. Geogr. 2014, 51, 72–81. [CrossRef]
22. Abedi, N.; Bhaskar, A.; Chung, E.; Miska, M. Assessment of antenna characteristic effects on pedestrian and cyclists travel-time
estimation based on Bluetooth and WiFi MAC addresses. Transp. Res. Part C Emerg. Technol. 2015, 60, 124–141. [CrossRef]
23. Versichele, M.; Neutens, T.; Claeys Bouuaert, M.; Van de Weghe, N. Time-geographic Derivation of Feasible Co-presence
Opportunities from Network-constrained Episodic Movement Data. Trans. GIS 2014, 18, 687–703. [CrossRef]
24. Bullock, D.M.; Haseman, R.; Wasson, J.S.; Spitler, R. Automated Measurement of Wait Times at Airport Security: Deployment at
Indianapolis International Airport, Indiana. Transp. Res. Rec. 2010, 2177, 60–68. [CrossRef]
25. Versichele, M.; de Groote, L.; Bouuaert, M.C.; Neutens, T.; Moerman, I.; de Weghe, N.V. Pattern mining in tourist attraction visits
through association rule learning on Bluetooth tracking data: A case study of Ghent, Belgium. Tour. Manag. 2014, 44, 67–81.
[CrossRef]
26. Oosterlinck, D.; Benoit, D.F.; Baecke, P.; Van de Weghe, N. Bluetooth tracking of humans in an indoor environment: An application
to shopping mall visits. Appl. Geogr. 2017, 78, 55–65. [CrossRef]
27. Versichele, M.; Neutens, T.; Delafontaine, M.; de Weghe, N.V. The use of Bluetooth for analysing spatiotemporal dynamics of
human movement at mass events: A case study of the Ghent Festivities. Appl. Geogr. 2012, 32, 208–220. [CrossRef]
28. Whitelaw, S.; Mamas, M.A.; Topol, E.; Van Spall, H.G. Applications of digital technology in COVID-19 pandemic planning and
response. Lancet Digit. Health 2020, 2, e435–e440. [CrossRef]
29. Alanzi, T. A review of mobile applications available in the app and google play stores used during the COVID-19 outbreak. J.
Multidiscip. Healthc. 2021, 14, 45. [CrossRef] [PubMed]
Sensors 2022, 22, 6585 17 of 17
30. O’Neill, E.; Kostakos, V.; Kindberg, T.; Schiek, A.F.G.; Penn, A.; Fraser, D.S.; Jones, T. Instrumenting the City: Developing
Methods for Observing and Understanding the Digital Cityscape. In UbiComp 2006: Ubiquitous Computing, Proceedings of the
International Conference on Ubiquitous Computing, Orange County, CA, USA, 17–21 September 2006; Dourish, P., Friday, A., Eds.;
Springer: Berlin/Heidelberg, Germany, 2006; pp. 315–332.
31. Fecht, D.; Hansell, A.L.; Morley, D.; Dajnak, D.; Vienneau, D.; Beevers, S.; Toledano, M.B.; Kelly, F.J.; Anderson, H.R.; Gulliver, J.
Spatial and temporal associations of road traffic noise and air pollution in London: Implications for epidemiological studies.
Environ. Int. 2016, 88, 235–242. [CrossRef] [PubMed]
32. Directive, E. Directive 2002/49/EC of the European parliament and the Council of 25 June 2002 relating to the assessment and
management of environmental noise. Off. J. Eur. Communities L 2002, 189, 2002.
33. Lebrusán, I.; Toutouh, J. Using Smart City Tools to Evaluate the Effectiveness of a Low Emissions Zone in Spain: Madrid Central.
Smart Cities 2020, 3, 456–478. [CrossRef]
34. Miller, B.A.; Bisdikian, C. Bluetooth Revealed: The Insider’s Guide to an Open Specification for Global Wireless Communication; Prentice
Hall PTR: Upper Saddle River, NJ, USA, 2001.
35. Xiao, Y.; Pan, Y. Emerging Wireless LANs, Wireless PANs, and Wireless MANs: IEEE 802.11, IEEE 802.15, 802.16 Wireless Standard
Family; John Wiley & Sons: New York, NY, USA, 2009; Volume 57.
36. Segura-Garcia, J.; Felici-Castell, S.; Perez-Solano, J.J.; Cobos, M.; Navarro, J.M. Low-Cost Alternatives for Urban Noise Nuisance
Monitoring Using Wireless Sensor Networks. IEEE Sens. J. 2015, 15, 836–844. [CrossRef]
37. Ayuntamiento de Málaga: Control del Ruido Ambiental. Available online: http://controlderuido.malaga.eu/es/zonificacion-ac
ustica-de-malaga/#.WvHGwC_gJAZ (accessed on 1 August 2018).