Method, device, apparatus and computer-readable medium for controlling robot charging

By setting up multiple charging piles in the charging pile area and realizing the robot's identification and movement of idle charging piles, the problem of waste of robot charging pile resources is solved, the charging efficiency is improved, and the use of multiple robots sharing charging piles is realized.

CN112256024BActive Publication Date: 2024-10-18BEIJING JINGDONG QIANSHITECHNOLOGY CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202011045596.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-27
Publication Date
2024-10-18
Estimated Expiration
2040-09-27

AI Technical Summary

Technical Problem

In the existing technology, the robot charging pile has a short working time, causing the robot to be idle for a long time during the working cycle, resulting in a waste of resources.

Method used

By setting up multiple charging piles in the charging pile area, the robot can identify and move to the idle charging pile for charging, allowing multiple robots to share the charging pile, avoiding one-to-one correspondence and improving charging efficiency.

Benefits of technology

This effectively avoids resource waste, improves charging efficiency, and ensures that the charging pile can provide services for multiple robots when idle.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112256024B_ABST
    Figure CN112256024B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, device, equipment and computer-readable medium for controlling robot charging, and relates to the field of computer technology. A specific implementation of the method includes: in response to a charging instruction or detecting that a charging condition is met, controlling the robot to move from the current position to a charging pile area, wherein the charging pile area includes multiple charging piles; identifying an idle charging pile from the multiple charging piles as a target charging pile, and controlling the robot to move to the target charging pile; controlling the robot to dock with the target charging pile to achieve charging; if it is detected that the remaining power of the robot is greater than a power threshold, controlling the robot to leave the charging pile. In this implementation, the charging pile can charge multiple control robots, and multiple robots share the charging pile to avoid waste of resources.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a method for controlling robot charging, a robot, a device and a computer-readable medium. Background Art

[0002] Robots are usually equipped with charging piles. When controlling the robot to charge, the robot first moves to the vicinity of the charging pile, then docks with the charging pile and starts charging.

[0003] Currently, there is a one-to-one relationship between robots and charging piles. Each robot looks for its own charging pile to dock and charge. When multiple robots are configured, multiple charging piles need to be configured at the same time for charging.

[0004] In the process of realizing the present invention, the inventors found that there are at least the following problems in the prior art: since the charging pile has a short working time, the robot is idle for a long time during its working cycle, resulting in a waste of resources. Summary of the invention

[0005] In view of this, an embodiment of the present invention provides a method, device, equipment and computer-readable medium for controlling robot charging. A charging pile can charge multiple control robots, and multiple robots share the charging pile to avoid waste of resources.

[0006] To achieve the above object, according to one aspect of an embodiment of the present invention, a method for controlling charging of a robot is provided, comprising:

[0007] In response to a charging instruction or detecting that a charging condition is met, controlling the robot to move from a current position to a charging pile area, wherein the charging pile area includes a plurality of charging piles;

[0008] Identify an idle charging pile from the multiple charging piles as a target charging pile, and control the robot to move to the target charging pile;

[0009] Controlling the robot to dock with the target charging pile to realize charging;

[0010] If it is detected that the remaining power of the robot is greater than a power threshold, the robot is controlled to leave the charging pile.

[0011] The controlling the robot to move from the current position to the charging pile area includes:

[0012] Locating multiple charging pile areas, and selecting a charging pile area closest to the current position from the multiple charging pile areas;

[0013] The robot is controlled to move to the charging pile area closest to the current position.

[0014] The moving from the current position to the charging pile area includes:

[0015] Move from the current position to a preset detection point in the charging pile area, where the preset detection point is a position in the charging pile area where the difference in distance to each charging pile is the smallest.

[0016] The charging piles in the charging pile area are arranged in a straight line, and the detection point is located on the perpendicular bisector of the charging pile connection line;

[0017] or,

[0018] The charging piles in the charging pile area are arranged in an arc shape, and the detection point is located at the center of the arc.

[0019] The step of identifying an idle charging pile from the plurality of charging piles as a target charging pile includes:

[0020] From the plurality of charging piles, identifying the external structural contours of the charging piles in a preset order;

[0021] If the external structural profile of the charging pile is the same as the external structural profile of a preset charging pile, the charging pile is identified as a target charging pile.

