Abstract — Capnograph Mainstream
Capnograph Mainstream: Biomedical Engineering, Medical Electronics & Bio-Signal Modeling Integrated Clinical Investigation: Bio-Sensors · Analog Front-Ends (AFE) · Diagnostic Waveforms · DSP Algorithms · ~7098 Words Chapter 1: Electrophysiological Foundations, Action Potentials & Clinical Significance 1. School of Biomedical Engineering and Health Sciences, Universiti Teknologi Malaysia (UTM), Skudai, Malaysia 2. Institut Jantung Negara - Universiti Teknologi Malaysia (IJN-UTM) Cardiovascular Engineering Center, Universiti Teknologi Malaysia (UTM), Skudai, Malaysia The study of carbon dioxide expiration is called capnometry. The graphical representation of capnometry is called capnography. There is a growing interest in the usage of capnography as the usage has expanded toward the study of metabolism, circulation, lung perfusion and diffusion, quality of spontaneous respiration, and patency of airways outside of its typical usage in the anesthetic and emergency medicine field. The parameters of the capnograph could be classified as carbon dioxide (CO 2 ) concentration and time points and coordinates, slopes angle, volumetric studies, and functional transformation of wave data. Up to date, there is no gold standard device for the calculation of the capnographic parameters.
Sensor Interfacing & Analog Front-End Conditioning
Capnography digitization using the image processing technique could serve as an option. From the algorithm we developed, eight identical breath waves were tested by four investigators. The values of the parameters chosen showed no significant difference between investigators. Although there were no significant differences between any of the parameters tested, there were a few related parameters that were not calculable. Further testing after refinement of the algorithm could be done. As more capnographic parameters are being derived and rediscovered by clinicians and researchers alike for both lung and non-lung-related diseases, there is a dire need for data analysis and interpretation. Although the proposed algorithm still needs minor refinements and further large-scale testing, we proposed that the digitization of the capnograph via image processing technique could serve as an intellectual option as it is fast, convenient, easy to use, and efficient.
Bio-Signal Waveform Analysis & Simulation Findings
Figure 1: Diagnostic Medical Waveform & Bio-Potential Clinical Trace for Capnograph Mainstream Capnometry is the expirometric study of the carbon dioxide gas. Although it is used interchangeably with “capnography,” “capnometry” means only the measurement of carbon dioxide (CO 2 ) in respiratory gas without a continuous written record or waveform ( 1 ). The device in which both the capnometry and capnography are measured is called the capnometer. The capnometer is capable to sample both the time-based and volume-based signal ( 2 ). Time-based capnography is an expirogram that plots the expired CO 2 partial pressure against a continuous duration of time ( 2 , 3 ).
Scope & Clinical Applications
- Real-time multi-parameter vital signs telemetry (ECG, Heart Rate, SpO2, Temperature, Respiration)
- Low-noise Analog Front-End (AFE) conditioning with active Driven Right Leg (DRL) 50 Hz cancellation
- Digital signal processing in MATLAB: Pan-Tompkins QRS detection, FIR/IIR notch, and Continuous Wavelet Transforms
- Finite element tissue bio-electromagnetics and orthopedic mechanical simulations in COMSOL & ANSYS
- Complete Arduino firmware .INO sketches, circuit schematics, and university dissertation reports
Bio-Potential Sensors
ECG, EEG, EMG & PPG optical probes
Low-Noise AFE
INA128 / AD8232 instrumentation amps
Arduino Firmware
Real-time ADC interrupt sampling & BLE
MATLAB Bio-DSP
Pan-Tompkins QRS & wavelet transforms
COMSOL Multiphysics
Tissue electro-thermal & SAR simulation
IEC 60601-1 Safety
Galvanic optical & magnetic isolation
Biomedical Sensors, Electronics & Simulation Suites
Engineered using clinical-grade bio-transducers, low-noise analog amplifiers, and multi-physics simulation platforms.
| Subsystem / Software | Diagnostic & Engineering Role | Instrumentation Tier |
|---|---|---|
| Arduino / ESP32 MCU | High-speed SPI/I2C sensor polling, 500 Hz timer interrupt ADC sampling, BLE telemetry streaming | Embedded Hardware |
| MATLAB R2024b | Pan-Tompkins QRS detection, 50 Hz Butterworth notch filtering, wavelet decomposition, SpO2 ratio | Signal Analytics |
| COMSOL Multiphysics | Electromagnetic tissue absorption (SAR), bio-heat thermal transfer, acoustic transducer wave propagation | Tissue Physics |
| ANSYS Mechanical | Orthopedic bone-implant contact mechanics, prosthetic socket stress distribution, dental load FEA | Biomechanics FEA |
| AD8232 / ADS1298 AFE | Medical-grade 3-lead ECG front-end with built-in instrumentation amp, DRL feedback, and high CMRR | Clinical AFE IC |
Biomedical Acquisition & Multi-Physics Simulation Workflow
Comprehensive signal flow from human bio-potential electrodes and optical sensor probes to embedded Arduino firmware, MATLAB DSP, and COMSOL tissue modeling.
(ECG/EEG/PPG/Temp)
(INA128 / DRL Loop)
500Hz ADC Sampling
& QRS Detection
Tissue FEA Models
& EHR Dashboard
Advantages of the Capnograph Mainstream Project
Why this biomedical engineering project delivers superior academic grades and provides high technical evaluation standing.
Clinical Diagnostic Precision
Combines high-CMRR analog front-ends with precision digital filtering to extract microvolt bio-potentials with high SNR (> 35 dB).
Rigorous IEC 60601-1 Patient Safety
Incorporates dual galvanic isolation barriers (optical/magnetic) ensuring patient auxiliary leakage currents remain strictly under 10 μA.
Multi-Sensor Vital Signs Fusion
Simultaneously captures ECG, PPG, SpO2, Core Temperature, and Respiration for comprehensive physiological health monitoring.
Real-Time Arduino Embedded Firmware
Features optimized C++ interrupt-driven ADC sampling routines ready for immediate deployment on Arduino, ESP32, and STM32.
Validated Pan-Tompkins QRS Algorithm
Executes derivative, squaring, moving-window integration, and dual-threshold peak detection with > 99% R-peak accuracy.
COMSOL & ANSYS Multi-Physics Coupling
Models complex anatomical tissue structures, bio-electromagnetic Specific Absorption Rates (SAR), and prosthetic stress fields.
Driven Right Leg (DRL) Noise Suppression
Actively senses and neutralizes 50/60 Hz powerline hum and common-mode displacement currents without loading patient electrodes.
DICOM Medical Imaging Pipeline
Processes clinical MRI, CT, and Ultrasound scans using MATLAB contrast enhancement and morphological lesion boundary segmentation.
Direct Telehealth & Hospital IoT Readiness
Streams validated vital signs to mobile dashboards and electronic health records over encrypted BLE and MQTT protocols.
Complete Turnkey Project Package
Delivered with full Arduino .INO sketches, circuit schematics, MATLAB .m algorithms, university-format report, and viva defense slides.
Sample Arduino Firmware, ECG Waves & Sensor Telemetry
Representative excerpts illustrating the embedded sensor acquisition loop, live physiological waveform traces, and clinical parameter schedules.
[*] Initializing Analog Front-End (AFE) Signal Acquisition... [✓] Driven Right Leg (DRL) Active Feedback: 50 Hz Hum Attenuated by 42 dB ──────────────────────────────────────────────────────────────────────── [10:14:02.102] TRACE ECG Lead-II: ---__/\_/\_/\___ (Baseline: 0.02 mV | Normal ST Segment) [10:14:02.115] QRS R-Peak Registered (Fiducial Trigger: 1.24 mV | R-R Interval: 832 ms) [10:14:02.128] VITALS Heart Rate: 72.1 BPM | SpO2: 98.5% | PR Interval: 156 ms [10:14:02.140] TRACE ECG Lead-II: ---__/\_/\_/\___ (Baseline Stable | SNR = 36.8 dB) ──────────────────────────────────────────────────────────────────────── [✓] Diagnostic Evaluation: Sinus Rhythm Verified. Zero Ectopic Ventricular Beats.
[*] Synchronizing vital signs telemetry stream across bio-sensor channels...
| Physiological Parameter | Primary Transducer | Measured Amplitude | Sampling Bandwidth | Clinical Status |
|---|---|---|---|---|
| Cardiac Electrocardiogram (ECG) | Ag/AgCl + AD8232 AFE | 1.24 mV (R-Peak) | 0.05 Hz - 150 Hz | NORMAL SINUS |
| Pulse Oximetry (SpO₂) | MAX30102 Dual Red/IR | 98.5% Saturation | 100 Hz Optical | OPTIMAL |
| Heart Rate (HR) | R-R Peak Derivative | 72.1 BPM | 30 - 220 BPM range | EUKINETIC |
| Core Body Temperature | NTC Medical Thermistor | 36.8 °C | 0.1 Hz Thermal | AFEBRILE |
[✓] Diagnostic Evaluation: Patient physiological parameters within verified clinical tolerance band.
Frequently Asked Questions
Project Deliverables & Support
Everything needed from project inception to final viva defense — delivered with expert biomedical support.
.INO Sketches
Schematics
Algorithms
Report
Slides
Models
Datasets
Q&A
Support
Extension