Related Experiment Video
Updated: Jun 14, 2026

BrainBeats as an Open-Source EEGLAB Plugin to Jointly Analyze EEG and Cardiovascular Signals
Published on: April 26, 2024
[Baseline drift of electrocardiograph dealt with mathematical morphology filter in real-time]
Xianglin Zhu1, Jianning Yang, Ping Tang
1College of Electrical Information Engineering of Jiangsu University, Zhenjiang 212013, China. yyynnnsn@sina.com
Abstract:
We have done a research on mathematical morphology filter in order to eliminate baseline drift in the wave of electrocardiograph (ECG). Marago morphology filter type was chosen and flat structuring element filtering was found to be the best morphology filter modality for eliminating baseline drift, and the ratio of "signal numerical frequency to length of structuring element" determined the attenuation magnitude of the signal eliminated. We have come to the conclusion that the length of flat structuring element ought to be greater than or equal to the width of the signal component to be eliminated. The arithmetical algorithm was simulated with Matlab software, and was transplanted to DSP hardware platform. The result of experiment has shown that the arithmetic operation is simple and the method spends a short time (less than 1 ms) in eliminating the baseline drift of ECG effectively and instantly.
Related Concept Videos
Electrocardiogram Fundamentals
An electrocardiogram (ECG) is a diagnostic tool for identifying cardiac conditions such as arrhythmias, conduction abnormalities, and myocardial ischemia.
Definition
An electrocardiogram (ECG) visualizes the heart's electrical activity by tracing the electrical movement associated with each heartbeat on a graph or monitor. As the heart beats, an electrical wave passes through it, correlating with the cardiac cycle events.
Parts of an ECG
An ECG utilizes electrodes on the skin to...
Bode Plots Construction
Correlation between ECG and Cardiac Cycle
A cardiac action potential originates in the SA node and spreads throughout the atria and the AV node in approximately 0.03 seconds. This results in the P wave in an ECG and triggers atrial contraction. The action potential is then briefly slowed at the AV node, allowing the atria to contract and fill the ventricles with blood before...
Electrocardiogram
Three major waveforms are present in a typical ECG recording: the P wave, the QRS complex, and the T...
Pulse rhythm
Conversely, an irregular pulse pattern is termed dysrhythmia, stemming from disruptions in cardiac muscle...