[0022] The external structural profile of the charging pile is a V-shaped structure or a trapezoidal structure.

[0023] If it is detected that the remaining power of the robot is greater than a power threshold, controlling the robot to leave the charging pile includes:

[0024] If it is detected that the remaining power of the robot is greater than a power threshold, the robot is controlled to move outside the area where the charging pile is located.

[0025] According to a second aspect of an embodiment of the present invention, there is provided 8. a device for controlling a robot, comprising a trigger module, an identification module, a charging control module, a power detection module and a robot motion control module:

[0026] A trigger module, configured to respond to a charging instruction or detect that a charging condition is met, and send an instruction to the robot motion control module to control the robot to move from a current position to a charging pile area; wherein the charging pile area includes a plurality of charging piles;

[0027] an identification module, configured to identify an idle charging pile from the plurality of charging piles as a target charging pile, and send an instruction to the robot motion control module to control the robot to move to the target charging pile;

[0028] A charging control module, used for sending instructions to the robot motion control module to control the robot to dock with the target charging pile, and then controlling the robot to charge;

[0029] The power detection module is used to detect that the remaining power of the robot is greater than a power threshold, and send an instruction to the robot motion control module to control the robot to leave the target charging pile.

[0030] According to a third aspect of an embodiment of the present invention, there is provided an electronic device for controlling charging of a robot, comprising:

[0031] one or more processors;

[0032] a storage device for storing one or more programs,

[0033] When the one or more programs are executed by the one or more processors, the one or more processors implement the above method.

[0034] According to a fourth aspect of an embodiment of the present invention, there is provided a computer-readable medium on which a computer program is stored, and when the program is executed by a processor, the method as described above is implemented.

[0035] An embodiment of the above invention has the following advantages or beneficial effects: in response to a charging instruction or detecting that a charging condition is met, the robot is controlled to move from the current position to a charging pile area, which includes multiple charging piles; an idle charging pile is identified from multiple charging piles as a target charging pile, and the robot is controlled to move to the target charging pile; the robot is controlled to dock with the target charging pile to realize charging; if it is detected that the remaining power of the robot is greater than the power threshold, the robot is controlled to leave the target charging pile. Since the relationship between the robot and the charging pile is no longer one-to-one, any controlled robot can be charged as long as the charging pile is idle. Multiple robots share charging piles to avoid waste of resources.

[0036] The further effects of the above-mentioned non-conventional optional manner will be described below in conjunction with the specific implementation manner. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] The accompanying drawings are used to better understand the present invention and do not constitute an improper limitation of the present invention.

[0038] Figure 1 is a schematic diagram of the main process of the method for controlling robot charging according to an embodiment of the present invention;

[0039] Figure 2 is a schematic diagram of a process of moving from a current position to a charging pile area according to an embodiment of the present invention;

[0040] Figure 3 is a schematic diagram of detection points within a charging area according to an embodiment of the present invention;

[0041] Figure 4 is another schematic diagram of detection points within a charging area according to an embodiment of the present invention;

[0042] Figure 5 is a schematic diagram of a process of identifying an idle charging pile according to an embodiment of the present invention;

[0043] Figure 6 is a schematic diagram of the external structural outline of a charging pile according to an embodiment of the present invention;

[0044] Figure 7 is a schematic diagram of another external structural outline of a charging pile according to an embodiment of the present invention;

[0045] Figure 8 is a schematic diagram of an application scenario of a method for controlling robot charging according to an embodiment of the present invention;

[0046] Fig. 9 is a schematic diagram of the main structure of a device for controlling robot charging according to an embodiment of the present invention;

[0047] Fig.10 is an exemplary system architecture diagram to which embodiments of the present invention may be applied;

[0048] Fig.11 It is a schematic diagram of the structure of a computer system of a terminal device or a server suitable for implementing an embodiment of the present invention. DETAILED DESCRIPTION

[0049] The following is a description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, including various details of the embodiments of the present invention to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for clarity and conciseness, the description of well-known functions and structures is omitted in the following description.

[0050] There is a one-to-one correspondence between robots and charging piles, and one charging pile can only charge one corresponding control robot. However, the charging pile is idle most of the time, which results in a waste of resources.

