Monitorización de señales biomédicas en sistemas Android
Loading...
Official URL
Full text at PDC
Publication date
2017
Advisors (or tutors)
Editors
Journal Title
Journal ISSN
Volume Title
Publisher
Citation
Abstract
El propósito fundamental del proyecto es conseguir la lectura de muestras en tiempo real con unos plazos de captura de las mismas muy estrictos, con el fin de no perder ninguna muestra. El proyecto parte de una aplicación en espacio de usuario que presentaba unas pérdidas en la recepción de muestras de entre un 1 y un 2 % respecto al conjunto total de muestras enviadas originalmente. Se observó que si además de ejecutar esta aplicación en espacio de usuario, se ejecutaba otra tarea en paralelo, el número de muestras perdidas se disparaba. Era necesario realizar una descarga de la CPU.
Para conseguirlo, se ha utilizado la Unidad Programable en Tiempo-real de la BeagleBone Black, que es un hardware específicamente diseñado para este tipo de operaciones, es decir, para realizar tareas sencillas en tiempo real; principalmente se programa en ensamblador y facilita la interacción entre el código ensamblador y una aplicación en espacio de usuario.
Una vez implementada la solución con éxito, se evita la pérdida muestras en el proceso. Además, se consigue descargar la CPU, de manera que es posible ejecutar otras tareas de forma paralela.
Finalmente, se consigue que la BeagleBone Black se comunique con una aplicación Android mediante Bluetooth. Esta aplicación facilita a un paciente la recogida de información de su electrocardiograma, para que posteriormente, o incluso en tiempo real, sea un médico el que trate de analizarla e interpretarla. Para que la comunicación entre médico y paciente sea posible, es necesario que ambos dispongan de conexión a internet, ya que la interacción se realiza a través de un servidor, el cual recibe la información de un dispositivo y la retransmite al otro.
The main purpose of the project is to get the reading of samples in real time with very strict deadlines, in order not to lose any sample. The project starts from an application in the user space that had losses in the reception of samples of between 1 and 2 % with respect to the total set of samples originally sent. It was observed that in addition to running this application in the user space if another task was executed in parallel, the number of lost samples was increased. A CPU offloading was necessary. To achieve this, the BeagleBone Black Programmable Real-Time Unit has been used, which is a hardware specifically designed for this type of operations, i.e., to perform simple tasks in real time. It is mainly programmed in assembly language and facilitates the interaction between the assembler code and an application in the user space. Once the solution is successfully implemented, loss of samples in the process is avoided. In addition, CPU is successfully offloaded, so that it is possible to execute other tasks in parallel. Finally, the BeagleBone Black communicates with an Android application through Bluetooth. This application facilitates a patient to collect information from their electrocardiogram, so it is possible for a doctor to analyze and interpret this information even in real time. For the communication between doctor and patients to be possible, it is necessary that both devices have internet connection since the interaction is done through a server, which receives and resends the information.
The main purpose of the project is to get the reading of samples in real time with very strict deadlines, in order not to lose any sample. The project starts from an application in the user space that had losses in the reception of samples of between 1 and 2 % with respect to the total set of samples originally sent. It was observed that in addition to running this application in the user space if another task was executed in parallel, the number of lost samples was increased. A CPU offloading was necessary. To achieve this, the BeagleBone Black Programmable Real-Time Unit has been used, which is a hardware specifically designed for this type of operations, i.e., to perform simple tasks in real time. It is mainly programmed in assembly language and facilitates the interaction between the assembler code and an application in the user space. Once the solution is successfully implemented, loss of samples in the process is avoided. In addition, CPU is successfully offloaded, so that it is possible to execute other tasks in parallel. Finally, the BeagleBone Black communicates with an Android application through Bluetooth. This application facilitates a patient to collect information from their electrocardiogram, so it is possible for a doctor to analyze and interpret this information even in real time. For the communication between doctor and patients to be possible, it is necessary that both devices have internet connection since the interaction is done through a server, which receives and resends the information.
Description
Trabajo de Fin de Grado en Ingeniería del software (Universidad Complutense, Facultad de Informática, curso 2016/2017)