Manuscript Offprint
arXiv:2611.06338Learning to Tune with Biased Gradients: Iterative Feedback Tuning of Model-Free Control on Throttle Valves
Abstract
Iterative feedback tuning (IFT) learns the parameters of a fixed-structure controller by stochastic gradient descent. At each iteration, two closed-loop experiments are run on the plant: the first one measures the tracking error, and the second one, driven by this error, provides the sensitivities from which the gradient of the cost is estimated. This estimate is unbiased for linear plants only. We study the biased case on automotive electronic throttle valves, whose friction and stiction vary between valves and runs, controlled by an intelligent proportional (model-free) controller, which is an incremental PI controller. We show that the mismatch of the controller state at the start of the two experiments, which stiction makes unavoidable, adds an error inversely proportional to the amplitude of the second experiment. On digital twins of ten valves, the IFT gradient is a descent direction in only 69% of the low-cost region, friction being the cause, and all update rules plateau and then drift. On two hardware valves, the best update rule depends on the noise structure of the gradient. On the first valve, where one gradient component is buried in noise, Adam outperforms Gauss–Newton, its normalisation and its momentum each improving one parameter. On the second valve, where both components are consistent, the same normalisation amplifies a direction that Gauss–Newton rightly discounts, and Adam drifts to a controller worse than the initial one. The twins reproduce the mechanism but not this ranking.
Keywords: iterative feedback tuning; biased stochastic gradients; Adam; friction; model-free control; sim-to-real
1. Introduction
Data-driven controller tuning casts the design of a fixed-structure controller as the minimisation of a closed-loop cost that can only be queried through experiments on the plant. Iterative feedback tuning (IFT) (Hjalmarsson et al., 1998; Hjalmarsson, 2002) is the stochastic-gradient member of this family: closed-loop experiments provide at each iteration an estimate of , which is unbiased when the plant is linear time-invariant and the noise is zero-mean. Other approaches avoid gradients, either by solving a model-reference identification problem from a single data set, as virtual reference feedback tuning (Campi et al., 2002) and correlation-based tuning (Karimi et al., 2008), or by treating as a black box, as Bayesian optimisation (Berkenkamp et al., 2016). IFT remains attractive because it needs no model, scales to many parameters and has the structure of the stochastic optimisation methods of machine learning, including adaptive ones such as Adam (Kingma and Ba, 2015). IFT has been applied to the intelligent PID controllers of model-free control in simulation (Baciu et al., 2021) and with Adam-like updates (Baciu and Lazar, 2023). Munteanu et al. (2025) report practical difficulties of its real-time implementation, in particular its sensitivity to noisy gradient estimates and to the step size.
© 2027 F. Martínez-Jiménez, S. Miller-Murphy, T. Ondoa-Essomba & E. Witrant.
The unbiasedness of , however, rests on two assumptions that physical plants routinely violate: the closed-loop map must be linear, and the experiments of one iteration must start from the same state. On nonlinear plants, the classical recommendation is a small second experiment that probes the linearisation along the first one (Sjöberg and Agarwal, 1996; Hjalmarsson, 1998). Mechanical systems with Coulomb friction and stiction have no such linearisation, and their equilibrium is a set rather than a point. For a generic biased gradient oracle, Ajalloeian and Stich (2020) show that stochastic gradient descent only converges to a neighbourhood of a stationary point whose size scales with the bias. What is missing is an account, for a concrete plant, of where the bias comes from, how large it is where tuning actually operates, how it interacts with the update rule, and whether a digital twin can predict it.
We address these questions on electronic throttle valves (ETVs), low-cost servos with a preloaded return spring, Coulomb friction and stiction. Their friction is strongly asymmetric, which motivated dedicated models (Pujol et al., 2016) and adaptive or friction-compensating controllers (Canudas de Wit et al., 2001; Jiao et al., 2014), and it varies significantly between valves of the same reference and between repetitions of the same test (Witrant et al., 2023). The controller is the intelligent proportional (iP) controller of model-free control (Fliess and Join, 2013), whose two gains are usually tuned by trial and error (Yahagi and Kajiwara, 2022) and which has been applied to the same benchmark by Belhadjoudja et al. (2023). Preliminary real-time experiments with IFT and an Adam-based variant on this benchmark improved a hand-tuned controller but stalled after a few iterations and showed no benefit of Adam; this paper explains both observations.
Section 2 shows that the initial-state mismatch caused by stiction adds to the IFT gradient an error proportional to , where is the amplitude of the second experiment. Section 3 quantifies the bias on digital twins of ten valves identified from previous data (Witrant et al., 2023) and isolates its cause, and Section 4 compares Gauss–Newton (GN), trust-region, sign and Adam updates on these twins. Section 5 reports hardware experiments on two valves: repeatability, a finite-difference check of the gradient, repeated tuning runs that separate the effects of normalisation and momentum, and a comparison with the twin under the same protocol. The firmware, the host code, the data and the scripts reproducing all figures and tables are publicly available (Martínez-Jiménez et al., 2026).
It is therefore an incremental PI controller, with , where and are the proportional and integral gains. The map is invertible, and , and if and only if . With ms, the hand-tuned controller of the bench, , corresponds to .
Because of the spring preload, the IFT experiments are run in deviation around an operating angle , from an equilibrium reached in closed loop. Experiment 1 applies a reference consisting of one up and one down step, ( on samples 10 to 109 of , i.e. 5 s out of 10 s), and records the output , the error and the input deviation . The cost and its gradient with respect to are, for samples,
with and the output and input sensitivities and . For a linear plant modelled by the transfer function , with the sensitivity function and the complementary sensitivity function , these sensitivities are and , where (Hjalmarsson et al., 1998). They involve the unknown and applied to a signal, which is exactly what a closed-loop experiment computes. To obtain them without a model, experiment 2 therefore feeds the error of experiment 1 back as reference, , where is its excitation amplitude ( and in standard IFT), and the sensitivities are estimated by
where is the input at the start of experiment 2. The gradient estimate and the Gauss–Newton approximation of the Hessian of are then
and the standard IFT update is the Gauss–Newton step . The pole of is , so that the filters are stable if and only if . Since only deviations are used, may differ from , a special case of the filtered second experiment of Procházka et al. (2005).
IFT assumes that both experiments start from the same state, which a plant with stiction does not allow. The valve rests at the target angle for any net torque within the stiction band, so that the integral state of the controller at the start of experiment 2, , differs from by an amount that depends on the history and is not controlled. Seen from a linear model, the valve is then held by a friction torque equivalent to an input offset , which is released as soon as the valve moves. The following result quantifies the effect of such an offset; denotes the unit step (Heaviside) sequence.
Proposition 1 Let the plant be during experiment 2, where is linear and is a constant offset, the loop being stable. Then the estimates (3) satisfy and , and
The proof, given in Appendix A, follows from linearity. The error scales as 1/c, so that the small second experiment recommended for smooth nonlinear plants amplifies it, whereas a large one drives the valve into the input saturation and the stops. The vector depends only on , and experiment 1: if , for instance when the valve tends to stick on the same side, the error is a systematic bias, and if it is an additional variance that does not decrease with the length of the experiment. Finally, the offset term is a step response, concentrated at low frequencies where the gain of is , the inverse of the integral gain; the error is thus amplified precisely for the sluggish controllers that a tuning algorithm explores when it reduces or increases . In reality the offset is not constant, since the valve may stick again during the experiment, which adds a state-dependent error; Section 3 quantifies the total effect.
The parametrisation matters for coordinate-wise methods. The first update of Adam moves every coordinate by approximately its step size , whatever the magnitude of the gradient. In coordinates, the integral gain is the small difference of two large numbers, at the hand-tuned point, so that a first step with that decreases and by one unit each cancels the integral action. We therefore optimise , which keeps and positive and makes the steps relative, with , and . Five update rules are compared. GN, , is the standard IFT update, and clipped GN limits its step to . The sign step (Bernstein et al., 2018) normalises each coordinate but has no memory. Adam (Kingma and Ba, 2015) combines this normalisation with momentum,
where squares, square roots and ratios are taken element-wise, , , and . “Adam-GN” applies (6) to the GN direction instead of , as in the preliminary experiments. Comparing the sign step and Adam separates the effects of normalisation and momentum.
3. Digital twins and reliability of the gradient
The benchmark of Witrant et al. (2023) consists of throttle valves of the same reference whose return spring opens the valve; a DC motor driven by a PWM signal in [0, 255] closes it, and the angle is measured by a magnetic sensor at ms. Each valve has a PRBS record and a slow PWM staircase with several up-down cycles. Following Pujol et al. (2016), the shaft dynamics are
with and the direction of motion. We extended the initial model of Pujol et al. (2016) with a spring equilibrium beyond the upper stop (preload), a Karnopp stiction model (Karnopp, 1985) with direction-dependent breakaway levels , and inelastic stops. The eleven parameters are fitted by differential evolution followed by the Nelder-Mead (downhill simplex) method on the PRBS and the first staircase cycle, the other cycles being kept for cross-validation (Appendix B). The simulation RMS errors are 0.9–3.5° on the PRBS and 4.9–13.9° in cross-validation. The latter are dominated by the positions at which the valve sticks, which vary



