EMBEDDED SYSTEMS FOR E-HEALTH

Daniele ESPOSITO EMBEDDED SYSTEMS FOR E-HEALTH

0623200004
DEPARTMENT OF INFORMATION AND ELECTRICAL ENGINEERING AND APPLIED MATHEMATICS
EQF7
INFORMATION ENGINEERING FOR DIGITAL MEDICINE
2024/2025



OBBLIGATORIO
YEAR OF COURSE 1
YEAR OF DIDACTIC SYSTEM 2022
FULL ACADEMIC YEAR
CFUHOURSACTIVITY
1EMBEDDED SYSTEMS FOR E-HEALTH
324LESSONS
216EXERCISES
18LAB
3EMBEDDED SYSTEMS FOR E-HEALTH
324LESSONS
18LAB
216EXERCISES
Objectives
GENERAL OBJECTIVE
THE COURSE COVERS THE METHODOLOGICAL AND TECHNOLOGICAL ASPECTS OF IMPLEMENTING EMBEDDED AND WEARABLE SYSTEMS FOR MONITORING THE INDIVIDUAL’S HEALTH.

KNOWLEDGE AND UNDERSTANDING
MAIN HARDWARE AND SOFTWARE ARCHITECTURES FOR THE REALISATION OF EMBEDDED SYSTEMS CAPABLE OF ACQUIRE AND PROCESS BIOSIGNALS. KNOWLEDGE OF THE OPERATING PRINCIPLES AND CHARACTERISTICS OF BIOMEDICAL SENSORS USED IN DIAGNOSTIC AND PATIENT MONITORING EQUIPMENT. METHODOLOGICAL AND TECHNOLOGICAL ASPECTS OF EMBEDDED AND WEARABLE SYSTEMS FOR HEALTH MONITORING.

APPLYING KNOWLEDGE AND UNDERSTANDING
DESIGN AND IMPLEMENTATION OF EMBEDDED AND WEARABLE SYSTEMS FOR HEALTH MONITORING. ABILITY TO SELECT APPROPRIATE SENSORS FOR MEASURING MEDICAL-BIOLOGICAL PARAMETERS INDICATIVE OF THE INDIVIDUAL'S HEALTH STATUS. SENSOR-MICROCONTROLLER INTERFACING FOR BIOMEDICAL APPLICATIONS.
Prerequisites
KNOWLEDGE OF THE C PROGRAMMING LANGUAGE, KNOWLEDGE OF THE MAIN APPROACHES TO SOFTWARE DESIGN AND IMPLEMENTATION, BASIC KNOWLEDGE OF PROCESSOR ARCHITECTURE AND MACHINE LANGUAGE ARE REQUIRED TO ACHIEVE THE OBJECTIVES.

THERE ARE NO PROPAEDEUTICITIES.
Contents
PART ONE

DIDACTIC UNIT 1: INTRODUCTION TO EMBEDDED SYSTEMS AND ARM MICROCONTROLLERS
(LECTURE/PRACTICE/LABORATORY HOURS 4/0/0)
- 1 (2 HOURS LECTURE): INTRODUCTION TO EMBEDDED SYSTEMS: DEFINITION OF AN EMBEDDED SYSTEM, OVERVIEW OF REAL-TIME SYSTEMS.
- 2 (2 HOURS LECTURE): OVERVIEW OF EMBEDDED SOFTWARE AND INTRODUCTION TO THE ARCHITECTURE AND PROGRAMMING OF ARM MICROCONTROLLERS, WITH REFERENCE TO THOSE PRODUCED BY ST MICROELECTRONICS.
KNOWLEDGE AND UNDERSTANDING: KNOWLEDGE OF THE MAIN HARDWARE AND SOFTWARE ARCHITECTURES USED TO BUILD EMBEDDED SYSTEMS. INSIGHT INTO THE SYSTEM BUS STRUCTURE OF A PROCESSOR ADOPTING MEMORY MAPPED I/O.
APPLYING KNOWLEDGE AND UNDERSTANDING: KNOWING HOW TO DISTINGUISH THE ARCHITECTURAL CHARACTERISTICS OF ARM MICROCONTROLLERS.

