Beatriz Gonçalves
Beatriz é urbanista e arquiteta formada pela Universidade de São Paulo (FAU-USP, 2022). Atualmente, é Analista de Urbanismo no Instituto Cordial e atua diretamente com análise e pesquisa em mobilidade urbana. Suas principais experiências são relacionadas à área de análise de dados e geoprocessamento, a fim de orientar a coleta, processamento, análise e visualização dos dados e apoiar na elaboração análises territoriais relacionadas ao contexto urbano e a mobilidade. Atuou como pesquisadora do projeto Índice de Dados Abertos para Cidades pela Open Knowledge Brasil, contribuindo com as temáticas de Mobilidade Urbana e Habitação. Ao longo de sua experiência profissional, já participou de projetos relacionados a intervenções no desenho urbano, mobilidade ativa, elaboração de políticas de mobilidade e projeto urbano.
Sessions
1. Introduction
Urban transportation is transforming with a focus on sustainability and smart city initiatives. Cycling, a key element of sustainable urban mobility, needs robust infrastructure and reliable data for growth and integration into city planning. Despite advancements in sensor technology and (geo)data analytics, there is a gap in comprehensive collection and use of cycling-specific environmental, safety, and pathway data.
One major deterrent for citizens using bicycles are the perceived dangers in traffic. Identifying insecure sections is crucial to improving cycling infrastructure. Safe countermeasures can change negative perceptions and promote cycling as a safe and sustainable mode of transport. Traditionally, only actual crashes are included in official data, informing city planning decisions. However, analysing high-risk occurrences like near-miss incidents, which greatly impact the perceived danger, can provide a more accurate understanding of cycling safety.
There already exist a number of projects using different technologies to gather and provide data on bicycle safety and urban mobility, but combining environmental and road safety aspects is unique. Projects examining cyclist safety, particularly dangerously close overtaking manoeuvres, often involve remote data processing with machine learning or human analysis. Using live video or images from bike-mounted smartphones is effective but creates data overhead and privacy concerns. Additionally, microcontroller-based sensing systems can be complex to assemble, requiring technical skills and special equipment.
The objective of this work is to address the aforementioned gap by developing an innovative bicycle sensor system that leverages embedded artificial intelligence (AI) to process sensor data on the device. This approach has the potential to reduce data overhead and address privacy concerns while simultaneously providing actionable insights. Our work has the potential to make significant contributions to traffic and transport planning by providing valuable insights into traffic patterns and road safety concerns using extensive spatial datasets gathered by citizens.
System Design
At the core of our system is a microcontroller unit (MCU) of the senseBox family. The senseBox is a versatile, open hardware electronics kit specifically designed for citizen science projects and educational initiatives, with an emphasis on environmental monitoring and data collection.
The following environmental sensors are used:
- Temperature & rel. Humidity (HDC1080)
- Particulate Matter (SPS30)
- Acceleration (MPU6050)
- Time-of-Flight (ToF) ranging (VL53L8CX)
Moreover, battery management, Bluetooth Low Energy (BLE), and OLED-Display modules are included for connectivity and user feedback. All parts fit into a custom designed, 3D printed enclosure which is attached to the seat post of a bicycle.
The device is communicating with an open source smartphone app using BLE which receives sensor data and combines them with geolocation data. Datasets are recorded and saved on the smartphone, but can also be uploaded to openSenseMap as open data during the ride. Users can control levels of privacy (e.g. by setting privacy zones) to foster digital sovereignty.
2.1. Machine Learning on the Bike
We are introducing two approaches to utilise machine learning capabilities using Tensorflow Lite on the sensor device: overtaking detection and road surface / quality classification. By processing the data directly on the device instead of sending it to larger servers, bandwidth and energy consumption is kept minimal.
In the low resolution depth images recorded by the 8x8 multizone ranging ToF sensor, overtaking vehicles can be detected using shallow neural networks. This has already been described and implemented as a standalone solution in (Scharf et al., 2024), but for integrating it into the mobile sensor system some considerations for available processing capacities, suitable inference times and necessary accuracies will be addressed as part of this work.
To classify the road surface and its quality, the acceleration sensor will be used. While raw acceleration values can identify the roughness of a road, surface classifications and quality estimations can reveal deviations from intended surfaces to actual surfaces. Using acceleration values and geolocation data, we will explore training a machine learning model using OpenStreetMap Surface information as ground truth data.
3. Workshops
Engaging citizens in data collection, problem identification, and the construction of sensor stations empowers them and fosters the generation of new ideas. Our solution is a solder-free, easy-to-assemble mobile sensor device. We conduct a workshop in São Paulo, Brazil, where 20 participants build and mount their own mobile sensor device on bicycles. Afterwards, they collect environmental and bicycle-specific sensor data. Follow-up workshops in Münster, Germany will allow the comparison of the contrasting bicycle infrastructures in these cities, as well as the general urban environment differences, and will provide valuable data and insights into participants' perceptions.
This collaborative effort enhances participants' understanding of scientific methods and urban mobility challenges while ensuring that the collected data reflects cyclists' authentic experiences. By involving citizens as active contributors, we aim to bridge the gap between scientific research and community needs, fostering a more inclusive and participatory approach to urban mobility solutions.
After the workshops we conduct user studies with the workshop participants on the following topics:
Usability: Through surveys at the end of each session and interviews, participants provide feedback on assembling, mounting and connecting the bicycle sensor device.
Trust in Data: Participants review the data of their recorded dangerous takeovers and road surface types and compare its accuracy with their own perceptions.
4. Conclusion and Future Work
This comprehensive evaluation aims to provide a thorough understanding of both the user experience and the technical performance of the system, ultimately guiding the data-driven foundation for improvements in urban mobility solutions. Insights gained from this work will inform future iterations of the project, ensuring the system collects high-quality data and meets the needs of cyclists, thereby effectively enhancing urban mobility and road safety not only for cyclists but for all users of the urban mobility system. Future works will include the development of an open source bike-related data analysis platform as a recommender system for bike infrastructure measures in cities.