Skip to content

ssarka4894/rl_pid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reinforcement Learning Proportional Integral Derivative Controller

This repository contains:

  • Two setups (python code with pure Numpy Implementation, python code with Pytorch Implementation)
  • Obtained control, weights, TD error and Value Function showcased
  • Simulated implementation exemplified

for the following paper by Guan and Yamamoto.

@article{Guan2020DesignOA,
  title={Design of a Reinforcement Learning PID controller},
  author={Zhe Guan and Toru Yamamoto},
  journal={2020 International Joint Conference on Neural Networks (IJCNN)},
  year={2020},
  pages={1-6},
  url={https://api.semanticscholar.org/CorpusID:221666056}
}

Adaptive Neural PID Controller

  • Run Code: For pure numpy implementation, use the file `rl_pid_setup1.py' and run.
  • Run Code: For pytorch implementation, use 'rl_pid_setup2.py' and run.
  • Visualize the results below

Numpy Implementation

step step

step step

Pytorch Implementation

step step

step step

About

Case Study: Investigating reference command following using neural network pid controllers

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages