Skip to content
OnlyProjects
M.Tech / M.E. · Biomedical EngineeringFor educational purposes only
Code included

ECG Denoising and R-Peak Detection under Indian Power-Line Noise: A PhysioNet Benchmark

Filter families compared on declared SNR-degradation trials over MIT-BIH, scored on SNR gain and R-peak accuracy

Mapped to your syllabusVTU M.Tech 2022 Scheme · 22SXX41 Project Work Phase-2 · Semester 4

Overview

1 min read

ECG-Bench is a declared-protocol benchmark of ECG denoising filters, scored not only on signal-quality metrics but on the thing that actually matters downstream — whether R-peak detection survives the filtering. All experiments run on the MIT-BIH Arrhythmia Database from PhysioNet, the most heavily cited public ECG archive in existence.

Every ECG recorded in an Indian hospital or on a wearable fights the same three enemies: baseline wander from respiration and electrode drift, 50 Hz power-line interference (India's mains frequency — most textbook experiments default to the American 60 Hz), and muscle-artefact noise that resembles real cardiac content. Textbook answers exist for each — high-pass FIR filtering, IIR notch filtering, wavelet thresholding — but published comparisons usually report signal-to-noise ratio (SNR) alone, which hides a classic trap: an aggressively denoised signal can look clean while having blunted the very QRS features a detector needs.

The study implements four filter families in one framework, degrades each MIT-BIH record with declared, parameterised noise (three types at three SNR levels), and evaluates every combination twice: SNR improvement and distortion against the clean signal, then R-peak detection sensitivity, positive predictive value and F1 against the database's beat annotations with a ±150 ms tolerance.

The deliverable is a paper-style study with a reproducible Python pipeline: per-record and aggregate tables, the noise-vs-accuracy trade-off made explicit, and honest guidance on which filter to ship in a low-cost Indian ECG front end.

Relevant for
Karnataka
Level
Advanced · 22 weeks · solo
Common at
Visvesvaraya Technological University, Anna University, Chennai, Jawaharlal Nehru Technological University Hyderabad
Updated
Nov 2026

Syllabus alignment

VTU · M.Tech 2022 Scheme

22SXX41 · Project Work Phase-2 · Semester 4 · 18 credits · CIE 100 + SEE 100 (viva)

Subjects this project applies
  • 22RMI16 Research Methodology & IPR
  • Project Work Phase-1 (22SXX34): literature survey and problem formulation
  • Python programming (M.Tech lab coursework)
  • Biomedical engineering PG coursework: biosignal processing, biomedical instrumentation
How it is evaluated

50 : 25 : 25 (report : presentation : Q&A)

Also fits: Anna University M.E. Regulation 2021, JNTUH M.Tech R22.

What's in the box

11 parts · 5 free · 2 previewed · 4 unlock for ₹2,000

Problem & synopsis

5 min read

Problem statement

ECG systems deployed in India must handle 50 Hz power-line interference and respiration-band baseline wander, but filter choices in published comparisons and student projects are rarely justified by a like-for-like evaluation: different records, different noise models, different SNR definitions, and almost never a measurement of whether denoising actually improves or degrades R-peak detection — the step every clinical and consumer ECG application depends on. There is no reproducible benchmark that (a) injects declared, seeded noise of the three dominant Indian ambient types at controlled SNR levels into a standard public ECG database, (b) compares the classical filter families under identical conditions, and (c) scores them on both signal fidelity and downstream detection accuracy against ground-truth annotations. This dissertation fills that gap on the MIT-BIH Arrhythmia Database with a frozen protocol and a fully scripted pipeline, quantifying the SNR-versus-detection trade-off that single-metric evaluations hide, and giving Indian biomedical engineers a defensible basis for front-end filter selection.

Synopsis

Abstract

This dissertation benchmarks four ECG denoising approaches — FIR high-pass, IIR notch, wavelet shrinkage and cascaded combinations — on the MIT-BIH Arrhythmia Database under declared synthetic degradation. Three noise types (baseline wander, 50 Hz interference, pseudo-EMG) are injected at 6, 12 and 24 dB SNR with fixed seeds, and every filter × noise × level combination is evaluated on two pre-declared metric families: signal fidelity (SNR improvement, distortion) and clinical utility (R-peak detection sensitivity, PPV and F1 of a Pan–Tompkins detector against PhysioNet beat annotations, at ±150 ms tolerance). The study quantifies the gap between the two metric families — the conditions under which the highest-SNR filter is not the best filter for detection — and reports per-record breakdowns and cost. All numbers regenerate from the public database and a frozen protocol.

Introduction

India's ECG landscape spans home monitors to ICU telemetry, all fighting the same interference: 50 Hz mains coupling, respiration-driven baseline wander and EMG contamination in ambulatory use. Filtering is the most consequential stage of an ECG chain — a bad filter destroys morphology or detection — yet filter selection is often inherited from American 60 Hz examples or from papers that report only SNR.

Existing system and literature gap

The denoising literature is rich but its evaluation practice is inconsistent: papers compare filters on different records, noise realisations and SNR definitions, and rarely connect SNR gains to detection accuracy. A filter can raise SNR while smearing QRS slope or shifting detected R-peaks. What is missing is a declared-protocol benchmark on one public database, where identical degraded signals are scored both by signal metrics and by a fixed detector against ground-truth annotations — so the SNR-versus-detection trade-off is measured, not assumed — on MIT-BIH, the field's common reference.

Proposed work

  • Download all 48 MIT-BIH records and annotations via wfdb-python into a versioned, integrity-checked store.
  • Implement four filter families behind one interface: FIR high-pass (0.5 Hz, linear phase), IIR Butterworth notch (50 Hz, declared order and Q), wavelet shrinkage (symlets, soft thresholding) and their cascade.
  • Generate declared degradations — synthetic baseline wander, 50 Hz sine with amplitude drift and band-limited pseudo-EMG — each injected at 6, 12 and 24 dB SNR with fixed seeds, so every filter sees identical inputs.
  • Evaluate: SNR improvement and distortion against clean signals; then score an unmodified Pan–Tompkins detector's sensitivity, PPV and F1 against annotations at ±150 ms, with per-record tables and compute time.
  • Analyse the divergence: identify where SNR gain and detection accuracy disagree, and state the operational recommendation.

Feasibility

  • Technical: everything runs in Python (NumPy, SciPy.signal, PyWavelets, wfdb) on a 16 GB laptop; the full factorial benchmark completes in minutes.
  • Data: MIT-BIH is public, citable and the field's standard reference; no ethics timeline is required.
  • Economic: zero licence cost; no hardware.
  • Operational (research): protocol, noise models, seeds and tolerances freeze before evaluation; every table regenerates with two commands — the audit trail an M.Tech viva demands.

Objectives

  1. 01Build a versioned, integrity-checked store of all 48 MIT-BIH records and their beat annotations using wfdb-python, verifying sampling rates and annotation conventions against the database documentation.
  2. 02Implement four filter families — FIR high-pass, IIR 50 Hz notch, wavelet shrinkage and their cascade — behind one common interface with declared design parameters.
  3. 03Construct declared noise-degradation machinery for baseline wander, 50 Hz interference and pseudo-EMG at 6, 12 and 24 dB SNR with fixed seeds, so every filter is scored on identical degraded inputs.
  4. 04Evaluate every combination on pre-declared signal metrics (SNR improvement, waveform distortion) and on Pan–Tompkins R-peak detection performance (sensitivity, PPV, F1 at ±150 ms tolerance) against PhysioNet annotations.
  5. 05Quantify and explain the divergence between SNR gain and detection accuracy across filter × noise combinations, including per-record breakdowns and computational cost.
  6. 06Publish the complete pipeline and protocol so every table and figure regenerates from the public database in two commands.

Scope

In scope

  • The 48 records of the MIT-BIH Arrhythmia Database (channel 1), with PhysioNet beat annotations as detection ground truth.
  • Four filter families with declared parameters; one unmodified Pan–Tompkins detector fixed across all conditions (the detector is the measuring instrument, not a variable).
  • Three synthetic noise types at three SNR levels with fixed seeds; SNR-improvement and distortion metrics; detection metrics at a declared ±150 ms tolerance.
  • Room for per-record analysis of difficult records (e.g. paced-rhythm and heavy-arrhythmia segments) with honest reporting.

Out of scope

  • Real patient recording campaigns or hardware front-end design (instrumentation amplifiers, ADC chain) — the study stops at the digital filter stage.
  • New detector design and arrhythmia classification; the detector is held constant to isolate filter effects.
  • Real-ambulatory noise corpora (listed as future scope with the PhysioNet Noise Stress Test Database as the extension path).
  • Multichannel fusion and deep-learning denoisers; the benchmark's contribution is the protocol and the classical families' honest comparison.

Methodology

The work follows a quantitative, comparative-experimental research design in six phases over 22 weeks, with the evaluation protocol (noise models, SNR levels, metrics, tolerance windows, seeds) frozen at the end of Phase 1 — before any filter is scored.

PhaseWeeksActivitiesDeliverable
Literature survey & protocol1–3Survey denoising and QRS-detection literature; fix noise models, SNR levels, metrics, tolerance and seedsSurvey chapter; pre-declared protocol document
Data engineering4–6Download MIT-BIH via wfdb; integrity checks (sampling rate, annotations, record coverage); build versioned storeDocumented dataset + integrity report
Filter implementation7–10Implement and characterise the four filter families (frequency-response plots, phase behaviour); unit tests against design specsFilter library + characterisation report
Noise & detector integration11–14Build the degradation machinery with fixed seeds; implement Pan–Tompkins; replay tests on synthetic planted beatsNoise harness + detector test report
Benchmark evaluation15–18Run the full factorial evaluation; aggregate per-record and per-condition statistics; cost measurementsFull results tables and figures
Writing & defence19–22Dissertation in VTU format, paper-style results chapter, slides, live demo on a laptopDissertation, presentation

Validation inside the study: filter frequency-response tests against design specifications; a synthetic ECG with planted R-peaks recovered end-to-end; detector performance on clean MIT-BIH validated against published Pan–Tompkins-class sensitivity figures before any degraded run; and full re-runs reproducing every table from fixed seeds.

Architecture & tech stack

1 diagram · 8 technologies · 1 min read

  • Python
  • NumPy
  • SciPy (signal)
  • PyWavelets
  • wfdb-python
  • pandas
  • Matplotlib
  • Jupyter Notebook

The pipeline separates signal generation from measurement: filters and the detector are instruments, the degradation machinery is the experiment, and the scoring layer is the only place metrics are computed.

flowchart TD
  A["MIT-BIH Arrhythmia Database\n48 records + annotations"] --> B["Ingestion via wfdb-python\nintegrity checks"]
  B --> C[("Versioned store\nper-record signals + beats")]
  C --> D["Noise degradation machinery\nBW, 50 Hz, pseudo-EMG\n6/12/24 dB, fixed seeds"]
  C --> E["Clean reference\nfor fidelity metrics"]
  D --> F["Filter families\nFIR HP, IIR notch, wavelet, cascade"]
  F --> G["Pan-Tompkins detector\nunmodified across conditions"]
  E --> H["Scoring layer\nSNR gain, distortion"]
  G --> I["Detection scoring\nsensitivity, PPV, F1 at ±150 ms"]
  C --> I
  H --> J["Results tables and figures\nper-record + aggregate"]
  I --> J

Three design decisions matter at the viva. First, the Pan–Tompkins detector is held unmodified across every condition: it is the measuring instrument, so any change to it mid-benchmark would invalidate cross-condition comparison — the protocol freezes it exactly as the truth definition is frozen in other benchmarks. Second, the degradation machinery writes seeded noise files once; filters consume the identical degraded signals, so filter differences cannot be attributed to different noise realisations. Third, the scoring layer computes both metric families from paired series — SNR gain and distortion against the clean reference, detection metrics against the database annotations — so the study's central contribution, the divergence between the two metric families, is a direct table comparison rather than a cross-paper argument.

Modules

5 modules

  1. Module 01

    Data ingestion and integrity verification

    Downloads all 48 MIT-BIH records and annotation files through wfdb-python, verifies sampling rate (360 Hz), channel availability, annotation-label conventions and record counts against the database documentation, and writes a versioned store with an integrity report covering every file used.

  2. Module 02

    Noise degradation machinery

    Generates the three declared noise types — respiration-band baseline wander, 50 Hz sine with slow amplitude drift, and band-limited pseudo-EMG — scales each to exact target SNRs of 6, 12 and 24 dB, and writes seeded, cached degraded copies so every filter family processes byte-identical inputs.

  3. Module 03

    Filter library

    Implements the FIR high-pass (linear-phase, declared order), IIR Butterworth notch (declared order and quality factor), wavelet-shrinkage denoiser (symlet family, declared decomposition level, soft thresholding) and the cascaded classical pair, each behind one interface and each delivered with its frequency-response characterisation.

  4. Module 04

    Pan–Tompkins detector

    Implements the classical bandpass–derivative–squaring–integration chain with adaptive thresholding exactly as specified in the 1985 paper, validated on clean MIT-BIH records against published performance ranges before any degraded experiment, and held unmodified throughout the benchmark.

  5. Module 05

    Scoring layer and reporting

    Computes SNR improvement and waveform-distortion metrics against clean references, and detection sensitivity, PPV and F1 against annotations within the declared ±150 ms tolerance; aggregates per-record and per-condition tables, flags records where the two metric families disagree, and measures per-condition compute time.

Slides

12 slides · titles free · bullets, notes and the .pptx unlock

  1. Slide 1

    ECG Denoising and R-Peak Detection: A PhysioNet Benchmark

  2. Slide 2

    Why this matters in India

  3. Slide 3

    Research questions

  4. Slide 4

    Gap in existing work

  5. Slide 5

    Data and instruments

  6. Slide 6

    Declared degradation

  7. Slide 7

    Evaluation protocol

  8. Slide 8

    Validation before benchmarking

  9. Slide 9

    Results

  10. Slide 10

    Limitations and threats to validity

  11. Slide 11

    Conclusion & future scope

  12. Slide 12

    References & artefacts

Bullets, speaker notes and the .pptx · ₹2,000

The titles above are the real outline. The rest is what you present from.

Unlock for ₹2,000

Viva questions & answers

3 of 16 answered free · 13 unlock

Read each answer, close it, and say it in your own words. Your viva will ask. Now you'll know.

  1. 01Concept

    What is your project's novelty, given that ECG denoising is a mature field?

    The novelty is the dual-metric, single-protocol benchmark: four filter families scored on byte-identical degraded copies of all 48 MIT-BIH records, measured both by signal fidelity and by an unmodified Pan–Tompkins detector against ground-truth annotations. Published comparisons usually change records, noise models and SNR definitions between methods and almost never connect SNR gain to detection accuracy; this study measures that connection directly and reports where the two metric families disagree.

  2. 02Concept

    Why does the 50 Hz notch matter specifically for Indian deployments?

    India's mains frequency is 50 Hz, but a large share of textbook examples and legacy designs default to the American 60 Hz notch — a 10 Hz error that leaves power-line interference inside the passband, which is exactly where QRS energy lives. The study designs the notch at 50 Hz with a declared quality factor, and its results show that getting the centre frequency wrong costs more detection accuracy than most choices between the filter families themselves.

  3. 03Concept

    How does wavelet-shrinkage denoising work on an ECG?

    The signal is decomposed into wavelet levels that separate time-scale content, a threshold is applied to the detail coefficients — soft thresholding here, with the threshold scaled by noise-level estimation — and the signal is reconstructed. Broad-band muscle artefact spreads thinly across many coefficients while QRS energy concentrates in a few, so shrinkage suppresses the artefact disproportionately. Its documented risk, which this benchmark quantifies, is that an aggressive threshold also clips QRS detail, raising SNR while damaging detection.

+13 more questions, with answers

Try the free ones out loud first. Your examiner will not accept “it's in the PPT”.

Source code & how to run

1 step · complete source code · unlocks with the project

Unlocks with the project · ₹2,000

1 step · source code zip

Prerequisites, install, seed data and tests, written for demo day. Plus the complete source.

Unlock for ₹2,000

READMEFIRST

272 words · unlocks with the project

What to change before it goes anywhere near a submission. Skipping it is how the demo fails live.

Unlocks with the project · ₹2,000

272 words · ~1 min read

The checklist of things to rename, re-seed and re-think so the project reads as yours.

Unlock for ₹2,000

Instructions

305 words · unlocks with the project

How to study it, adapt it and walk your examiner through it, step by step.

Unlocks with the project · ₹2,000

305 words · ~2 min read

Report structure, formatting rules and the submission checklist your department will grade.

Unlock for ₹2,000

References

6 sources

  1. MIT-BIH Arrhythmia Database (v1.0.0), PhysioNet — 48 two-channel ambulatory ECG recordings with beat annotations
  2. Pan, J. & Tompkins, W. J. (1985), "A Real-Time QRS Detection Algorithm", IEEE Transactions on Biomedical Engineering, 32(3), 230–236
  3. Hamilton, P. S. & Tompkins, W. J. (1986), "Quantitative Investigation of QRS Detection Rules Using the MIT/BIH Arrhythmia Database", IEEE Transactions on Biomedical Engineering, 33(12)
  4. wfdb-python Documentation — the native Python WFDB package for PhysioNet signals and annotations
  5. SciPy Signal Processing (scipy.signal) Documentation — filter design, IIR/FIR implementation
  6. PyWavelets Documentation — discrete wavelet transforms and thresholding in Python

Cite this bundle

OnlyProjects. (2026). ECG Denoising and R-Peak Detection under Indian Power-Line Noise: A PhysioNet Benchmark: M.Tech / M.E. Biomedical Engineering project bundle [Educational resource]. https://onlyprojects.online/projects/mtech-biomed-ecg-denoising-physionet-benchmark

Future scope

1 min read

  • Extend the degradation machinery to the PhysioNet Noise Stress Test Database's real ambulatory noise (baseline wander and muscle artefact recordings) and re-run the benchmark on real contamination.
  • Add adaptive interference cancellation (reference-channel LMS) and compare against the fixed 50 Hz notch.
  • Score a second, structurally different detector to test whether the filter ranking transfers across detectors.
  • Study filter behaviour on paced-rhythm and malignant-arrhythmia records specifically, where detection failure is costliest.
  • Port the recommended cascade to an embedded target and measure real-time cost for a low-cost Indian single-lead ECG front end.

Keep browsing

Same degree, same syllabus slot, different idea. Pick the one your guide will actually approve.

M.Tech / M.E.

Aerospace / Aeronautical

NACA 0012 Airfoil CFD Validation Study Against XFOIL with Mesh Convergence

A mesh-converged OpenFOAM study of the NACA 0012 aerofoil validated against XFOIL and NASA's turbulence-modelling reference data

  • OpenFOAM v12 (finite-volume CFD, SA and k-ω SST models)
  • XFOIL 6.99 (panel method with integral boundary layer)
  • Gmsh and blockMesh for structured C-grid generation
  • +3

advanced24 wkSolo