Figure 1: Twins. (a) Cosine between the IFT and true gradients for one valve ( : hand-tuned controller; contours: ). (b) Descent fraction averaged over the ten twins when removing each nonlinearity. (c) Effect of the amplitude c of experiment 2.
from cycle to cycle in the data themselves: the closed position of one valve varies between and . The twins are therefore behavioural models of the stick-slip phenomenology.
On each twin, the IFT gradient ( , experiment 30–60–30°) is compared with the gradient of the true cost, obtained by central finite differences, on a log-spaced grid covering and . The low-cost half of the grid is , and we define the descent fraction
i.e. the proportion of low-cost points where an infinitesimal step along decreases . On the linearised twins, the cosine between both gradients exceeds 0.99999 at all 177 points where the loop is stable, which validates the implementation. On the actual twins, the descent fraction is only 0.69 on average (0.54–0.80 across valves), and the wrong directions concentrate in the valley of the cost around the hand-tuned controller (Fig. 1a), i.e. where a tuning algorithm operates.
Removing one nonlinearity at a time identifies the cause (Fig. 1b). The input saturation plays no role (0.70) and symmetrising the damping helps slightly (0.75), whereas removing Coulomb friction and stiction restores a descent fraction of 0.93, and of 1.00 for nine valves out of ten. Consistently with Proposition 1, a smaller second experiment is counter-productive (Fig. 1c): the descent fraction falls to 0.60 for c = 0.5, where the valve remains stuck more often, while c = 5 drives it into the saturation and the stops (0.63). No amplitude removes the bias.
4. Update rules under biased gradients
Each rule is run for 40 iterations from on the ten twins in three scenarios: a nominal one; a “noise” scenario, with a measurement noise of standard deviation and friction coefficients scaled by , , drawn independently for each experiment; and a “harsh” scenario with and . Eight seeds are used per valve. Performance is measured on the noise-free nominal twin by the normalised gap , being the minimum over a grid, and a run is counted as failed if the parameters become inadmissible or the validation error explodes.
For all well-tuned rules, the median gap reaches about 0.5 within 10–15 iterations and then stalls (Table 2 and Fig. 5, Appendix C), which is the behaviour expected from biased stochastic gradient descent (Ajalloeian and Stich, 2020). Continuing the iterations is harmful: after 40 iterations, 19–46% of the runs end with a higher cost than the initial controller, even without noise. Rejecting the steps that increase the measured cost removes this tail but also stops the progress, since the measured cost is itself corrupted by the friction variability. Large GN steps () fail in 20–51% of the runs; clipping removes the failures but not the drift.
With , Adam never fails, reaches the same median gap as GN and has a much smaller tail, the 90th percentile of being 1.76 against 3.69 for GN () under noise, and 2.29 against 6.90 in the harsh scenario. Under moderate noise, Adam is significantly better than GN with but not than the sign step, so that its benefit comes from the bounded, normalised step. In the harsh scenario, it also outperforms the sign step, because the first moment averages out when the biased gradient changes sign around the valley, which shrinks the updates and delays the drift (Appendix C). Adam-GN brings no benefit, and far from the optimum the fixed relative step of Adam is a drawback.
Finally, decreasing did not improve a validation test spanning 15–65° (median RMS ratio 0.94–1.16), because the IFT experiment (30–60°) excites a different friction regime: the IFT experiment must span the operating range of interest, which we do on the bench.
5. Hardware experiments
5.1. Experiment server and protocol
The firmware turns the Arduino of the benchmark into an experiment server driven by a Python host over the serial link. It implements the iP law (1) with the saturated in , which provides anti-windup, and fixed-rate scheduling. Each run starts with a 3 s closed-loop settling phase at its initial angle, and experiment 2 is generated on board from the stored , so that both experiments share the same sampling instants. The host computes the estimates and the updates and, every second iteration, runs the validation test of Belhadjoudja et al. (2023), a 15/65° square reference of 20 s. The experiments were run on valves 9 and 0 of the benchmark, called A and B below, starting from the hand-tuned controller; a PI controller previously used on this bench (Witrant et al., 2023), equivalent to , serves as a second reference.
5.2. Repeatability: the cost is set by where the valve sticks
We measure the dispersion of the cost over repetitions with fixed controller gains by its coefficient of variation , where and are the sample mean and standard deviation of the measured costs. With the 30–60° experiment of the twin study, ten repetitions at the hand-tuned controller give on valve A. This dispersion is not due to measurement noise: is determined by the controller state at the end of the settling phase (correlation ), which spreads over the stiction band with a standard deviation of 17 PWM units for the same angle. The two experiments of one iteration therefore start from integral states that differ by 17.5 PWM units on average, so that the offset of Proposition 1 is observed directly. Running experiment 1 over the validation range and experiment 2 around , away from both stops, reduces the CV to 6.3%. The price is a less informative gradient. For each of the ten repetitions, we compute the angle between its estimate and the mean of the ten estimates: means that the estimate points in the mean direction, that a step along it does not move the parameters in the mean direction at all. At , the angles are small (median , maximum ), so that every iteration moves the parameters in nearly the same direction. At , they range from to (median ): the direction of a single step is then largely set by the run-to-run dispersion. All subsequent results use the protocol, which also aligns the IFT cost with the validation test.
Valve B behaves differently under the same protocols. Its CV is 5.7% at and 4.3% at , and at all single-shot gradients lie within of their mean in . The two valves thus offer two regimes of the same plant: on valve A, the component of the gradient is buried in noise, whereas on valve B both components are consistent from one iteration to the next.
5.3. Gradient check on valve A
To check the IFT gradient against a model-free reference, the cost was also measured at , , for each coordinate of , each evaluation being one run of experiment 1; the central differences estimate the gradient of the measured cost, friction effects included. At the hand-tuned and PI controllers of valve A, eight interleaved repetitions of these finite-difference experiments and of the IFT experiments () were performed (Fig. 6, Appendix D). At the hand-tuned controller, the finite differences give (mean standard error), while IFT with gives : the component is correct, but the component is missed. The cosine between both remains positive (0.64, with a 90% bootstrap interval of ), yet a step of 0.3 along does not decrease the measured cost. Eight repetitions of before and after the step differ by only, and a one-sided Welch -test of the hypothesis that the cost decreased gives a -value of 0.46, i.e. the decrease is indistinguishable from the run-to-run dispersion: the plateau of Section 4 is observed directly. At the PI controller, farther from the optimum, the IFT direction is reliable (cosine 0.84–0.88 for all ) and the same step decreases by 5.1% ().
5.4. Tuning: the best update rule depends on the valve
On valve A, GN () and Adam () were each run twice for 20 iterations, and the sign step once with and once with (Fig. 2a,c). The measured (21–31) is useless as a progress indicator, whereas the validation RMSE is reproducible to within (Table 3, Appendix D) and decreases steadily. Each method converges to its own reproducible region, GN to (6.9, 2.9) and Adam to (6.2–6.4, 3.4–3.6), with a validation RMSE over the last three evaluations of 6.84–6.91 for GN and 6.74–6.75 for Adam, from 7.20–7.27 initially.
These runs separate the two ingredients of Adam. The component of is consistently negative, but shrinks this direction, so that GN moves by only 0.007 per iteration on average, against 0.016–0.019 for Adam and a steady increase for the sign step, which has no momentum: the normalisation frees the direction that GN under-weights. The component of , on the other hand, is dominated by noise (Fig. 6). GN reverses its step in 37–53% of the iterations and travels 2.3–2.6 times the net distance in , and the sign step with performs a random walk
, path ratio 10), whereas Adam extracts the weak drift (reversals 11–32%, path ratio 1.2–1.4). A larger normalised step does not reproduce this behaviour: with , the sign step reaches within six iterations, as Adam does, but wanders between 4.8 and 6.1 (42% reversals) and the final RMSE (6.85°) is that of GN. In this low signal-to-noise regime, Adam thus combines a conditioning effect of the normalisation on one coordinate and a variance-reduction effect of the momentum on the other. The improvement of the quadratic criterion comes with more overshoot, however (Fig. 3a): Adam gives the lowest RMSE but 29% overshoot on the upward steps, against 20% and the fastest settling for GN (Table 3). A masked criterion that ignores the transient (Lequin et al., 2003) would trade these differently.
On valve B, the ranking is reversed (Fig. 2b,c and Table 3). GN was run three times and converged each time to the same controller, (6.06, 3.36), (6.25, 3.40) and (6.15, 3.40), whose validation RMSE is 6.71°, against 7.25° for the hand-tuned controller. Adam was run twice and drifted both times to (3.0, 5.8), whose RMSE, 7.46°, is worse than that of the hand-tuned controller, although its best iterate along the way, (4.27, 4.42), is as good as GN (6.72°). With a low integral gain , the final Adam controller stays above the set point for about half a second after the upward step, instead of a brief spike for GN, and hits the lower stop after the downward step (Fig. 3b). The drift is not an artefact of the validation test. Ten repetitions of the IFT experiment at both end points give at the GN end point and at the Adam end point (Welch test, ), and the IFT gradient at the Adam end point, , correctly points back towards a larger and a smaller . Adam has thus overshot a region that the gradient identifies correctly. On this valve, the component of is small but consistently positive (in 80–85% of the iterations, mean +2 against about -11 for the component). GN, through the coupling in , increases by about 0.01 per iteration despite the sign of , whereas a coordinate-wise normalisation gives this small component the same weight as the component. The sign step with isolates this effect: without momentum, it also decreases steadily, to 3.0, and its validation RMSE rises from 6.75 to 7.22°, while oscillates around 5, where the component of changes sign. Adam follows the same path and, because of its momentum, carries beyond this point, to 5.8. On valve B, the normalisation is therefore the cause of the drift, and the momentum amplifies it.
5.5. Twin versus hardware
The protocol was also run on the twins of both valves, with 0.1° noise and ±20% friction variability. The twin of valve A reproduces the cost level of the 30–60° experiment ( against 17.0), the ranking of the controllers of Table 3, their overshoot and the cosines of Fig. 6a, but not the structure of the run-to-run variability (CV of 6% and 16% at 30/60 and 15/65, against 19% and 6% on hardware). On this twin, Adam degrades the validation error by decreasing , as on valve B. The twin of valve B fails more clearly: at the hand-tuned controller, it predicts a stick-slip limit cycle between 36 and 90° around the 65° set point, which the valve does not exhibit, and hence a validation RMSE of 12.6° instead of 7.3°. It ranks the Adam end point first (6.7°) and the GN end point last among the tuned controllers (7.3°), the reverse of the hardware. The twins thus expose the mechanism but cannot select the update rule for a given unit.