[0051] In order to solve the technical problem of resource waste caused by charging piles being idle most of the time, the following technical solution in the embodiment of the present invention can be adopted.

[0052] See also Figure 1 , Figure 1Schematic diagram of the main process of the method for controlling robot charging according to an embodiment of the present invention, the robot identifies the target charging pile in the charging area, and then the robot can charge at the target charging pile. Figure 1 As shown, the specific steps include:

[0053] S101. In response to a charging instruction or detecting that a charging condition is met, control the robot to move from a current position to a charging pile area, where the charging pile area includes a plurality of charging piles.

[0054] In an embodiment of the present invention, the robot can move within a certain range. The robot can be understood as a charging device. As an example, the robot can move in a warehouse. The warehouse includes not only a plurality of robots, but also one or more charging pile areas. In each charging pile area, one or more charging piles are provided. Each charging pile can charge any robot.

[0055] In an embodiment of the present invention, in response to a charging instruction or detecting that a charging condition is met, the robot can be controlled to move from a current position to a charging pile area.

[0056] The current position is the current position of the robot. A positioning device can be set to obtain the current position through the positioning device. In this way, the robot is controlled to move from the current position to the charging pile area.

[0057] See also Figure 2 , Figure 2 The flowchart of moving from the current position to the charging pile area according to an embodiment of the present invention specifically includes the following steps:

[0058] S201. Locate multiple charging pile areas, and select a charging pile area closest to the current location from the multiple charging pile areas.

[0059] In the embodiment of the present invention, it is possible to determine whether the robot needs to be charged, and if it is determined that the robot needs to be charged, the charging pile area can be located.

[0060] Specifically, when receiving a charging instruction, the robot is controlled to move from the current position to the charging pile area. As an example, the charging instruction may be an external control instruction.

[0061] In addition, when it is detected that the charging conditions are met, the control robot can be moved from the current position to the charging pile area. As an example, the charging conditions include that the remaining power is less than the charging threshold or the charging cycle has expired. Among them, the charging threshold can be pre-set, such as: the charging threshold is 10% of the robot's battery capacity. The charging cycle can also be pre-set, such as: the charging cycle is 24 hours, that is, regardless of the remaining power of the robot, the control robot is charged once every 24 hours. That is to say, when the charging conditions include that the remaining power is less than the charging threshold, it is determined whether the charging conditions are met by monitoring the remaining power. When the charging conditions include the charging cycle, it is determined whether the charging conditions are met by the charging cycle.

[0062] As an example, the location of the charging pile area within the robot's activity range is pre-stored. For example, a warehouse map is stored in the hard disk, and the location of the charging pile area is marked in the warehouse map.

[0063] In response to a charging instruction or detecting that a charging condition is met, multiple charging pile areas can be located according to the stored map. The purpose of locating the charging pile area is to determine the charging pile within the charging pile area.

[0064] As an example, the charging instruction may be an instruction sent by the control center. For example, if the control center learns that there are a large number of idle charging piles and the robot is currently in an idle state, the charging instruction may be sent.

[0065] As another example, based on the historical charging records of the robot, the charging time interval is known. Then, before the time determined by the charging time interval, the charging instruction can be automatically triggered, thereby realizing autonomous control of charging.

[0066] S202: Control the robot to move to the charging pile area closest to the current position.

[0067] After locating multiple charging pile areas, the distance between the current position and the location of the charging pile area needs to be determined first. Then, the charging pile area closest to the current position is selected from the multiple charging pile areas. Finally, the robot is controlled to move from the current position to the charging pile area with the closest distance according to the stored map.

[0068] See also Figure 3 and Figure 4 , Figure 3 and Figure 4 is a schematic diagram of a charging area according to an embodiment of the present invention, Figure 3 There are 6 charging stations in the Figure 4 There are 6 charging stations in the robot. Figure 3 or Figure 4 Charging station area.

[0069] The charging pile area can be divided according to the number of robots and the robot's working range. As an example, within the robot's working range, the ratio of the number of robots to charging piles can be 1:3. The charging pile area can be set near the robot's activity route to facilitate the control of robot charging.

