Hostname: page-component-74656f9884-7drmj Total loading time: 0 Render date: 2026-11-04T15:21:42.648Z Has data issue: false hasContentIssue false

Cross-platform learnable fuzzy gain-scheduled proportional-integral-derivative controller tuning via physics-constrained meta-learning and reinforcement learning adaptation

Published online by Cambridge University Press:  11 June 2026

JiaHao Wu*
Affiliation:
The University of Hong Kong , Hong Kong Southeast University , China
ShengWen Yu
Affiliation:
Guangzhou College of Commerce, China
*
Corresponding author: JiaHao Wu; Email: 13620926353@163.com
Rights & Permissions [Opens in a new window]

Abstract

Motivation and gap: PID-family controllers remain a pragmatic choice for many robotic systems due to their simplicity and interpretability, but tuning stable, high-performing gains is time consuming and typically non-transferable across robot morphologies, payloads, and deployment conditions. Fuzzy gain scheduling can provide interpretable online adjustment, yet its per-joint scaling and consequent parameters are platform dependent and difficult to tune systematically.

Proposed approach: We propose a hierarchical framework for cross-platform tuning of a learnable fuzzy gain-scheduled PID (LF-PID). The controller uses shared fuzzy membership partitions to preserve common error semantics, while learning per-joint scaling and Takagi–Sugeno consequent parameters that schedule PID gains online. Combined with physics-constrained virtual robot synthesis, meta-learning provides cross-platform initialization from robot physical features, and a lightweight reinforcement learning (RL) stage performs deployment-specific refinement under dynamics mismatch. Starting from three base simulated platforms, we generate 232 physically valid training variants via bounded perturbations of mass ($\pm$10%), inertia ($\pm$15%), friction ($\pm$20%), and damping ($\pm$30%).

Results and insight: We evaluate cross-platform generalization on two distinct systems (a 9-DOF serial manipulator and a 12-DOF quadruped) under multiple disturbance scenarios. The RL adaptation stage improves tracking performance on top of the meta-initialized controller, with up to 80.4% error reduction in challenging high-load joints (12.36$^\circ$$\rightarrow$2.42$^\circ$) and 19.2% improvement under parameter uncertainty. We further identify an optimization ceiling effect: online refinement yields substantial gains when the meta-initialized baseline exhibits localized deficiencies, but provides limited improvement when baseline quality is already uniformly strong.

Information

Type
Research Article
Copyright
© The Author(s), 2026. Published by Cambridge University Press
Figure 0

Table I. Mathematical symbols.Table I long description.

Figure 1

Figure 1. Meta-learning network architecture for LF-PID initialization. The network maps 10D robot featuresf$\mathbf{f}$to the complete LF-PID parameter vectorθ^=[K¯^,s^,c^]∈[0,1]D$\hat {\boldsymbol{\theta }} = [\hat {\bar {\boldsymbol{{K}}}}, \hat {\boldsymbol{{s}}}, \hat {\boldsymbol{{c}}}] \in [0,1]^D$(D=330n$D=330n$) via three structured output heads: base gainsK¯∈R3n$\bar {\boldsymbol{{K}}} \in \mathbb{R}^{3n}$, input scaling factorss∈R3n$\boldsymbol{{s}} \in \mathbb{R}^{3n}$, and TS consequent parametersc∈Rdc$\boldsymbol{{c}} \in \mathbb{R}^{d_c}$. Sigmoid activation ensures bounded outputs; denormalization maps to physical ranges.

Figure 2

Algorithm 1. Physics-based data augmentationAlgorithm 1 long description.

Figure 3

Table II. Sensitivity of controllability threshold on data quality and downstream meta-learning performance (Franka 7-DOF). Retained = number of virtual samples passing the filter out of 303 total. Downstream MAE is the meta-learning prediction error (degrees) on the held-out test set.Table II long description.

Figure 4

Algorithm 2. Hybrid LF-PID optimization for virtual robotsAlgorithm 2 long description.

Figure 5

Table III. Pilot comparison of optimization algorithms on 20 representative virtual robots. All methods use identical simulation budget (2000-step trajectory evaluation). “Obj.” denotes the final objective Lv(θ∗)$\mathcal{L}_v(\theta ^*)$ in degrees. “Evals” denotes the number of objective function evaluations (each requiring one forward simulation).Table III long description.

Figure 6

Figure 2. Three base robot platforms serving as training data sources for physics-based data augmentation in PyBullet simulation. (a) Franka Panda manipulator (9-DOF) with complex serial kinematics, (b) KUKA LBR iiwa redundant manipulator (7-DOF) offering enhanced dexterity, and (c) Laikago quadruped (12-DOF) with parallel leg structure. From these diverse platforms, we generate 303 virtual variants through systematic perturbation of physical parameters (mass,inertia, friction, damping), filtering to 232 high-quality samples for meta-learning training. Cross-platform validation is conducted on Franka Panda and Laikago, which exhibit the greatest morphological differences (serial manipulator vs. parallel-legged quadruped), providing rigorous testing of generalization capability.

Figure 7

Table IV. Baseline design summary.Table IV long description.

Figure 8

Table V. Performance on franka Panda (9-DOF).Table V long description.

Figure 9

Table VI. Performance on Laikago (12-DOF). Laikago contributed zero-augmented variants to the 232-sample meta-learning training set (see Section 5.1.5); these results therefore represent a de facto zero-shot, leave-one-platform-out evaluation.Table VI long description.

Figure 10

