Skip to content

Artificial Intelligence for Congenital Heart Disease Screening

A study on large-scale CHD screening using AI-based heart sound analysis, transmitting data via STM32 and W5100 Ethernet for deep learning classification.

Artificial Intelligence for Congenital Heart Disease Screening

Components

Hardware components

Project description

๐Ÿ“Œ Overview

This project is a study on large-scale screening for congenital heart disease (CHD) using an AI-based heart sound analysis system. Heart sound data collected with an electronic stethoscope are transmitted from an embedded system based on STM32 + Ethernet (W5100) to an upper-level computing platform, where diseases are automatically classified using deep learning models (RNN/CNN). The system aims to provide a low-cost, highly scalable diagnostic support solution that can be deployed even in regions with limited medical infrastructure.

๐Ÿ“Œ Features

  • AI-Based Heart Sound Diagnosis
    • Automatic classification of major CHD types such as ASD, VSD, and PDA
    • Achieves up to approximately 90% accuracy using an RNN-based model
  • Large-Scale Screening Validation
    • Real-world field screening conducted on 518,258 individuals
  • Low-Cost Hardware Configuration
    • STM32 microcontroller combined with an Ethernet network
  • Field-Oriented Design
    • Portable, low-power operation with real-time data acquisition and transmission

๐Ÿ“Œ System Architecture

๐Ÿ“Œ System Architecture
๐Ÿ“Œ System Architecture

The system adopts a clearly separated two-layer architecture, consisting of a lower embedded acquisition system (Lower Computer) and an upper processing and visualization system (Upper Computer).
This structure is designed to appropriately distribute responsibilitiesโ€”ensuring stable medical signal acquisition, reliable data transmission, and high-performance AI processingโ€”according to each layerโ€™s purpose.

Lower Computer

  • Sensor Layer
    • Heart Sound Sensor
    • EMS Sensor
      โ†’ Collect heart sounds and other biosignals from the human body in analog form
  • Signal Preprocessing and Conversion
    • Sensor signals are conditioned using a ThinkLabs module
    • Multi-channel analog signals are converted into digital data using the AD7606 ADC
  • Main Control MCU
    • STM32F103ZET6
    • Handles ADC data acquisition and packet construction
    • Manages data processing for Ethernet transmission
  • Network Interface
    • W5100 Ethernet Controller
    • Connected to the STM32 via SPI
    • Performs TCP/IP communication at the hardware level
    • Reliably transmits collected medical data to the upper system

Upper Computer

  • APSoC-Based Processing Platform
    • ZedBoard (Zynq APSoC)
    • Composed of a Processing System (PS) and Programmable Logic (PL)
  • Data Reception and Buffering
    • Receives data from the lower system via Ethernet
    • Stores and shares data in DDR3 memory
  • AI Processing and Application Execution
    • Runs on a Linux (Linaro)โ€“based environment
    • Executes Qt-based UI and data acquisition/analysis applications
    • Performs heart disease classification and diagnostic assistance using AI models
  • Display Output
    • ADV7511 HDMI transmitter
    • Connects to LCD drivers and HDMI displays
    • Visualizes real-time waveforms and analysis results
  • Internal Interfaces
    • Data exchange between PS and PL via AXI interconnects

This architecture clearly separates medical signal acquisition, transmission, and analysis, ensuring scalability and system reliability.

๐Ÿ“Œ Role and Application of the W5100

In this study, the W5100 Ethernet controller plays a core networking role.

  • Handles wired Ethernet data transmission on the STM32-based embedded board
  • Reliably delivers real-time heart sound and ECG data to the upper-level computer
  • Implements TCP/IP communication while minimizing MCU resource usage
  • Contributes to the high reliability and low latency required in medical environments

๐Ÿ“Œ WIZnet Strategic Value

This project is a representative example of an Ethernet-based medical IoT system.
WIZnetโ€™s W5500 hardware TCP/IP Ethernet chip can provide stable and reliable data transmission for STM32- and ESP32-based medical and healthcare devices, and it can serve as a practical reference for AI-assisted diagnostic devices and remote healthcare platforms like the system presented in this study.

๐Ÿ“Œ Summary

This study is a successful example of large-scale screening for congenital heart disease by combining AI-based heart sound analysis with an Ethernet-based embedded system.
The architecture using STM32 and Ethernet (W5100) serves as a strong reference model for low-cost, high-reliability medical IoT design.
WIZnet Ethernet solutions have significant potential to expand as core network infrastructure in next-generation smart healthcare devices.


๐Ÿ“Œ Overview

๋ณธ ํ”„๋กœ์ ํŠธ๋Š” AI ๊ธฐ๋ฐ˜ ์‹ฌ์Œ(Heart Sound) ๋ถ„์„ ์‹œ์Šคํ…œ์„ ์ด์šฉํ•ด **์„ ์ฒœ์„ฑ ์‹ฌ์žฅ์งˆํ™˜(CHD)**์„ ๋Œ€๊ทœ๋ชจ๋กœ ์Šคํฌ๋ฆฌ๋‹ํ•˜๋Š” ์—ฐ๊ตฌ์ด๋‹ค. ์ „์ž ์ฒญ์ง„๊ธฐ๋กœ ์ˆ˜์ง‘ํ•œ ์‹ฌ์Œ ๋ฐ์ดํ„ฐ๋ฅผ STM32 + Ethernet(W5100) ๊ธฐ๋ฐ˜ ์ž„๋ฒ ๋””๋“œ ์‹œ์Šคํ…œ์—์„œ ์ƒ์œ„ ์ปดํ“จํŒ… ํ”Œ๋žซํผ์œผ๋กœ ์ „์†กํ•˜๊ณ , ๋”ฅ๋Ÿฌ๋‹(RNN/CNN) ๋ชจ๋ธ์„ ํ†ตํ•ด ์งˆํ™˜์„ ์ž๋™ ๋ถ„๋ฅ˜ํ•œ๋‹ค. ์ด ์‹œ์Šคํ…œ์€ ์˜๋ฃŒ ์ธํ”„๋ผ๊ฐ€ ๋ถ€์กฑํ•œ ์ง€์—ญ์—์„œ๋„ ํ™œ์šฉ ๊ฐ€๋Šฅํ•œ ์ €๋น„์šฉยท๊ณ ํ™•์žฅ์„ฑ ์ง„๋‹จ ๋ณด์กฐ ์†”๋ฃจ์…˜์„ ๋ชฉํ‘œ๋กœ ํ•œ๋‹ค.

๐Ÿ“Œ Features

  • AI ์‹ฌ์Œ ์ง„๋‹จ
    • ASD, VSD, PDA ๋“ฑ ์ฃผ์š” CHD ์œ ํ˜• ์ž๋™ ๋ถ„๋ฅ˜
    • RNN ๊ธฐ๋ฐ˜ ๋ชจ๋ธ๋กœ ์ตœ๋Œ€ ์•ฝ 90% ์ •ํ™•๋„ ๋‹ฌ์„ฑ
  • ๋Œ€๊ทœ๋ชจ ์Šคํฌ๋ฆฌ๋‹ ๊ฒ€์ฆ
    • 518,258๋ช… ๋Œ€์ƒ ์‹ค์ œ ํ˜„์žฅ ์Šคํฌ๋ฆฌ๋‹ ์ˆ˜ํ–‰
  • ์ €๋น„์šฉ ํ•˜๋“œ์›จ์–ด ๊ตฌ์„ฑ
    • STM32 ๋งˆ์ดํฌ๋กœ์ปจํŠธ๋กค๋Ÿฌ + Ethernet ๋„คํŠธ์›Œํฌ
  • ํ˜„์žฅ ์นœํ™”์  ์„ค๊ณ„
    • ์ด๋™ํ˜•ยท์ €์ „๋ ฅยท์‹ค์‹œ๊ฐ„ ๋ฐ์ดํ„ฐ ์ˆ˜์ง‘ ๋ฐ ์ „์†ก

๐Ÿ“Œ System Architecture

๐Ÿ“Œ System Architecture
๐Ÿ“Œ System Architecture

ํ•ด๋‹น ์‹œ์Šคํ…œ์€ ํ•˜์œ„ ์ž„๋ฒ ๋””๋“œ ์ˆ˜์ง‘ ์‹œ์Šคํ…œ(Lower Computer) ๊ณผ ์ƒ์œ„ ์ฒ˜๋ฆฌยทํ‘œ์‹œ ์‹œ์Šคํ…œ(Upper Computer) ์œผ๋กœ ๋ช…ํ™•ํžˆ ๋ถ„๋ฆฌ๋œ 2-๊ณ„์ธต ๊ตฌ์กฐ๋ฅผ ๊ฐ€์ง„๋‹ค.
์ด ๊ตฌ์กฐ๋Š” ์˜๋ฃŒ ์‹ ํ˜ธ์˜ ์•ˆ์ •์  ์ˆ˜์ง‘, ์‹ ๋ขฐ์„ฑ ์žˆ๋Š” ์ „์†ก, ๊ณ ์„ฑ๋Šฅ AI ์ฒ˜๋ฆฌ๋ฅผ ๋ชฉ์ ์— ๋งž๊ฒŒ ๋ถ„๋‹ดํ•˜๋„๋ก ์„ค๊ณ„๋˜์—ˆ๋‹ค.

ํ•˜์œ„ ์‹œ์Šคํ…œ (Lower Computer)

  • ์„ผ์„œ ๊ณ„์ธต
    • ์‹ฌ์Œ ์„ผ์„œ(Heart Sound Sensor)
    • EMS ์„ผ์„œ
      โ†’ ์ธ์ฒด์—์„œ ๋ฐœ์ƒํ•˜๋Š” ์‹ฌ์Œ ๋ฐ ์ƒ์ฒด ์‹ ํ˜ธ๋ฅผ ์•„๋‚ ๋กœ๊ทธ ํ˜•ํƒœ๋กœ ์ˆ˜์ง‘
  • ์‹ ํ˜ธ ์ „์ฒ˜๋ฆฌ ๋ฐ ๋ณ€ํ™˜
    • ThinkLabs ๋ชจ๋“ˆ์„ ํ†ตํ•ด ์„ผ์„œ ์‹ ํ˜ธ ์ •ํ˜•
    • AD7606 ADC๋ฅผ ์‚ฌ์šฉํ•ด ๋‹ค์ฑ„๋„ ์•„๋‚ ๋กœ๊ทธ ์‹ ํ˜ธ๋ฅผ ๋””์ง€ํ„ธ ๋ฐ์ดํ„ฐ๋กœ ๋ณ€ํ™˜
  • ๋ฉ”์ธ ์ œ์–ด MCU
    • STM32F103ZET6
    • ADC ๋ฐ์ดํ„ฐ ์ˆ˜์ง‘ ๋ฐ ํŒจํ‚ท ๊ตฌ์„ฑ
    • Ethernet ์ „์†ก์„ ์œ„ํ•œ ๋ฐ์ดํ„ฐ ์ฒ˜๋ฆฌ ๋‹ด๋‹น
  • ๋„คํŠธ์›Œํฌ ์ธํ„ฐํŽ˜์ด์Šค
    • W5100 Ethernet ์ปจํŠธ๋กค๋Ÿฌ
    • STM32์™€ SPI๋กœ ์—ฐ๊ฒฐ
    • TCP/IP ํ†ต์‹ ์„ ํ•˜๋“œ์›จ์–ด ๋ ˆ๋ฒจ์—์„œ ์ฒ˜๋ฆฌ
    • ์ˆ˜์ง‘๋œ ์˜๋ฃŒ ๋ฐ์ดํ„ฐ๋ฅผ ์•ˆ์ •์ ์œผ๋กœ ์ƒ์œ„ ์‹œ์Šคํ…œ์œผ๋กœ ์ „์†ก

