This paper, authored by researchers at the Micro Air Vehicle Lab at TU Delft, presents a significant step toward "closing the neuromorphic loop" for autonomous drones. By implementing a minimalist, high-speed PID controller directly on neuromorphic hardware, the team demonstrates how spiking neural networks (SNNs) can handle the gritty, low-level tasks usually reserved for traditional CPUs.
TL;DR
Researchers designed a "parsimonious" neuromorphic PID controller using only 93 spiking neurons to control a drone's altitude on Intel’s Loihi chip. The system achieves a theoretical update frequency of 500kHz with high energy efficiency, proving that SNNs can handle precise, low-level robotic control in real-time.
What Problem Does This Paper Address?
While neuromorphic computing—inspired by the energy efficiency and speed of biological brains—has shown great promise for high-level tasks like obstacle avoidance or visual processing, the "low-level" control (the math that actually spins the motors) is usually still handled by traditional von Neumann CPUs.
This creates a bottleneck. If a drone uses a fast, asynchronous spiking sensor and processor for vision but has to translate those signals into traditional code for a standard PID (Proportional-Integral-Derivative) controller, it loses the benefits of low latency and low power consumption. Previous attempts at neuromorphic PIDs were either too neuron-heavy (using thousands of neurons) or lacked the precision needed for stable flight. The authors aim to create a "parsimonious" (extremely resource-efficient) version that fits on embedded hardware without sacrificing performance.
Methods
The authors developed the N-PID (Neuromorphic PID) using a specific architecture designed for the Intel Loihi chip:
- Position Coding: Instead of "rate coding" (where the frequency of spikes represents a value), they use "position coding." Each neuron in a population represents a specific value range. If the error is 1.5 meters, the neuron corresponding to that "position" fires.
- The Three-Layer Architecture:
- Input Layer: Encodes floating-point values (like altitude set-points and measurements) into spikes.
- Aggregate Layer: Performs the mathematical additions and subtractions by summing synaptic weights.
- Reduce Layer: A "Winner-Takes-All" circuit that identifies the highest-firing neuron in the aggregate layer to determine the final output command.
- Non-linear Distribution: To maximize precision with few neurons, they used a quadratic distribution of neuron sensitivities. This provides high resolution near the "hover" point (where precision matters most) and coarser resolution further away.
- Parsimony: The entire N-PID for one degree of freedom requires only $6N + 3$ neurons (where $N$ is the resolution). For their flight tests, they used $N=15$, totaling just 93 neurons.
Datasets
As this is a robotics control paper, traditional static datasets were not used. Instead, the system was evaluated using:
- RotorS Simulator: A ROS/Gazebo-based physics environment for MAVs.
- Real-world Flight Tests: Conducted with a custom 5-inch quadrotor equipped with an Intel Kapoho Bay (containing two Loihi chips) and a TFmini Micro-Lidar for altitude sensing.
- OptiTrack: A motion capture system used to provide ground-truth data for performance analysis.
Key Insights and Ideas
- Closing the Loop: This is one of the first successful demonstrations of a drone's low-level flight control being handled entirely on a neuromorphic processor in the real world.
- Extreme Speed: The N-PID execution time on Loihi is a mere 2 microseconds. This allows for a theoretical update frequency of 500kHz—orders of magnitude faster than the 1–8kHz typical of modern flight controllers.
- Precision via Distribution: You don't need thousands of neurons for precision if you place your "sensors" (neurons) intelligently. By using a quadratic distribution, 15 neurons can provide the same effective control as a much larger uniform population.
- Inherent Integral Limiting: Because position coding has physical bounds (the number of neurons), the "integral wind-up" problem—a common issue in PID control where errors accumulate too much—is naturally mitigated.
Key Results
- Simulation Match: The N-PID's performance closely tracked a standard Python-based PID in simulation, though it exhibited slightly more overshoot at higher altitudes due to discretization.
- Real-World Stability: The drone successfully performed take-offs and maintained stable hovers at 1.0m and 1.5m altitudes using the Loihi-based controller.
- Resource Efficiency: The controller used only 93 neurons and 45 input neurons, a massive reduction compared to previous neuromorphic PID implementations that required $N \times N$ neuron arrays.
Limitations and Future Work
- Dimensionality: This study only addressed 1-DOF (altitude). A full drone requires 6-DOF control (pitch, roll, yaw, and 3D position), which would require a much larger network of interconnected N-PIDs.
- Hardware Sensitivity: During real-world tests, the authors noted that battery voltage drops affected the thrust, which the neuromorphic integrator had to compensate for.
- Discretization Noise: The derivative term in the PID is sensitive to the "jumps" between neuron bins. The authors suggest that future work could involve more sophisticated filtering or higher-resolution encoding for the derivative component.
- Communication Overhead: While the Loihi chip itself is incredibly fast, the current bottleneck is the communication protocol (serial/USB) between the flight controller and the neuromorphic chip. Improving these interfaces is key to realizing the 500kHz potential.
Summary updated