Preprint
Article

This version is not peer-reviewed.

R-STDP-Based Biomimetic Robot Navigation: A System-Level Energy and Latency Analysis

Submitted:

29 November 2026

Posted:

30 November 2026

You are already at the latest version

Abstract
Neuromorphic computing promises energy-efficient, low-latency control of battery-powered robots. System-level energy and latency benefits of spiking neural network (SNN) control are evaluated in this paper using SPIKE, an autonomous taskbot equipped with a Raspberry Pi 4, running Robot Operating System 2 (ROS 2). Two functionally equivalent, bit-identical implementations of a single-layer SNN (four neurons, 108 synapses) with real-time reward-modulated spike-timing-dependent plasticity (R-STDP) are hosted on SPIKE: Python software emulation and SystemVerilog hardware synthesized for an Artix-7 FPGA. Navigation-task completion time is reduced from 550 to 316 s (P = 0.0075), while energy per object find-fetch-drop episode is reduced from 1.27 to 0.74 Wh through software-emulated SNN support. With FPGA acceleration, inference latency is reduced by 8,250× and energy per inference by approximately 10× relative to software emulation. However, near-identical system-level average power is observed (8.34 W with FPGA SNN; 8.36 W with software SNN), since approximately 0.76 W is consumed by UART communication between the CPU and FPGA, exceeding the software SNN’s average communication power (0.10 W). For portability, the FPGA SNN is synthesized using general-purpose logic only (12,283 LUTs), without DSPs or block RAM. The results indicate inference latency and energy are reduced by dedicated SNN hardware to support robot control, whereas system-level gains are determined by design partitioning and inter-component communication, consistent with the communication-dominated energy budget of biological neural systems.
Keywords: 
;  ;  ;  ;  ;  ;  ;  ;  ;  

1. Introduction

As machine learning applications grow more integrated into society, so does their demand for energy [1]. Although the energy used to train artificial intelligence (AI) models often receives the most attention, inference is estimated to account for 80–90% of AI compute [2], making energy consumption a continuous challenge rather than a one-time cost. As machine learning shifts toward the edge, for example in real-time robotics and autonomous navigation, both learning and inference must fit within the limited power budget of battery-powered platforms [3,4]. The biological neural systems that inspired artificial neural networks face a similar constraint, but spend most of their energy on communication between neurons rather than on computation: in the human cortex, communication consumes approximately 35 times more energy than computation [5]. Reducing the energy cost of inference at the edge may therefore depend as much on how information is moved as on how it is computed.
Compared to the human brain, conventional machine learning topologies such as feed-forward, recurrent and convolutional networks remain highly inefficient [3]. In response, a third generation of neural networks [6] has been developed to narrow the gap between technology and biology: Spiking neural networks (SNNs) exploit sparse, binary, event-driven signals, in contrast to the continuous values used in conventional topologies [3]. To further emulate biology, SNNs employ neuron models such as the leaky integrate-and-fire (LIF) model, in which a membrane potential accumulates input, decays over time, and triggers a spike at a threshold. These models can be combined with reward-modulated spike-timing-dependent plasticity (R-STDP), in which a global reward signal, analogous to dopamine, gates synaptic changes [7].
Moving these brain-inspired (neuromorphic) networks from general-purpose to application-specific hardware promises the energy efficiency and real-time responsiveness required by autonomous systems [4]. Field-programmable gate arrays (FPGAs) offer a flexible, reconfigurable platform for development without the need for custom silicon. Custom neuromorphic implementations have been shown to be faster and more energy-efficient than software emulation in isolation [3]. Reported power figures typically only cover the device or the inference step alone, leaving the communication between processing units unaccounted for. Whether the isolated advantage carries over to a complete, embodied robot, where sensing, communication, and actuation share a single power budget, therefore remains largely unexplored [8].
This work investigates whether the energy efficiency and responsiveness of FPGA-based SNN hardware acceleration carry over to control decisions in an autonomous, task-specific robot vehicle (taskbot), compared with running the same network on an on-board general-purpose CPU. Data are collected during a realistic taskbot mission, in which the taskbot explores its surroundings, locates objects, picks them up, and delivers them to designated drop-off zones, and through dedicated tests that isolate computation from the rest of the system. The task-specific design, with custom sensory encodings and a prioritized reward signal, embeds prior knowledge about the environment, which allows a network of only four neurons and 108 synapses to perform the task. This article extends a preliminary conference version [9] with a biological interpretation of the results, a detailed description of the experimental methods, including hyperparameter selection and energy accounting, and an expanded discussion of the architectural implications for neuromorphic robots. The presented contributions include:
(i)
Experimental taskbot: System design and construction of an autonomous robot built on Robot Operating System 2 (ROS 2), enabling reproducible, measurement-based analysis of responsiveness and energy.
(ii)
Compact R-STDP network: Architectural design and SystemVerilog implementation of a simple reward-modulated network on a resource-constrained FPGA, without special IP blocks.
(iii)
System-level comparison: Direct comparison of real-world energy consumption for an identical SNN implemented as CPU software emulation and as FPGA hardware, with power measured separately for computation and communication, to identify when hardware acceleration saves energy.
(iv)
Impact of learning: Characterization of how task completion time and energy consumption evolve during online R-STDP training on the software emulation.
The results indicate that dedicated SNN hardware can reduce per-inference energy and latency, while system-level gains depend on minimizing inter-chip communication.

