PID
The PID Controller Simulator is a web-based project I've built to demonstrate my understanding of control systems, physics, and full-stack web development. I wanted to create a tool that not only works but also serves as an intuitive educational resource.
​
Through this project, I've applied my knowledge of physics to create a realistic simulation of a balancing robot. I modeled the robot as an inverted pendulum, using principles of classical mechanics to simulate its behavior under different conditions. The core of the project, however, is the PID (Proportional-Integral-Derivative) control algorithm I wrote in JavaScript. This algorithm continuously calculates the error and applies corrections to keep the robot upright, showcasing my ability to implement complex mathematical concepts in a practical application.
​
In terms of programming, the simulator is a full-stack project built with front-end technologies. I developed the user interface using HTML and CSS, and all the logic, from the real-time physics simulation to the PID control and data visualization, is powered by JavaScript. The project allows users to interactively adjust the P, I, and D values with sliders, instantly seeing the effects on the robot's stability. Features like real-time graphing and disturbance testing further highlight my ability to create a robust and user-friendly application. This project not only demonstrates my technical skills but also my passion for creating tools that bridge the gap between abstract theory and real-world application.
​
Simulator Code
