A method of controlling a motorized wheelchair according to an embodiment, the motorized wheelchair including a seat frame provided with a seat for seating of a user, a back frame provided with a backrest for supporting the user's back and detachably connected to the seat frame, and main wheels connected to a lower end of the back frame, may include inputting a reverse command to an input unit, outputting an image photographed by a rear camera installed in the back frame to an output unit, detecting, by a rear height difference sensor installed in bottom of the back frame, a height difference in the ground, determining whether the height difference detected by the rear height difference sensor is larger than or equal to a preset reference height difference, performing an emergency braking defined as activating a brake of the main wheels when the detected height difference is larger than or equal to the reference height difference, and outputting a warning about the detected height difference to the output unit.