DDPG PID Auto Tuning for Electromagnetic Control Valves

Short answer: Li et al. (Sensors, 4 Nov 2026) propose a Deep Deterministic Policy Gradient (DDPG) method that maps measured states to PID gains for electromagnetically driven control valves. The abstract reports both an on/off valve mode (timed opening, holding and closing within a preset cycle) and a servo mode over a 0 to 20 mm valve-core stroke, with a positioning error of 0.04 mm and a response time below 50 ms, compared with traditional PID and fuzzy PID. Those figures come from the abstract; request the methods and test conditions before treating them as a template for your own valve.
An electromagnetic control valve is the application; automatic PID tuning is the proposition. The study An Intelligent Control Strategy for Electromagnetically Driven Control Valve Systems Based on DDPG-PID Auto-Tuning puts that combination at the center of its proposed control approach. [1] For engineers, the interesting question is not whether the tuning method qualifies as intelligent. It is what evidence would justify choosing it for the valve control problem.
That distinction sets the scope of this examination. The paper’s title identifies a DDPG-PID auto-tuning strategy, but that description alone does not establish its performance, robustness or practical suitability. [1] Those judgments require a traceable connection between the model, the tuning objective and the evaluation results. A useful reading should therefore separate what the method proposes from what the available evidence demonstrates.
Before considering adoption, engineers should ask:
- What is being controlled? Which valve behaviour does the model represent, what is the commanded output, and which operating conditions define the evaluation?
- What does the tuner change? How are its decisions connected to the PID controller, and what constraints keep those decisions within an acceptable range?
- What makes the comparison persuasive? Are the reference controller, test conditions and performance measures specified well enough to support a reproducible assessment?
- Where does the evidence stop? Which claims are supported by the reported tests, and which would require further investigation?
These questions provide the starting point for examining the proposed approach. The task is to reconstruct the control problem closely enough to judge whether the tuning strategy addresses it, rather than treating the method’s label as evidence of engineering value.
What the study proposes
The abstract describes a DDPG-based strategy that adjusts PID gains for electromagnetically driven control valves. It reports the learning architecture and selected performance figures, while the full tuning procedure and test conditions still require the methods. [1]
The paper, by Li, Li, Yin, Zhang, Zhu and Lei at Lanzhou University of Technology, was published in Sensors on 4 Nov 2026 (doi 10.3390/s26216982). It proposes a DDPG-based PID self-tuning method for electromagnetically driven control valves, with an interaction framework between a reinforcement-learning agent and a Simulink model, and an implementation in both the simulation model and MCU controller software. [1]
To reconstruct the proposal faithfully, the full paper would need to resolve:
- What is controlled: the regulated valve variable, the actuator command and the model used to connect them.
- What is tuned: which PID parameters the learning method adjusts, their allowable ranges and whether adjustments occur during training, during operation or both.
- How learning is defined: the observations, actions and reward, including any treatment of actuator limits or undesirable transients.
- What is evaluated: the reference controller, test conditions and performance measures used to assess the proposed strategy.
These are verification questions, not confirmed features of the cited implementation.
The distinction between proposal and demonstrated outcome is therefore essential. The abstract reports accuracy, response speed and adaptability advantages against traditional PID and fuzzy PID. Treat these as the authors’ reported findings for their comparison, not independent evidence of robustness across other valves or disturbances. [1]
Why control engineers should examine it
The engineering reason to examine this proposal is its focus on tuning a familiar controller structure for an electromagnetically driven control valve. The abstract reports on/off timing and servo position-control results. Assess those reported tasks against your own control requirements rather than inferring suitability from the learning method alone. [1]
Relate tuning to controller duties
A proportional, integral and derivative controller combines distinct responses to control error:
- Proportional action responds to the current error between the setpoint and measured output.
- Integral action accumulates error over time, helping remove persistent offset.
- Derivative action responds to the rate of change of error, helping damp the response.
These roles provide a practical framework for examining auto-tuning. Ask which aspect of the response needs improvement, which controller terms are adjusted, and how the tuning objective represents acceptable behaviour. The source title establishes PID auto-tuning as the proposal, not the objective function or its constraints. [1]
Check relevance before assessing gains
For an engineering review, request the controlled variable, reference trajectories, actuator limits and acceptance criteria. Then ask whether the tuning objective addresses your priority: tracking accuracy, settling behaviour, persistent offset or control effort. These are evaluation questions, not reported attributes of the study. [1]
The abstract describes two modes. In on/off valve mode, the method is reported to achieve timed opening, holding and closing within a preset cycle. In servo valve mode, it is reported to provide position control over a 0 to 20 mm valve-core stroke, with a positioning error of 0.04 mm and a response time below 50 ms. Match those reported conditions to your own valve before treating the numbers as transferable. [1]
Understanding the controller architecture
The proposed strategy maps measured system states to PID gains so the gains can change with the current operating state. The authors describe an Actor-Critic architecture, experience replay and target-network soft updates. That is the architecture at the level the abstract states it; do not add an unstated signal path. [1]
Valve model and feedback
The plant is an electromagnetically driven control valve system built to cover both on/off and servo valve modes. In servo mode the reported controlled quantity is valve-core position over a 0 to 20 mm stroke. The abstract does not print the governing equations or model order; recover those from the full methods before rebuilding the model. [1]
Before drawing a controller diagram, take the command, the PID gains as the quantities the agent updates, and valve-core position as the reported servo output, then fill remaining signal assignments only from the paper's methods. [1]
PID and the tuning mechanism
For a related tuning discussion, read when a controller needs retuning.
The abstract describes a mapping from measured system states to PID gains. The full methods are needed to establish the gain-update details and constraints. [1]
The methods need to resolve:
- Which PID parameters are adjusted, and whether adjustments are absolute values or increments.
- Whether tuning occurs before evaluation or continues during controller operation.
- What observations reach the learning component, and what actions it returns.
- What bounds, update rules and initial settings constrain parameter changes. [1]
For a related application discussion, read reinforcement learning attached to a PID loop.
Documented versus unspecified
Keep the architecture description inside what the abstract states: a DDPG agent that sets PID gains for an electromagnetic valve, trained against a Simulink plant and also implemented on an MCU. Reward definition, observation lists and gain limits should be taken from the methods, not assumed. [1]
Practical walkthrough: reconstructing the model
Model reconstruction should begin with an extraction record, not a simulation assembled from a generic valve model. The abstract does not include the valve equations or parameter values needed for a full reproduction. Recover those from the paper before presenting a rebuilt model as a reproduction of the study. [1]
Build a traceable model specification
Extract the published governing equations, preserving their notation and distinguishing states, inputs, outputs and derived quantities. For each parameter, record its definition, value, unit and location in the paper. Capture stated assumptions alongside the equations they qualify, rather than leaving them implicit in code. [1]
The reconstruction record should separate:
- Published information: equations, parameter values, initial conditions and assumptions explicitly supplied by the authors.
- Derived information: algebraic rearrangements or unit conversions, with their derivation retained.
- Unresolved information: anything required for implementation that cannot be established from the paper. [1]
Do not silently replace an unresolved term with a familiar actuator approximation. If an assumption is necessary to run an exploratory simulation, label it as an engineering addition, not part of the reproduced study. [1]
Recreate documented operating cases
Define evaluation cases only after extracting the study’s documented inputs, starting conditions, operating conditions and simulation intervals. Reproduce those cases without adding disturbances, reference changes or parameter variations and presenting them as published tests. [1]
Keep numerical implementation choices equally explicit. Check whether the paper specifies integration settings, sample timing and treatment of constraints. Where information is missing, flag the dependency and leave reproduction status qualified. A runnable model is not, by itself, evidence that the published model has been reconstructed faithfully. [1]
Practical walkthrough: evaluating the tuning strategy
Evaluate the tuning strategy as a reproducibility exercise, not simply as a search for a satisfactory response. The authors compare the proposed strategy with traditional PID and fuzzy PID and report advantages in accuracy, response speed and adaptability. The concrete servo figures in the abstract are a positioning error of 0.04 mm and a response time below 50 ms on a 0 to 20 mm stroke. Record the comparison conditions from the full paper before treating that as a general result. [1]
Reconstruct the evaluation protocol
Before testing a retuned loop, consider troubleshooting oscillations before retuning.
Before running a comparison, extract the following from the paper:
- Tuning procedure: the quantities adjusted by the agent, their permitted ranges, the observations supplied to it and the reward definition.
- Learning and evaluation sequence: initialization, training termination, controller selection and whether learning continues during the reported evaluation.
- Comparison setup: the reference controllers, their tuning methods and the conditions shared across cases.
- Reported measurements: the exact performance definitions, measurement windows and test conditions associated with each result.
These are extraction requirements, not assertions that the paper documents every item. Where a detail is absent, record the implementation assumption rather than silently treating it as part of the published method.
Use only the paper’s verified metrics for the reproduction comparison. Preserve their definitions and units; a similarly named metric calculated over a different interval is not necessarily equivalent. Additional diagnostics can support engineering assessment, but should be labelled as supplementary analysis.
Keep evidence categories separate
Present published results as values transcribed from the paper with their associated conditions. [1] Present reproduced observations as outputs from the reconstructed implementation, including unresolved assumptions. Treat untested expectations, such as performance outside the documented cases, as hypotheses requiring separate experiments. Use the abstract’s reported servo figures only with their stated scope; leave method-dependent comparison fields unpopulated until the test conditions are confirmed.
Examining the learning evidence
The abstract says the agent maps measured states to PID gains and that experience replay and target-network soft updates were used to improve training stability and sample efficiency. Training records and repeatability evidence still need to be read in the full paper; do not invent them. [1]
Reconstruct the learning interface
Check the reported observations, actions and reward definition against the controller implementation described in the study. [1]
- Observations: Record the available signals, their scaling and any history supplied to the agent. Check whether every input would be available under the intended evaluation conditions.
- Actions: Establish whether the agent selects controller gains, gain increments or another quantity. Extract bounds, update timing and any constraints applied before an action reaches the controller.
- Rewards: Transcribe the expression and its coefficients. Check which tracking errors, control demands or constraint violations contribute, and whether termination changes the accumulated reward.
For training settings, extract the network descriptions, optimiser settings, exploration procedure, experience storage, update schedule, episode construction and stopping criterion wherever documented. Mark omissions explicitly rather than filling them with implementation defaults. These are extraction requirements, not confirmed features of the study. [1]
Separate training from evaluation
Verify whether the reported evaluation uses different reference trajectories, initial conditions, disturbances or model parameters from training. Also establish whether exploration and parameter updates are disabled during evaluation. Until those details are checked, do not describe the reported tests as evidence of generalisation. [1]
Look for repeatability evidence
Check whether the paper documents independent training runs, randomisation settings, checkpoint selection and variation across outcomes. Distinguish repeated evaluations of a fixed controller from repeated training of new controllers. If only selected traces are available, record that evidential limit without inferring either consistent learning or instability. Whether these repeatability details are provided remains to be verified. [1]
Limitations and claims to verify
The authors say the strategy was implemented in both the Simulink model and MCU controller software and was compared with traditional PID and fuzzy PID. Keep simulation findings and hardware findings distinct when you read the results section, and do not merge them into a single performance claim here. [1]
Check which parts of the model and tuning procedure were retained in the reported MCU implementation, and confirm the exact hardware test conditions in the full paper. The abstract reports an implementation in both simulation and MCU software. Agreement between those two, and the exact hardware setup, should be confirmed in the full paper rather than assumed. [1]
Check the operating limits
Read the model equations, controller implementation and test descriptions together. Treat the following as verification questions, not as features already demonstrated by the study: [1]
- Are actuator input limits and input rate limits represented, and is controller behaviour at those limits evaluated?
- Are integral windup and restrictions on the tuned gains addressed?
- Are disturbances explicitly defined, including where they enter the system and how they are applied?
- Is measurement noise included, and are filtering and sampling assumptions documented? [1]
Where a treatment is absent or unclear, record the corresponding limit on interpretation rather than assuming an idealised test covers it. [1]
Bound the application claim
Keep any applicability statement tied to the documented valve system, model assumptions and tested operating conditions. Check for direct evidence before extending the findings to other valve designs, operating regimes or sensing arrangements. Without that evidence, broader applicability remains a question for investigation, not a demonstrated outcome. [1]
Deciding whether to investigate further
Treat the DDPG-PID study as a candidate for a bounded reproduction exercise. First, map what the paper documents against what your team can actually represent and measure. Keep documented requirements separate from assumptions introduced to fill gaps. [1]
- Model coverage: Match the reported valve dynamics, parameter definitions, inputs and outputs to your available model. Mark each element as available, derivable or unresolved. Do not silently substitute a different actuator representation and call the result a reproduction. [1]
- Signal availability: For each signal used by the reported control and learning formulation, establish whether your model exposes it and whether your measurements could support it. Distinguish measured quantities from estimated or simulated states. [1]
- Evaluation coverage: Match the documented reference inputs, initial conditions and operating conditions to tests you can reproduce. Record any departures before comparing responses. [1]
Identify the evidence that would change the decision
Before allocating implementation effort, check whether the paper provides enough detail to reconstruct the controller update, learning configuration, reward calculation and evaluation procedure. Where information is missing or ambiguous, formulate a specific clarification request rather than choosing convenient defaults. [1]
Also establish what evidence would let you distinguish successful reconstruction from a plausible but different implementation. Seek traceable parameter settings, comparable response records and sufficient training information to interpret variability, where these are documented or obtainable. [1]
Proceed with investigation if the model mapping is credible and remaining gaps are bounded. Otherwise, defer reproduction pending clarification or narrow the task to an explicitly modified simulation study. Neither decision constitutes a recommendation to adopt the controller. [1]
Key takeaways
- The cited study identifies DDPG-PID auto-tuning as its proposed approach for electromagnetically driven control valve systems. [1]
- The abstract establishes a DDPG-to-PID gain mapping for an electromagnetic valve, with reported servo stroke, positioning error and response time; the valve equations and full observation list still need the methods section. [1]
- A reproduction effort should extract documented model assumptions, tuning settings and operating scenarios rather than supply undocumented implementation choices. [1]
- Evaluation should distinguish published findings, independently reproduced observations and expectations that remain untested. [1]
- An investigation decision should depend on verified test conditions and evidence, not performance improvements inferred from the study title. [1]
Frequently asked questions
What does the paper propose?
A DDPG-based method that adjusts PID gains from measured states for electromagnetically driven control valves, implemented in a Simulink environment and in MCU software, and compared with traditional PID and fuzzy PID. [1]
What performance does the abstract report?
In servo mode, position control over a 0 to 20 mm valve-core stroke, a positioning error of 0.04 mm and a response time below 50 ms. In on/off mode, timed opening, holding and closing within a preset cycle. Confirm the test conditions in the full paper before copying those numbers. [1]
Can those results be treated as a general valve-control improvement?
No. They are the authors' reported results for their system and comparison setup. The abstract does not by itself establish robustness across other valves, disturbances or hardware.
What should an engineer obtain before reconstructing the method?
The valve model equations, the observation and reward definitions, gain limits, training setup, and the exact simulation and MCU test conditions from the full paper, not from this summary.
Sources
- Li, W., Li, S., Yin, B., Zhang, J., Zhu, J., Lei, Z. An Intelligent Control Strategy for Electromagnetically Driven Control Valve Systems Based on DDPG-PID Auto-Tuning. Sensors 2026, 26(21), 6982, 4 Nov 2026 (abstract read 10 Nov 2026).
If you have a model or IO data for one of your own loops, LabCD's guided workflow lets you tune and test a controller on your first model for free, with a qualified engineer approving every controller.
Want to try this on your own plant model?
Try LabCD free with your first model