[0070] In an embodiment of the present invention, the nearest charging pile area can be determined based on the current position of the robot. Specifically, a plurality of charging pile areas are recorded in the map, and the nearest charging pile area can be determined according to the current position of the robot, and a route from the current position to the nearest charging pile area can be planned. Figure 2 In an embodiment, in response to a charging instruction or detecting that a charging condition is met, the robot is controlled to move to a charging pile area at the nearest distance to be charged as soon as possible.

[0071] In one embodiment of the present invention, the charging pile area includes one or more charging piles. In the case where the charging pile area includes multiple charging piles, one charging pile needs to be selected from the multiple charging piles.

[0072] In order to select a charging pile from multiple charging piles, the robot is controlled to move from the current position to the detection point in the charging pile area. For example, after the robot moves to the detection point in the charging pile area, the robot's posture can be adjusted to the charging posture. For example, the charging socket is adjusted to face the charging pile for charging.

[0073] The detection point is the location in the charging pile area where the difference in distance to each charging pile is the smallest. It can be understood that the distance between the detection point and each charging pile is not much different, and identification at the detection point can improve the accuracy of identifying idle charging piles.

[0074] See also Figure 3 , Figure 3 is a schematic diagram of detection points within a charging area according to an embodiment of the present invention. Figure 3 There are 6 charging piles, namely charging pile A, charging pile B, charging pile C, charging pile D, charging pile E and charging pile F. The above six charging piles are arranged in a straight line. Each charging pile faces the detection point.

[0075] Considering the need to identify whether each charging pile in the charging area is idle, the difference in distance between the detection point and each charging pile needs to be reduced as much as possible. For the case where the charging piles are arranged in a straight line, the detection point is located on the perpendicular bisector of the charging pile line.

[0076] See also Figure 4 , Figure 4 is another schematic diagram of detection points within a charging area according to an embodiment of the present invention. Figure 4There are 6 charging piles in the system, namely, charging pile A, charging pile B, charging pile C, charging pile D, charging pile E and charging pile F. The above six charging piles are arranged in an arc shape. Each charging pile faces the detection point. In the case where the charging piles are arranged in an arc shape, the detection point is located at the center of the arc. In this way, the distance between the detection point and each charging pile is the same, that is, the difference between the distance between the detection point and each charging pile is zero.

[0077] S102: Identify an idle charging pile from multiple charging piles as a target charging pile, and control the robot to move to the target charging pile.

[0078] After controlling the robot to move to the charging pile area, since the charging pile area includes one or more charging piles, some charging piles have been occupied by other robots, and some charging piles are idle charging piles, it is necessary to identify the idle charging piles and use the idle charging piles as target charging piles to charge the robot at the target charging piles.

[0079] See also Figure 5 , Figure 5 1 is a schematic diagram of a process for identifying an idle charging pile according to an embodiment of the present invention, which specifically includes the following steps:

[0080] S501: Identify the external structural contours of a charging pile from a plurality of charging piles in a preset order.

[0081] The charging pile area includes one or more charging piles. In order to improve the efficiency of using the charging piles, the external structural contours of the charging piles can be identified in a preset order. As an example, the identification can be performed in the order from left to right in the charging pile area, and when an idle charging pile is identified, the identification stops.

[0082] In this way, the order of identifying charging piles is consistent, and idle charging piles are identified for charging in the above order.

[0083] In addition, the structural contour of the charging pile can be identified by collecting an image of the charging pile or using the laser radar point cloud data. For example, based on the image of the charging pile or the point cloud data of the charging pile, the structural contour of the charging pile is identified in combination with pattern recognition matching or a neural network model.

[0084] S502: If the external structural profile of the charging pile is the same as the external structural profile of the preset charging pile, the charging pile is identified as a target charging pile.

[0085] The external structural contour of the charging pile is detected based on the laser radar technology. When it is detected that the external structural contour of the charging pile is the same as the external structural contour of the preset charging pile, the charging pile is identified as a target charging pile.

[0086] See also Figure 6 , Figure 6Schematic diagram of the external structural profile of a charging pile according to an embodiment of the present invention. In one embodiment of the present invention, the external structural profile of the charging pile is a V-shaped structure.

[0087] Figure 6 The external structural outline of the charging pile is a V-shaped structure, which is conducive to detecting the external structural outline of the charging pile as a V-shaped structure based on the laser radar technology, and then identifying the charging pile as the target charging pile, and controlling the robot to charge at this charging pile.

