In this paper, a new control algorithm was developed for a body weight support system (BWS). BWSs are used for rehabilitation purposes and to help patients regain the ability of walking after conditions like stroke or other neurological disorders. For designing the controller, different approaches, model predictive control; classical PID control and LQR control, have been used and the results are compared.