Method and system for robot to return for charging, device, and storage medium
By recording and updating the position information of the charging pile, the robot can efficiently recharge with multiple charging piles alternatives, solving the problem of recharge failure caused by loss of charging pile coordinates or position changes, and improving the recharge success rate.
Patent Information
- Application Number
- PCT/CN2024/092623
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-05-12
- Filing Date
- 2024-05-11
- Publication Date
- 2024-11-21
AI Technical Summary
When the robot recharges, the recharge failure occurs due to the loss of the charging pile coordinates or the change in the charging pile position, especially in the case of changes in the environment or the movement of the charging pile.
By recording the position of the charging pile that the robot has successfully charged for the last time is the initial charging pile position information, and during operation, the surrounding charging pile position is detected as the candidate charging pile position information, and in response to the charging command, it is carried out according to the initial or candidate charging pile position information. Recharge, including gradually going to the candidate charging pile until the recharge is successful or it is determined that all candidate charging piles fail to recharge.
Efficient recharge is achieved in alternative scenarios of multiple charging piles, which improves the success rate and reliability of robot recharge and reduces the failure of recharge.
Smart Images

Figure CN2024092623_21112024_PF_FP_ABST
Abstract
Description
Robot recharging method, system, device and storage medium
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This disclosure claims priority to the Chinese patent application filed with the China Patent Office on May 12, 2023, with application number CN202310537861.2 and application name “Robot Recharging Method, System, Device and Storage Medium,” the entire contents of which are incorporated herein by reference. Technical Field
[0003] The present disclosure relates to the field of robotics technology, and in particular to a robot recharging method, system, device, and storage medium. Background Art
[0004] As robotics technology matures, its applications are becoming increasingly diverse, such as food delivery robots and sweeping robots for environmental cleaning. As robots play an increasingly important role in various fields, the public's demand for intelligent robots is also increasing.
[0005] When the robot needs to return to the charging station, in some scenarios, the charging station coordinates on the robot map may be lost due to the lack of charging station coordinates or the charging station location has changed, causing the robot to fail to return to charging. For example, environmental changes during the robot's operation may cause repositioning failure, or the charging station may move, causing the robot to fail to return to charging.
[0006] Application Contents
[0007] To this end, the present disclosure provides a robot recharging method, system, device and storage medium to achieve efficient recharging in scenarios with multiple charging piles available.
[0008] In order to achieve the above objectives, the present disclosure provides the following technical solutions:
[0009] According to a first aspect of the present disclosure, a robot recharging method is provided, the method comprising: recording the location information of a charging pile at which the robot was last successfully charged as initial charging pile location information; detecting whether there are charging piles around the robot during operation, and recording the location information of the detected charging piles as candidate charging pile location information; and performing recharging according to at least one of the initial charging pile location information or the candidate charging pile location information in response to a recharging instruction.
[0010] In some examples of the present disclosure, the recharging according to the initial charging pile location information and the candidate charging pile location information includes: recharging according to the initial charging pile location information; and recharging according to the candidate charging pile location information in case of recharging failure.
[0011] In some examples of the present disclosure, the recharging according to the candidate charging pile location information includes:
[0012] According to the current relocation position information of the robot and the position information of the candidate charging piles, the robot is controlled to go to at least one detected candidate charging pile in turn for recharging until the recharging is successful or it is determined that all candidate charging piles have failed to recharge.
[0013] In some examples of the present disclosure, controlling the robot to sequentially go to at least one detected candidate charging pile for recharging based on the current relocation position information of the robot and the position information of the candidate charging pile includes:
[0014] Selecting a target candidate charging pile from at least one detected candidate charging pile based on the current relocation position information of the robot and the position information of the candidate charging pile;
[0015] Planning a movement path from the current position of the robot to the position of the target candidate charging pile according to the relocation position information and the candidate charging pile position information corresponding to the target candidate charging pile;
[0016] Controlling the robot to move along the moving path to the target candidate charging pile for charging;
[0017] Based on the recharging failure and the presence of unselected candidate charging piles in the at least one candidate charging pile, a target candidate charging pile is reselected for recharging, and the process is repeated until the recharging is successful or it is determined that all candidate charging piles have failed to recharge.
[0018] In some examples of the present disclosure, the method further includes:
[0019] The candidate charging pile location information corresponding to the candidate charging pile that has successfully recharged is updated as the initial charging pile location information, and the initial charging pile location information before the update is modified as the candidate charging pile location information.
[0020] In some examples of the present disclosure, detecting whether there is a charging pile around the robot during operation of the robot, and recording the position information of the detected charging pile as candidate charging pile position information, includes:
[0021] During the operation of the robot, real-time detection is performed on whether there is a charging pile around the robot, and the location information of the charging pile corresponding to the detected charging pile is located; and / or real-time reception is performed on the charging pile location information set by the user and sent by the user device;
[0022] The detected charging pile location information and / or the charging pile location information set by the user is recorded as candidate charging pile location information.
[0023] In some examples of the present disclosure, the candidate charging pile location information includes the coordinates of the candidate charging pile; and recharging according to the candidate charging pile location information includes:
[0024] According to the coordinates of the candidate charging pile, control the robot to move to the location of the candidate charging pile;
[0025] Controlling the robot to move around the candidate charging pile in a circle to determine the direction angle of the candidate charging pile;
[0026] Backcharging is performed according to the direction angle of the candidate charging pile, and the direction angle is recorded in the candidate charging pile position information.
[0027] In some examples of the present disclosure, the method further includes: sending a recharging exception message to a user device based on the failure of recharging the initial charging pile and all candidate charging piles; performing recharging based on a user recharging instruction returned by the user device; the user recharging instruction carries the charging pile location information marked by the user device.
[0028] According to a second aspect of the present disclosure, a robot recharging system is provided, which includes: an initial charging pile position information module, which is used to record the position information of the charging pile at which the robot was last successfully charged as the initial charging pile position information; a candidate charging pile position information module, which is used to detect whether there are charging piles around the robot during the operation of the robot, and record the position information of the detected charging piles as the candidate charging pile position information; and a recharging module, which is used to respond to a recharging instruction and perform recharging according to at least one of the initial charging pile position information or the candidate charging pile position information.
[0029] According to a third aspect of the present disclosure, an electronic device is provided, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the method described in the first aspect above.
[0030] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided, on which computer-readable instructions are stored. The computer-readable instructions can be executed by a processor to implement the method described in the first aspect above.
[0031] In summary, the present disclosure provides a robot recharging method, system, device, and storage medium. These methods record the location of the robot's most recently successfully charged charging pile as initial charging pile location information; detect the presence of charging piles near the robot during operation, and record the detected charging pile location information as candidate charging pile location information; and, in response to a recharging instruction, perform recharging based on at least one of the initial charging pile location information or the candidate charging pile location information. This allows for efficient recharging in scenarios where multiple charging piles are available. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] To more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the following briefly introduces the drawings required for the embodiments or the description of the prior art. Obviously, the drawings described below are merely illustrative, and those skilled in the art can derive other implementation drawings based on the provided drawings without inventive effort.
[0033] The structures, proportions, sizes, etc. illustrated in this specification are intended solely to complement the contents disclosed herein and to facilitate understanding and reading by persons familiar with the art. They are not intended to limit the conditions under which the present disclosure may be implemented and therefore have no substantive technical significance. Any structural modifications, changes in proportions, or adjustments in sizes, without affecting the efficacy and objectives of the present disclosure, shall still fall within the scope of the technical contents disclosed herein.
[0034] FIG1 is a schematic flow chart of a robot recharging method provided by an embodiment of the present disclosure;
[0035] FIG2 is a schematic diagram of a robot searching for a charging station according to an embodiment of the present disclosure;
[0036] FIG3 is a schematic diagram of a process of a robot scanning a charging pile according to an embodiment of the present disclosure;
[0037] FIG4 is a schematic diagram of a process for user marking a charging pile according to an embodiment of the present disclosure;
[0038] FIG5 is a robot recharging logic diagram provided by an embodiment of the present disclosure;
[0039] FIG6 is a block diagram of a robot recharging system provided by an embodiment of the present disclosure;
[0040] FIG7 shows a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure;
[0041] FIG8 shows a schematic diagram of a computer-readable storage medium provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0042] The following describes the implementation methods of the present disclosure using specific embodiments. Those skilled in the art can readily understand the other advantages and benefits of the present disclosure from the contents disclosed herein. Obviously, the described embodiments are only a portion of the embodiments of the present disclosure, not all of them. All other embodiments derived by persons of ordinary skill in the art based on the embodiments of the present disclosure without inventive effort are also within the scope of protection of the present disclosure.
[0043] FIG1 shows a flow chart of a robot recharging method provided by an embodiment of the present disclosure, the method comprising:
[0044] Step 101: Record the location information of the charging pile where the robot was last successfully charged as the initial charging pile location information;
[0045] Step 102: Detecting whether there are charging piles around the robot during operation, and recording the position information of the detected charging piles as candidate charging pile position information;
[0046] Step 103: In response to the recharging instruction, recharging is performed according to at least one of the initial charging pile location information or the candidate charging pile location information.
[0047] In a possible implementation, in step 103, performing recharging according to the initial charging pile location information and the candidate charging pile location information includes:
[0048] Recharging is performed according to the initial charging pile location information; if recharging fails, recharging is performed according to the candidate charging pile location information.
[0049] In a possible implementation, the recharging according to the candidate charging pile location information includes:
[0050] According to the current relocation position information of the robot and the position information of the candidate charging piles, the robot is controlled to go to at least one detected candidate charging pile in turn for recharging until the recharging is successful or it is determined that all candidate charging piles have failed to recharge.
[0051] In one possible implementation, based on the current relocation position information of the robot and the position information of the candidate charging pile, controlling the robot to sequentially go to at least one detected candidate charging pile for recharging includes:
[0052] Based on the robot's current relocation position information and the candidate charging pile position information, a target candidate charging pile is selected from at least one detected candidate charging pile; based on the relocation position information and the candidate charging pile position information corresponding to the target candidate charging pile, a moving path from the robot's current position to the target candidate charging pile is planned; the robot is controlled to go to the target candidate charging pile for charging along the moving path; based on the recharging failure and the existence of unselected candidate charging piles in the at least one candidate charging pile, a target candidate charging pile is reselected for recharging, and the execution is repeated until the recharging is successful or it is determined that all candidate charging piles have failed to recharge.
[0053] In a possible implementation, the method further includes: updating the candidate charging pile location information corresponding to the successfully recharged candidate charging pile to the initial charging pile location information, and modifying the initial charging pile location information before the update to the candidate charging pile location information.
[0054] In a possible implementation, detecting whether there is a charging pile around the robot during operation of the robot, and recording the position information of the detected charging pile as candidate charging pile position information, includes:
[0055] During the operation of the robot, it is detected in real time whether there are charging piles around the robot, and the charging pile position information corresponding to the detected charging pile is located; and / or, the charging pile position information set by the user and sent by the user device is received in real time; the detected charging pile position information and / or the charging pile position information set by the user is recorded as candidate charging pile position information.
[0056] In one possible implementation, the candidate charging pile location information includes coordinates of the candidate charging pile; and performing recharging according to the candidate charging pile location information includes:
[0057] According to the coordinates of the candidate charging pile, the robot is controlled to move to the location of the candidate charging pile; the robot is controlled to move around the candidate charging pile to determine the direction angle of the candidate charging pile; recharge is performed according to the direction angle of the candidate charging pile, and the direction angle is recorded in the candidate charging pile location information.
[0058] In one possible implementation, the method further includes:
[0059] According to the failure of recharging the initial charging pile and all candidate charging piles, a recharging exception message is sent to the user device; recharging is performed according to the user recharging instruction returned by the user device; the user recharging instruction carries the charging pile location information marked by the user device.
[0060] The robot recharging method provided by the embodiments of the present disclosure is described in detail below with reference to the accompanying drawings.
[0061] During the robot's operation, when the cleaning process ends, the battery level drops below the set threshold, or there is user intervention, it needs to find a charging station for recharging. The recharging process mainly includes the following two stages:
[0062] The first stage is to go to the charging station stage.
[0063] The location information of the charging pile where the robot was most recently successfully charged is recorded as the initial charging pile location information. During the robot's operation, the robot detects whether there are any charging piles around the robot and records the detected charging pile location information as candidate charging pile location information. The operation process includes but is not limited to mapping and / or operation. In response to a recharge instruction, recharge is performed based on at least one of the initial charging pile location information or the candidate charging pile location information.
[0064] During the operation of the robot, it is detected in real time whether there are charging piles around the robot, and the charging pile position information corresponding to the detected charging pile is located; and / or, the charging pile position information set by the user and sent by the user device is received in real time; the detected charging pile position information and / or the charging pile position information set by the user is recorded as candidate charging pile position information.
[0065] During the recharging process, recharging is first performed based on the initial charging pile location information; if recharging fails, the robot is controlled to go to at least one detected candidate charging pile in turn for recharging based on the robot's current relocation location information and the candidate charging pile location information, until recharging is successful or it is determined that recharging of all candidate charging piles has failed.
[0066] Specifically, based on the current relocation position information of the robot and the position information of the candidate charging pile, a target candidate charging pile is selected from at least one detected candidate charging pile; based on the relocation position information and the candidate charging pile position information corresponding to the target candidate charging pile, a moving path from the current position of the robot to the position of the target candidate charging pile is planned; the robot is controlled to go to the target candidate charging pile for charging according to the moving path; based on the recharging failure and the existence of unselected candidate charging piles in the at least one candidate charging pile, the target candidate charging pile is reselected for recharging, and the execution is repeated until the recharging is successful or it is determined that all candidate charging piles have failed to recharge.
[0067] The second stage is the precise alignment and recharging phase. As shown in Figure 2, when the robot reaches the charging station (generally a fixed distance directly in front of the robot), the robot's posture is adjusted using the infrared sensors on both the robot and the charging station, achieving precise alignment and recharging. During the precise alignment phase, if angle information is available, the robot can quickly and successfully recharge. If angle information is not available, the robot must circle the charging station to find the correct direction before precise alignment and recharging can be successfully achieved.
[0068] The specific precise alignment recharging method can be achieved by using the charging station to emit infrared coded signals and the robot to receive the infrared coded signals for precise alignment, or by using radar to scan the reflective strips attached to the charging pile to achieve precise recharging alignment. This disclosure does not limit this.
[0069] The disclosed embodiment divides the coordinates of the machine charging pile into two categories, the initial charging pile coordinates and the candidate charging pile coordinates. After the robot departs from the charging pile or successfully recharges to the charging pile, the charging pile is marked as the initial charging pile. The initial charging pile information includes coordinates and direction angles, namely (x, y, theta). The coordinate system is the coordinate system for machine mapping. The origin is the position where the robot first starts mapping. The coordinate axes x and y are calculated by lifting lines based on the shape of the map during mapping, and are generally parallel to the wall. The direction angle theta refers to the angle between the charging pile pointing directly in front and the positive direction of the coordinate system x-axis. When there is angle information, the robot can quickly recharge successfully. The initial charging pile coordinates have theta angle information, and the candidate charging pile coordinates are generally set by the user himself. There may be no direction angle information, only position information, namely (x, y). When there is no angle information, the robot needs to circle the charging pile and find the positive direction before it can align and recharge successfully.
[0070] In the method provided by the embodiment of the present disclosure, the initial charging pile location information includes the coordinates and direction angle of the initial charging pile; the candidate charging pile location information may only include the coordinates of the candidate charging pile.
[0071] During the recharging process based on the initial charging pile location information, the robot is controlled to move to the location of the initial charging pile based on the coordinates of the initial charging pile, and then recharging is performed based on the direction angle of the initial charging pile.
[0072] In the process of recharging according to the location information of the candidate charging pile, the robot is first controlled to move to the location of the candidate charging pile according to the coordinates of the candidate charging pile; then the robot is controlled to move around the candidate charging pile to determine the direction angle of the candidate charging pile; further, recharging is performed according to the direction angle of the candidate charging pile, and the direction angle is recorded in the location information of the candidate charging pile.
[0073] Furthermore, the candidate charging pile location information corresponding to the candidate charging pile that has successfully recharged is updated to the initial charging pile location information, and the initial charging pile location information before the update is modified to the candidate charging pile location information.
[0074] In one possible implementation, when the initial charging pile and all candidate charging piles fail to recharge, a recharge exception message is sent to the user device; recharging is performed according to the user recharge instruction returned by the user device; the user recharge instruction carries the charging pile location information marked by the user device.
[0075] In a possible implementation, the embodiment of the present disclosure further includes a mapping phase, in which SLAM can be used to build a room map or a map of a target area.
[0076] For mobile robots such as AGVs (Automated Guided Vehicles, or AGVs) to achieve intelligent autonomous navigation in unknown environments, they first need to use their onboard sensor data, such as distance and image data, to estimate their own position and create an environmental map. The perception of their own position and surrounding environment is an essential capability for mobile robot positioning and navigation systems. Furthermore, to complete subsequent tasks, they must be able to automatically search for the best route to the destination based on the generated map and path planning according to the mission objectives. Therefore, generating accurate SLAM mapping results is a crucial step for mobile robots to correctly understand the environment and smoothly carry out subsequent work.
[0077] SLAM (simultaneous localization and mapping) involves simultaneous positioning and mapping, or concurrent mapping and positioning. Common indoor laser SLAM algorithms include Gmapping and Cartographer, while visual SLAM algorithms include ORB-SLAM and SVO-SLAM. There are various methods for representing robot maps, including topological maps, feature maps, and grid maps.
[0078] Because charging station coordinates may be lost in the map or the user may move a charging station in the environment, the previously established charging station map needs to be updated. During the mapping and cleaning process, the robot periodically detects nearby charging stations and automatically marks the coordinates of one or more candidate charging stations. Update methods mainly include real-time detection and update by the robot, periodic detection and update, and user update through the app.
[0079] Real-time or periodic robot detection and update: During the cleaning process, the robot automatically marks the coordinates of one or more candidate charging piles through real-time or periodic detection of nearby charging piles. a) Detects whether there is an infrared signal emitted by a nearby charging pile; b) When the robot and the charging pile communicate wirelessly, it detects the strength of the wireless signal. When the signal strength exceeds a set threshold, the area near the robot is marked as a candidate charging pile. Wireless communication methods include Bluetooth, WiFi, 2.4G, etc.; c) If the robot has a camera, it can capture images of the surrounding environment. When an image recognition algorithm identifies a charging pile nearby, it marks the area near the robot as a candidate charging pile.
[0080] User App Updates: Users can add, move, or delete charging station coordinates through the app. If a user moves a charging station away from its original coordinates, the robot will fail to recharge. Therefore, if the user marks the coordinates of the moved charging station through the app, the robot will prioritize recharging to the user-marked charging station if it fails to recharge to the default charging station, thereby improving the recharge rate. Furthermore, issues such as anomalies in the robot's algorithm can cause the robot's automatically marked charging station coordinates to be abnormal, resulting in recharge failure. Therefore, if the user deletes the abnormal charging station coordinates through the app, the robot can avoid recharging to the abnormal charging station. This can improve recharging efficiency.
[0081] In the robot recharging method provided by the embodiment of the present disclosure, the robot will detect whether there is a charging pile nearby in real time or periodically, and automatically mark the detected charging pile as one or more candidate charging piles. Figure 3 shows the processing flow after the robot detects the charging pile information. The method includes:
[0082] Step 301: The robot detects charging pile signals to obtain information about all charging piles within the detection range; the charging pile information includes charging pile IDs and charging pile location information; the charging pile location information includes coordinate information and direction information;
[0083] Step 302: The robot sends the charging pile information to the cloud and saves the charging pile information in the local FLASH.
[0084] Step 303: The cloud sends the charging pile information to the user APP;
[0085] Step 304: The user APP displays all received charging pile information.
[0086] In step 301 , the robot detects the charging pile in a manner including but not limited to infrared signal detection, wireless signal detection, and image recognition.
[0087] In one possible implementation, if the robot fails to detect a charging station, it indicates that there may be no charging station within the detection range. A prompt to set the charging station coordinates is pushed to the app interface. After the user confirms, candidate charging station coordinates are provided for the user to move the charging station to. The candidate charging station coordinates are determined based on historical charging station location information.
[0088] FIG4 shows a processing flow when a user uses an APP to mark charging pile information according to an embodiment of the present disclosure, which specifically includes the following steps:
[0089] Step 401: The user uses the APP to mark candidate charging piles;
[0090] Step 402: The APP sends candidate charging pile information to the cloud; the candidate charging pile information includes the charging pile ID and charging pile location information; the charging pile location information includes coordinate information;
[0091] Step 403: The cloud sends the candidate charging pile information to the robot;
[0092] Step 404: The robot saves the received candidate charging pile information to the local FLASH.
[0093] In one possible implementation, the coordinates of the charging pile selected by the user through the APP will be used as candidate charging pile coordinates, but when the robot goes to the charging pile and finds that it cannot recharge, it reports a fault message of recharging failure.
[0094] FIG5 shows a flowchart of a robot recharging strategy provided by an embodiment of the present disclosure, wherein the method includes:
[0095] Step 501: Start recharging and control the robot to go to the default charging station for recharging. If it fails, execute step 502. The default charging station is the charging station based on the robot's starting point. Each failure will trigger the robot to plan a route from the current position to the target position.
[0096] Step 502: Control the robot to go to the first candidate charging station for recharging; if it fails, execute step 503:
[0097] Step 503: Control the robot to go to the second candidate charging station for recharging; if it fails, execute step 504:
[0098] Step 504: Control the robot to go to the Nth candidate charging station for recharging; if it fails, stop recharging and report an error on the robot device and the user APP.
[0099] In summary, the disclosed embodiments provide a robot recharging method that records the location information of the most recently successfully charged charging pile as initial charging pile location information; detects the presence of charging piles around the robot during operation, and records the detected charging pile location information as candidate charging pile location information; and responds to a recharging instruction based on at least one of the initial charging pile location information or the candidate charging pile location information. This method enables efficient recharging in scenarios where multiple charging piles are available.
[0100] Based on the same technical concept, the present disclosure also provides a robot recharging system, as shown in FIG6 , comprising:
[0101] The initial charging pile position information module 601 is used to record the position information of the charging pile where the robot was last successfully charged as the initial charging pile position information;
[0102] The candidate charging pile location information module 602 is used to detect whether there are charging piles around the robot during the operation of the robot, and record the location information of the detected charging piles as candidate charging pile location information;
[0103] The recharging module 603 is configured to respond to the recharging instruction and perform recharging according to at least one of the initial charging pile location information or the candidate charging pile location information.
[0104] The present disclosure also provides an electronic device corresponding to the method provided in the aforementioned embodiment. Please refer to Figure 7, which shows a schematic diagram of an electronic device provided in some embodiments of the present disclosure. The electronic device 20 may include: a processor 200, a memory 201, a bus 202 and a communication interface 203, wherein the processor 200, the communication interface 203 and the memory 201 are connected via the bus 202; the memory 201 stores a computer program that can be executed on the processor 200, and when the processor 200 executes the computer program, it executes the method provided in any of the aforementioned embodiments of the present disclosure.
[0105] The memory 201 may include high-speed random access memory (RAM) and may also include non-volatile memory, such as at least one disk storage. The system network element and at least one other network element are connected via at least one physical port 203 (which may be wired or wireless), and may utilize the Internet, a wide area network, a local area network, a metropolitan area network, or the like.
[0106] The bus 202 may be an ISA bus, a PCI bus, or an EISA bus. The bus may be divided into an address bus, a data bus, a control bus, etc. The memory 201 is used to store programs. The processor 200 executes the programs upon receiving execution instructions. The methods disclosed in any of the aforementioned embodiments of the present disclosure may be applied to or implemented by the processor 200.
[0107] The processor 200 may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be completed by hardware integrated logic circuits in the processor 200 or by software instructions. The processor 200 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of the present disclosure. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in conjunction with the embodiments of the present disclosure may be directly implemented and executed by a hardware decoding processor, or by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium mature in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, etc. The storage medium is located in the memory 201 , and the processor 200 reads the information in the memory 201 and completes the steps of the above method in combination with its hardware.
[0108] The electronic device provided by the embodiments of the present disclosure and the method provided by the embodiments of the present disclosure are based on the same inventive concept and have the same beneficial effects as the methods adopted, operated or implemented by them.
[0109] An embodiment of the present disclosure also provides a computer-readable storage medium corresponding to the method provided in the aforementioned embodiment. Please refer to Figure 8, which shows that the computer-readable storage medium is a CD 30, on which a computer program (i.e., a program product) is stored. When the computer program is run by the processor, it will execute the method provided in any of the aforementioned embodiments.
[0110] It should be noted that examples of the computer-readable storage medium may also include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other optical or magnetic storage media, which are not listed here one by one.
[0111] The computer-readable storage medium provided by the above-mentioned embodiments of the present disclosure and the method provided by the embodiments of the present disclosure are based on the same inventive concept and have the same beneficial effects as the method adopted, run or implemented by the application program stored therein.
[0112] It should be noted that:
[0113] The algorithms and displays provided herein are not inherently related to any particular computer, virtual device, or other device. Various general-purpose devices may also be used in conjunction with the teachings herein. Based on the above description, it is apparent that the structure required for constructing such devices is suitable. In addition, the present disclosure is not directed to any specific programming language. It should be understood that various programming languages can be utilized to implement the present disclosure described herein, and the above description of specific languages is intended to disclose the best mode of implementation of the present disclosure.
[0114] In the description provided herein, numerous specific details are described. However, it is understood that embodiments of the present disclosure may be practiced without these specific details. In some instances, well-known methods, structures, and techniques are not shown in detail so as not to obscure the understanding of this description.
[0115] Similarly, it should be understood that in order to streamline the present disclosure and aid in understanding one or more of the various inventive aspects, in the above description of exemplary embodiments of the present disclosure, various features of the present disclosure are sometimes grouped together into a single embodiment, figure, or description thereof. However, this disclosed approach should not be interpreted as reflecting an intention that the claimed disclosure requires more features than are expressly recited in each claim. Rather, as reflected in the claims below, inventive aspects lie in less than all of the features of the individual embodiments disclosed above. Accordingly, the claims that follow the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of the present disclosure.
[0116] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and in addition may be divided into multiple submodules or subunits or subcomponents. All features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed herein may be combined in any combination, except that at least some of such features and / or processes or units are mutually exclusive. Unless expressly stated otherwise, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.
[0117] Furthermore, those skilled in the art will appreciate that although some embodiments described herein include certain features included in other embodiments but not other features, combinations of features from different embodiments are intended to be within the scope of this disclosure and to form different embodiments. For example, in the claims below, any of the claimed embodiments may be used in any combination.
[0118] The various component embodiments of the present disclosure can be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It should be understood by those skilled in the art that a microprocessor or digital signal processor (DSP) can be used in practice to implement some or all of the functions of some or all of the components in the creation device of the virtual machine according to the embodiment of the present disclosure. The present disclosure can also be implemented as a device or device program (e.g., computer program and computer program product) for executing a part or all of the methods described herein. Such a program implementing the present disclosure can be stored on a computer-readable medium, or can have the form of one or more signals. Such a signal can be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.
[0119] It should be noted that the above embodiments illustrate rather than limit the present disclosure, and that those skilled in the art may devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between brackets should not be construed as limiting the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The present disclosure may be implemented by means of hardware comprising several different elements and by means of appropriately programmed computers. In a unit claim enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, and third etc. does not indicate any order. These words may be interpreted as names.
[0120] In addition, those skilled in the art may combine and combine different embodiments or examples and features of different embodiments or examples described in this specification without mutual contradiction.
[0121] The above description is only a preferred embodiment of the present disclosure and does not limit the patent scope of the present disclosure. All equivalent structural transformations made based on the contents of the present disclosure and the drawings, or direct / indirect applications in other related technical fields, are included in the patent protection scope of the present disclosure.
Claims
1. A robot recharging method, wherein: The method comprises: The location information of the charging pile where the robot was last successfully charged is recorded as the initial charging pile location information; During the operation of the robot, detecting whether there is a charging pile around the robot, and recording the position information of the detected charging pile as candidate charging pile position information; In response to the recharging instruction, recharging is performed according to at least one of the initial charging pile location information or the candidate charging pile location information.
2. The method of claim 1, wherein: The recharging according to the initial charging pile location information and the candidate charging pile location information includes: Recharging according to the initial charging pile location information; In case of recharging failure, recharging is performed according to the candidate charging pile location information.
3. The method of claim 2, wherein: The recharging according to the candidate charging pile location information includes: According to the current relocation position information of the robot and the position information of the candidate charging pile, the robot is controlled to go to at least one detected candidate charging pile for recharging in turn until the recharging is successful or it is determined that all candidate charging piles have failed to recharge.
4. The method of claim 3, wherein: According to the current relocation position information of the robot and the position information of the candidate charging pile, the robot is controlled to go to at least one detected candidate charging pile for recharging in sequence, including: Selecting a target candidate charging pile from at least one detected candidate charging pile according to the current relocation position information of the robot and the position information of the candidate charging pile; Planning a moving path from the current position of the robot to the position of the target candidate charging pile according to the relocation position information and the candidate charging pile position information corresponding to the target candidate charging pile; Controlling the robot to go to the target candidate charging pile for charging according to the moving path; Based on the recharging failure and the existence of unselected candidate charging piles in the at least one candidate charging pile, reselect a target candidate charging pile for recharging, and repeat the process until the recharging is successful or it is determined that all candidate charging piles have failed to recharge.
5. The method according to any one of claims 1 to 4, wherein: The method further comprises: The candidate charging pile location information corresponding to the candidate charging pile that has successfully recharged is updated to the initial charging pile location information, and the initial charging pile location information before the update is modified to the candidate charging pile location information.
6. The method according to any one of claims 1 to 5, wherein: During the operation of the robot, detecting whether there is a charging pile around the robot, and recording the position information of the detected charging pile as candidate charging pile position information, including: During the operation of the robot, real-time detection is performed on whether there is a charging pile around the robot, and the charging pile position information corresponding to the detected charging pile is located; and / or, real-time reception is performed on the charging pile position information set by the user and sent by the user device; The detected charging pile location information and / or the charging pile location information set by the user is recorded as candidate charging pile location information.
7. The method according to any one of claims 2 to 6, wherein: The candidate charging pile location information includes the coordinates of the candidate charging pile; and charging back according to the candidate charging pile location information includes: According to the coordinates of the candidate charging pile, control the robot to move to the location of the candidate charging pile; Controlling the robot to move around the candidate charging pile to determine the direction angle of the candidate charging pile; Recharging is performed according to the direction angle of the candidate charging pile, and the direction angle is recorded in the position information of the candidate charging pile.
8. The method according to any one of claims 1 to 7, wherein: The method further comprises: If the initial charging pile and all candidate charging piles all fail to recharge, a recharge exception message is sent to the user device; Recharging is performed according to the user recharging instruction returned by the user device; the user recharging instruction carries the charging pile location information marked by the user device.
9. A robot recharging system, wherein: The system comprises: An initial charging pile position information module, used to record the position information of the charging pile where the robot was last successfully charged as the initial charging pile position information; A candidate charging pile position information module is used to detect whether there are charging piles around the robot during the operation of the robot, and record the position information of the detected charging piles as candidate charging pile position information; and The recharging module is used to respond to the recharging instruction and perform recharging according to at least one of the initial charging pile location information or the candidate charging pile location information.
10. An electronic device comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the method according to any one of claims 1 to 8.
11. A computer-readable storage medium, wherein: Computer-readable instructions are stored thereon, and the computer-readable instructions can be executed by a processor to implement the method according to any one of claims 1-8.
Citation Information
Patent Citations
Charging method and device for robot, equipment and storage medium
CN108829112A
Robot obstacle avoidance control method and device, robot and robot system
CN111240342A
Sweeping robot recharging method and device, sweeping robot and readable medium
CN114077246A
Robot recharging method, system and equipment and storage medium
CN116540712A
Robot with vehicle charging
US20200101855A1
