An embodiment of the invention provides a cleaning robot including a light detector and a controller. The light detector detects a light beam. The controller is coupled to the light detector to control the cleaning robot. When the controller determines that the light beam is being output by a charging station, the controller controls the cleaning robot to move to the charging station along a first boundary of the light beam, which is substantially perpendicular to the charging station.