[0088] See also Figure 7 , Figure 7 is a schematic diagram of another external structural profile of a charging pile according to an embodiment of the present invention. In one embodiment of the present invention, the external structural profile of the charging pile is a trapezoidal structure.

[0089] The external structure of the charging pile is a V-shaped structure, in which the inclined surface has high requirements for processing accuracy and installation accuracy. In addition, when detecting the external structure of the charging pile based on the laser radar technology, other objects also have a V-shaped structure, resulting in a high probability of detection interference, which affects the judgment of the charging pile. Therefore, the external structure of the charging pile can be set to a trapezoidal structure.

[0090] Figure 7 The external structural outline of the charging pile is a trapezoidal structure, which is conducive to detecting the external structural outline of the charging pile as a trapezoidal structure based on lidar technology, and then identifying the charging pile as a target charging pile and controlling the robot to charge at this charging pile.

[0091] exist Figure 5 In the embodiment, the idle charging pile can be actively identified through the external structural outline of the charging pile, so as to prepare for charging.

[0092] After an idle charging pile is identified in the charging pile area, if there is no need to identify other idle charging piles, the vehicle can directly move to the identified idle charging pile.

[0093] S103, controlling the robot to dock with the target charging pile to realize charging.

[0094] Control the robot to dock with the target charging pile to achieve charging. As an example, after the robot docks with the target charging pile, a docking signal can be sent to the target charging pile. The purpose is that after the target charging pile receives the docking information, it can power on the charging connector connected to the robot.

[0095] In the embodiment of the present invention, the robot and the target charging pile can be charged in a non-contact manner. That is, the outer surface of the robot is in contact with the outer structural contour of the target charging pile, which means that the robot is docked with the target charging pile.

[0096] The non-contact method may be any one of electromagnetic induction, magnetic resonance, and microwave. The non-contact charging does not require a cable to connect the robot to the charging pile, and the robot can be charged directly.

[0097] In an embodiment of the present invention, the robot and the target charging pile can also be charged by contact. It is understandable that the charging interface of the robot is directly connected to the interface of the target charging pile to achieve charging by contact.

[0098] In addition, considering that whether it is non-contact charging or contact charging, the robot's posture must be adjusted to a suitable position to effectively achieve non-contact charging or contact charging. During the charging docking process, in order to improve the charging efficiency, the robot's posture can be further adjusted. As an example, during the charging docking process, the robot's posture can be fine-tuned to reduce the distance from the target charging pile.

[0099] After identifying an idle charging pile in the charging pile area, if it is necessary to identify other idle charging piles, it can continue to determine whether the external structure contour of the next charging pile is the same as the external structure contour of the preset charging pile. Then the robot can identify multiple idle charging piles. One of the idle charging piles can be used as the target charging pile.

[0100] The robot is controlled to move to the target charging pile, and the robot and the target charging pile are charged by non-contact or contact method.

[0101] In an embodiment of the present invention, if the robot does not identify an idle charging pile in the charging pile area, it can wait for a preset time period before identifying it. Alternatively, if the robot does not identify an idle charging pile in the charging pile area, it can relocate the charging pile area based on the current position.

[0102] In one embodiment of the present invention, if the robot does not recognize an idle charging pile in the charging pile area, the robot can adjust its posture and recognize it again. For example, after the robot rotates 5 degrees to the left, it recognizes an idle charging pile again. If the idle charging pile is not recognized, it can rotate 5 degrees to the left again and recognize it again. If the robot still fails to recognize an idle charging pile after multiple posture adjustments, it can wait for a preset time period before recognizing it again.

[0103] S104: If it is detected that the remaining power of the robot is greater than the power threshold, the robot is controlled to leave the target charging pile.

[0104] The robot is charged at the target charging station by non-contact or contact method. When it is detected that the remaining power of the robot is greater than the power threshold, it means that the robot has completed charging. As an example, the remaining power of the robot can be known by measuring the voltage of the battery in the robot.

[0105] In order to vacate the charging pile in time and facilitate other robots to charge, the robot is controlled to leave the target charging pile to disconnect from the charging pile and complete charging. Before the robot leaves the target charging pile, a charging end signal can be sent to the target charging pile. After receiving the charging end information, the charging connector connected to the robot is powered off.