(c) ; solid A, dashed B
Figure 2: Hardware tuning runs (15/65°, 20 iterations): validation RMSE every second iteration on valve A (a) and valve B (b), and trajectories in the plane (c; : hand-tuned start; markers: end points).
(a) valve A

(b) valve B
Figure 3: Closed-loop responses during the validation test (one up and one down step) for the hand-tuned controller, the end points of GN and Adam, and, on valve B, the best Adam iterate; in parentheses.
6. Discussion and conclusion
IFT is stochastic gradient descent with an experimental oracle, and on a plant with stiction this oracle is biased. On throttle valves, the bias stems from the initial-state mismatch that stiction imposes on the two experiments of one iteration (Proposition 1); it was quantified on digital twins and observed on hardware. As for any biased stochastic gradient method, progress stalls and continuing may degrade the controller, so that a stopping rule based on a separate validation test, rather than on the noisy IFT cost, is indispensable; on valve B, it would have stopped Adam close to its best evaluation, at the level reached by GN.
Two lessons seem transferable to other data-driven tuning problems on mechanical plants. The first is that the design of the experiment matters more than the update rule: spanning the operating range of interest and running the second experiment away from the stops reduced the dispersion of the cost from 19 to 6% on valve A and made the IFT cost consistent with the validation criterion. The second is that adaptive updates are neither good nor bad in themselves: their coordinate-wise normalisation replaces the GN metric, which helps when that metric discounts a reliable direction and hurts when it discounts an unreliable one, and their momentum pays off only when a weak trend is buried in noise. Two valves of the same reference and the same protocol produced both situations, and their twins did not predict which one would occur; the twin of valve B even ranked the controllers in reverse order.
The hardware study is limited to two valves and two or three runs per method and valve, and the proposition covers a constant offset only. Natural continuations are a gradient-free baseline such as Bayesian optimisation (Berkenkamp et al., 2016), friction-aware estimators (dithering, repeated settling, or a correction of (5) with an estimate of ), and masked criteria (Lequin et al., 2003) to reduce the overshoot.
References
A. Ajalloeian and S. U. Stich. On the convergence of SGD with biased gradients. arXiv preprint arXiv:2008.00051, 2020.
A. Baciu and C. Lazar. Iterative feedback tuning of model-free intelligent PID controllers. Actuators, 12(2):56, 2023. doi: 10.3390/act12020056.
A. Baciu, C. Lazar, and C.-F. Caruntu. Iterative feedback tuning of model-free controllers. In Proceedings of the 25th International Conference on System Theory, Control and Computing (ICSTCC), pages 467–472, 2021.
M. C. Belhadjoudja, M. Maghenem, and E. Witrant. On the intelligent proportional controller applied to linear systems. In Proceedings of the 62nd IEEE Conference on Decision and Control (CDC), pages 938–943, 2023.
F. Berkenkamp, A. P. Schoellig, and A. Krause. Safe controller optimization for quadrotors with Gaussian processes. In Proceedings of the IEEE International Conference on Robotics and Automation (ICRA), pages 491–496, 2016.
J. Bernstein, Y.-X. Wang, K. Azizzadenesheli, and A. Anandkumar. signSGD: compressed optimisation for non-convex problems. In Proceedings of the 35th International Conference on Machine Learning (ICML), volume 80 of Proceedings of Machine Learning Research, pages 560–569, 2018.
M. C. Campi, A. Lecchini, and S. M. Savaresi. Virtual reference feedback tuning: a direct method for the design of feedback controllers. Automatica, 38(8):1337–1346, 2002. doi: 10.1016/S0005-1098(02)00032-8.
C. Canudas de Wit, I. Kolmanovsky, and J. Sun. Adaptive pulse control of electronic throttle. In Proceedings of the 2001 American Control Conference, volume 4, pages 2872–2877, 2001. doi: 10.1109/ACC.2001.946335.
M. Fliess and C. Join. Model-free control. International Journal of Control, 86(12):2228–2252, 2013. doi: 10.1080/00207179.2013.810345.
H. Hjalmarsson. Control of nonlinear systems using iterative feedback tuning. In Proceedings of the 1998 American Control Conference, pages 2083–2087, 1998.
H. Hjalmarsson. Iterative feedback tuning – an overview. International Journal of Adaptive Control and Signal Processing, 16(5):373–395, 2002. doi: 10.1002/acs.714.
H. Hjalmarsson, M. Gevers, S. Gunnarsson, and O. Lequin. Iterative feedback tuning: theory and applications. IEEE Control Systems Magazine, 18(4):26–41, 1998. doi: 10.1109/37.710876.
X. Jiao, J. Zhang, and T. Shen. An adaptive servo control strategy for automotive electronic throttle and experimental validation. IEEE Transactions on Industrial Electronics, 61(11):6275–6284, 2014. doi: 10.1109/TIE.2014.2311398.
A. Karimi, M. Butcher, and R. Longchamp. Model-free precompensator tuning based on the correlation approach. IEEE Transactions on Control Systems Technology, 16(5):1013–1020, 2008.
D. Karnopp. Computer simulation of stick-slip friction in mechanical dynamic systems. Journal of Dynamic Systems, Measurement, and Control, 107(1):100–103, 1985. doi: 10.1115/1.3140698.
D. P. Kingma and J. Ba. Adam: a method for stochastic optimization. In Proceedings of the 3rd International Conference on Learning Representations (ICLR), 2015.
O. Lequin, M. Gevers, M. Mossberg, E. Bosmans, and L. Triest. Iterative feedback tuning of PID parameters: comparison with classical tuning rules. Control Engineering Practice, 11(9):1023–1033, 2003. doi: 10.1016/S0967-0661(02)00303-9.
F. Martínez-Jiménez, S. Miller-Murphy, T. Ondoa-Essomba, and E. Witrant. Learning to tune with biased gradients: code, firmware and data for iterative feedback tuning of model-free control on throttle valves. Zenodo, 2026. URL https://doi.org/10.5281/zenodo.23493908.
M.-D. Munteanu, D.-I. Pintilie, and C. Lazar. Practical issues in the implementation of IFT algorithm for model-free controllers. In Proceedings of the 25th International Conference on Control Systems and Computer Science (CSCS), pages 80–87, 2025.
H. Procházka, M. Gevers, B. D. O. Anderson, and C. Ferrera. Iterative feedback tuning for robust controller design and optimization. In Proceedings of the 44th IEEE Conference on Decision and Control and European Control Conference, pages 3602–3607, Seville, Spain, 2005. doi: 10.1109/CDC.2005.1582721.
G. Pujol, Y. Vidal, L. Acho, and A. N. Vargas. Asymmetric modelling and control of an electronic throttle. International Journal of Numerical Modelling: Electronic Networks, Devices and Fields, 29(2):192–204, 2016. doi: 10.1002/jnm.2063.
J. Sjöberg and M. Agarwal. Model-free repetitive control design for nonlinear systems. In Proceedings of the 35th IEEE Conference on Decision and Control, volume 4, pages 2824–2829, Kobe, Japan, 1996.
E. Witrant, I. D. Landau, and M.-P. Vaillant. A data-driven control methodology applied to throttle valves. Control Engineering Practice, 139:105634, 2023.
S. Yahagi and I. Kajiwara. Non-iterative data-driven tuning of model-free control based on an ultra-local model. IEEE Access, 10:72773–72784, 2022.
Appendix A. Proof of Proposition 1
Write all signals of experiment 2 in deviation from : , and . Since is the initial value of the integral state and the loop starts at rest with , the incremental law (1) gives with zero initial conditions, while the plant gives . Eliminating yields and . Applying and using and gives the expressions of and . Since is obtained by inserting and in the right-hand side of (2), which is linear in them, (5) follows. A measurement noise in experiment 2 adds and in the same way, which is the classical result of Hjalmarsson et al. (1998); the offset term is a deterministic, low-frequency analogue of this noise term, with the same scaling, but not zero-mean.
Appendix B. Digital twins
The model (7) is integrated with 50 sub-steps per sampling period and a zero-order hold on . When , the valve stays at rest as long as the net torque lies in . A reversal of caused by the friction term within a sub-step is replaced by a stop, whereas a reversal caused by the other torques is integrated normally, and the stops are inelastic. The identification criterion is the sum of the RMS simulation errors on the PRBS (511 samples) and on the first staircase cycle, the latter with weight 0.5. One valve has no staircase record and is identified on the PRBS only; it is the outlier of the ablation study. The identified friction asymmetry changes sign between valves, which indicates that the preload and the friction levels are only partially identifiable. Fig. 4 shows a typical fit and Table 1 gives the parameters of the ten twins; the large spread of the friction parameters, sometimes over two orders of magnitude, reflects both the dispersion of the valves and their partial identifiability. Valves A and B of Section 5 are valves 9 and 0.
Table 1: Parameters of the twins (angles in degrees, time in s, input in PWM units) and RMS simulation errors () on the PRBS, on the staircase cycle used for identification (fit) and on the cross-validation cycles (CV); valve 6 has no staircase record and was identified on the PRBS only.
| valve | PRBS | fit | CV | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | 63 | 197 | 52 | 37 | 816 | 13377 | 1154 | 16949 | 364 | 1.3 | 90 | 2.1 | 4.9 | 10.1 |
| 1 | 1655 | 177 | 1000 | 357 | 133820 | 87401 | 187340 | 108673 | 4200 | 0.0 | 81 | 2.7 | 6.1 | 6.6 |
| 2 | 59 | 107 | 41 | 27 | 619 | 9099 | 1724 | 9297 | 186 | 0.0 | 82 | 2.6 | 6.7 | 13.1 |
| 3 | 82 | 101 | 71 | 15 | 1966 | 94 | 5898 | 107 | 73 | 1.6 | 81 | 3.5 | 9.3 | 10.5 |
| 5 | 44 | 162 | 23 | 11 | 3266 | 230 | 4245 | 331 | 78 | 13 | 82 | 2.6 | 6.5 | 10.5 |
| 6 | 238 | 263 | 1000 | 33 | 15545 | 45951 | 35261 | 46232 | 1284 | 0.0 | 79 | 0.9 | - | - |
| 7 | 313 | 82 | 190 | 127 | 2784 | 50544 | 4126 | 81420 | 869 | 13 | 79 | 2.1 | 7.9 | 13.2 |
| 9 | 69 | 88 | 36 | 20 | 42 | 4482 | 72 | 7371 | 112 | 0.4 | 81 | 2.7 | 6.0 | 13.8 |
| 10 | 85 | 168 | 67 | 22 | 6737 | 716 | 10614 | 1006 | 171 | 0.0 | 81 | 2.8 | 4.5 | 9.2 |
| 11 | 32 | 278 | 49 | 45 | 3397 | 5263 | 5027 | 6081 | 225 | 0.6 | 90 | 1.7 | 3.3 | 4.9 |