DIDACTIC UNIT 2: I/O ON MICROCONTROLLERS
(LECTURE/PRACTICE/LABORATORY HOURS 2/6/0)
- 3 (2 HOURS LECTURE): GENERAL PURPOSE INPUT OUTPUT (GPIO): DEFINITION, HARDWARE COMPONENTS, REGISTERS, ALTERNATE FUNCTIONS, CONFIGURATION.
- 4 (2 HOURS PRACTICE): INTRODUCTION TO THE DEVELOPMENT ENVIRONMENT AND CONFIGURATION OF A MICROCONTROLLER PROJECT. READING/WRITING USING PUSH BUTTON AND LEDS.
- 5 (2 HOURS PRACTICE): READING/WRITING USING PUSH BUTTON AND LED, FUNCTION FOR FLASHING A LED.
- 6 (2 HOURS PRACTICE): FUNCTIONS FOR DEBOUNCING A PUSH-BUTTON, INTRODUCTION TO FRITZING SOFTWARE AND THE USE OF A BREADBOARD.
KNOWLEDGE AND UNDERSTANDING: KNOWLEDGE OF THE MAIN MICROCONTROLLER HARDWARE INTERFACES USED FOR COMMUNICATION TO EXTERNAL DEVICES, GOING INTO DETAIL ABOUT THE STRUCTURE THAT ALLOWS THE GPI/O PINS TO PROVIDE FUNCTIONALITY DEFINED AT PROGRAMMING TIME.
APPLYING KNOWLEDGE AND UNDERSTANDING: ABILITY TO REALISE FIRMWARE THAT INTERFACES WITH BASIC EXTERNAL PERIPHERALS SUCH AS LEDS AND BUTTONS. INSIGHT INTO THE STRUCTURE OF THE HARDWARE ABSTRACTION LAYER LIBRARY PROVIDED BY ST MICROELECTRONICS AND ITS USE FOR STRUCTURING FIRMWARE.

DIDACTIC UNIT 3 - INTERRUPTS AND DMA
(LECTURE/PRACTICE/LABORATORY HOURS 4/2/0)
- 7 (2 HOURS LECTURE): INTERRUPT MANAGEMENT IN THE CORTEX-M: VECTOR TABLE AND NVIC, INTERRUPT LIFECYCLE, INTERRUPT PRIORITY, IRQ MANAGEMENT, EXTERNAL INTERRUPT (EXTI) CONTROLLER
- 8 (2 HOURS LECTURE): DMA MANAGEMENT IN THE CORTEX-M: PERIPHERAL BUS, DMA PORT, DMA REQUEST LINES, POLLING TRANSFER AND INTERRUPT MODE.
- 9 (2 HOURS PRACTICE): INTERRUPT CONFIGURATION, INTERRUPT GENERATION BY PUSH BUTTON AND LED DRIVING, HANDLING INTERRUPTS FROM THE SAME EXTI LINE OR DIFFERENT EXTI LINES
KNOWLEDGE AND UNDERSTANDING: KNOWLEDGE OF THE MAIN INTERFACE MODES BETWEEN THE CPU AND PERIPHERALS. UNDERSTANDING OF INTERRUPT MANAGEMENT MODES AND THE ROLE OF THE DMA.
APPLYING KNOWLEDGE AND UNDERSTANDING: ABILITY TO IMPLEMENT INTERRUPT-DRIVEN FIRMWARE.

DIDACTIC UNIT 4 - CLOCKS AND TIMERS
(LECTURE/PRACTICE/LABORATORY HOURS 2/4/0)
- 10 (2 HOURS LECTURE): CLOCK DISTRIBUTION ON A MICROCONTROLLER; TIMERS: DEFINITION, CLASSIFICATION, BASIC TIMERS USED AS TIME BASE GENERATORS IN POLLING, INTERRUPT AND DMA MODE, GENERAL PURPOSE TIMERS WITH FOCUS ON OUTPUT COMPARE MODE AND PULSE WIDTH MODULATION (PWM).
- 11 (2 HOURS PRACTICE): CONFIGURATION OF A BASIC TIMER, AND BLINKING OF AN LED USING BASIC TIMERS IN INTERRUPT MODE.
- 12 (2 HOURS PRACTICE): CONFIGURATION OF A GENERAL PURPOSE TIMER FOR GENERATING SQUARE WAVES WITH A GIVEN DUTY CYCLE, WITH AN EXAMPLE ON BLINKING AND FADING OF A LED.
KNOWLEDGE AND UNDERSTANDING: UNDERSTANDING OF HOW CLOCK SIGNAL DISTRIBUTION TO THE CPU AND PERIPHERALS TAKES PLACE AND HOW IT CAN BE CONFIGURED. GENERAL ARCHITECTURE OF A GENERAL PURPOSE HARDWARE TIMER AND USE OF THE TIMER I/O CHANNELS.
APPLYING KNOWLEDGE AND UNDERSTANDING: ABILITY TO DETERMINE THE INPUT CLOCK TO A PERIPHERAL. REALISATION OF A FIRMWARE THAT USES HARDWARE TIMERS TO GENERATE PERIODIC EVENTS MANAGED BY INTERRUPTS. DIRECT CONTROL OF A LED VIA A TIMER. DIRECT CONTROL OF THE BRIGHTNESS INTENSITY OF A LED VIA A TIMER.