[0106] As an example, the power threshold is 95% of the robot's battery capacity. If the remaining power of the robot is greater than 95% of the robot's battery capacity, the robot is controlled to leave the target charging pile. The outer surface of the robot is not in contact with the outer structural contour of the target charging pile, which means that the robot is disconnected from the target charging pile and the robot has completed charging.

[0107] In the above embodiment, in response to a charging instruction or when the charging conditions are met, the robot is controlled to move from the current position to a charging pile area, which includes multiple charging piles; an idle charging pile is identified from the multiple charging piles as a target charging pile, and the robot is controlled to move to the target charging pile; the robot is controlled to dock with the target charging pile to realize charging; if it is detected that the remaining power of the robot is greater than the power threshold, the robot is controlled to leave the target charging pile. Since the relationship between robots and charging piles is no longer one-to-one, any controlled robot can be charged as long as the charging pile is idle. Multiple robots share charging piles to avoid waste of resources.

[0108] See also Figure 8 , Figure 8 2 is a schematic diagram of an application scenario of a method for controlling robot charging according to an embodiment of the present invention. Figure 8 The robot has moved from its current location to the charging station area.

[0109] exist Figure 8 The charging pile area includes three charging piles arranged in a straight line. When robot 2 goes to the charging pile area to charge, it first moves to the detection point of the charging pile area, that is, Figure 8 The location of robot 2.

[0110] At the detection point, the control robot 2 detects all the charging piles in the charging pile area, namely, charging pile A, charging pile B, and charging pile C. Among them, the external structural contours of charging pile A, charging pile B, and charging pile C are all V-shaped structures.

[0111] The control robot 2 detects an idle charging pile according to the external structural contour of the charging pile. Through the detection, it is known that charging piles B and C are idle. One of the charging piles B and C can be selected as the target charging pile, and the control robot 2 docks with the target charging pile to realize charging. As an example, one of the charging piles B and C can be randomly selected.

[0112] Since the working time of the charging pile is short, there is no need for the background server to schedule the allocation of each charging pile, no need to communicate with the charging pile to know whether the charging pile is idle, and no need for communication and coordination between robots to use the charging pile. Only through sensor equipment, by detecting unoccupied charging piles, multiple charging piles can be shared, with low economic cost.

[0113] See also Fig. 9 , Fig. 9 is a schematic diagram of the main structure of a device for controlling a robot according to an embodiment of the present invention. The device for controlling a robot can realize a device for controlling a robot, such as Fig. 9 As shown, the device for controlling the robot specifically includes a trigger module 901, an identification module 902, a charging control module 903, a power detection module 904 and a robot motion control module 905:

[0114] The trigger module 901 is used to respond to the charging instruction or detect that the charging condition is met, and send an instruction to the robot motion control module 905 to control the robot to move from the current position to the charging pile area; wherein the charging pile area includes a plurality of charging piles;

[0115] The identification module 902 is used to identify an idle charging pile from the multiple charging piles as a target charging pile, and send an instruction to the robot motion control module 905 to control the robot to move to the target charging pile;

[0116] The charging control module 903 is used to send instructions to the robot motion control module 905 to control the robot to dock with the target charging pile, and then control the robot to charge;

[0117] The power detection module 904 is used to detect that the remaining power of the robot is greater than the power threshold, and send an instruction to the robot motion control module 905 to control the robot to leave the target charging pile.

[0118] In one embodiment of the present invention, the trigger module 901 is specifically used to locate multiple charging pile areas, and filter out the charging pile area closest to the current position from the multiple charging pile areas;

[0119] Send instructions to the robot motion control module 905 to control the robot to move to the charging pile area closest to the current position.

[0120] In one embodiment of the present invention, the trigger module 901 is specifically used to send instructions to the robot motion control module 905 to control the robot to move from the current position to a preset detection point in the charging pile area, and the preset detection point is the position in the charging pile area where the difference in distance to each charging pile is the smallest.

[0121] In one embodiment of the present invention, the charging piles in the charging pile area are arranged in a straight line, and the detection point is located on the perpendicular bisector of the charging pile connection line;

[0122] or,

[0123] The charging piles in the charging pile area are arranged in an arc shape, and the detection point is located at the center of the arc.

[0124] In one embodiment of the present invention, the identification module 902 is specifically configured to identify the external structural contours of the charging piles from the plurality of charging piles in a preset order;

[0125] If the external structural profile of the charging pile is the same as the external structural profile of a preset charging pile, the charging pile is identified as a target charging pile.

[0126] In one embodiment of the present invention, the external structural profile of the charging pile is a V-shaped structure or a trapezoidal structure.

[0127] In one embodiment of the present invention, the power detection module 904 is specifically used to detect that the remaining power of the robot is greater than the power threshold, and send instructions to the robot motion control module 905 to control the robot to move outside the area where the target charging pile is located.

[0128] Fig.10 An exemplary system architecture 1000 is shown to which the method for controlling robot charging or the apparatus for controlling robot charging according to the embodiments of the present invention may be applied.

[0129] like Fig.10 As shown, the system architecture 1000 may include terminal devices 1001, 1002, 1003, a network 1004, and a server 1005. The network 1004 is used to provide a medium for communication links between the terminal devices 1001, 1002, 1003 and the server 1005. The network 1004 may include various connection types, such as wired, wireless communication links, or optical fiber cables, etc.

[0130] Users can use terminal devices 1001, 1002, 1003 to interact with server 1005 through network 1004 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 1001, 1002, 1003, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only as examples).

[0131] The terminal devices 1001 , 1002 , and 1003 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, and desktop computers, etc.

[0132] The server 1005 may be a server that provides various services, such as a backend management server (only an example) that provides support for shopping websites browsed by users using the terminal devices 1001, 1002, and 1003. The backend management server may analyze and process the received data such as product information query requests, and feed back the processing results (such as target push information, product information - only an example) to the terminal device.

[0133] It should be noted that the method for controlling the charging of the robot provided in the embodiment of the present invention is generally executed by the server 1005 .

[0134] It should be understood that Fig.10 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.

[0135] Reference below Fig.11 , which shows a schematic diagram of the structure of a computer system 1100 of a terminal device suitable for implementing an embodiment of the present invention. Fig.11 The terminal device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0136] like Fig.11 As shown, the computer system 1100 includes a central processing unit (CPU) 1101, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1102 or a program loaded from a storage part 1108 into a random access memory (RAM) 1103. In the RAM 1103, various programs and data required for the operation of the system 1100 are also stored. The CPU 1101, the ROM 1102, and the RAM 1103 are connected to each other via a bus 1104. An input / output (I / O) interface 1105 is also connected to the bus 1104.

[0137] The following components are connected to the I / O interface 1105: an input section 1106 including a keyboard, a mouse, etc.; an output section 1107 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 1108 including a hard disk, etc.; and a communication section 1109 including a network interface card such as a LAN card, a modem, etc. The communication section 1109 performs communication processing via a network such as the Internet. A drive 1110 is also connected to the I / O interface 1105 as needed. A removable medium 1111, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1110 as needed, so that a computer program read therefrom is installed into the storage section 1108 as needed.

[0138] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 1109, and / or installed from the removable medium 1111. When the computer program is executed by the central processing unit (CPU) 1101, the above-mentioned functions defined in the system of the present invention are executed.

[0139] It should be noted that the computer-readable medium shown in the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0140] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0141] The modules involved in the embodiments of the present invention may be implemented in software or hardware. The modules described may also be provided in a processor. For example, they may be described as follows: a processor includes a sending unit, an acquisition unit, a determination unit, and a first processing unit. The names of these units do not, in some cases, constitute limitations on the units themselves. For example, the sending unit may also be described as a "unit that sends a request for obtaining an image to a connected server."

[0142] As another aspect, the present invention further provides a computer-readable medium, which may be included in the device described in the above embodiment; or may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device includes:

[0143] In response to a charging instruction or detecting that a charging condition is met, controlling the robot to move from a current position to a charging pile area, wherein the charging pile area includes a plurality of charging piles;

[0144] Identify an idle charging pile from the multiple charging piles as a target charging pile, and control the robot to move to the target charging pile;

[0145] Controlling the robot to dock with the target charging pile to realize charging;

[0146] If it is detected that the remaining power of the robot is greater than the power threshold, the robot is controlled to leave the target charging pile.

[0147] According to the technical solution of the embodiment of the present invention, in response to a charging instruction or detecting that a charging condition is met, the robot is controlled to move from the current position to a charging pile area, which includes multiple charging piles; an idle charging pile is identified from multiple charging piles as a target charging pile, and the robot is controlled to move to the target charging pile; the robot is controlled to dock with the target charging pile to realize charging; if it is detected that the remaining power of the robot is greater than the power threshold, the robot is controlled to leave the target charging pile. Since the relationship between the robot and the charging pile is no longer one-to-one, any controlled robot can be charged as long as the charging pile is idle. Multiple robots share charging piles to avoid waste of resources.

[0148] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for controlling robot charging, characterized in that: include: In response to a charging instruction or detecting that a charging condition is met, controlling the robot to move from a current position to a charging pile area, wherein the charging pile area includes a plurality of charging piles; Identify an idle charging pile from the multiple charging piles as a target charging pile, and control the robot to move to the target charging pile; Controlling the robot to dock with the target charging pile to realize charging; If it is detected that the remaining power of the robot is greater than the power threshold, the robot is controlled to leave the target charging pile; The moving from the current position to the charging pile area includes: Move from the current position to a preset detection point in the charging pile area, where the preset detection point is the position in the charging pile area where the difference in distance to each charging pile is the smallest; The step of identifying an idle charging pile from the plurality of charging piles as a target charging pile includes: From the plurality of charging piles, identifying the external structural contours of the charging piles in a preset order; If the external structural profile of the charging pile is the same as the external structural profile of the preset charging pile, the charging pile is identified as a target charging pile; The external structural profile of the charging pile is a V-shaped structure or a trapezoidal structure.

2. The method for controlling robot charging according to claim 1, characterized in that: The controlling the robot to move from the current position to the charging pile area includes: Locating multiple charging pile areas, and selecting a charging pile area closest to the current position from the multiple charging pile areas; The robot is controlled to move to the charging pile area closest to the current position.

3. The method for controlling robot charging according to claim 1, characterized in that: The charging piles in the charging pile area are arranged in a straight line, and the detection point is located on the perpendicular bisector of the charging pile connection line; or, The charging piles in the charging pile area are arranged in an arc shape, and the detection point is located at the center of the arc.

4. The method for controlling robot charging according to claim 1, characterized in that: If it is detected that the remaining power of the robot is greater than a power threshold, controlling the robot to leave the target charging pile includes: If it is detected that the remaining power of the robot is greater than a power threshold, the robot is controlled to move outside the area where the target charging pile is located.

5. A device for controlling a robot, characterized in that: Including trigger module, identification module, charging control module, power detection module and robot motion control module: A trigger module, configured to respond to a charging instruction or detect that a charging condition is met, send an instruction to the robot motion control module to control the robot to move from a current position to a charging pile area; wherein the charging pile area includes a plurality of charging piles; and move from the current position to a preset detection point in the charging pile area, wherein the preset detection point is a position in the charging pile area where the difference in distance to each charging pile is the smallest; An identification module is used to identify an idle charging pile from the multiple charging piles as a target charging pile, and send instructions to the robot motion control module to control the robot to move to the target charging pile; a charging control module is used to send instructions to the robot motion control module to control the robot to dock with the target charging pile, and then control the robot to charge; from the multiple charging piles, the external structure contour of the charging pile is identified in a preset order; if the external structure contour of the charging pile is the same as the external structure contour of the preset charging pile, the charging pile is marked as the target charging pile; the external structure contour of the charging pile is a V-shaped structure, or a trapezoidal structure; The power detection module is used to detect that the remaining power of the robot is greater than a power threshold, and send an instruction to the robot motion control module to control the robot to leave the target charging pile.

6. An electronic device for controlling the charging of a robot, characterized in that: include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 4.

7. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 4 is implemented.

Citation Information

Patent Citations

  • Charging method, device and system of vehicles, storage medium and electronic device

    CN110435448A

  • Automatic charging method, electric vehicle and charging pile

    CN110843574A

  • Community charging area route guiding method and system, computer equipment and storage medium

    CN111189451A

  • Robot battery charging outfit and system, robot

    CN206292628U