PWM staircase (left: identification, right: cross-validation)

Figure 4: Twin of one valve: PRBS used for identification (top) and PWM staircase (bottom; identification on the left of the dashed line, cross-validation on the right).
Appendix C. Additional results on the twins
Table 2: Update rules on the ten twins after 40 iterations (80 runs per cell): failure rate, median and 90th percentile of the normalised cost gap (: no improvement; : optimum).
| update | h | noise | harsh | ||||
|---|---|---|---|---|---|---|---|
| fail | fail | ||||||
| GN | 0.1 | 0% | 0.61 | 3.69 | 0% | 0.81 | 6.90 |
| GN | 0.5 | 36% | 0.54 | 9.10 | 51% | 0.82 | 13.14 |
| GN, | 0.3 | 0% | 0.85 | 6.81 | 0% | 0.76 | 11.75 |
| sign step | 0.02 | 0% | 0.62 | 2.72 | 0% | 0.62 | 2.72 |
| ADAM | 0.02 | 0% | 0.50 | 1.76 | 0% | 0.50 | 2.29 |
| ADAM | 0.05 | 0% | 0.57 | 3.05 | 0% | 0.79 | 4.26 |
| ADAM on | 0.05 | 0% | 0.53 | 3.66 | 0% | 0.68 | 4.27 |
The initial controller changes the picture. From an aggressive controller (), GN reaches a median gap of 0.22 in 25 iterations, and 0.01 with clipping, against 0.88 for Adam with and 0.04 with . From a sluggish one (), unclipped GN fails in 38% of the runs, while clipped GN and Adam with reach 0.09 and 0.12. The parametrisation matters as well: applied in coordinates, Adam-GN fails within ten iterations for 60% of the twins with and for all of them with , by cancelling the integral action.