2. Materials and Methods

The core idea in this work is to explore and compare two identical spiking neural networks, implemented as hardware on a low-cost FPGA accelerator and in software on a CPU, in a real-world experiment. To achieve this a simple task is defined and a dedicated taskbot (SPIKE) is developed.

2.1. Task and Platform

The taskbot is evaluated on a mission to locate objects within a bounded arena, pick them up, and deliver them one by one to designated drop-off zones. The arena measures approximately 1.5 m × 1.5 m and is divided into four quadrants (NW, NE, SW, SE). Each episode starts with three objects distributed across the quadrants and ends when all three objects are delivered. To promote exploration, the placement changes between episodes, cycling through all 20 unique combinations of three objects in four quadrants. The objects are plastic cubes marked on every side with ArUco markers [10] from the 4×4 dictionary (IDs 1–3), and the drop-off zones are marked with IDs 0 and 4. Between episodes, all network inputs are blocked for 30 s while the objects are redistributed manually.
The taskbot is a compact differential-drive vehicle, built with a modular design and 3D-printed parts to fit the components listed in Table 1. A Raspberry Pi 4 [11] serves as the main processing unit and an Arty A7-100T FPGA [12] as the neuromorphic accelerator. The Raspberry Pi runs Robot Operating System 2 (ROS 2, Jazzy) with nodes for perception, spike encoding, reward computation, task state, and motor control (Figure 1). ROS 2 is a widely used open-source middleware framework that facilitates communication and coordination between distributed robotic software components. Inputs, decisions, weight updates, and power are logged with rosbag, a ROS 2 utility for recording and replaying message traffic between software components, enabling repeatable experimental evaluation. Foxglove is used as a real-time visualization and telemetry dashboard, enabling monitoring of sensor data, neural activity, robot state, and power measurements during experiments.

2.2. From Sensing to Action

Each control step follows the same perception-to-action loop in both configurations, as depicted in Figure 2: Sensor data are encoded into spikes to be processed by either the software or hardware SNN. The winner-take-all (WTA) output is classified into a single motor command, and is also evaluated by a reward signal that drives learning.
Three sensory streams are encoded into binary spike trains, giving 26 external inputs and one internal feedback input, for 27 synaptic inputs per neuron (Figure 3). Keypoints are extracted from each camera frame using the Features from Accelerated Segment Test (FAST) algorithm [21] in OpenCV [22] and binned into twelve spatial regions. Each bin spikes only when its keypoint density changes, so that static scenes produce no input, similar to retinal neurons that respond to change rather than constant stimulation. The ultrasonic distance is encoded thermometrically into five bits, with more active bits indicating a closer obstacle. A detected ArUco marker sets one of three positional bits (left, center, right), replicated three times to form a nine-bit input and increase the relative strength of the signal. A feedback bit, formed as the NOR of the previous output spikes, fires when no output is active, mitigating stalling on subsequent unchanged inputs.
The network is a single fully connected layer of four leaky integrate-and-fire (LIF) neurons, one per movement command (left, reverse, right, forward), each with 27 synapses, for 108 synapses in total (Figure 3). To avoid multipliers, the membrane potential is updated through a subtractive leak,
V i [ n ] = V i [ n − 1 ] − λ + ∑ j w i j s j [ n ] ,
where V i is the membrane potential of neuron i, λ a constant leak, w i j the synaptic weight, and s j [ n ] ∈ { 0 , 1 } the input spike at timestep n. Because the inputs are binary, the weighted sum reduces to additions. When V i reaches the threshold V th , the neuron fires, is reset to a fixed value, and enters a refractory period. A winner-take-all (WTA) function limits the output to a single action per timestep, with ties broken by membrane potential.
Learning uses reward-modulated spike-timing-dependent plasticity (R-STDP), a three-factor rule in which pre- and post-synaptic activity mark a synapse as eligible for change and a global reward signal, analogous to dopamine, determines whether and in which direction the change is applied [7]. Each synapse keeps a signed eligibility trace E i j , incremented for causal (pre-before-post) spike pairings and decremented for anti-causal pairings within rectangular timing windows, and decaying geometrically between pairings. Only the synapses of the winning neuron are updated,
Δ w i j = ( E i j · R ) ≫ l r shift ,
where R is the signed reward and l r shift a fixed right-shift learning rate. Causal eligibility followed by reward therefore strengthens a synapse, while the same eligibility followed by punishment weakens it. Weights are stored as 8-bit values and clamped to [ 16 , 254 ] , keeping every synapse excitatory and preventing weights from saturating at zero. As all weights are positive, inhibition in the network is provided by the leak factor λ and the WTA competition.
The reward is computed by a dedicated ROS 2 node that maps the current task state and chosen action to a signed integer at every timestep, with three levels of descending priority. Wall avoidance rewards escape actions when the taskbot is in close proximity to an obstacle. ArUco alignment rewards turning toward a visible marker, or advancing when the marker is centered. Target search applies a weak reward when no marker is visible, favoring left and right turns so that the taskbot scans for markers rather than remaining still. This hierarchy embeds prior knowledge about the task and environment, allowing the network to learn the desired behavior.
The design thus mimics biological computation at the level of the neuron and the synapse; the physical organization of the system, described next, does not.

2.3. One Network, Two Hardware Substrates

The network is realized twice: as a software emulation in Python with NumPy, running as a ROS 2 node on the Raspberry Pi, and as a hardware implementation in SystemVerilog, synthesized in Vivado for the Artix-7 XC7A100T and clocked at 50 MHz. No vendor IP blocks are used in the hardware implementation: the leak in Equation (1) is subtractive, and the signed product in Equation (2) is implemented in general-purpose logic. The design uses 12,283 LUTs (19.37% of the device) and no DSP slices or block RAM, keeping the implementation portable across FPGA families. Both realizations use identical parameters and integer arithmetic, so that they produce bit-identical outputs for the same input.
The shared parameters (Table 2) are tuned on the software emulation prior to deployment on the taskbot, using manually recorded teleoperation runs as a stand-in for the live environment. In the first stage, the preprocessing parameters (FAST threshold, keypoint response cutoff, bin grid size, thermometric distance encoding, and ArUco bin count) are searched together with the SNN hyperparameters. In the second stage, the best preprocessing configuration is fixed and the SNN hyperparameters are searched more densely using the resulting precomputed spike trains. Each stage uses a randomized grid search of roughly 50 sampled configurations, each trained for 10 epochs over 5 independent runs and scored by mean test accuracy against the teleoperation commands. The search space is restricted to values suited to hardware: integer weights, thresholds, rewards, and eligibility increments; learning rate and trace decay expressed as right-shifts; and 8-bit weights.
In the software emulation, spikes remain within the Raspberry Pi, whereas in the hardware configuration the Python SNN node is replaced by a UART node, and every input spike vector and output decision crosses a physical module boundary over the Pi–FPGA link, which runs at 250,000 baud and also carries learning commands. Sensing, encoding, reward computation, and motor control remain on the Raspberry Pi in both configurations, so only neural inference is moved to the accelerator. Each configuration starts from its own launch file, with all node parameters read from a shared configuration file.

2.4. Separating Computation from Communication

Two digital wattmeters [20] measure power on separate supply rails: one for the FPGA board, and one for the Raspberry Pi, motor driver, and all peripherals. Power is sampled from both rails at 2 Hz with a resolution of 1 mA, 4 mV, and 20 mW per bit, filtered with a 20-sample median filter followed by exponential smoothing ( α = 0.2 ), and integrated numerically to obtain energy. Samples are timestamped against a common ROS 2 system clock, recorded with rosbag, and exported to CSV for analysis. The energy attributable to a component X over a window of duration T is derived by subtraction,
E X = ∫ 0 T P rail ( t ) − P ¯ ref d t ,
where P rail is the power on the rail supplying X while X is active, and P ¯ ref the mean power on the same rail in a reference state without X. Three quantities are derived in this way: the software SNN energy, from the Raspberry Pi rail with and without the Python SNN node running; the hardware SNN energy, from the FPGA rail with and without inference running; and the communication overhead, from the Raspberry Pi rail with and without the UART node running. System-level power is taken as the sum of both rails. Three experiments use these quantities, each isolating a different part of the energy budget.
Computation is first isolated from the rest of the system. To verify functional equivalence, the same 100 spike train sequences are injected into both implementations and the outputs are compared bit by bit. Recorded spike trains are then replayed to each implementation for T = 360 s with the motors disabled, totaling 4,500 inferences at a rate of 12.5 Hz, and the SNN energy is derived using Equation (3). Software latency is measured as the duration of one forward pass on the Raspberry Pi, and hardware latency is determined from the number of clock cycles per inference.
The complete system is then evaluated to include the cost of communication. Total power on both rails is measured for each configuration, and the communication overhead at the Pi–FPGA link is derived using Equation (3).
Finally, energy is assessed at the mission level over successive episodes of online learning. Online R-STDP learning on the software emulation is evaluated over more than 60 episodes. Completion time and energy are recorded for each mission, and the first ten episodes are compared with episodes 53–62. The time reduction is then confirmed with a one-sided Welch’s t-test.

