Skip to main content
QUICK REVIEW

[Paper Review] Q-learning for Optimal Control of Continuous-time Systems

Biao Luo, Derong Liu|arXiv (Cornell University)|Oct 11, 2014
Adaptive Dynamic Programming ControlComputer Science42 references7 citations
TL;DR

This paper proposes two model-free Q-learning algorithms—policy iteration-based QL (PIQL) and value iteration-based QL (VIQL)—for optimal control of general nonlinear continuous-time systems using real system data. By introducing a continuous-time Q-function and applying the method of weighted residuals for parameter updates, both algorithms converge to the optimal control policy offline, with simulation results confirming convergence and effectiveness on nonlinear and linear systems.

ABSTRACT

In this paper, two Q-learning (QL) methods are proposed and their convergence theories are established for addressing the model-free optimal control problem of general nonlinear continuous-time systems. By introducing the Q-function for continuous-time systems, policy iteration based QL (PIQL) and value iteration based QL (VIQL) algorithms are proposed for learning the optimal control policy from real system data rather than using mathematical system model. It is proved that both PIQL and VIQL methods generate a nonincreasing Q-function sequence, which converges to the optimal Q-function. For implementation of the QL algorithms, the method of weighted residuals is applied to derived the parameters update rule. The developed PIQL and VIQL algorithms are essentially off-policy reinforcement learning approachs, where the system data can be collected arbitrary and thus the exploration ability is increased. With the data collected from the real system, the QL methods learn the optimal control policy offline, and then the convergent control policy will be employed to real system. The effectiveness of the developed QL algorithms are verified through computer simulation.

Motivation & Objective

  • To address the model-free optimal control problem for general nonlinear continuous-time systems where accurate system models are unavailable.
  • To extend Q-learning from discrete-time Markov decision processes to continuous-time nonlinear systems using a novel Q-function formulation.
  • To develop off-policy reinforcement learning algorithms that learn optimal control policies from arbitrary system data without requiring the system's mathematical model.
  • To establish convergence theories for both PIQL and VIQL methods in the context of continuous-time optimal control.
  • To validate the proposed algorithms through simulations on a nonlinear system and a linear F-16 aircraft model.

Proposed method

  • Introduces a continuous-time Q-function for optimal control, enabling Q-learning to be applied to continuous-time systems.
  • Develops policy iteration-based QL (PIQL) and value iteration-based QL (VIQL) algorithms that generate a nonincreasing sequence of Q-functions converging to the optimal one.
  • Applies the method of weighted residuals (MWR) to derive parameter update rules for approximating the Q-function using basis functions.
  • Uses a parametric approximation of the Q-function with a vector of basis functions, such as monomials of state variables, to represent the control policy.
  • Employs off-policy learning, allowing system data to be collected arbitrarily, enhancing exploration and enabling offline policy learning.
  • Simplifies both algorithms for linear quadratic regulator (LQR) problems by deriving closed-form update rules under linear parametrization.

Experimental results

Research questions

  • RQ1Can Q-learning be effectively extended to continuous-time nonlinear systems without requiring a known system model?
  • RQ2Do PIQL and VIQL algorithms converge to the optimal control policy when trained on real system data?
  • RQ3How can the method of weighted residuals be used to derive stable and convergent parameter update rules for Q-function approximation in continuous-time systems?
  • RQ4What is the performance difference between PIQL and VIQL in terms of convergence speed and accuracy for nonlinear optimal control problems?
  • RQ5Can the proposed QL methods be successfully applied to both nonlinear and linear continuous-time systems, including real-world aircraft models?

Key findings

  • The PIQL algorithm converges to the optimal control policy in 7 iterations for the nonlinear system example, with the control gain $ K^{(7)} = [0.0067~{}~{}-0.0009~{}~{}-0.0112~{}~{}-0.9860~{}~{}-0.0076] $, closely approximating the ideal optimal gain $ K = [0~{}~{}0~{}~{}0~{}~{}-1~{}~{}0] $.
  • The VIQL algorithm converges after 390 iterations, achieving a control gain $ K^{(390)} = [0.0055~{}~{}0.0016~{}~{}-0.0130~{}~{}-0.9813~{}~{}-0.0117] $, which is close to the optimal value.
  • Both algorithms achieve a closed-loop cost of 0.0150 on the nonlinear system, demonstrating effective performance with minimal cost.
  • The closed-loop trajectories of state and control signals under both PIQL and VIQL are nearly identical and stable, confirming robustness and convergence.
  • For the LQR problem, the simplified PIQL and VIQL algorithms achieve exact convergence to the analytical solution, validating the theoretical framework.
  • The simulation results confirm that both PIQL and VIQL are effective off-policy learning methods that can learn optimal control policies from real system data without requiring the system model.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.