์ƒ์œ„ ์‹œ์Šคํ…œ (Upper Computer)

  • APSoC ๊ธฐ๋ฐ˜ ์ฒ˜๋ฆฌ ํ”Œ๋žซํผ
    • ZedBoard (Zynq APSoC)
    • PS(Processing System)์™€ PL(Programmable Logic)๋กœ ๊ตฌ์„ฑ
  • ๋ฐ์ดํ„ฐ ์ˆ˜์‹  ๋ฐ ๋ฒ„ํผ๋ง
    • Ethernet์„ ํ†ตํ•ด ํ•˜์œ„ ์‹œ์Šคํ…œ์œผ๋กœ๋ถ€ํ„ฐ ๋ฐ์ดํ„ฐ ์ˆ˜์‹ 
    • DDR3 ๋ฉ”๋ชจ๋ฆฌ์— ๋ฐ์ดํ„ฐ ์ €์žฅ ๋ฐ ๊ณต์œ 
  • AI ์ฒ˜๋ฆฌ ๋ฐ ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜ ์‹คํ–‰
    • Linux(Linaro) ๊ธฐ๋ฐ˜ ํ™˜๊ฒฝ
    • QT ๊ธฐ๋ฐ˜ UI ๋ฐ ๋ฐ์ดํ„ฐ ์ˆ˜์ง‘ยท๋ถ„์„ ํ”„๋กœ๊ทธ๋žจ ์‹คํ–‰
    • AI ๋ชจ๋ธ์„ ํ†ตํ•œ ์‹ฌ์žฅ ์งˆํ™˜ ๋ถ„๋ฅ˜ ๋ฐ ๋ณด์กฐ ์ง„๋‹จ ์ˆ˜ํ–‰
  • ๋””์Šคํ”Œ๋ ˆ์ด ์ถœ๋ ฅ
    • ADV7511 HDMI ํŠธ๋žœ์Šค๋ฏธํ„ฐ
    • LCD ๋“œ๋ผ์ด๋ฒ„ ๋ฐ HDMI ๋””์Šคํ”Œ๋ ˆ์ด ์—ฐ๊ฒฐ
    • ์‹ค์‹œ๊ฐ„ ํŒŒํ˜•, ๋ถ„์„ ๊ฒฐ๊ณผ ์‹œ๊ฐํ™”
  • ๋‚ด๋ถ€ ์ธํ„ฐํŽ˜์ด์Šค
    • AXI ์ธํ„ฐ์ปค๋„ฅํŠธ๋ฅผ ํ†ตํ•ด PSโ€“PL ๊ฐ„ ๋ฐ์ดํ„ฐ ๊ตํ™˜

์ด ๊ตฌ์กฐ๋Š” ์˜๋ฃŒ ์‹ ํ˜ธ ์ˆ˜์ง‘โ€“์ „์†กโ€“๋ถ„์„์„ ๋ช…ํ™•ํžˆ ๋ถ„๋ฆฌํ•ด ํ™•์žฅ์„ฑ๊ณผ ์•ˆ์ •์„ฑ์„ ํ™•๋ณดํ•œ๋‹ค.

๐Ÿ“Œ Role and Application of the W5100