DIDACTIC UNIT 5 - INTERFACES FOR COMMUNICATION
(LECTURE/PRACTICE/LABORATORY HOURS 6/8/0)
- 13 (2 HOURS LECTURE): COMMUNICATION PROTOCOLS: MAIN DEFINITIONS AND CLASSIFICATIONS, RS232 SERIAL PROTOCOL AND UNIVERSAL SYNCHRONOUS-ASYNCHRONOUS RECEIVER/TRANSMITTER (USART/UART) INTERFACE IN POLLING MODE, INTERRUPTS AND DMA.
- 14 (2 HOURS LECTURE): SERIAL PERIPHERAL INTERFACE (SPI): SPI LINES, COMMUNICATION PROTOCOL, TRANSFER MODE IN POLLING, INTERRUPT AND DMA MODE
- 15 (2 HOURS PRACTICE): CONFIGURATION OF THE USART, SENDING AND RECEIVING MESSAGES BETWEEN THE STM32 AND A TERMINAL EMULATOR PROGRAM INSTALLED ON A PC, REALISATION OF A COMMAND PROMPT SENT VIA USART TO DRIVE A LED CONNECTED TO THE STM32 BOARD.
- 16 (2 HOURS LECTURE): INTER INTEGRATED CIRCUIT (I2C), SDA AND SCL LINES, COMMUNICATION PROTOCOL (START AND STOP, ADDRESS AND DATA FRAME, ACK AND NACK, CLOCK STRETCHING), POLLING, INTERRUPT AND DMA MODE, DATA TRANSFER TO AND FROM MEMORY LOCATIONS.
- 17 (2 HOURS PRACTICE): I2C CONFIGURATION, CREATION OF A FIRMWARE CAPABLE OF SCANNING THE DEVICES CONNECTED TO AN I2C PORT, DISPLAYING THE ADDRESSES OF THE DETECTED DEVICES VIA UART.
- 18 (2 HOURS PRACTICE): STUDY OF THE DATASHEET OF A DEVICE WITH INTERNAL MEMORY THAT COMMUNICATES VIA THE I2C PROTOCOL (DEVICE CONSIDERED AS AN EXAMPLE: REAL TIME CLOCK). REALISATION OF A FIRMWARE CAPABLE OF OBTAINING THE CURRENT DATE AND TIME FROM A REAL TIME CLOCK.
- 19 (2 HOURS PRACTICE): COMMUNICATION BETWEEN TWO STM32 BOARDS VIA SPI.

KNOWLEDGE AND UNDERSTANDING: IN-DEPTH STUDY OF THE MAIN PROTOCOLS AND INTERFACES FOR SYNCHRONOUS AND ASYNCHRONOUS SERIAL COMMUNICATION ON MICROCONTROLLERS. KNOWLEDGE OF THE CHARACTERISTICS OF I2C, SPI, UART/USART INTERFACES AND THEIR USE FOR INTERFACING WITH INTELLIGENT SENSORS.
APPLYING KNOWLEDGE AND UNDERSTANDING: DESIGN AND IMPLEMENTATION OF FIRMWARE USING SERIAL COMMUNICATION FOR BOARD-TO-BOARD, BOARD-TO-PC AND BOARD-TO-SENSOR COMMUNICATION.

DIDACTIC UNIT 6 - ANALOGUE/DIGITAL CONVERSION
(LECTURE/PRACTICE/LABORATORY HOURS 4/6/0)
- 20 (2 HOURS LECTURE): ANALOGUE-TO-DIGITAL CONVERSION, GENERALITIES ON ANALOGUE-TO-DIGITAL CONVERSION (SAMPLING AND QUANTISATION ISSUES), SAR CONVERTER, ANALOGUE-TO-DIGITAL CONVERSION IN THE STM32.
- 21 (2 HOURS LECTURE): POLLING AND INTERRUPT CONVERSION MODES, USE OF DMA, USE OF TIMERS AS TRIGGERS.
- 22 (2 HOURS PRACTICE): READING THE INTERNAL TEMPERATURE OF THE MICROCONTROLLER .
- 23 (2 HOURS PRACTICE): READING THE INTERNAL TEMPERATURE OF THE MICROCONTROLLER USING TIMERS.
- 24 (2 HOURS PRACTICE): READING THE INTERNAL TEMPERATURE OF THE MICROCONTROLLER USING TIMER AND DMA.
KNOWLEDGE AND UNDERSTANDING: KNOWLEDGE OF THE GENERAL STRUCTURE OF AN ADC WITH REFERENCE TO THAT FOUND ON MICROCONTROLLERS PRODUCED BY ST MICROELECTRONICS.
APPLYING KNOWLEDGE AND UNDERSTANDING: DESIGN AND REALISATION OF FIRMWARE USING AN INTEGRATED ADC FOR READING ANALOGUE SENSORS.

TOTAL LECTURE/PRACTICE/LABORATORY HOURS 22/26/0


PART TWO

DIDACTIC UNIT 7 - INTRODUCTION TO BIOSIGNALS AND CHARACTERISTICS OF MEASUREMENT SYSTEMS FOR E-HEALTH.
(LECTURE/PRACTICE/LABORATORY HOURS 6/0/0)
- 1 (2 HOURS LECTURE): NEW APPROACHES FOR DIGITAL MEDICINE. ROLE OF EMBEDDED SYSTEMS FOR THE REALISATION OF WEARABLE DEVICES FOR EHEALTH.
- 2 (2 HOURS LECTURE): ARCHITECTURE OF A BIOSIGNAL ACQUISITION AND PROCESSING SYSTEM. CHARACTERISTIC PARAMETERS OF A BIOMEDICAL MEASUREMENT SYSTEM: STATIC AND DYNAMIC CHARACTERISTICS.
- 3 (2 HOURS LECTURE): INTRODUCTION TO THE CHARACTERISTICS OF BIOSIGNALS.
KNOWLEDGE AND UNDERSTANDING: THE STUDENT MUST DEMONSTRATE KNOWLEDGE AND UNDERSTANDING OF THE CHARACTERISTICS OF BIOSIGNALS AND THEIR ACQUISITION SYSTEMS.
APPLYING KNOWLEDGE AND UNDERSTANDING: THE STUDENT MUST DEMONSTRATE THE ABILITY TO CHOOSE THE APPROPRIATE TECHNOLOGY FOR THE TYPE OF BIOSIGNAL BEING MONITORED.

DIDACTIC UNIT 8 - SENSORS FOR BIOPOTENTIAL MEASUREMENTS
(LECTURE/PRACTICE/LABORATORY HOURS 4/0/10)
- 4 (2 HOURS LECTURE): CHARACTERISTICS OF THE MAIN BIOPOTENTIALS USED IN CLINICAL SETTINGS; ELECTRODES FOR BIOPOTENTIALS.
- 5 (2 HOURS LABORATORY): ACQUISITION AND VISUALISATION OF AN ELECTROCARDIOGRAPHIC ECG SIGNAL.
- 6-7 (4 HOURS LABORATORY): ECG SIGNAL PROCESSING FOR HEART RATE CALCULATION.
- 8 (2 HOURS LABORATORY): ACQUISITION AND VISUALISATION OF AN EMG ELECTROMYOGRAPHIC SIGNAL.
- 9 (2 HOURS LECTURE): RECALLS ON FILTERS AND DIGITAL FILTERING TECHNIQUES ON A MICROCONTROLLER.
- 10 (2 HOURS LABORATORY): EXAMPLES OF BIOPOTENTIAL FILTERING, NOISE REDUCTION, EXTRACTION OF CLINICAL PARAMETERS.
KNOWLEDGE AND UNDERSTANDING: THE STUDENT MUST DEMONSTRATE KNOWLEDGE AND UNDERSTANDING OF THE MAIN BIOPOTENTIALS USED IN THE CLINICAL ENVIRONMENT AND THE TECHNIQUES USED TO PROCESS AND FILTER THEM.
APPLYING KNOWLEDGE AND UNDERSTANDING: THE STUDENT MUST DEMONSTRATE THE ABILITY TO IMPLEMENT A SYSTEM FOR THE ACQUISITION AND PROCESSING OF BIOPOTENTIALS.

