Charging method, device and storage medium for cleaning robot
First Claim
1. A charging method for a cleaning robot, comprising:
- obtaining position information of a plurality of charging ports available for the cleaning robot;
determining that the cleaning robot needs to be charged;
obtaining current position information of the cleaning robot;
determining a closest charging port from the plurality of charging ports which is the closest to a current position of the cleaning robot according to the position information of the plurality of charging ports and the current position information of the cleaning robot; and
controlling the cleaning robot to move to the closest charging port to charge according to the position information of the closest charging port;
wherein determining that the cleaning robot needs to be charged comprises;
determining that the cleaning robot needs to be charged when a remaining electric quantity of the cleaning robot is less than a preset value, wherein the preset value is set as an electric quantity which covers highest power consumption for the cleaning robot to move from the closest charging port to a farthest position when the cleaning robot performs a cleaning operation at the same time.
1 Assignment
0 Petitions
Accused Products
Abstract
The present disclosure relates to a charging method and a charging apparatus of a cleaning robot. With the method, position information of a plurality of charging ports available for the cleaning robot is obtained; when it is determined that the cleaning robot needs to be charged, current position information of the cleaning robot is obtained; a closest charging port from the plurality of charging ports which is the closest to a current position of the cleaning robot is determined according to the position information of the plurality of charging ports and the current position information of the cleaning robot; and the cleaning robot is controlled to move to the closest charging port according to the position information of the closest charging port. With the technical solution, the cleaning robot may be charged nearby, thereby reducing power consumption of the cleaning robot.
5 Citations
15 Claims
-
1. A charging method for a cleaning robot, comprising:
-
obtaining position information of a plurality of charging ports available for the cleaning robot; determining that the cleaning robot needs to be charged; obtaining current position information of the cleaning robot; determining a closest charging port from the plurality of charging ports which is the closest to a current position of the cleaning robot according to the position information of the plurality of charging ports and the current position information of the cleaning robot; and controlling the cleaning robot to move to the closest charging port to charge according to the position information of the closest charging port; wherein determining that the cleaning robot needs to be charged comprises; determining that the cleaning robot needs to be charged when a remaining electric quantity of the cleaning robot is less than a preset value, wherein the preset value is set as an electric quantity which covers highest power consumption for the cleaning robot to move from the closest charging port to a farthest position when the cleaning robot performs a cleaning operation at the same time. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A charging device for a cleaning robot, comprising:
-
a processor; a memory for storing instructions executable by the processor; wherein, the processor is configured to perform the acts of; obtaining position information of a plurality of charging ports available for the cleaning robot; determining that the cleaning robot needs to be charged; obtaining current position information of the cleaning robot; determining a closest charging port from the plurality of charging ports which is the closest to a current position of the cleaning robot according to the position information of the plurality of charging ports and the current position information of the cleaning robot; and controlling the cleaning robot to move to the closest charging port to charge according to the position information of the closest charging port; wherein determining that the cleaning robot needs to be charged comprises; determining that the cleaning robot needs to be charged when a remaining electric quantity of the cleaning robot is less than a preset value, wherein the preset value is set as an electric quantity which covers highest power consumption for the cleaning robot to move from the closest charging port to a farthest position when the cleaning robot performs a cleaning operation at the same time. - View Dependent Claims (7, 8, 9, 10)
-
-
11. A non-transitory computer-readable storage medium, stored with computer programs that are applied to a cleaning robot and when executed by a processor, cause the processor to perform a method, which includes:
-
obtaining position information of a plurality of charging ports available for the cleaning robot; determining that the cleaning robot needs to be charged; obtaining current position information of the cleaning robot; determining a closest charging port from the plurality of charging ports which is the closest to a current position of the cleaning robot according to the position information of the plurality of charging ports and the current position information of the cleaning robot; and controlling the cleaning robot to move to the closest charging port to charge according to the position information of the closest charging port; wherein determining that the cleaning robot needs to be charged comprises; determining that the cleaning robot needs to be charged when a remaining electric quantity of the cleaning robot is less than a preset value, wherein the preset value is set as an electric quantity which covers highest power consumption for the cleaning robot to move from the closest charging port to a farthest position when the cleaning robot performs a cleaning operation at the same time. - View Dependent Claims (12, 13, 14, 15)
-
Specification