3. Results

Following verification of functional equivalence, all test sequences produce bit-identical outputs. This verification establishes a controlled basis for comparing biologically-inspired computation implemented in software and hardware.
An overview of the taskbot, experimental arena, and real-time telemetry used during experiments can be seen in Figure 4. The dashboard visualizes the event-based FAST encoding, detected ArUco markers, network outputs, and synchronized power measurements that form the basis of the energy analysis.

3.1. Isolated Inference Performance

When evaluated in isolation, the FPGA implementation substantially outperforms the software emulation. Running at 50 MHz, the hardware implementation completes one inference in a single clock cycle of 20 ns, whereas the software implementation requires approximately 165 μ s per forward pass. This corresponds to an execution speedup of approximately 8,250×.
Over a fixed replay interval of 360 s with 4,500 inferences, the FPGA implementation consumes 3.39 J compared to 34.48 J for the software implementation. The timing measurements show that both implementation are more than capable of producing an output per input at this rate, thus the FPGA implementation consumes 0.75 mJ per inference, compared to 7.66 mJ for the software implementation, an approximately tenfold reduction in inference energy. Figure 5 illustrates the accumulated energy of the two implementations throughout the measurement window.
These results indicate the significant potential of neuromorphic hardware acceleration, that sparse event-driven computation can be implemented with substantially lower latency and energy than a functionally equivalent software realization.

3.2. System-Level Energy Consumption

Despite the approximately tenfold reduction in inference energy, total platform power remains nearly unchanged. Average system power is 8.34 W for the FPGA configuration and 8.36 W for the software configuration. Table 3 summarizes the principal performance metrics. The discrepancy between inference-level and system-level results indicates that factors outside the neural computation itself dominate overall energy consumption in this particular architecture.

3.3. Communication Overhead

The communication interface between the Raspberry Pi and FPGA is analyzed separately. The UART communication node consumes approximately 0.76 W during operation. By comparison, the software SNN consumes only 95.8 mW, while the FPGA implementation consumes approximately 9.4 mW. Thus, the communication overhead exceeds the power consumed by the software neural network by a factor of eight.
Consequently, the energy savings achieved by hardware-accelerated inference are largely offset by the cost of transporting information between processing devices. The result mirrors observations from biological nervous systems, where neural signaling and communication account for a substantial fraction of total energy consumption. Rather than being limited by the cost of computation alone, both biological and artificial neural systems appear constrained by the energetic cost of moving information.

3.4. Energy Reduction Through Learning

Although the FPGA configuration fails to reduce total system power for the selected architecture, online learning reduces mission-level energy consumption. More than 60 experimental episodes are conducted using online R-STDP learning. Over time, task performance improves substantially. The first ten episodes require an average of 550 s and 1.27 Wh per mission, whereas episodes 53–62 require only 316 s and 0.74 Wh. A one-sided Welch’s t-test confirms that the reduction in completion time is statistically significant ( P = 0.0075 ). Figure 6 shows the reduction in mission energy over the training period.
The reduction in energy follows directly from shorter mission durations. While the reward function includes an energy-aware component, no measurable evidence suggests that this component independently reduces power consumption. Instead, energy savings emerge because the learned navigation policy completes the task more efficiently.

4. Discussion

This paper presents the results from a real-world experiment of an identical spiking neural network implemented as software on a Raspberry Pi 4 and as hardware on an Arty A7-100T FPGA, with a direct system-level energy comparison. The results from this particular system might not be directly relevant for other systems with different components and architecture; yet the experiment reveals issues of general interest when designing systems that mimic biological nervous systems. It also indicates the significant potential in using dedicated SNN hardware with dramatic reduction of per-inference energy and latency.

4.1. Comparison Against Literature

Table 4 places the FPGA implementation alongside recent SNN implementations on reconfigurable and neuromorphic hardware. The network used in this work is small, and its four output neurons and 108 synapses fall well below the sizes reported in the other works. The reported power measurements are therefore not directly comparable as architectures vary in both scale and learning regimes. Although most of the FPGA designs do not report their full resource use, it is worth noting that NeuroCoreX [23] stores its weights in block RAM and is limited in scale by the block RAM available on its device, and that Ali et al. [24] reports significantly fewer LUTs per neuron/synapse than this work. Learning regimes further separate the designs: this work uses R-STDP, NeuroCoreX [23] uses STDP, and Mitchell et al. [25] combines evolutionary optimization with STDP, whereas Ceolini et al. [26], Ali et al. [24] and Amir et al. [27] train their networks offline and perform inference only. Loihi, TrueNorth, ODIN and MorphIC are all custom neuromorphic integrated circuits as compared to SPIKE’s reconfigurable hardware architecture. In each case, the reported power covers the component or the inference step alone. None of the data from publications by others represent system context with distinct characterization of communication power as performed in this work.

