TFM: Development of a vehicle monitoring system based on NB-IoT technology

Nowadays, several European cities are looking for ways to regulate their internal traffic due to the high concentration rates of pollutants present because of vehicles. These concentrations cause hundreds of thousands of premature deaths in Europe per year, so it is beginning to be considered as a risk factor for its citizens. In most of the cities that implement some type of restriction, the regulation of this traffic is carried out by establishing a fixed low emission zone controlled by cameras.

In this context, the aim of this work is to provide an alternative to the conditions for access to these restricted zones, which are generally based on the Euro standard met by each vehicle. Thus, a device has been developed that connects to the vehicles by means of the OBD II standard, obtains its geolocation and transmits the acquired data using the NB-IoT technology. The purpose of these data is to obtain an estimate of the emissions produced by vehicles individually and based on actual traffic data, with which to regulate the access to the restricted zone. To this end, the COPERT emissions estimator has been incorporated based on speed data with a half-second time interval. This provides an opportunity to create fairer driving conditions based on the particular emissions of each vehicle within the restricted zones. In addition, it allows the creation of dynamic zones that can be a palliative for the border effect that could occur with a fixed zone. With this change of perspective, we can restrict more or less the traffic depending on the pollution situation in the city. Another improvement is the regulation of other pollutants like carbon monoxide or methane.

The developed system is powered by the vehicle battery, uses OBD II through the CAN bus or the ISO 9141 to communicate with the vehicle and obtains the location using a multi-constellation. A PCB has been designed that integrates three modules that carry out the tasks of communicating with the vehicle, transmitting the data to a central server and establishing of the geolocation of the vehicle; as well as a microcontroller in charge of the coordination between these elements and communicating with the user through commands.

A vehicle ECU simulator has been developed in order to debug the system and check that the data obtained are related to the expected values without the need to be permanently connected to a real vehicle during development. The objective was to create a simple simulator that would implement CAN bus communication and could respond to requests from an OBD II port.

Several tests have been carried out with the developed system on board a vehicle during a real journey. Their results allow us to see a distribution consistent with what was expected in terms of the concentration of pollutants emitted. Thus, we have empirically proven that the concentration of pollutants increases on narrow and slow roads and decreases on wider roads. From these tests the correct functioning of the final system and, therefore, the fulfilment of the objectives are confirmed. The result of a test made with a Euro 6 diesel car can be seen in the following picture, where we can see the NOx estimated emissions.

Conexión con la red NB-IoT de Vodafone

Ya estamos trabajando con los módulos NB-IoT del proyecto Sensoriza y hemos conseguido conectarnos con la red de Vodafone desde el laboratorio.

Hemos hecho pruebas con dos plataformas hardware. En primer lugar usamos una shield NB-IoT para Arduino de la empresa SODAQ que incorpora el módulo SARA-N211 de u-blox. Nosotros la utilizamos de forma autónoma, alimentándola directamente sin utilizar ningún Arduino. Por otro lado tenemos el módulo BC95 de Quectel montado en su propia Evaluation Board. Ambos se conectan mediante un puerto serie USB a un ordenador, ya que los módulos se controlan mediante comandos AT. El escenario de pruebas es el siguiente, con el módulo de u-blox más pequeño a la izquierda y el de Quectel a la derecha.

pruebasNBIoT

Tras estudiar y entender la sucesión de comandos necesaria, y con la información que nos ha facilitado Vodafone, hemos conseguido conectar ambos dispositivos a la red de forma correcta.

conexionserie

Empezando a trabajar con NB-IoT

Dentro del proyecto Sensoriza desde el grupo B105 hemos empezado a trabajar por primera vez con la tecnología Narrowband-IoT (NB-IoT).

NB-IoT es un estándar promovido por 3GPP que reutiliza una pequeña parte del espectro LTE. Por tanto, con un pequeño cambio en las estaciones base, proporciona el mismo alcance geográfico que la tecnología móvil 4G actual. La conectividad que proporciona es de muy bajo ancho de banda y baja tasa de datos, a la vez que ofrece una cobertura muy profunda llegando a lugares subterráneos o zonas rurales remotas. Por lo tanto está especialmente diseñada para dispositivos autónomos del mundo del internet de las cosas, como contadores inteligentes, alarmas, agricultura conectada, etc.

nbiotbands

Nuestro objetivo es dotar a las máquinas de conservación y mantenimiento de carreteras de un módulo NB-IoT mediante el que puedan transmitir la información recogida por sus sensores ambientales a un centro de control. Utilizando esta tecnología tendremos conectividad desde las carreteras de montaña remotas donde se realizan la mayor parte de actuaciones de vialidad invernal, lo que hasta ahora no era posible.

bc95

Como pasos iniciales estamos trabajando con dos módulos de dos fabricantes diferentes. En primer lugar tenemos un módulo BC95 de Quectel, que nos ha facilitado su distribuidor en España Monolitic. Por otro lado estamos utilizando una plataforma basada en Arduino que incorpora un módulo SARA-N211 de u-blox. Vodafone, que es la principal compañía telefónica que está implantando la tecnología NB-IoT en España, nos ha proporcionado dos tarjetas SIM para hacer pruebas de conexión con su red.

sara-n2