๋ณธ ์—ฐ๊ตฌ์—์„œ๋Š” W5100 Ethernet ์ปจํŠธ๋กค๋Ÿฌ๊ฐ€ ํ•ต์‹ฌ ๋„คํŠธ์›Œํฌ ์—ญํ• ์„ ์ˆ˜ํ–‰ํ•œ๋‹ค.

  • STM32 ๊ธฐ๋ฐ˜ ์ž„๋ฒ ๋””๋“œ ๋ณด๋“œ์—์„œ ์œ ์„  Ethernet ๋ฐ์ดํ„ฐ ์ „์†ก ๋‹ด๋‹น
  • ์‹ค์‹œ๊ฐ„ ์‹ฌ์ŒยทECG ๋ฐ์ดํ„ฐ๋ฅผ ์ƒ์œ„ ์ปดํ“จํ„ฐ๋กœ ์•ˆ์ •์ ์œผ๋กœ ์ „๋‹ฌ
  • MCU ์ž์›์„ ์ตœ์†Œ๋กœ ์‚ฌ์šฉํ•˜๋ฉด์„œ TCP/IP ํ†ต์‹  ๊ตฌํ˜„
  • ์˜๋ฃŒ ํ™˜๊ฒฝ์—์„œ ์š”๊ตฌ๋˜๋Š” ์‹ ๋ขฐ์„ฑยท์ง€์—ฐ ์ตœ์†Œํ™”์— ๊ธฐ์—ฌ

๐Ÿ“Œ WIZnet Strategic Value

์ด ํ”„๋กœ์ ํŠธ๋Š” Ethernet ๊ธฐ๋ฐ˜ ์˜๋ฃŒ IoT ์‹œ์Šคํ…œ์˜ ๋Œ€ํ‘œ ์‚ฌ๋ก€๋‹ค.
WIZnet์˜ W5500 ํ•˜๋“œ์›จ์–ด TCP/IP Ethernet ์นฉ์€ STM32ยทESP32 ๊ธฐ๋ฐ˜ ์˜๋ฃŒยทํ—ฌ์Šค์ผ€์–ด ์žฅ๋น„์—์„œ ์•ˆ์ •์ ์ธ ๋ฐ์ดํ„ฐ ์ „์†ก์„ ์ œ๊ณตํ•  ์ˆ˜ ์žˆ์œผ๋ฉฐ,
๋ณธ ์—ฐ๊ตฌ์™€ ๊ฐ™์€ AI ์ง„๋‹จ ๋ณด์กฐ ์žฅ์น˜ยท์›๊ฒฉ ์˜๋ฃŒ ํ”Œ๋žซํผ์—์„œ ์‹ค์งˆ์ ์ธ ๋ ˆํผ๋Ÿฐ์Šค๋กœ ํ™œ์šฉ ๊ฐ€๋Šฅํ•˜๋‹ค.

๐Ÿ“Œ Summary

๋ณธ ์—ฐ๊ตฌ๋Š” AI ์‹ฌ์Œ ๋ถ„์„ + Ethernet ์ž„๋ฒ ๋””๋“œ ์‹œ์Šคํ…œ์„ ๊ฒฐํ•ฉํ•ด ์„ ์ฒœ์„ฑ ์‹ฌ์žฅ์งˆํ™˜์„ ๋Œ€๊ทœ๋ชจ๋กœ ์Šคํฌ๋ฆฌ๋‹ํ•œ ์„ฑ๊ณต์ ์ธ ์‚ฌ๋ก€๋‹ค.
STM32์™€ Ethernet(W5100)์„ ํ™œ์šฉํ•œ ๊ตฌ์กฐ๋Š” ์ €๋น„์šฉยท๊ณ ์‹ ๋ขฐ ์˜๋ฃŒ IoT ์„ค๊ณ„์˜ ์ข‹์€ ์ฐธ๊ณ  ๋ชจ๋ธ์ด ๋œ๋‹ค.
WIZnet Ethernet ์†”๋ฃจ์…˜์€ ์ด๋Ÿฌํ•œ ์ฐจ์„ธ๋Œ€ ์Šค๋งˆํŠธ ํ—ฌ์Šค์ผ€์–ด ๊ธฐ๊ธฐ์—์„œ ํ•ต์‹ฌ ๋„คํŠธ์›Œํฌ ์ธํ”„๋ผ๋กœ ํ™•์žฅ ๊ฐ€๋Šฅ์„ฑ์ด ํฌ๋‹ค.

 

 

 

Comments

Similar projects you might like

Comments