In this paper, two-wheeled self-balancing robot problem is introduced, and a quasi-time-optimal approach is applied to synthesize the control law. The result is compared with that of other methods. The process for designing and building the testting model, implementing the synthesized control law is also described