Figure 5: Normalised cost gap along the iterations on the twins (solid: median over valves and seeds; dotted: 90th percentile).
An acceptance test that rejects any step increasing the measured cost leaves a median gap of 0.84–1.00 after 40 iterations, i.e. it stops the progress almost entirely.
The statistical comparisons of Section 4 are paired Wilcoxon signed-rank tests over valves and seeds on the gap averaged over the last five iterations. Under noise, the median difference between Adam () and GN () is (), while the differences with the sign step () and with GN at () are not significant. In the harsh scenario, Adam improves on the sign step by () and on GN at by only .
Appendix D. Hardware protocol and additional results
The set-up consists of a throttle valve with a single return spring that opens it, a DC motor driven by a 10 A H-bridge shield, an Arduino Mega 2560 and a magnetic angle sensor calibrated so that the closed stop reads ; the PWM saturates at 255. The worst sampling delay observed with the firmware was , with no overrun.
The firmware accepts a RUN command whose arguments are the type of run (experiment 1, experiment 2 generated on board as , validation, or hold), , the settling time, and , and a CAL command for the sensor calibration. Each run starts with 3 s of closed-loop settling at its initial angle. Experiment 1 follows over samples (10 s), with in the twin study and with in the hardware study, and .
For the gradient check, each controller is evaluated by eight interleaved repetitions of the IFT experiments for and of the four finite-difference experiments ( in and ); the cosines are given with 2000-sample bootstrap intervals, and the descent test compares eight repetitions of at and at with a one-sided Welch test. The tuning runs have 20 iterations with a validation test every second iteration, with for GN, for Adam and for the sign step. The path ratio is , and the reversal rate is the fraction of iterations at which the sign of changes.
Fig. 6 details the gradient check of Section 5 on valve A, and Table 3 gives the results of the validation tests on both valves and on their twins.

