Systematic Hardware Integration Testing for Smart Video-based Medical Device Prototypes
Oliver Bause, Julia Werner, Oliver Bringmann
TL;DR
This work addresses the challenge of validating real-time, camera-based in-body medical devices before clinical testing by introducing an FPGA-based hardware-in-the-loop framework. It uses an on-demand digital twin of a NanEyeC camera and pre-recorded Video Capsule Endoscopy data to emulate GI traversal and verify the full imaging pipeline, including an on-board ML accelerator. Key contributions include a modular SystemVerilog NanEyeC twin on a Digilent ZYBO, a back-end verification pipeline, and PC-to-FPGA image transmission with Quad-SPI, validated through capture-latency, fault-injection, and power-estimation experiments. The framework supports rigorous preclinical validation, potentially reducing development cycles and enabling safer integration of on-device ML components prior to clinical trials, with future work on power modeling and wireless data retrieval.
Abstract
This paper presents a hardware-in-the-loop (HIL) verification system for intelligent, camera-based in-body medical devices. A case study of a Video Capsule Endoscopy (VCE) prototype is used to illustrate the system's functionality. The field-programmable gate array (FPGA)-based approach simulates the capsule's traversal through the strointestinal (GI) tract by injecting on-demand pre-recorded images from VCE studies. It is demonstrated that the HIL configuration is capable of meeting the real-time requirements of the prototypes and automatically identifying errors. The integration of machine learning (ML) hardware accelerators within medical devices can be facilitated by utilising this configuration, as it enables the verification of its functionality prior to the initiation of clinical testing.