Figure 3. Cross-platform generalization: Per-joint tracking error comparison across two morphologically distinct robot platforms. (a) Franka Panda serial manipulator (9-DOF) achieves 16.6% overall improvement with exceptional gains in high-load joints (J2: +80.4%, from12.36∘$12.36^\circ$to2.42∘$2.42^\circ$), demonstrating highly effective adaptation to manipulation tasks with concentrated loads. (b) Laikago parallel quadruped (12-DOF) achieves 2.1% overall improvement, with individual joint improvements (+3.3% to + 7.7% in 6 joints) slightly outweighing minor degradations (−3.7% to −10.1% in 6 joints). The contrast between platforms reveals an important engineering insight: RL adaptation excels when meta-learning exhibits localized high-error joints, while providing minimal benefit when baseline performance is uniformly strong. This guides practitioners to deploy RL selectively when additional refinement is warranted. Error bars indicate standard deviation.

Figure 11

Table VII. Per-joint tracking error comparison across platforms.Table VII long description.

Figure 12

Figure 4. Comprehensive tracking performance comparison on Franka Panda. (a) Actual tracking error time series showing 10.9% improvement with RL adaptation – RL reduces tracking oscillations and peak errors by smoothing control responses, (b) Error distribution histograms demonstrating tighter error bounds with Meta-LF-PID + RL exhibiting more concentrated distribution around lower error values, (c) Per-joint error comparison with dual-axis visualization – left axis shows mean absolute error bars (Pure meta-LF-PID in blue, meta-LF-PID + RL in orange), right axis overlays improvement percentage curve (green line with markers) revealing joint 2 benefits most with 80.4% improvement; all 9 joints show positive gains averaging 12.1%, and (d) Cumulative distribution function (CDF) showing consistent improvement across all error percentiles with 50th percentile improving by + 10.5% and 90th percentile by + 11.0%.

Figure 13

Table VIII. Leave-one-platform-out analysis: training data composition vs. evaluation performance. Laikago contributes at most 1 base configuration sample (0.4% of training data), making the current evaluation a de facto leave-one-platform-out experiment for the most challenging inter-morphology case.Table VIII long description.

Figure 14

Table IX. Robustness analysis (Franka Panda, MAE in ∘$^\circ$, representative seed 51, 20 episodes).Table IX long description.

Figure 15

Figure 5. Robustness evaluation across five disturbance scenarios on Franka Panda (20 episodes per scenario, evaluated across 100 random seeds for stochastic validation). Subplots (a–c) show detailed results for representative seed 51 (near-median performance), while subplot (d) presents the complete statistical distribution across all 100 seeds (mean±$\pm$std: 4.81±$\pm$1.64% average improvement). The method achieves universal improvements across all tested conditions, with exceptional performance under parameter uncertainties (+19.2%, from35.90∘$35.90^\circ$to29.01∘$29.01^\circ$), demonstrating remarkable adaptability to model discrepancies. Consistent gains in no disturbance (+13.2%), payload variations (+8.1%), mixed disturbances (+6.4%), and random forces (+2.9%) validate the robustness of the hierarchical meta-LF-PID + RL approach. Average improvement: +10.0%.

Figure 16

Figure 6. Figure 6 long description.Comprehensive RL training dynamics monitoring dashboard for Franka Panda (9-DOF) over 1 M timesteps using PPO algorithm with optimized hyperparameters. (a) Episode reward improves progressively, demonstrating effective learning. (b) Value function loss decreases logarithmically, indicating convergence. (c) Policy loss stabilizes, showing robust policy optimization. (d) Entropy decreases gradually, showing the transition from exploration to exploitation. (e) Explained variance increases, validating effective value learning. (f) Clip fraction remains in the healthy range (0.05–0.15), confirming appropriate PPO hyperparameters. (g) Learning rate stays constant at1×10−4$1 \times 10^{-4}$. (h) Gradient norm decreases and stabilizes below 0.5, indicating training stability.

Figure 17

Table X. Ablation: data augmentation impact.Table X long description.

Figure 18

Table XI. Quantitative characterization of the optimization ceiling effect. GRL$G_{\mathrm{RL}}$ = platform-level RL gain rate; CVe$\mathrm{CV}_e$ = coefficient of variation of baseline joint errors; max GRL,j$G_{\mathrm{RL},j}$ = highest per-joint gain; joints with GRL,j<0$G_{\mathrm{RL},j}\lt 0$ = joints where RL slightly degrades performance.Table XI long description.

Figure 19

Figure 7. Optimization ceiling effect: per-joint RL gain rate (GRL,j$G_{\mathrm{RL},j}$) vs. meta-learning baseline error (ebase,j$e_{\mathrm{base},j}$) across 21 joints of two robot platforms. The shaded region (GRL<5%$G_{\mathrm{RL}} \lt 5\%$) indicates the “ceiling zone,” where RL provides minimal additional benefit. Franka J2 (shoulder pitch,ebase=12.36∘$e_{\mathrm{base}}=12.36^\circ$) is the sole joint exhibiting dramatic RL improvement (GRL=80.4%$G_{\mathrm{RL}}=80.4\%$), while most joints cluster in the ceiling zone regardless of their absolute error magnitude. Spearman rank correlation:ρs=0.38$\rho _s = 0.38$, n=21$n = 21$.

Figure 20

Table XII. Meta-learning network hyperparameters.Table XII long description.

Figure 21

Table XIII. PPO algorithm hyperparameters.Table XIII long description.

Figure 22

Table XIV. Data augmentation and LF-PID optimization.Table XIV long description.

Figure 23

Table XV. Reward function and environment.Table XV long description.

Figure 24

Table XVI. Computing infrastructure.Table XVI long description.

Figure 25

Table XVII. Multi-seed evaluation configuration.Table XVII long description.

Figure 26

Table XVIII. Computational resource breakdown for all methods.Table XVIII long description.

Figure 27

Table XIX. Ablation: RL adaptation subset performance on Franka Panda.Table XIX long description.

Figure 28

Table XX. Meta-learning train/validation performance by robot type.Table XX long description.