Skip to content

shielded97/DCmotor_MachineLearning_Control

Repository files navigation

DC-Motor_Controller - University Project

#Simple DC electric motor with a speed controller. The aim of this code is to compare various modes of Machine Learning Control with classic PID control. Speed controller has the option of using a PID, Dense NN, LSTM, and a DQN controller. The main code is in Main.py. It requires trained .h5 files from the three _Controller.py files, and the DCmotor.py file to run. Run the PID control section to generate training data for the ML training sections. The DQN training interacts directly with the motor model DCmotor.py

The DQN implimention shows significant improvements in system response over the PID controller.

About

DC Electric Motor Speed Control Simulator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages