Regulation defines what to verify; field use defines what to expect. A testing workflow you can apply to test both.
Digital database testing feeds annotated recordings straight into the algorithm. It is fast, scales to thousands of records and is fully reproducible. For algorithm development, it is the right tool.
But in a shipped device, the algorithm sees only what survives the analog front end (AFE): receiver, analog and digital filters, ADC and interface.
Real recordings. The whole device. Analog database playback is not a compliance-only tool, and it does not rely on synthetic waveforms. It converts real recordings, from standard databases or your own raw data, into analog signals and feeds them into the device's leads. Everything from the leads onward processes them, along the same path as a patient's signal.
| Digital Database Testing | Analog Database Playback | |
|---|---|---|
| Input | Digital recordings loaded into the algorithm software | Recordings played into the device's ECG inputs |
| Tests | Algorithm | Whole device: AFE (receiver, filters, ADC, interface) and algorithm on the MCU / DSP |
| Strengths | Fast, scalable, fully reproducible | Tests the device as shipped |
| Limits | Blind to everything before the algorithm | Slower test cycles; needs hardware |
| Best for | Algorithm development | Design verification, after design changes |
The blind spot is written into the standard.
IEC 60601-2-47, (ambulatory ECG), states that algorithm testing on standardized digital databases “occurs, by definition, outside the context of the complete monitoring device’s clinical setting.” Under conditions “grossly different from those encountered by the monitoring device in an actual clinical setting, the algorithm results might not represent the true performance of the device.” So the standard requires that “testing or analysis shall be performed indicating that the algorithm performance in an actual monitoring device can reasonably be expected to correlate with performance in the simulated test environment.” (IEC 60601-2-47:2012, § 201.12.1.101.1.3).
Digital testing alone can't show that, because the recordings never pass through the device. Analog testing can: it plays the same records through the device as shipped.
You need both. Digital testing verifies the algorithm. Analog playback verifies the device. This article shows where each fits: what regulation requires you to verify, what field conditions demand beyond that, and how a published study applied a workflow you can adopt.
Analog Database Playback Testing: What to Test
Standards testing: the required minimum
The applicable standards define what you must verify. They are design inputs. For ECG algorithms, depending on the type, that means IEC 60601-2-25 for diagnostic electrocardiographs, IEC 60601-2-27 for ECG monitors or IEC 60601-2-47 for ambulatory ECG systems, with ANSI/AAMI EC57 for rhythm and ST algorithms.
But they set the minimum.
Verifying your algorithm performs as claimed in the field takes a second kind of database testing: scenario testing.
Scenario testing: evidence for your claims
Your claims define the rest. Every performance claim is a requirement to verify at the system level, where digital testing alone can't reach. Regulation requires this verification, but it does not supply the data.
Two ways to source scenario data. Scenario testing can draw on off-the-shelf databases, a custom-built database, or both.
Off-the-shelf databases: ready to use. Existing ECG databases such CSE, PTB and those at PhysioNet come with expert reference annotations. They include the databases the standards require, but the collections extend far beyond them, covering many more rhythms, populations and recording conditions. Choose the ones that match your claims and use scenarios.
Custom-built database: tailored to your claims. When off-the-shelf databases don't cover your claims or use scenarios, build your own around your device's intended use. Collect raw ECG recordings that represent the patients, ECG findings and operating conditions covered by your device’s performance claims.
We suggest considering the following variables when planning data collection:
| Collection variable | What to consider |
|---|---|
| Patient population | Relevant age groups, sex and clinical conditions within the intended population. |
| Noise and artifacts | Clean recordings and relevant interference, including baseline wander, muscle noise and electrode motion, across different severity levels. |
| ECG findings | Normal recordings and the abnormalities the device claims to detect or measure—for example, target arrhythmias, ST-segment changes or paced rhythms, where applicable. |
| Signal characteristics | Variation in heart rate, signal amplitude and waveform morphology, including challenging cases within the claimed operating range. |
| Use conditions | Patient activity, posture and setting—for example, resting, walking or exercising in the intended clinical or home environment. |
| Recording configuration | Lead configuration, electrode placement and recording duration. Preserve sampling rate, amplitude calibration, resolution and any applied filtering with each recording. |
What FDA expects from your test data. FDA's arrhythmia detector guidance says test waveforms “should generally be from actual patient ECG recordings.” It also says the database used to develop the algorithm “should not be used to test and verify the performance of the device.” For a database outside EC57, FDA asks you to “describe the development of the database in detail” (FDA Arrhythmia Detector Guidance, 2003, Section 10).
Your test data is part of your evidence. It must be real, kept apart from development data, and documented. So use real patient recordings, add reference annotations, and keep the collection metadata. Hold back a test set the algorithm has never seen. Then replay that set through the device and compare the results with the references.
Analog Database Playback Testing: When to Test
Standards and FDA guidance also define when. ISO 13485 requires every design change to be verified, and validated where appropriate, before it is implemented (§7.3.9). It also requires design validation on “representative product”: “initial production units, batches or their equivalents” (§7.3.7). FDA calls software validation “a part of design validation of the finished device.” It is done “in its actual or simulated use environment, including integration into the final device where appropriate” (FDA Software Guidance, 2023, Section IV). If your algorithm provides essential performance or a risk control, such as an arrhythmia alarm, IEC 60601-1 also requires it to be verified as part of the device (§14.10).
In short, the algorithm is judged inside the finished device.
Your bench test is often the evidence. For most arrhythmia detectors in a US 510(k), FDA “will rely upon well-designed bench and/or animal testing rather than requiring clinical studies.” (FDA Arrhythmia Detector Guidance, 2003, Section 10). So your bench test is often the main evidence of how the finished device performs.
Digital testing bypasses the device, so it cannot provide that evidence. Analog playback can.
During R&D: set up the test early. Play the standards and scenario databases through the device for design verification. For validation, you can rerun the same tests on production-representative units.
If you wait, the algorithm's first end-to-end test happens at validation, late in the project, when design changes cost more and take longer.
After every design change: run it again. Every hardware, firmware or algorithm change raises two questions. Did the change work? Did it break anything that worked before? Replay the same recordings through the new version. With the input fixed, differences in output point to the change.
Neither database is optional. At every stage, the standards databases cover the required minimum, and your scenario databases (off-the-shelf or custom) cover your claims.
The Workflow in Practice: A Published Study
A peer-reviewed study ran this workflow at scale. Researchers replayed more than 2,000 real patient ECGs in analog using WhaleTeq's MECG 2.0 ECG Database Player through seven electrocardiographs and compared each device's interpretation with cardiologist review (De Bie et al., Journal of Electrocardiology, 2020).
What it revealed. Every device missed more than half of the ECGs cardiologists flagged for possible acute coronary syndrome.
That is what scenario testing can reveal.
Your version of the workflow. Swap the seven devices for your own design, and the 2,000 recordings for your own database. Run the same steps during R&D and after every change.
Putting the Workflow to Work
One setup runs both kinds of testing. MECG 2.0 plays standard databases and your own recordings through the device, during R&D and after every change.
| What the workflow needs | How MECG 2.0 delivers it |
|---|---|
| Scenario testing Your own annotated recordings | • Raw Data Playback • Clinical or user-defined waveforms |
| Multi-Channel playback All leads, in sync | • 8 synchronized output channels • 10 electrodes, 12 leads |
| Change and regression testing Same recordings, every version | • SDK automation • Saved command files • Unattended overnight runs |
| Signal fidelity The device sees the recording, not the tester | • 0.15 µV resolution • <5 µV noise (0–150 Hz) • ±1% voltage accuracy |
| Standards testing Standard waveforms and databases | • Built-in standard test waveforms • CTS and CSE databases • PhysioNet databases (MIT-BIH, CU, NST, ESC), played directly |
Conclusion
Prove the minimum. Trust your claims. Standards testing shows the device meets the regulatory minimum. Scenario testing shows it lives up to your claims. Running both end to end, during R&D and after every change, gives R&D confidence that the device performs accurately, reliably and safely, as claimed. That makes it the responsible choice.
Test the device you ship, not just the algorithm. Learn more about MECG 2.0
Further Reading
• Application note: Using the Multichannel ECG Tester System (MECG 2.0) to play the ECG signals containing maternal and fetal in the database
• Case study: Analysis of Clinical Decision Assistant-ECG Interpretation Algorithm
References
• ANSI/AAMI EC57:2012/(R)2020. Testing and reporting performance results of cardiac rhythm and ST segment measurement algorithms. Association for the Advancement of Medical Instrumentation.
• De Bie J, Martignani C, Massaro G, Diemberger I. Performance of seven ECG interpretation programs in identifying arrhythmia and acute cardiovascular syndrome. Journal of Electrocardiology. 2020;58:143–149. doi:10.1016/j.jelectrocard.2019.11.043
• IEC 60601-1:2005+A1:2012+A2:2020. Medical electrical equipment – Part 1: General requirements for basic safety and essential performance. International Electrotechnical Commission.
• IEC 60601-2-25:2011. Medical electrical equipment – Part 2-25: Particular requirements for the basic safety and essential performance of electrocardiographs. International Electrotechnical Commission.
• IEC 60601-2-27:2011. Medical electrical equipment – Part 2-27: Particular requirements for the basic safety and essential performance of electrocardiographic monitoring equipment. International Electrotechnical Commission.
• IEC 60601-2-47:2012. Medical electrical equipment – Part 2-47: Particular requirements for the basic safety and essential performance of ambulatory electrocardiographic systems. International Electrotechnical Commission.
• ISO 13485:2016. Medical devices – Quality management systems – Requirements for regulatory purposes. International Organization for Standardization.
• U.S. Food and Drug Administration. Arrhythmia Detector and Alarm – Class II Special Controls Guidance Document for Industry and FDA Staff (“FDA Arrhythmia Detector Guidance”). October 28, 2003. https://www.fda.gov/medical-devices/guidance-documents-medical-devices-and-radiation-emitting-products/arrhythmia-detector-and-alarm-class-ii-special-controls-guidance-document-industry-and-fda-staff
• U.S. Food and Drug Administration. Content of Premarket Submissions for Device Software Functions (“FDA Software Guidance”). June 14, 2023. https://www.fda.gov/media/153781/download


