Reinforcement Learning PID Tuning for Changing Control Conditions

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

PID controllers require frequent tuning of coefficients to adapt to changing conditions, which is inefficient and resource-intensive, especially in systems with limited computational resources.

Innovation Solution

A reinforcement learning algorithm is used to automatically tune PID coefficients, combining an outer loop of reinforcement learning to adapt to environmental changes with an inner loop of PID control for rapid error correction, where the reinforcement learning model receives summary statistics and sensed information to calculate observations and update coefficients using a reward function.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If reinforcement learning is used to adapt PID coefficients, then adaptability is improved, but computational cost increases

Engineering Contradiction:
ImproveadaptabilityVSAvoidcomputational cost
Core Design Contradiction:
Adaptability or versatilityVSUse of energy by moving object

Solution Approach 1:

The system segments the control architecture into two distinct loops: an inner PID control loop that operates at high frequency for rapid error correction, and an outer reinforcement learning loop that operates at lower frequency to adapt coefficients. This segmentation allows each component to operate at its optimal frequency, reducing overall computational burden while maintaining adaptability.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system dynamically adjusts the operational frequency of different control components based on their functional requirements. The PID controller runs continuously at high frequency for immediate response, while the reinforcement learning model updates coefficients at lower frequency when environmental changes are detected, creating a dynamic computational load that adapts to system needs.

Inventive Principle:
Principle #15Dynamics

2Adaptability or versatility

If PID coefficients are tuned frequently to adapt to changing conditions, then adaptability is improved, but productivity decreases

Engineering Contradiction:
ImproveadaptabilityVSAvoidproductivity
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

The control system is divided into two functional segments: fast PID control for immediate error correction and slow reinforcement learning for coefficient adaptation. This segmentation eliminates the need for frequent full-system retuning, maintaining productivity while achieving adaptability through the outer learning loop.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The reinforcement learning loop operates periodically at lower frequency to update PID coefficients based on accumulated experience and environmental changes, rather than continuously tuning all parameters. This periodic action maintains adaptability while minimizing disruption to ongoing control operations and productivity.

Inventive Principle:
Principle #19Periodic action

Data Source

PatentUS12153385B2Methods and systems to adapt PID coefficients through reinforcement learning
Publication Date: 2024.11.26 SONY GROUP CORP
  • US12153385B2 patent drawing
  • US12153385B2 patent drawing
  • US12153385B2 patent drawing

AI summary

Systems and methods are used to adapt the coefficients of a proportional-integral-derivative (PID) controller through reinforcement learning. The approach for adapting PID coefficients can include an outer loop of reinforcement learning where the PID coefficients are tuned to changes in the environment and an inner loop of PID control for quickly reacting to changing errors. The outer loop can learn and adapt as the environment changes and be configured to only run at a predetermined frequency, after a given number of steps. The outer loop can use summary statistics about the error terms and any other information sensed about the environment to calculate an observation. This observation can be used to evaluate the next action, for example, by feeding it into a neural network representing the policy. The resulting action is the coefficients of the PID controller and the tunable parameters of things such as the filters.