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.
0
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


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


ํด๋น ์์คํ
์ ํ์ ์๋ฒ ๋๋ ์์ง ์์คํ
(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 ์๋ฃจ์
์ ์ด๋ฌํ ์ฐจ์ธ๋ ์ค๋งํธ ํฌ์ค์ผ์ด ๊ธฐ๊ธฐ์์ ํต์ฌ ๋คํธ์ํฌ ์ธํ๋ผ๋ก ํ์ฅ ๊ฐ๋ฅ์ฑ์ด ํฌ๋ค.