4.2. Neuromorphic Efficiency Does Not Guarantee System Efficiency

The FPGA implementation achieves an approximately 8,250-fold latency improvement and reduces isolated inference energy by a factor of ten relative to the software emulation. Yet these gains do not translate into measurable reductions in overall robot power consumption. While previous studies commonly report device-level or inference-level energy improvements for neuromorphic hardware, the presented results demonstrate that such improvements should not automatically be interpreted as system-level savings.
The discrepancy arises because the energy budget of a complete robotic system is distributed across sensing, communication, computation, and actuation. Reducing only one of these components may produce little practical benefit if another component dominates the overall budget. For the SPIKE platform, communication overhead largely offsets the gains obtained through efficient hardware inference, and the energy consumption of the neural network is very small compared to the energy consumption of other components. The purpose of the system architecture used in this experiment is to compare two identical neural networks. The Arty A7-100T FPGA in this system is underutilized and the cost of communication could be significantly reduced by adding sensory inputs as well as computational tasks directly to the FPGA.
With systems perspective, the energy consumption of both the neural network and other components is crucial to determine optimization priorities. As described, this experiment uses a very small SNN; thus, its impact on the total energy budget is also small. In Figure 6, a few episodes stand out with very high task-completion energy. These peaks correspond to situations in which SPIKE becomes stuck, such as in corners or when facing a flat wall with few keypoints visible to the FAST algorithm. Observations suggest that some of these situations could be resolved by adding inputs from two or more distance sensors facing other directions, introducing hidden layers in the neural network, or developing more sophisticated algorithms for visual keypoint detection, each of which would enlarge the SNN and strengthen the case for FPGA acceleration.
Nevertheless, the findings suggest that neuromorphic performance should be evaluated at the system level rather than the device level when targeting real-world robotic applications.

4.3. The Cost of Moving Information

In this system, moving information is more expensive than processing it. Although the FPGA implementation consumes approximately 9.4 mW and the software implementation approximately 95.8 mW, the UART-based communication interface consumes approximately 0.76 W. Consequently, communication energy exceeds software inference energy by a factor of eight and FPGA inference energy by nearly two orders of magnitude.
The communication overhead observed in this work is partly a consequence of architectural partitioning. Sensor processing, state management, reward generation, and motor control remain on the Raspberry Pi, while only the neural inference engine is moved to the FPGA. This partitioning requires transmission of information across device boundaries. The resulting communication activity negates much of the efficiency gained within the accelerator itself.
Importantly, this does not imply that FPGA acceleration is inherently inefficient. Rather, it suggests that communication boundaries should be considered a first-order design parameter in neuromorphic systems. Determining where computation occurs may be equally important as optimizing the computation itself.

4.4. Lessons from Biological Neural Systems

The observed trade-off between communication and computation bears similarities to biological nervous systems. In the human cortex, communication has been estimated to consume approximately 35 times more energy than computation [5]. The brain is thought to achieve its efficiency not through spike-based signaling alone, but also through the close co-location of storage, computation, and communication within densely interconnected neural tissue.
SPIKE replicates the computational principles of biological neurons through sparse event-driven signaling and local plasticity. However, unlike biological neural systems, the architecture physically separates perception, learning, communication, and inference across different processing units. The results suggest that reproducing biological neuron models alone may not be sufficient to achieve biological levels of energy efficiency. Architectural locality, physical integration, and reduction of communication distances are equally important.
From this perspective, the findings support a broader interpretation of biomimicry. Neuromorphic systems do not benefit only from mimicking biological computation, but also from mimicking how biological systems store, organize and move information.

4.5. Architectural Implications and Future Directions

The results raise the question of whether the selected hardware partitioning represents the optimal architecture for an embedded neuromorphic robot. Several alternative designs could potentially reduce communication overhead and improve system-level energy efficiency.
The most direct approach would be to migrate additional processing stages to the FPGA. In the present implementation, the FAST keypoint extraction, ArUco processing, spike generation, reward computation, and motor control remain on the Raspberry Pi. Offloading some of these functions would reduce the need to transmit intermediate representations between devices. In particular, implementing sensory preprocessing on the FPGA would allow significantly more of the perception-to-action loop to execute locally.
Another possibility would be to replace the UART interface with a lower-overhead communication mechanism. UART is chosen for its simplicity and reliability during development, not for energy efficiency. Alternative interfaces, tightly coupled memory architectures, FPGA SoCs, or platforms with shared memory between a general-purpose CPU and programmable logic may provide more favorable communication-to-computation ratios.
Finally, the observed communication cost is strongly related to the small network used in this work. The FPGA uses only a fraction of the available device resources while implementing four neurons and 108 synapses. As network size increases, inference energy and computational workload would be expected to grow faster than communication overhead. Future studies should therefore investigate at which network scale the balance shifts such that hardware acceleration yields measurable system-level energy savings.

