Rebuilding the Heart in Silicon

A leaner FPGA model of cardiac cells for real-time medical devices

A Heartbeat in Silicon

At the top of the right atrium sits a cluster of cells no larger than a grain of rice. Once per second, give or take, these cells light up with a coordinated electrical pulse. That pulse races through the heart muscle and produces a beat. Over a human lifetime, this happens roughly three billion times without pause.

The cells responsible sit in the sinoatrial node, the heart’s natural pacemaker. Now consider building a faithful copy of that cluster on a single chip, one that fires at the same rhythm, responds to the same ionic currents, and does so while consuming power small enough for a wearable or an implant. That work, recently published in IEEE Transactions on Medical Robotics and Bionics, comes from researchers at Amirkabir University of Technology, Ajman University, and Razi University.

Why This Matters in Plain Language

Put simply, the researchers found a way to make a biologically realistic heart cell model run far faster and with far less energy, all without sacrificing accuracy. That tradeoff has historically been unavoidable. Either a model stays true to the underlying biology and runs slowly on hungry silicon, or it cuts corners on the biology to fit comfortably on a small chip. The work outlined below points to a third path, one that keeps the biology intact while making the hardware run far faster on far less power.

In practice, this kind of advance points toward smaller implantable devices, longer battery life for wearable cardiac monitors, and real time responsiveness for closed loop therapy systems that need to react to a patient’s tissue in the moment rather than over a network connection.

A quick note for readers new to the territory. An FPGA, or Field Programmable Gate Array, is a reconfigurable chip whose internal logic can be tailored after manufacturing to run specific computations very fast and very lean. Engineers favor FPGAs for medical and bionic work because they combine the flexibility of software with much of the speed and energy profile of dedicated silicon.

Why Biological Cells Are Hard for Hardware

Biological cells follow nonlinear differential equations. The Yanagihara Noma Irisawa model, often called YNI, captures the rhythmic firing of sinoatrial node cells through sixteen nonlinear terms involving exponentials, divisions, and threshold like functions. Each of those terms, once mapped onto digital hardware, tends to consume scarce arithmetic resources such as multipliers and DSP blocks. Floating point versions can in principle handle the math, but at a steep cost in silicon area, energy use, and clock speed.

Engineers have tried three workarounds in the past. The first replaces each nonlinear term one at a time with a hardware friendly approximation, which preserves accuracy but multiplies the variety of approximation circuits on the chip. The second strips weakly contributing dynamics from the equations to lighten the load, which costs biological accuracy. The third replaces the source equations entirely with simpler ones that only match the output behavior, sacrificing fidelity for speed.

What Changed With This Work

The contrast is sharp. Where prior approaches either added approximation circuit variety or threw away parts of the biology, the new method keeps the full original equations and uses one shared computational primitive across the board. Where the old tradeoff was fidelity against hardware footprint, the new approach delivers both at once. Where sixteen heterogeneous functions used to require sixteen heterogeneous circuits, the rebuilt model lives on two reusable building blocks.

A Unified Mathematical Core

Sixteen different nonlinear functions collapse into just two reusable building blocks. That single move sets up everything else.

Rather than approximating each term individually, the authors rewrote them all as fourth order polynomials in the membrane voltage V, collapsing the whole collection into a single canonical structure. Only one true nonlinear operation then remains, which is V squared. Higher powers such as V cubed and V to the fourth follow from simple digital shifts of the squared value.

One way to think about it. The original model spoke sixteen different dialects, each requiring its own translator on the chip. The rebuilt model puts all sixteen onto a shared grammar, so a single translator handles them all. Or, in more concrete terms, sixteen specialized tools become one multi tool that snaps into place wherever needed.

The fitting process used Particle Swarm Optimization with thirty particles, terminating when improvements in error fell below a tight threshold for twenty straight iterations. Solutions below an RMSE of 0.15 were banked, and the lowest from each bank was chosen for the final model.

CORDIC for the Last Mile

To approximate V squared itself, the researchers turned to trigonometric basis functions involving sine and cosine of V. Sine and cosine are notoriously costly to compute directly, so the authors brought in the AMD/Xilinx Vivado CORDIC IP core, which computes both functions through iterative shift and add operations without any explicit multipliers. CORDIC, which stands for Coordinate Rotation Digital Computer, has been used in pocket calculators since the 1970s and has stood the test of time. With CORDIC handling the trigonometry, shifters handling the powers, and adders combining the results, the YNI model becomes a multiplier free, DSP free computation.

Software Verification

Before reaching for hardware, the authors verified the rebuilt model in MATLAB. The new expressions track the source functions closely, with root mean square errors below 0.05 across all sixteen nonlinear terms and R squared values approaching one. Across three input current values, the converted model produced action potential waveforms that lay almost directly on top of the originals.

Moreover, the dynamical analysis went deeper. Lyapunov exponents, which measure whether small perturbations grow or die out over time, remained negative across a wide range of initial voltages and applied currents. Both source and converted models settled into the same stable rhythms. Equilibrium points classified by Jacobian eigenvalues fell into matching categories. Stability, in short, was preserved.

How the Model Behaves in Networks

A single cell tells only part of the story. In real cardiac tissue, thousands of pacemaker cells couple through gap junctions and synchronize their firing. To test whether the rebuilt model preserves collective behavior, the researchers simulated a network of one thousand randomly coupled cells across fifty random seeds. Phase synchrony measured through the Kuramoto order parameter, which quantifies how closely the cells fire in step, came out to roughly 0.76 in both versions. Spectral peaks, bandwidth, and spike timing relative error all aligned.

