skip to content
DanielZ Logo DanielZ Logo
Hardware-aware Nussbaum-PID controller cover with robot joint, control diagram, and tracking plots

Article: Nussbaum-PID Real-Hardware Deployment

/ 3 min read

Article

Real-Hardware Deployment of a Nussbaum-Function PID Controller on a Current-Controlled Low-Cost Actuator via Hardware-Aware Optuna Tuning

Danial Zafaranchizadeh Moghaddam, Olga Tveretina, and Abolfazl Zaraki, University of Hertfordshire, 2026.

This page provides project context, visual summaries, headline metrics, and access information for the preprint version of the manuscript.

Preprint: preprints.org/manuscript/202606.0331

The article is currently available as a preprint and has been submitted to Sensors.

One-Line Abstract

The paper shows that a direct Nussbaum-PID implementation degrades on a current-controlled low-cost actuator, then demonstrates that a hardware-aware Optuna-tuned variant recovers usable 300 s tracking by managing adaptation growth, actuation mapping, and saturation.

Project Summary

This work studies real-hardware deployment of a Nussbaum-function PID controller on a current-controlled low-cost manipulator actuator, using the Niryo NED3 Pro as the experimental platform.

The experiments focus on real-hardware trajectory tracking for Dynamixel ID 6 (Niryo J5 / distal wrist) in raw current-command control. The study isolates deployment-layer behaviour from whole-arm Coriolis, centrifugal, and gravity dynamics, then tests how friction, encoder quantization, current limits, communication latency, and low-speed nonlinearities affect an adaptive controller that works cleanly in paper-level or simulation settings.

Headline Result

Enhanced Nussbaum-PID on Dynamixel ID 6 / Niryo J5, 300 s sinusoidal validation at 10 degree / 0.05 Hz:

MetricResult
MAE1.054 degree
RMSE1.283 degree
P95 |e|2.145 degree
Max |e|6.530 degree
Saturation1.2%

The direct baseline implementation degrades to MAE = 10.476 degree and an internal command saturation ratio of 0.450 on the same actuator. The enhanced implementation reduces the internal command saturation ratio to 0.012 while preserving the Nussbaum-PID core.

The tuned implementation adds three practical deployment layers:

  • adaptation-state regularization
  • low-speed velocity-reference feedforward
  • tail-region damping

Parameters were selected from a hardware-aware Optuna archive of 79 real-hardware trials, with unsafe runs rejected and the score jointly reflecting tracking quality, saturation, actuation activity, and bounded adaptation growth.

Visual Summary

Graphical abstract: real-hardware Nussbaum-PID control and optimization framework

Graphical abstract: the article connects Nussbaum-PID theory, the NED3 Pro / Dynamixel actuator, the hardware-aware layer, Optuna-guided tuning, and long-horizon validation.

Hardware platform: Niryo NED3 Pro experimental setup

Hardware platform used for the single-joint current-mode validation on the Niryo NED3 Pro.

Headline 10 degree / 0.05 Hz, 300 s validation

Headline 300 s validation run at 10 degree / 0.05 Hz.

Hardware-aware Nussbaum-PID block diagram

Hardware-aware Nussbaum-PID control architecture for the NED3 Pro actuator.

Key Figures

Baseline versus enhanced Nussbaum-PID comparison

Baseline versus enhanced controller comparison.

Critical zoom around zeta approximately pi over 2 failure region

Critical-region zoom showing the failure mode around zeta approximately pi over 2.

Multi-envelope 40 degree step response summary

Multi-envelope step-response evidence for the 40 degree condition.

Optuna search dashboard

Optuna search dashboard used to summarize tuning progress.

Code and Access

The public companion repository keeps the project file names, figures, tables, selected public artefacts, and README descriptions visible for manuscript context. Python implementation bodies are not included in the public copy.

Public repository:

For full code access, reviewer material, or supplementary implementation details, please email:

  • Danial Zafaranchizadeh Moghaddam — danial.za@outlook.com
  • Abolfazl Zaraki — a.zaraki@herts.ac.uk

Please include your affiliation, intended use, and whether the request is for review, reproduction, or collaboration.

Experimental Scope

The validated envelope includes:

  • 10 degree and 40 degree sinusoids at 0.05 Hz and 0.5 Hz
  • 15 degree and 40 degree step responses
  • Bandwidth-limit characterization at 1.5-3 Hz
  • Optuna-guided controller-parameter tuning and ablation analysis

Beyond the validated low-frequency envelope, the bandwidth probes show where the low-cost mechanical and sensing stack becomes the dominant limitation.

Citation and Reuse

If you use the figures, experimental methodology, or any implementation material shared with you by email, please cite the preprint and acknowledge the project page.

Recommended project-page reference:

Project page and full-code access notes are available at: https://danielz.co.uk/projects/hardware-aware-nussbaum-pid/

Preprint:

Real-Hardware Deployment of a Nussbaum-Function PID Controller on a Current-Controlled Low-Cost Actuator via Hardware-Aware Optuna Tuning. Preprints.org manuscript 202606.0331, 2026.