Files
RBF-aPID-Controller/README.md
T
2024-10-07 23:50:52 -07:00

26 lines
1.0 KiB
Markdown

# RBF-aPID-Controller
RBF Neural Net Adaptive PID Controller
Implementations of a radial basis function (RBF) neural network adaptive PID controller. Uses
neural net and error information from PID control to adapt the control signal. Provides one
adaptation value, using error, integral, and derivative.
To adapt the PID gains themselves, network outputs must be made to 3 neurons. Example usage
with simulated data can be found in [first_order_sim.py](first_order_sim.py)
The method has been implemented in three ways:
1. [TF_Implementation](/TF_Implementation/): Using TensorFlow to build and train the RBF Model.
![TensorFlow](images/tf_impl.png "TensorFlow")
![TF_Trained](images/trained.png "TF_Trained")
2. [NP_Implementation](/NP_Implementation/): Using Numpy to build and train the RBF Model.
![Numpy](images/nump_impl.png "Numpy")
3. [CPP_Implementation](/CPP_Implementation/): Written in C++ (requiring `cmath`), for use on embedded systems.
To build executable: `g++ RBF_aPID.cpp -o RBF_aPID.exe`\
To run: `./RBF_aPID.exe`