For a more structured comparison, the group built a one dimensional chain of three hundred SA node cells linked by bidirectional gap junctions. Under both ideal coupling and noisy initial conditions, three sampled cells produced voltage traces that overlapped almost completely. Lagged cross correlation between each pair of cells peaked at or near zero lag, confirming in phase pacing across the chain even when the system was perturbed.

Here Is Where It Becomes Hardware

With software validation in hand, the researchers translated the converted model into Verilog and synthesized it on a Zynq XC7Z010 FPGA board. They chose fixed point arithmetic with 42 bits total, set the time step so that integration reduces to a single bit shift, and built the architecture around shifters, adders, and the CORDIC unit.

This is where the gains show up. The original YNI model ran at 84 megahertz and consumed 0.416 watts on the same board. The converted version ran at 571 megahertz and consumed 0.219 watts. That works out to a 6.8 times increase in speed and a 47 percent reduction in energy, with the side benefit of freeing every DSP block on the chip for other tasks. To confirm the silicon matched the simulation, the authors built a Hardware in the Loop setup that streamed FPGA state variables through a UART link to MATLAB for bit accurate comparison.

Now the Scaling Story

A naive port of the converted model fit only sixteen cells onto the FPGA before running out of room. To push that count higher, the authors combined several hardware strategies, among them resource sharing and pipelining to reuse arithmetic units across cells, finite state machine flattening for parallel execution of functional blocks, dynamic precision scaling to trim bit widths where the model could absorb it, clock gating to shut down idle submodules, and loop unrolling to accelerate per cell calculations.

The cumulative outcome was a deployment of eight hundred coupled SA node cells on the same board. Compared with the unoptimized sixteen cell version, the optimized eight hundred cell version used roughly a third fewer resources, drew 36 percent less power, and ran ten times faster.

Stress Testing Under Disease Conditions

Healthy cardiac tissue is one thing. Diseased tissue is another. To probe robustness, the researchers ran a battery of single cell tests covering two ischemia regimes, partial blocks of the three main ion channels (sodium, potassium, and calcium), and full channel blocks at zero conductance. Across all conditions, the rebuilt model tracked the original in amplitude, slope, and timing. Beat aligned RMSE values stayed below half a millivolt, and correlations between traces stayed above 0.96.

At the network level, a three hundred cell Watts Strogatz small world network was built with realistic ingredients including randomized gap junction weights, dynamic noise, a small conduction delay, and an ischemic patch covering twelve percent of the cells. Phase coherence stayed above 0.957 for both models, and mean cycle lengths differed by less than 0.4 percent between source and rebuilt versions.

Furthermore, sensitivity analysis confirmed expected cardiac physiology. Raising calcium and sodium conductances shortened the cycle length, while raising potassium conductance lengthened it. The rebuilt model returned the same physiological pattern as the source under every perturbation tested.

A Concrete Scenario

Consider a closed loop pacemaker that adjusts its firing in response to the patient’s own tissue state from moment to moment. Such a device needs a fast, accurate model of pacemaker behavior running on board, alongside the sensing front end, with energy budgets measured in microwatts and decisions needed within milliseconds. Or consider a wearable arrhythmia screener that simulates how a given patient’s pacemaker cells would respond under various stressors, on the device itself, rather than streaming raw signals to a cloud service for analysis. Both scenarios share the same need. Faithful biology, fast computation, low power, small form factor. The method outlined here delivers all four on a single low cost FPGA.

Why This Matters for Bionic Medicine

Cardiac implants such as pacemakers, defibrillators, and bioelectronic interfaces have an appetite for compute that grows alongside the complexity of the tissue they need to model or interact with. A faster, lower power, multiplier free implementation of a faithful pacemaker cell opens up several practical avenues. Real time emulation of cardiac tissue patches at a scale of hundreds to thousands of cells now fits within a single FPGA. Wearable diagnostic devices and implantable closed loop therapeutic systems gain a useful component, a fast and accurate cardiac model that can run alongside the patient.

Moreover, the method is not specific to the heart. The authors point out that the same unification trick generalizes to other biological and neuronal models. They include a case study showing the same approach applied to the Hodgkin Huxley neuron model, with RMSE below 0.005 for the approximated functions.

The Wider View

What stands out in this work is its mathematical economy. The technique reduces nonlinear diversity rather than nonlinear quantity. Sixteen heterogeneous functions become two homogeneous primitives. The same approximation circuit serves all of them. CORDIC handles the trigonometry. Shifters handle the powers. Adders and accumulators do the rest. Even DSP blocks become optional.

That economy is what makes the eight hundred cell deployment possible on a board with only eighty DSP slots. It is also what suggests the same approach can carry over to other organ models, from pancreatic beta cells to retinal photoreceptors to Purkinje fibers, areas where the authors and their collaborators have published earlier results following similar reasoning.

What makes this work notable is simple to state. Sixteen equations, two building blocks, zero multipliers.

For neuromorphic hardware aimed at medical use, the appeal is concrete. Faithful biology, fast clocks, low watts, no multipliers. That combination is what moves biological simulation out of the lab and into real devices, whether inside the body or on the wrist.

Citation:

Ghanbarpour, M., Chaudhary, M. A., Assaad, M., and Ghanbarpour, G. (2026). Toward Scalable Bionic Cardiac Systems: Energy-Efficient and High-Performance FPGA Modeling of Pacemaker Cells via Nonlinear Simplification. IEEE Transactions on Medical Robotics and Bionics. DOI 10.1109/TMRB.2026.3699219.

Related Articles

PHP Code Snippets Powered By : XYZScripts.com
★

Track This Company

Create a free account to add companies to your watchlist and get notified when patents, funding, or key developments change.