DIDACTIC UNIT 9 - SENSORS FOR TEMPERATURE MEASUREMENTS AND BIOMECHANICAL SIGNALS
(LECTURE/PRACTICE /LABORATORY HOURS 6/0/4)
- 11 (2 HOURS LECTURE): SENSORS FOR TEMPERATURE MEASUREMENT, INFRARED THERMOGRAPHY.
- 12 (2 HOURS LECTURE): STRAIN GAUGES, PIEZOELECTRIC SENSORS, PIEZORESISTIVE SENSORS.
- 13 (2 HOURS LECTURE): ACCELEROMETRIC AND GYROSCOPIC SENSORS, MEMS (MICRO ELECTROMECHANICAL SYSTEMS) TECHNOLOGIES.
- 14 (2 HOURS LABORATORY): MEASUREMENT OF BODY TEMPERATURE USING THERMAL SENSORS AND VISUALISATION.
- 15 (2 HOURS LABORATORY): ACQUISITION OF A MOVEMENT SIGNAL OF A BODY SEGMENT.
KNOWLEDGE AND UNDERSTANDING: THE STUDENT MUST DEMONSTRATE KNOWLEDGE AND UNDERSTANDING OF THE MAIN TEMPERATURE SENSORS, BIOMECHANICAL SENSORS, ACCELEROMETRIC AND GYROSCOPIC SENSORS.
APPLYING KNOWLEDGE AND UNDERSTANDING: THE STUDENT MUST DEMONSTRATE THE ABILITY TO IMPLEMENT A SYSTEM FOR ACQUIRING AND PROCESSING SIGNALS FROM TEMPERATURE SENSORS, BIOMECHANICAL SENSORS, ACCELEROMETRIC SENSORS AND GYROSCOPIC SENSORS.

DIDACTIC UNIT 10 - OPTICAL SENSORS FOR BIOMEDICAL APPLICATIONS
(LECTURE/PRACTICE/LABORATORY HOURS 2/0/4)
- 16 (2 HOURS LECTURE): PHOTOPLETHYSMOGRAPHY (PPG) AND PULSE OXIMETRY (SPO2)
- 17 (2 HOURS LABORATORY): ACQUISITION AND VISUALISATION OF A PHOTOPLETHYSMOGRAPHIC SIGNAL.
- 18 (2 HOURS LABORATORY): EXTRACTION OF HEART RATE FROM A PPG SIGNAL.
KNOWLEDGE AND UNDERSTANDING: THE STUDENT MUST DEMONSTRATE KNOWLEDGE AND UNDERSTANDING OF THE MAIN OPTICAL SENSORS FOR BIOMEDICAL APPLICATIONS.
APPLIED KNOWLEDGE AND UNDERSTANDING: THE STUDENT MUST DEMONSTRATE THE ABILITY TO IMPLEMENT A SYSTEM FOR THE ACQUISITION AND PROCESSING OF SIGNALS FROM OPTICAL SENSORS FOR BIOMEDICAL APPLICATIONS.

DIDACTIC UNIT 11 - PROJECT WORK
(LECTURE/PRACTICE/LABORATORY HOURS 0/0/12)
-19-24 (12 HOURS LABORATORY): PROJECT WORK

TOTAL HOURS LECTURE/PRACTICE/LABORATORY 18/0/30

Teaching Methods
TEACHING INCLUDES LECTURES, PRACTICES AND LABORATORY ACTIVITIES. PART OF THE LABORATORY HOURS WILL BE DEDICATED TO THE DEVELOPMENT OF A GROUP PROJECT.
Verification of learning
_
Texts
MASTERING STM32: A STEP-BY-STEP GUIDE TO THE MOST COMPLETE ARM CORTEX-M PLATFORM, USING A FREE AND POWERFUL DEVELOPMENT ENVIRONMENT BASED ON ECLIPSE AND GCC. C. NOVIELLO, LEANPUB, 2016.

MEDICAL INSTRUMENTATION: APPLICATION AND DESIGN" DI JOHN G. WEBSTER

SENSORI PER MISURE BIOMEDICHE, DE ROSSI DANILO; AHLUWALIA ARTI; MAZZOLDI ALBERTO; PEDE DANILO; SCILINGO ENZO PASQUALE, PATRON ISBN/EAN: 9788855527644
More Information
TEACHING IS HELD IN ENGLISH
Lessons Timetable

  BETA VERSION Data source ESSE3 [Ultima Sincronizzazione: 2024-11-18]