Author Contributions

Conceptualization, E.H., H.T., G.J.A., J.K.D. and A.M.; methodology, All; SNN design in Python and SystemVerilog, hyperparameter tuning, E.H.; ROS 2 architecture, sensor and actuator nodes, telemetry, H.T.; ROS 2 nodes, simulation, G.J.A. and SystemVerilog communication and dataflow, Pi–FPGA interface, J.K.D.; system validation and testing, E.H., H.T., G.J.A. and J.K.D.; writing—original draft preparation, E.H. and H.T.; writing—review and editing, B.N. and A.M.; supervision, B.N. and A.M.; project administration, A.M.; funding acquisition, A.M. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The source code supporting the reported results is openly available in the SPIKE GitHub organization (https://github.com/robotgreier): the Python SNN software emulation and hyperparameter tuning at https://github.com/robotgreier/python_neural_network, the SystemVerilog FPGA implementation at https://github.com/robotgreier/fpga_project, and the ROS 2 workspace at https://github.com/robotgreier/ros2. The recorded power and episode data are available from the corresponding author on reasonable request.

Acknowledgments

The authors thank the Department of Mechanical, Electrical and Chemical Engineering at Oslo Metropolitan University (OsloMet) for funding this project, and Ivar Saksvik, ARIS (Espen Olsen), and Medical Technology (Morten degård) laboratory engineers at OsloMet for their help.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations

The following abbreviations are used in this manuscript:
AI Artificial Intelligence
BRAM Block Random-Access Memory
CPU Central Processing Unit
DSP Digital Signal Processing
FAST Features from Accelerated Segment Test
FPGA Field-Programmable Gate Array
HDL Hardware Description Language
LIF Leaky Integrate-and-Fire
LUT Look-Up Table
R-STDP Reward-Modulated Spike-Timing-Dependent Plasticity
ROS 2 Robot Operating System 2
SNN Spiking Neural Network
UART Universal Asynchronous Receiver-Transmitter
WTA Winner-Take-All

References

  1. Shehabi, A.; Smith, S.J.; Hubbard, A.; Newkirk, A.; Lei, N.; Siddik, M.A.B.; Holecek, B.; Koomey, J.; Masanet, E.; Sartor, D. Technical Report LBNL-2001637; 2024 United States Data Center Energy Usage Report. Lawrence Berkeley National Laboratory: Berkeley, CA, 2024. [CrossRef]
  2. O’Donnell, J.; Crownhart, C. We did the math on AI’s energy footprint. Here’s the story you haven’t heard. MIT Technology Review, 2025. [Google Scholar]
  3. Karamimanesh, M.; Abiri, E.; Shahsavari, M.; Hassanli, K.; van Schaik, A.; Eshraghian, J. Spiking Neural Networks on FPGA: A Survey of Methodologies and Recent Advancements. Neural Netw. 2025, 186. [Google Scholar] [CrossRef] [PubMed]
  4. Bing, Z.; Meschede, C.; Röhrbein, F.; Huang, K.; Knoll, A.C. A Survey of Robotics Control Based on Learning-Inspired Spiking Neural Networks. Front. Neurorobotics 2018, 12. [Google Scholar] [CrossRef] [PubMed]
  5. Levy, W.B.; Calvert, V.G. Communication consumes 35 times more energy than computation in the human cortex, but both costs are needed to predict synapse number. Proc. Natl. Acad. Sci. 2021, 118, e2008173118. [Google Scholar] [CrossRef] [PubMed]
  6. Maass, W. Networks of spiking neurons: The third generation of neural network models. Neural Netw. 1997, 10, 1659–1671. [Google Scholar] [CrossRef]
  7. Izhikevich, E.M. Dynamical systems in neuroscience: The geometry of excitability and bursting, 1st ed. ed.; Computational neuroscience; MIT Press: Cambridge, Mass, 2007. [Google Scholar]
  8. Zhang, Y.; He, X.; Meng, X.; An, X.; Mo, L.; Yin, W.; Yu, F. A Survey on Neuromorphic Navigation: Implementation Resources, Challenges and Perspectives. IEEE Sens. J. 2026, 1. [Google Scholar] [CrossRef]
  9. Holm, E.; Torkildsen, H.; Arason, G.J.; Dall, J.K.; Nossum, B.; Muhtaroglu, A. SPIKE: An Energy-Aware Autonomous Taskbot with Real-Time Navigation Control using a Low-Cost FPGA-Based Spiking Neural Network. In Proceedings of the Proceedings of the International Conference on Control, Robotics Engineering and Technology (CRET 2026), Online, 24 2026. [Google Scholar]
  10. Garrido-Jurado, S.; Muñoz-Salinas, R.; Madrid-Cuevas, F.J.; Marín-Jiménez, M.J. Automatic generation and detection of highly reliable fiducial markers under occlusion. Pattern Recognit. 2014, 47, 2280–2292. [Google Scholar] [CrossRef]
  11. Raspberry Pi Ltd. Raspberry Pi 4 Model B Specifications. 2024. Available online: https://www.raspberrypi.com/products/raspberry-pi-4-model-b/specifications/ (accessed on 2026-04-27).
  12. Digilent, Inc. Arty A7. 2026. Available online: https://digilent.com/reference/programmable-logic/arty-a7/start (accessed on 2026-04-27).
  13. Logitech. C922 Pro Stream Webcam Technical Specifications. 2026. Available online: https://support.logi.com/hc/en-us/articles/360023462473-C922-Pro-Stream-Webcam-Technical-Specifications (accessed on 2026-04-30).
  14. FREAKS, E.L.E.C. Ultrasonic Ranging Module HC-SR04. 2026. Available online: https://cdn.sparkfun.com/datasheets/Sensors/Proximity/HCSR04.pdf (accessed on 2026-04-30).
  15. Avago Technologies. Digital Proximity and Ambient Light Sensor. 2015. Available online: https://docs.broadcom.com/wcs-public/products/data-sheets–technical-specifications/data-sheet/736/749/av02-3190en_ds_apds-9930_2015-11-13.pdf (accessed on 2026-04-30).
  16. TowerPro. SG90 9g Micro Servo Datasheet. 2026. Available online: https://www.electronicoscaldas.com/datasheet/SG90_Tower-Pro.pdf (accessed on 2026-04-27).
  17. DFRobot. Micro Metal DC Geared Motor (6V 50RPM 250g*cm). 2026. Available online: https://www.dfrobot.com/product-1736.html (accessed on 2026-02-11).
  18. DFRobot. Raspberry Pi Motor Driving Expansion Board. 2026. Available online: https://www.dfrobot.com/product-2851.html (accessed on 2026-04-27).
  19. Ace, Gens. Gens Ace G-Tech 4300mAh 3S1P 11.4V 60C LiPo Battery with T-plug. 2026. Available online: https://gensace.de/products/gens-ace-g-tech-4300mah-3s1p-11-4v-60c-lipo-battery-with-t-plug (accessed on 2026-04-27).
  20. DFRobot. Gravity: I2C Digital Wattmeter. 2026. Available online: https://www.dfrobot.com/product-1827.html (accessed on 2026-04-27).
  21. Rosten, E.; Porter, R.; Drummond, T. Faster and better: A machine learning approach to corner detection. IEEE Trans. Pattern Anal. Mach. Intell. 2010, 32, 105–119. [Google Scholar] [CrossRef] [PubMed]
  22. Bradski, G. The OpenCV Library. Dr. Dobb’s J. Softw. Tools 2000. [CrossRef]
  23. Gautam, A.; Date, P.; Kulkarni, S.; Patton, R.; Potok, T. NeuroCoreX: An Open-Source FPGA-Based Spiking Neural Network Emulator with On-Chip Learning. 2025. [CrossRef]
  24. Ali, A.H.; Navardi, M.; Mohsenin, T. Energy-Aware FPGA Implementation of Spiking Neural Network with LIF Neurons, 2024. arXiv arXiv:cs. [CrossRef]
  25. Mitchell, J.P.; Bruer, G.; Dean, M.E.; Plank, J.S.; Rose, G.S.; Schuman, C.D. NeoN: Neuromorphic control for autonomous robotic navigation. In Proceedings of the 2017 IEEE International Symposium on Robotics and Intelligent Sensors (IRIS), 2017; pp. 136–142. [Google Scholar] [CrossRef]
  26. Ceolini, E.; Frenkel, C.; Shrestha, S.B.; Taverni, G.; Khacef, L.; Payvand, M.; Donati, E. Hand-Gesture Recognition Based on EMG and Event-Based Camera Sensor Fusion: A Benchmark in Neuromorphic Computing. Front. Neurosci. 2020, 14. [Google Scholar] [CrossRef] [PubMed]
  27. Amir, A.; Mendoza, M.; Kusnitz, J.; Debole, M.; Esser, S.; Delbruck, T.; Flickner, M.; Modha, D.; Taba, B.; Berg, D.; et al. A Low Power, Fully Event-Based Gesture Recognition System. In Proceedings of the 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR); IEEE, 2017; pp. 7388–7397. [Google Scholar]
