Articulo de un SIMULADOR DE UNA COMPUTADORA AUTOMOTRIZ, realizado por 2 estudiantes, 1 evaluador y 1 asesor, con fines educativos por la Universidad Politécnica de Puebla
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
Articulo de un SIMULADOR DE UNA COMPUTADORA AUTOMOTRIZ
1. Automotive Computer Simulator
Lourdes Nataly Rojas Hernández, Araceli Ramos Nocelo, David López Bárcenas,
Ingeniería en Informática, Universidad Politécnica de Puebla
México, Puebla
lourdes.rojas1136@uppuebla.edu.mx
araceli.ramos1131@uppuebla.edu.mx
david.lopez@uppuebla.edu.mx
Abstract— Nowadays, acquiring an automotive computer
simulator involves buying different modules, which are not always
functional and which maintain a high cost in the market, However,
it is proposed to develop this, in which students of automotive
systems engineering can observe, manipulate and work with the
flow of data it provides to perform the practices required in some
subjects. Today these practices have been carried out in physical
form because there is no didactic software that contributes to the
learning of the data flow of each automotive component and be able
to diagnose the condition of the car.
It has been proposed to minimize costs in development and
implementation, being this open source for its availability and
possible follow-up at the Universidad Politécnica de Puebla.
Therefore, it is important to prioritize the realization of a software
that this can provide solution to this problem and so contribute to
learning within the laboratory.
Keywords: CAN-BUS, Arduino, OBD-II, Data flow.
I. Introduction
ECU diagnostic systems or simulators allow us to know in
real time the state of a vehicle. These show us the stored fault
codes, but also allow us to know in real time a large number
of variables, despite the loss of data. This project promotes
to implement the development of software so that it can be
used by the Peugeot 2008 vehicle, through a serial
connection. The proposed system consists of developing an
ECU simulator being by Arduino [1]. These equipment’s are
very useful when it is necessary to include new parameters
to measure and to see how the data are detected, in the
programs of visualization of diagnostic or scanner programs.
This type of equipment can be of great help for the new
electric vehicles, in which the ECU will need to work more
and more with different sensors and parameters of the one
that is accustomed to see in the combustion vehicles.
This project implements an on-board diagnostic system
based on the OBD-II diagnostic protocol in CAN-BUS. The
proposed system is based on the software development of an
electronic equipment simulator of an ECU [2]. On the other
hand, a diagnostic system consists mainly of two extremes,
one corresponding to the diagnostic software or scanner,
used to visually read and write diagnostic information, with
language of Arduino.[3] (parameters, faults, etc.); and
another composed of the ECUs installed inside the vehicle
which, after collecting the information from the sensors,
send this information to the visualization software.
II. State of the Art
The following table shows the project related to the developed.
TABLE 1
Related jobs
Year Author(s) Title Summary Method/
tools
Resulted
2015 José Beltrán
Zambrano
Desarrol
lo de un
simulado
r
electróni
co de
una ECU
y su
diagnósti
co sobre
CAN y
OBD-II
Desarrollo
de un
sistema
para cada
ECU
Arduino
Uno,
Modulo
transceiv
er CAN,
CAN-
BUS,
Simula
cada
ECU de
forma
física.
III. Methodology
Prototype.
This project was based on this methodology because the
developer and the client find and determine the global
objectives for the software, identify the requirements to
perform the simulator, however it was important that all
areas be known clearly and precisely to continue correctly
with the development.
IV. Software development
In the next figures, shows the operation of the project
including the implementation with the objectives that were
mentioned
Figure 1 shows the low fidelity prototype that was made in
order to satisfy the user with what he proposed.
2. Figure 1. Low fidelity prototype
Figure 2 User interface in charge of managing the lighting
area with each of its components[5], showing the options for
reading or writing data, in the table below serves to observe
the data manipulation that happens when reading or writing
is active. Taking into account that there is a connection with
Arduino and a scanner
Figure 2. First interface
Figure 3 In this case the main beam is active and the data
stream is shown if you press read.
Figure 4 In this case the quarters lights are active and the
data flow is shown in case of pressing read.
Figure 4. Quarter lights
Figure 5 In this case the short lights are active and the data
flow is shown in case of pressing writing.
Figure 5. Short lights
Figure 6. It is observed the operation of the serial connection
with the operation of the mentioned protocols and being
adapted to the reading and writing of the data.
Figure 6. Data reading code
3. Figure 3. Long lights.
VII. Conclusions
This project began to develop for the automotive area, which
began with 5 objectives, however the following 4 were those
that were covered:
1. Establish communication platform software and
Arduino[4].
2. Make a user interface of the lighting area.
3.Test the simulator through the automotive scanner,
property of the Universidad Politécnica de Puebla.
4. Reverse engineering for data flow reading achieved.
The project gave way to new forms of research and learning
in the use of java libraries for circuits, reinforcing all the
knowledge about the java language that it addressed for each
of the objectives to be developed. This academic work
simulates an ECU through software detailing the flow of
data that is made for previous manipulation with the options
of reading and writing, in addition during the development
of the project each time a usability test was made, a series of
errors were identified that were not visible during the
development which affected when making changes in the
Arduino board, causing the flow of data to be unstable.
Pre-tests were performed with the interface of the
components of the lighting area to observe the difference in
data flow when using Arduino with scanner and Arduino
alone, obtaining a series of altered and erroneous results
caused by the reading, avoiding implementation and testing
with the car Peugeot 2008.
VIII. References
[1] Arduino UNO. (s.f.). Especificaciones técnicas y documentación de la
placa Arduino UNO, web oficial de Arduino. (Último acceso en 2019),
https://www.arduino.cc/en/Main/arduinoBoardUno
[2] CAN-BUS Shield. (Julio de 2014). CAN-BUS Shield wiki. (Último
acceso 2019). http://www.seeedstudio.com/wiki/CAN-BUS_Shield
[3] Lenguaje Arduino. (s.f.). Lenguaje de programación Arduino. (Último
acceso 2019). https://www.arduino.cc/en/Reference/HomePage
[4] Arduino IDE. (s.f.). Guía de instalación en Windows. (Último acceso
2019) https://www.arduino.cc/en/Guide/HomePage
[5] Diego Q. Aranda. (Agosto de 2019). Electrónica del automóvil:
Conceptos y fundamentos sobre tecnología electrónica aplicada al sistema
automotriz