This paper compares fuzzy logic controllers to conventional PID controllers in balancing an inverted pendulum robot. It details the design and implementation of a Takagi-Sugeno fuzzy model, demonstrating its superiority in performance metrics such as overshoot and settling time during simulations. The study concludes that fuzzy logic control is more effective for complex, nonlinear systems like the inverted pendulum compared to traditional methods.