Figure 1. Overall taskbot system architecture.
Figure 1. Overall taskbot system architecture.
Preprints 247117 g001
Figure 2. Perception-to-action loop.
Figure 2. Perception-to-action loop.
Preprints 247117 g002
Figure 3. SNN architecture: 27 inputs, four LIF output neurons with WTA selection, and the reward-modulated learning loop.
Figure 3. SNN architecture: 27 inputs, four LIF output neurons with WTA selection, and the reward-modulated learning loop.
Preprints 247117 g003
Figure 4. SPIKE taskbot (top left), experimental arena (bottom left), and Foxglove dashboard (right) with telemetry, weight updates, frame with FAST keypoints, ArUco detection, power measurements, battery information, states, decisions, and distance measurements.
Figure 4. SPIKE taskbot (top left), experimental arena (bottom left), and Foxglove dashboard (right) with telemetry, weight updates, frame with FAST keypoints, ArUco detection, power measurements, battery information, states, decisions, and distance measurements.
Preprints 247117 g004
Figure 5. SNN accumulated energy (J) over 360 seconds for the FPGA and software implementations.
Figure 5. SNN accumulated energy (J) over 360 seconds for the FPGA and software implementations.
Preprints 247117 g005
Figure 6. Task-completion energy (Wh) per episode during real-time R-STDP training on the software emulated SNN, with dotted regression line showing learning trend.
Figure 6. Task-completion energy (Wh) per episode during real-time R-STDP training on the software emulated SNN, with dotted regression line showing learning trend.
Preprints 247117 g006
Table 1. Taskbot hardware components.
Table 1. Taskbot hardware components.
Component Model Function
Processing unit Raspberry Pi 4 [11] ROS 2, spike encoding, reward, motor control, software SNN (option)
Neuromorphic accelerator Arty A7-100T [12] Hardware SNN (option)
Camera Logitech C922 [13] Visual input, forward-facing
Distance sensor HC-SR04 [14] Obstacle distance, forward-facing
Proximity sensor APDS-9930 [15] Object detection within the gripper
Gripper actuator SG90 servo [16] Gripper control
Drive motors 2 × FIT0579 [17] Differential drive
Motor driver DRI0054 [18] Motor control from the Raspberry Pi
Power supply 11.4 V LiPo [19] System power
Power monitoring 2 × SEN0291 [20] FPGA rail; Raspberry Pi and peripheral rail
Table 2. SNN hyperparameters shared by the software emulation and the hardware implementation.
Table 2. SNN hyperparameters shared by the software emulation and the hardware implementation.
Category Parameter Value
LIF neuron Leak λ 400
Threshold V th 750
Reset value 100
Refractory period (timesteps) 1
Plasticity Pre-synaptic window (timesteps) 3
Post-synaptic window (timesteps) 1
Eligibility increment/decrement + 10 / − 8
Eligibility decay (right-shift) 2
Learning rate l r shift (right-shift) 5
Weights Range [ w min , w max ] [ 16 , 254 ]
Initial value Randomized, seed 42
Table 3. FPGA hardware vs CPU software implementations of SNN.
Table 3. FPGA hardware vs CPU software implementations of SNN.
Metric FPGA (HDL) CPU (Python)
Inference latency 20 ns 165  μ s
Per inference energy 0.75 mJ 7.66 mJ
System-level ≈8.34 Wa ≈8.36 W
aIncludes the UART communication node, which replaces the software SNN node in the FPGA configuration.
Table 4. Comparison of SNN implementations across hardware platforms.
Table 4. Comparison of SNN implementations across hardware platforms.
Design Hardware Implemen- tation Neur./ Synaps. Power Learning
This work RPi4 Python 4/108 95.8 mW R-STDP
This work Artix-7 XC7A100T ( 12 , 283 LUT, 0 BRAM, 0 DSP) System- Verilog 4/108 9.4 mW R-STDP
NeuroCoreX [23] Artix-7 XC7A35T ( ≈ 50 BRAM; LUT/DSP n/r) VHDL 100/ 20 , 000 305 mW STDP
Ceolini et al. [26] Loihi Python up to 5 , 000 / ∼ 1 M 137.2 mW Offline
Ceolini et al. [26] ODIN + MorphIC Python + HDL ∼ 1 , 070 / ∼ 350 k 3.3 mW Offline
Ali et al. [24] Artix-7 ( 6 , 521 LUT; BRAM/DSP n/r) Verilog 514/ ∼ 2.1 M 495 mW Offline
Amir et al. [27] TrueNorth MATLAB (Corelet) ∼1M/∼256M 178.8 mW Offline
Mitchell et al. [25] Kintex-7 FPGA DANNA SNN –/– ∼250 mW EO + STDP
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.