Figure 6: Hardware, valve A, 15/65°. (a) Cosine between the IFT gradient and the finite-difference gradient of the measured cost (bars: 90% bootstrap intervals; crosses: twin of the same valve under the same protocol). (b) Measured change of after a step of 0.3 along () and -value of a one-sided Welch test.
Table 3: Validation test on hardware (valve A: 3 repetitions; valve B: 6 repetitions, end points of two runs pooled): RMSE (mean std), mean overshoot and 2% settling time of the upward steps, mean steady-state error; last column: twin of the same valve.
| valve | controller () | RMSE () | overshoot (%) | settling (s) | () | twin RMSE |
|---|---|---|---|---|---|---|
| A | hand-tuned (5.00, 2.50) | 7 | 1.59 | 0.7 | 7.78 | |
| GN, end (6.96, 2.92) | 20 | 0.64 | 0.4 | 7.65 | ||
| Adam, end (6.16, 3.63) | 29 | 1.62 | 1.0 | 7.56 | ||
| PI 2021 (4.41, 5.08) | 18 | 2.05 | 1.7 | 7.76 | ||
| B | hand-tuned (5.00, 2.50) | 8 | 1.24 | 0.3 | 12.57 | |
| GN, end (6.15, 3.40) | 36 | 0.69 | 0.3 | 7.27 | ||
| Adam, best (4.27, 4.42) | 39 | 1.34 | 0.5 | 7.00 | ||
| Adam, end (3.02, 5.78) | 26 | 1.82 | 0.4 | 6.68 | ||
| PI 2021 (4.41, 5.08) | 40 | 1.70 | 0.5 | 6.73 |