# 26嵌赛-健康终端 **Repository Path**: chijinhao/26socc ## Basic Information - **Project Name**: 26嵌赛-健康终端 - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-07-09 - **Last Updated**: 2026-07-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # SOCC — Multi-Parameter Non-Invasive Health Monitoring Terminal Based on PSoC Edge E84 Chinese / [中文](README.md) | English Entry for the 2026 National Undergraduate Embedded Chip & System Design Competition (Infineon Track — Topic 1: Embedded AI / Smart Healthcare Monitoring). ## Overview This project builds a non-invasive health monitoring terminal on the Infineon PSoC Edge E84 dual-core MCU. It fuses multiple biosensors to capture physiological parameters and leverages the on-chip Ethos-U55 NPU for edge AI inference, enabling **non-invasive blood glucose estimation and multi-parameter health monitoring**. ## Key Features - **Heart Rate / SpO2 / Blood Flow Monitoring** — PPG photoplethysmography signal processing - **Non-Contact Infrared Thermometry** — Medical-grade IR thermopile sensor - **Ambient Temperature & Humidity Sensing** — Environmental compensation for metabolic calculation - **Real-Time Basal Metabolic Rate (BMR)** — Three-component heat dissipation model based on energy balance - **Non-Invasive Blood Glucose Estimation** — Dual-branch CNN hybrid network, NPU-accelerated inference (int8 quantized, ~5KB model) - **Touchscreen Interaction** — LVGL 9.2.0 health dashboard with real-time multi-parameter display and glucose trend chart - **Wi-Fi 6 Wireless Communication** — On-board CYW55512 Wi-Fi with AP scanning and auto-connect - **Dual-Core IPC Real-Time Data Exchange** — Lock-free shared memory for sensor scalars, PPG waveforms, and touch events ## Technical Platform | Item | Specification | |------|---------------| | **MCU** | PSoC Edge E84 (Edgi Talk Development Board) | | **High-Performance Core** | Cortex-M55 @ 400MHz, 5MB SRAM — GUI + AI Inference | | **Low-Power Core** | Cortex-M33 @ 200MHz, 1MB SRAM — Sensor Acquisition + Signal Processing | | **AI Accelerator** | Ethos-U55 NPU, 0.1 TOPS (int8 quantized inference) | | **Wireless** | CYW55512 (Wi-Fi 6 + Bluetooth 6.0) | | **RTOS** | RT-Thread | | **Display** | 4.3" MIPI DSI, 512x800, VG-Lite GPU Acceleration | ## System Architecture ``` ┌──────────────────────────────────────────────────────┐ │ Health Monitoring Terminal │ ├────────────────────────┬─────────────────────────────┤ │ M33 Low-Power Sensor │ M55 High-Performance │ │ Domain │ Compute + Display │ │ │ │ │ MAX30102 PPG Acq. │ LVGL Touchscreen GUI │ │ MLX90614 IR Temp. │ TFLite Micro + NPU Infer. │ │ SHT30 Temp/Humi │ Wi-Fi / BLE Comm. │ │ AHT20 On-board │ │ │ ST7102 Touch Acq. │ │ │ │ │ │ PPG Signal Processing │ Glucose Model Inference │ │ BMR Calculation │ Health Data Visualization │ ├────────────────────────┴─────────────────────────────┤ │ IPC Shared Memory (Dual-Core Real-Time) │ └──────────────────────────────────────────────────────┘ ``` ## Sensors | Sensor | Measurement | Interface | |--------|-------------|-----------| | MAX30102 | Heart Rate, SpO2, Blood Flow Velocity | I2C | | MLX90614 | Non-Contact IR Body Temperature | SMBus | | SHT30 | Temperature, Relative Humidity | I2C | | AHT20 | On-Board Ambient Temperature & Humidity | I2C | | ST7102 | 10-Point Capacitive Touch | I2C | ## Blood Glucose Estimation Model Dual-branch hybrid neural network architecture: - **PPG Temporal Branch**: Extracts pulse waveform morphological features from raw photoplethysmography signals (rising slope, dicrotic notch depth, red/infrared ratio variations, etc.) - **Scalar Feature Branch**: Fuses multi-dimensional physiological parameters including heart rate, SpO2, blood flow velocity, BMR, body temperature, and ambient conditions - **Feature Fusion**: Concatenated branch features pass through fully-connected layers to regress blood glucose concentration (mmol/L) Deployment strategy: Prioritizes Ethos-U55 NPU acceleration, with CPU software inference and pure-C linear model as two-level fallback. ## Current Progress | Phase | Content | Status | |-------|---------|--------| | P0 Foundation | M33 project init, sensor drivers, signal processing | ✅ Done | | P1 Dual-Core | IPC shared memory, LVGL health panel, touch interaction | ✅ Done | | P1.5a WiFi | CYW55512 Wi-Fi 6 integration, AP scan panel | ✅ Done | | P1.5b Data Pipeline | PPG downsampling, waveform IPC, serial data collection | ✅ Done | | P1.5c TFLite Micro | TFLite Micro porting, sine model inference verified | ✅ Done | | P1.5d Inference Skeleton | M55 glucose_task placeholder inference framework | ✅ Done | | P2 NPU Research | Ethos-U55 driver API analysis, Vela operator compat | 🔄 In Progress | | P2 Training Pipeline | Python pipeline (data→train→quantize→export) | 📋 Planned | | P3 Model Deployment | int8 quantized model + NPU/CPU inference | 📋 Planned | ## Development Tools - [RT-Thread Studio](https://www.rt-thread.org/studio.html) — Primary IDE - [ModusToolbox](https://www.infineon.com/modustoolbox) — Pin / Clock Configuration - [DEEPCRAFT Studio](https://www.imagimob.com/) / TFLite Micro — AI Model Development & Deployment ## License This project is a competition entry, for educational reference only.