Charging control method and apparatus, readable storage medium, and robot system

By detecting the status of home appliances, controlling the robot to maintain an appropriate distance from the base station, and using a positioning confirmation element, the problem of wear and tear on the robot's charging components has been solved, thus improving the robot's lifespan and charging safety.

WO2024230582A1PCT designated stage expired Publication Date: 2024-11-14MIDEA ROBOZONE TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/090821
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-05-05
Filing Date
2024-04-30
Publication Date
2024-11-14

AI Technical Summary

Technical Problem

When the robot is charging at the base station, it is affected by the vibration of household appliances such as washing machines, which causes wear and tear on the charging components and affects its service life.

Method used

By detecting the status of home appliances, the robot is controlled to maintain a distance from the base station charging element when vibrating, using a positioning confirmation element to ensure tight contact and avoid friction, and charging begins when the vibration stops.

Benefits of technology

It effectively reduces wear on charging components, improves robot lifespan and charging reliability, and ensures charging safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024090821_14112024_PF_FP_ABST
    Figure CN2024090821_14112024_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of robots, and provides a charging control method and apparatus, a readable storage medium, and a robot system. The charging control method is applied to the robot system, the robot system comprises a base station and a robot, the base station is connected to a household device, the base station comprises a first charging element, and the robot comprises a second charging element. The charging control method comprises: if it is detected that a robot enters a base station, obtaining the device state of a household device; and controlling the robot on the basis of at least some of device states of the household device. Embodiments of the present application can reduce the abrasion of the charging elements between the robot and the base station.
Need to check novelty before this filing date? Find Prior Art

Description

Charging control method, device, readable storage medium and robot system

[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on May 5, 2023, with application number "202310494389.9" and the Chinese patent application filed with the China Patent Office on May 5, 2023, with application number "202310494386.5", the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of robotics technology, and in particular to a charging control method, device, readable storage medium, and robotic system. Background Art

[0003] In related technologies, when the robot's battery is low, it needs to return to the base station to charge. Before charging, the robot needs to complete charging docking with the base station, specifically by allowing the robot's second charging element to be in close contact with the base station's first charging element.

[0004] If the base station is connected to a household appliance such as a washing machine, when the washing machine is working, especially when the washing machine is dehydrating, the vibration generated by the washing machine will be transmitted to the base station and the robot, causing the robot to move relative to the base station. This displacement will cause friction between the second charging element of the robot and the first charging element of the base station, causing wear of the first charging element and the second charging element, affecting the service life of the robot.

[0005] Summary of the Invention

[0006] This application aims to solve at least one of the technical problems existing in the prior art or related art.

[0007] To this end, a first aspect of the present application proposes a charging control method.

[0008] A second aspect of the present application provides a charging control device.

[0009] A third aspect of the present application provides a charging control device.

[0010] A fourth aspect of the present application provides a readable storage medium.

[0011] A fifth aspect of the present application provides a computer program product.

[0012] A sixth aspect of the present application proposes a robot system.

[0013] In view of this, a first aspect of the present application provides a charging control method applied to a robot system, wherein the robot system includes a base station and a robot, wherein the base station is connected to a household appliance, the base station includes a first charging element, and the robot includes a second charging element. The charging control method includes:

[0014] When the robot is detected to enter the base station, the device status of the household device is obtained; and based on at least part of the device status of the household device, the robot is controlled.

[0015] In this technical solution, the different device states of household appliances will affect the charging state of the robot. Controlling the robot based on the device states of household appliances can improve the charging stability of the robot.

[0016] For example, certain device states of household appliances will generate large vibrations, and the charging connection between the robot and the base station relies on the contact between the first charging element and the second charging element, and the vibration will cause friction between the first charging element and the second charging element. In order to avoid wear, the robot can be controlled to move away from the base station when the household appliance is in a device state that generates vibrations, so that the first charging element and the second charging element are separated.

[0017] In some cases, when the household device is in a state where vibration occurs, the robot is controlled to move away from the base station according to a preset moving distance. When the distance between the first charging element and the second charging element is large enough, friction between the first charging element and the second charging element can be avoided.

[0018] In other cases, a position confirmation element can be provided to detect the position of the robot relative to the base station, thereby determining whether the first charging element and the second charging element are in contact or separation, thereby avoiding friction between the first charging element and the second charging element.

[0019] The technical solution of this application can reduce the wear of the charging components between the robot and the base station.

[0020] In addition, the charging control method in the above technical solution provided by this application may also have the following additional technical features:

[0021] In the above technical solution, controlling the robot based on the device status of at least some of the household devices includes:

[0022] When the device state is the target working state, the distance value between the second charging element and the first charging element is obtained; when the distance value is less than or equal to the distance threshold, the robot is controlled to stop moving or lag behind the target distance.

[0023] In this technical solution, the robot system can specifically be a cleaning robot system, such as a sweeping robot system, a mopping robot system, or a sweeping and mopping robot system. The robot system specifically includes a base station and a robot. The base station is specifically used to charge the robot and collect dust collected by the robot. If the robot has a mopping function, the base station can also clean the robot's mopping components.

[0024] The robot system's base station is connected to a household appliance, such as a washing machine. For example, in the case of a sweeping and mopping robot, the robot's base station is located at the bottom of the washing machine and shares the same water supply and drainage pipes. By integrating the washing machine and the robot base station, the water supply and drainage issues of sweeping and mopping robots or mopping robots can be resolved.

[0025] When the robot leaves the base station to perform a cleaning operation, if the cleaning phase is complete or the robot's remaining battery is low, it will return to the base station for recharging. During the recharging process, the robot can use near-field communication (NFC) such as infrared or Bluetooth to guide it into the base station and place the second charging element on the robot in contact with the first charging element on the base station.

[0026] In a robotic system where a base station is connected to a household appliance such as a washing machine, when the washing machine is in its intended operating state, especially in the spin cycle, the inner drum of the washing machine rotates rapidly and generates significant vibrations. These vibrations are transmitted to the base station and the robot, potentially causing the robot's position to shift. If the robot begins charging at this time, friction between the robot's second charging element and the base station's first charging element due to displacement and vibration will occur. This friction will cause wear on both the first and second charging elements, shortening the robot's service life.

[0027] To address the above issues, the present embodiment of the present invention obtains the status of household appliances, such as a washing machine, through a base station when the robot enters the station. If the washing machine is detected to be in the target operating state, the distance between the robot's second charging element and the base station's first charging element is continuously measured during the robot's entry process.

[0028] When it is detected that the distance between the second charging element of the robot and the first charging element of the base station reaches a preset distance threshold, it means that the second charging element is about to reach the first charging element. At this time, the robot is controlled to stop moving or retreat the target distance to keep a certain distance between the second charging element of the robot and the first charging element of the base station. This ensures that when the base station and the robot are affected by the vibration of the washing machine when it is working, there will be no contact friction between the second charging element of the robot and the first charging element of the base station, thereby avoiding wear.

[0029] In the embodiment of the present application, when the robot enters the station, it first determines whether the household appliance connected to the base station is working. If the household appliance is working, the distance value between the second charging element of the robot and the first charging element of the base station is collected. When the distance value is less than or equal to the distance threshold, the robot is controlled to stop moving so that a certain distance is maintained between the second charging element and the first charging element to ensure that no contact friction is formed between the second charging element and the first charging element of the base station. This can prevent the first charging element and the second charging element from being worn due to vibration when the household appliance is working, thereby increasing the service life of the robot.

[0030] In the above technical solution, after the step of controlling the robot to stop moving, the charging control method further includes:

[0031] When it is obtained that the device state of the household device is switched from the target working state to the non-target working state, the robot is controlled to move in a direction close to the first charging element so that the first charging element contacts the second charging element.

[0032] In this technical solution, after the robot stops at the pre-charging position, the robot system continuously monitors the status of the household appliance. When the appliance switches from the target operating state to the non-target operating state, the cleaning process is complete. At this point, the appliance no longer vibrates, preventing wear on the second and first charging elements.

[0033] Therefore, if it is detected that the household appliance has switched to a non-target working state, the robot is controlled to continue moving inward, specifically toward the direction of the first charging element close to the base station, so that the robot shortens the distance between the second charging element and the first charging element, until the robot moves to the position where the second charging element contacts the first charging element of the base station, and the robot can start charging.

[0034] The embodiment of the present application controls the robot from the pre-charging position to the charging position according to the device status change of the household appliance, thereby improving the charging efficiency while ensuring that the first charging element and the second charging element are not worn.

[0035] In any of the above technical solutions, after the step of obtaining the device status of the household device, the charging control method further includes:

[0036] When the device state is a non-target working state, the robot is controlled to move toward the direction approaching the first charging element so that the first charging element contacts the second charging element.

[0037] In this technical solution, when the robot is detected entering the base station, if the base station obtains the device status of the washing machine, that is, the device status of the household appliance is a non-target working state, it means that the household appliance will not vibrate at this time, and there is no risk of wear between the second charging element and the first charging element after the robot enters the station.

[0038] Therefore, after detecting that the robot has entered the base station and the device status of the household appliance obtained is a non-target working state, the robot is controlled to move directly to the charging position in the direction close to the first charging element. In the charging position, the second charging element of the robot contacts the first charging element of the base station. At this time, a loop is formed between the second charging element and the first charging element, and the robot can be charged through the charging signal provided by the base station.

[0039] In the embodiment of the present application, when the robot enters the station, it first determines whether the household appliance connected to the base station is working. If the household appliance is not working, the robot is controlled to move directly to the charging position. This can improve the charging reliability of the robot while preventing the first charging element and the second charging element from being worn due to vibration when the household appliance is working.

[0040] In any of the above technical solutions, the base station includes a sensor; obtaining the distance value between the second charging element and the first charging element includes: obtaining the distance value between the second charging element and the first charging element through the sensor.

[0041] In this technical solution, a sensor is provided in the base station. Exemplarily, the sensor may be a laser radar or an ultrasonic radar. The sensor can accurately collect the distance value between the second charging element of the robot and the first charging element of the base station, and when the household appliance connected to the base station is in the target working state, the robot is controlled to stop at a position where the second charging element maintains a certain distance from the first charging element, thereby preventing the first charging element and the second charging element from being worn out due to the vibration generated by the operation of the household appliance, thereby increasing the service life of the robot.

[0042] In any of the above technical solutions, the value range of the distance threshold is: greater than or equal to 1.5 cm and less than or equal to 7.5 cm.

[0043] In this technical solution, the distance threshold is specifically greater than or equal to 1.5 cm and less than or equal to 7.5 cm. For example, when the robot enters the base station, if it detects that a household appliance connected to the base station is in the target operating state, the robot uses a sensor to collect the distance between the robot's second charging element and the base station's first charging element. When the distance value falls below the distance threshold, the robot is controlled to stop moving, thereby ensuring sufficient spacing between the first and second charging elements to prevent wear.

[0044] Exemplarily, the distance threshold is 5 cm.

[0045] Exemplarily, the distance threshold is 3 cm.

[0046] In any of the above technical solutions, the distance threshold includes a first threshold, a second threshold, and a third threshold;

[0047] Among them, when the distance value is less than or equal to the first threshold, the first charging element is in contact with the second charging element; when the distance value is greater than the first threshold and less than or equal to the second threshold, the robot is located inside the base station and the first charging element is not in contact with the second charging element; when the distance value is greater than the second threshold and less than or equal to the third threshold, the robot is located outside the base station.

[0048] In this technical solution, when the distance between the first charging element and the second charging element is less than or equal to a first threshold, it represents that the first charging element and the second charging element are in contact, and the robot is in a charging state.

[0049] When the distance between the first charging element and the second charging element is greater than a first threshold and less than or equal to a second threshold, it means that the robot has reached the base station, but the first charging element and the second charging element are not in contact. At this time, the robot is in a docking state.

[0050] When the distance between the first charging element and the second charging element is greater than the second threshold and less than or equal to the third threshold, it means that the robot has not yet completely entered the base station. At this time, the robot is in a pre-docking state.

[0051] In any of the above technical solutions, before the step of obtaining the device status of the household device, the charging control method further includes:

[0052] In response to the recharging signal, the robot establishes a near-field communication connection with the base station; obtains the charging coordinates corresponding to the base station through the near-field communication connection; and controls the robot to enter the base station based on the charging coordinates.

[0053] In this technical solution, the recharging signal can be a signal generated when the robot's battery level is lower than the set recharging threshold, a signal generated when the robot's dust box is full, a signal generated when the dirtiness of the robot's mopping component reaches a set value, or a signal generated after the robot completes the cleaning task.

[0054] After detecting the recharging signal, the robot starts recharging. For example, a near field communication connection is established between the robot and the base station, wherein the near field communication connection can be a Bluetooth connection or an infrared connection.

[0055] Taking the near-field communication connection as a Bluetooth connection as an example, the robot obtains the corresponding charging coordinates through the Bluetooth connection between the robot and the base station. The charging coordinates are the coordinates of the position in the base station where the second charging element can contact the first charging element.

[0056] Guided by the charging coordinates, the robot moves to the interior of the base station and gradually brings the second charging element closer to the first charging element. After the second charging element contacts the first charging element and presses the second charging element against the first charging element, charging of the robot begins.

[0057] The embodiment of the present application guides the robot into the base station for charging through a near-field communication connection, which can improve the charging efficiency of the robot.

[0058] In any of the above technical solutions, the base station further includes a first position determination element; after the step of controlling the robot to move in a direction close to the first charging element, the charging control method further includes:

[0059] When a contact signal is detected, the base station is controlled to detect an in-position signal, wherein the contact signal is a signal that the first charging element is in contact with the second charging element, and the in-position signal is a signal that the first in-position determination element is triggered by the robot; when the contact signal and the in-position signal are detected, the base station is controlled to charge the robot.

[0060] In this technical solution, after the robot enters the base station, it moves toward the direction close to the first charging element. When the second charging element of the robot contacts the first charging element, an electrical circuit is formed between the first charging element and the second charging element. The base station and the robot will both send contact signals to each other through this electrical circuit. At this time, both the base station and the robot can detect the corresponding contact signals.

[0061] In related technologies, when the base station detects a contact signal, it determines that the robot is in place. At this time, the base station turns on the charging circuit, increases the voltage and current on the first charging element, and transmits electrical energy to the second charging element of the robot.

[0062] Because the first charging element has a certain degree of elasticity, when the robot's second charging element contacts the first, the first charging element must be pressed firmly to ensure sufficient contact between the first and second charging elements. If the robot stops moving immediately after the second charging element contacts the first without pressing the first charging element firmly, or if the robot's position changes after pressing the first charging element firmly due to the elasticity of the first charging element or external vibration, causing the first charging element to loosen, poor contact between the first and second charging elements may occur. If the charging circuit is activated at this time, arcing and other conditions may occur, affecting charging safety.

[0063] To address the above situation, embodiments of the present application further provide a first position-determining element on the base station. For example, the first position-determining element can be a microswitch. A trigger portion corresponding to the position of the first position-determining element is provided on the robot. Once the robot enters the base station, it continues to move inward.

[0064] When the second charging element of the robot comes into contact with the first charging element of the base station, the first charging element and the second charging element form a loop, and the base station can detect the corresponding contact signal.

[0065] After the base station detects the contact signal, the base station further detects the in-position signal, that is, determines whether the first in-position determining element is switched by the robot.

[0066] When the robot moves to the state where the first charging element is pressed by the second charging element, the trigger part on the robot will trigger the first in-place determination element. At this time, the base station detects the in-place signal of the first in-place determination element being triggered, and judges that the second charging element of the robot has pressed the first charging element, and the contact between the first charging element and the second charging element is good and tight. At this time, it is determined that the conditions for safe charging of the robot are met, and the base station is controlled to start charging the robot.

[0067] It is understandable that after charging starts, if it is detected that the arrival signal disappears, it is determined that the robot's position has changed, and the base station is controlled to stop charging to ensure safety.

[0068] The embodiment of the present application sets a first position determination element to detect whether the robot is in a safe charging position, which can avoid the problem of arcing caused by insufficient contact between the first charging element and the second charging element, or poor contact caused by changes in the robot's position, and can effectively improve the charging safety of the robot.

[0069] In any of the above technical solutions, after the step of controlling the base station to detect the in-position signal, the charging control method further includes: when a contact signal is detected and no in-position signal is detected, controlling the robot to move a first preset distance in the direction of the first charging element.

[0070] In this technical solution, when the robot enters the station to charge, if a contact signal is detected, it is determined that the second charging element of the robot has contacted the first charging element of the base station, and the arrival signal corresponding to the first arrival determination element is further detected.

[0071] If only a contact signal is detected but no in-position signal is detected, it is determined that the robot has not moved to the position where the first charging element is pressed. At this time, a motion signal is sent to the robot to control the robot to move further toward the first charging element. During the movement, the second charging element of the robot will continuously squeeze the first charging element, thereby pressing the first charging element.

[0072] After the first charging element is pressed, the base station can detect the arrival signal. At this time, the base station determines that the second charging element of the robot has pressed the first charging element, and starts charging the robot.

[0073] Exemplarily, the first preset distance ranges from 3 cm to 10 cm.

[0074] Exemplarily, the first preset distance is 5 cm.

[0075] In the embodiment of the present application, when the second charging element of the robot is in contact with the first charging element of the base station but the first in-place determination element has not yet been triggered, the robot is controlled to continue moving in the direction of pressing the first charging element, thereby ensuring that the second charging element of the robot is in close contact with the first charging element of the base station and ensuring charging safety.

[0076] In any of the above technical solutions, after the step of controlling the robot to move a first preset distance in a direction close to the first charging element, the charging control method further includes:

[0077] If the in-position signal is still not detected, the steps of controlling the robot to move a first preset distance in the direction close to the first charging element are repeated until the in-position signal is detected, or the number of times the robot moves in the direction close to the first charging element is greater than the number threshold, or the movement duration of the robot moving in the direction close to the first charging element is greater than the duration threshold.

[0078] In this technical solution, if the in-position signal is still not detected after the robot is controlled to move a first preset distance in the direction close to the first charging element, the step of controlling the robot to move the first preset distance in the direction close to the first charging element is repeated, and the in-position signal is detected again.

[0079] If the in-position signal is still not detected, the step of controlling the robot to move the first preset distance in the direction close to the first charging element is repeated again.

[0080] When the in-position signal is detected, the robot is determined to be in position and is controlled to stop moving.

[0081] When it is detected that the number of movements of the robot reaches the number threshold, or the movement distance of the robot reaches the distance threshold, but no arrival signal is detected, it means that the robot has tried to approach the first charging element many times. The reason for the lack of arrival signal may be a failure of the first arrival determination element. At this time, the robot is controlled to stop moving as well.

[0082] In any of the above technical solutions, the charging control method further includes: controlling the base station to charge the robot when the number of times the robot moves in the direction of the first charging element is greater than a threshold number.

[0083] In this technical solution, when the robot enters the station to charge, if a contact signal is detected, it is determined that the second charging element of the robot has contacted the first charging element of the base station, and the arrival signal corresponding to the first arrival determination element is further detected.

[0084] If only a contact signal is detected but no in-position signal is detected, a motion signal is sent to the robot to control the robot to move further toward the first charging element, so that the first charging element is pressed by the inward movement of the robot.

[0085] After controlling the robot to move inward, if the arrival signal is still not detected, the above logic is repeated, that is, the robot is controlled to move in the direction close to the first charging element again, and the number of movements of the robot is recorded at the same time.

[0086] If the recorded number of robot movements exceeds the set threshold, meaning the robot has repeatedly attempted to move inward to compress the first charging element, then the first charging element is likely already compressed by the second charging element, and the second and first charging elements are in good contact. Failure to detect a "reach" signal could be due to a malfunction of the first reach determination element or a misalignment of the trigger on the robot. At this point, the control base station begins charging the robot.

[0087] Exemplarily, the number threshold ranges from 3 times to 7 times.

[0088] Exemplarily, the number threshold is 5 times.

[0089] The embodiment of the present application records the number of times the robot moves in the direction of pressing the first charging element. When the number exceeds a threshold, it determines that the first charging element has been pressed and charging begins, thereby avoiding charging failure caused by a failure of the first charging element and improving charging reliability.

[0090] In any of the above technical solutions, the charging control method further includes: controlling the base station to charge the robot when the movement time of the robot in the direction of the first charging element is greater than a time threshold.

[0091] In this technical solution, when the robot enters the station to charge, if a contact signal is detected, it is determined that the second charging element of the robot has contacted the first charging element of the base station, and the arrival signal corresponding to the first arrival determination element is further detected.

[0092] If only a contact signal is detected but no in-position signal is detected, a motion signal is sent to the robot to control the robot to move further toward the first charging element, so that the first charging element is pressed by the inward movement of the robot.

[0093] After controlling the robot to move inward, if the arrival signal is still not detected, the above logic is repeated, that is, the robot is continued to be controlled to move in the direction close to the first charging element, and the movement time of the robot is recorded at the same time.

[0094] If the recorded robot movement duration exceeds the set threshold, meaning the robot's inward movement is long enough, there's a high probability that the first charging element is pressed against the second charging element, effectively establishing contact. Failure to detect a "reach" signal could be due to a malfunction in the first reaching element or a misalignment of the trigger on the robot. At this point, the control base station begins charging the robot.

[0095] Exemplarily, the time threshold ranges from 5 seconds to 20 seconds.

[0096] Exemplarily, the time threshold is 10 seconds.

[0097] The embodiment of the present application records the duration of the robot's movement in the direction of pressing the first charging element. When the movement duration exceeds a time threshold, it determines that the first charging element has been pressed and starts charging, thereby avoiding charging failure caused by a failure of the first charging element and improving charging reliability.

[0098] In any of the above technical solutions, controlling the robot based on the device status of at least some of the household devices includes:

[0099] When the device state is the target working state, the base station is controlled to detect a first in-place signal, wherein the first in-place signal is a signal that the first in-place determination element is triggered by the robot; when the first in-place signal is detected, the robot is controlled to stop moving or retreat a target distance so that the distance value between the second charging element and the first charging element is greater than or equal to the distance threshold.

[0100] In this technical solution, the robot system can specifically be a cleaning robot system, such as a sweeping robot system, a mopping robot system, or a sweeping and mopping robot system. The robot system specifically includes a base station and a robot. The base station is specifically used to charge the robot and collect dust collected by the robot. If the robot has a mopping function, the base station can also clean the robot's mopping components.

[0101] The robot system's base station is connected to a household appliance, such as a washing machine. For example, in the case of a sweeping and mopping robot, the robot's base station is located at the bottom of the washing machine and shares the same water supply and drainage pipes. By integrating the washing machine and the robot base station, the water supply and drainage issues of sweeping and mopping robots or mopping robots can be resolved.

[0102] When the robot leaves the base station to perform a cleaning operation, if the cleaning phase is complete or the robot's remaining battery is low, it will return to the base station for recharging. During the recharging process, the robot can use near-field communication (NFC) such as infrared or Bluetooth to guide it into the base station and place the second charging element on the robot in contact with the first charging element on the base station.

[0103] In a robotic system where a base station is connected to a household appliance such as a washing machine, when the washing machine is in its intended operating state, especially in the spin cycle, the inner drum of the washing machine rotates rapidly and generates significant vibrations. These vibrations are transmitted to the base station and the robot, potentially causing the robot's position to shift. If the robot begins charging at this time, friction between the robot's second charging element and the base station's first charging element due to displacement and vibration will occur. This friction will cause wear on both the first and second charging elements, shortening the robot's service life.

[0104] To address the above issues, embodiments of the present application provide a first position determination element on the base station. When the robot enters the station, before reaching the charging position, it will advance to a "pre-charging" position. In this pre-charging position, the second charging element on the robot has not yet come into contact with the first charging element of the base station. For example, at this point, the distance between the second charging element and the first charging element is greater than a distance threshold. Therefore, when the robot is in the pre-charging position, regardless of whether the household appliance is operating, its vibration will not cause friction between the first and second charging elements.

[0105] For example, in the pre-charging position, a triggering unit on the robot triggers a first in-position determining element, thereby generating a first in-position signal. Therefore, upon detecting that the robot has entered the base station, if the base station detects that the washing machine is in the target operating state, i.e., the home appliance is in the target operating state, the first in-position signal is detected first.

[0106] It is understandable that the base station can obtain the device status of the home appliance through a near-field communication connection with the home appliance, for example, the base station obtains the target working status of the washing machine through Bluetooth.

[0107] The base station can also set up a vibration sensor to collect vibration signals through the vibration sensor and judge the target working state of the home appliance based on the vibration signal. For example, when the base station detects that the signal value of the vibration signal is greater than the threshold, it determines that the washing machine is in the target working state.

[0108] When the first arrival signal is detected, it means that the robot has arrived at the pre-charging position. At this time, the robot is controlled to stop moving or retreat the target distance, keep the robot at the pre-charging position, and ensure that the second charging element of the robot does not contact the first charging element of the base station.

[0109] In the embodiment of the present application, when the robot enters the station, it first determines whether the household appliance connected to the base station is working. If the household appliance is working, the robot is controlled to move to the pre-charging position, and ensures that the second charging element of the robot is not in contact with the first charging element of the base station. This can prevent the first charging element and the second charging element from being worn due to vibration when the household appliance is working, thereby increasing the service life of the robot.

[0110] In the above technical solution, after the step of controlling the robot to stop moving, the charging control method further includes:

[0111] When it is obtained that the device state of the household appliance is switched from the target working state to the non-target working state, the robot is controlled to move in the direction of the first charging element so that the first charging element contacts the second charging element.

[0112] In this technical solution, after the robot stops at the pre-charging position, the robot system continuously monitors the status of the household appliance. When the appliance switches from the target operating state to the non-target operating state, the cleaning process is complete. At this point, the appliance no longer vibrates, preventing wear on the second and first charging elements.

[0113] Therefore, if it is detected that the household appliance has switched to a non-target working state, the robot is controlled to continue moving inward, specifically to move in the direction of the first charging element close to the base station, so that the robot moves from the pre-charging position to the charging position. When the robot is in place, the second charging element of the robot contacts the first charging element of the base station, and the robot can start charging.

[0114] The embodiment of the present application controls the robot from the pre-charging position to the charging position according to the device status change of the household appliance, thereby improving the charging efficiency while ensuring that the first charging element and the second charging element are not worn.

[0115] In any of the above technical solutions, after the step of obtaining the device status of the household device, the charging control method further includes:

[0116] When the device state is a non-target working state, the robot is controlled to move toward the first charging element so that the first charging element contacts the second charging element.

[0117] In this technical solution, when the robot is detected entering the base station, if the base station obtains the device status of the washing machine, that is, the device status of the household appliance is a non-target working state, it means that the household appliance will not vibrate at this time, and there is no risk of wear between the second charging element and the first charging element after the robot enters the station.

[0118] Therefore, after detecting that the robot has entered the base station and the device status of the household appliance obtained is a non-target working state, the robot is controlled to move directly to the charging position. In the charging position, the second charging element of the robot contacts the first charging element of the base station. At this time, a loop is formed between the second charging element and the first charging element, and the robot can be charged through the charging signal provided by the base station.

[0119] In the embodiment of the present application, when the robot enters the station, it first determines whether the household appliance connected to the base station is working. If the household appliance is not working, the robot is controlled to move directly to the charging position. This can improve the charging reliability of the robot while preventing the first charging element and the second charging element from being worn due to vibration when the household appliance is working.

[0120] In any of the above technical solutions, the base station further includes a second position confirmation element; after the step of controlling the robot to move in the direction of the first charging element, the charging control method further includes:

[0121] When a contact signal is detected, the base station is controlled to detect a second in-place signal, wherein the contact signal is a signal that the first charging element is in contact with the second charging element, and the second in-place signal is a signal that the second in-place confirmation element is triggered by the robot; when the contact signal and the second in-place signal are detected, the base station is controlled to charge the robot.

[0122] In this technical solution, after the robot moves toward the first charging element, the robot's second charging element gradually approaches the base station's first charging element. When the robot's second charging element contacts the first charging element, an electrical circuit is formed between the first and second charging elements. The base station and the robot each send a contact signal through this circuit, which is then detected by both the base station and the robot.

[0123] In related technologies, when the base station detects a contact signal, it determines that the robot is in place. At this time, the base station turns on the charging circuit, increases the voltage and current on the first charging element, and transmits electrical energy to the second charging element of the robot.

[0124] Because the first charging element has a certain degree of elasticity, when the robot's second charging element contacts the first, the first charging element must be pressed firmly to ensure sufficient contact between the first and second charging elements. If the robot stops moving immediately after the second charging element contacts the first without pressing the first charging element firmly, or if the robot's position changes after pressing the first charging element firmly due to the elasticity of the first charging element or external vibration, causing the first charging element to loosen, poor contact between the first and second charging elements may occur. If the charging circuit is activated at this time, arcing and other conditions may occur, affecting charging safety.

[0125] To address this issue, embodiments of the present application further provide a second position confirmation element on the base station. For example, the second position confirmation element can be a micro switch. A trigger portion corresponding to the position of the second position confirmation element is provided on the robot. Once the robot enters the base station, it continues to move inward.

[0126] When the second charging element of the robot comes into contact with the first charging element of the base station, the first charging element and the second charging element form a loop, and the base station can detect the corresponding contact signal.

[0127] After the base station detects the contact signal, the base station further detects the second in-position signal, that is, determines whether the second in-position confirmation element is switched by the robot.

[0128] When the robot moves to the state where the first charging element is pressed by the second charging element, the trigger part on the robot will trigger the second in-place confirmation element. At this time, the base station detects the second in-place signal of the second in-place confirmation element being triggered, and determines that the second charging element of the robot has pressed the first charging element, and the contact between the first charging element and the second charging element is good and tight. At this time, it is determined that the conditions for safe charging of the robot are met, and the base station is controlled to start charging the robot.

[0129] The embodiment of the present application sets a second position confirmation element to detect whether the robot is in a safe charging position, which can avoid the problem of arcing caused by insufficient contact between the first charging element and the second charging element, or poor contact caused by changes in the robot's position, and can effectively improve the charging safety of the robot.

[0130] In any of the above technical solutions, when the first in-place determination element is triggered by the robot, the robot is located in the base station, and the first charging element is not in contact with the second charging element; when the second in-place confirmation element is triggered by the robot, the robot is located in the base station, and the first charging element is in contact with the second charging element.

[0131] In this technical solution, when the first arrival determination element is triggered by the robot, it is determined that the robot has entered the base station, but at this time the first charging element is not in contact with the second charging element, and the base station will not charge the robot.

[0132] When the second in-place confirmation element is triggered by the robot, the robot is located in the base station, and the first charging element is in contact with the second charging element at the same time, and the base station can charge the robot.

[0133] In any of the above technical solutions, after the step of controlling the base station to detect the first arrival signal, the charging control method further includes:

[0134] When the contact signal is detected and the second in-position signal is not detected, the robot is controlled to move a first preset distance in the direction of the first charging element.

[0135] In this technical solution, if a contact signal is detected during the movement of the robot toward the first charging element, it is determined that the second charging element of the robot has contacted the first charging element of the base station, and the second in-place signal corresponding to the second in-place confirmation element is further detected.

[0136] If only the contact signal is detected but the second in-position signal is not detected, it is determined that the robot has not moved to the position where the first charging element is pressed. At this time, a motion signal is sent to the robot to control the robot to move further in the direction of the first charging element. During the movement, the second charging element of the robot will continuously squeeze the first charging element, thereby pressing the first charging element.

[0137] After the first charging element is pressed, the base station can detect the second in-position signal. At this time, the base station determines that the second charging element of the robot has pressed the first charging element, and starts charging the robot.

[0138] Exemplarily, the first preset distance ranges from 3 cm to 10 cm.

[0139] Exemplarily, the first preset distance is 5 cm.

[0140] In the embodiment of the present application, when the second charging element of the robot is in contact with the first charging element of the base station but the second in-place confirmation element has not yet been triggered, the robot is controlled to continue moving in the direction of pressing the first charging element, thereby ensuring that the second charging element of the robot is in close contact with the first charging element of the base station and ensuring charging safety.

[0141] In any of the above technical solutions, after the step of controlling the robot to move a first preset distance in the direction of the first charging element, the charging control method further includes:

[0142] If the second in-position signal is still not detected, the step of controlling the robot to move the first preset distance in the direction of the first charging element is repeated until the second in-position signal is detected, or the number of times the robot moves in the direction of the first charging element is greater than a number threshold, or the movement duration of the robot moving in the direction of the first charging element is greater than a duration threshold.

[0143] In this technical solution, if the second in-position signal is still not detected after the robot is controlled to move a first preset distance in the direction of the first charging element, the step of controlling the robot to move the first preset distance in the direction of the first charging element is repeated, and the second in-position signal is detected again.

[0144] If the second in-position signal is still not detected, the step of controlling the robot to move the first preset distance toward the first charging element is repeated.

[0145] When the second in-position signal is detected, it is determined that the robot is in position, and the robot is controlled to stop moving.

[0146] When it is detected that the number of movements of the robot reaches the number threshold, or the movement distance of the robot reaches the distance threshold, but the second in-place signal is still not detected, it means that the robot has tried to approach the first charging element many times. The reason for the lack of the second in-place signal may be a failure of the in-place determination element. At this time, the robot is controlled to stop moving as well.

[0147] In any of the above technical solutions, the charging control method further includes: controlling the base station to charge the robot when the number of times the robot moves in the direction of the first charging element is greater than a threshold number.

[0148] In this technical solution, when the robot enters the station to charge, if a contact signal is detected, it is determined that the second charging element of the robot has contacted the first charging element of the base station, and the second in-place signal corresponding to the second in-place confirmation element is further detected.

[0149] If only a contact signal is detected but no second in-position signal is detected, a motion signal is sent to the robot to control the robot to move further toward the first charging element, so that the first charging element is pressed by the inward movement of the robot.

[0150] After controlling the robot to move inward, if the second arrival signal is still not detected, the above logic is repeated, that is, the robot is controlled to move toward the first charging element again, and the number of movements of the robot is recorded at the same time.

[0151] If the recorded number of robot movements exceeds the set threshold, meaning the robot has repeatedly attempted to move inward to compress the first charging element, then the first charging element is likely already compressed by the second charging element, and the second and first charging elements are in good contact. Failure to detect the second in-place signal could be due to a malfunction of the second in-place confirmation element or a misalignment of the trigger on the robot. At this point, the control base station begins charging the robot.

[0152] Exemplarily, the number threshold ranges from 3 times to 7 times.

[0153] Exemplarily, the number threshold is 5 times.

[0154] The embodiment of the present application records the number of times the robot moves in the direction of pressing the first charging element. When the number exceeds a threshold, it determines that the first charging element has been pressed and charging begins, thereby avoiding charging failure caused by a failure of the second in-place confirmation element and improving charging reliability.

[0155] In any of the above technical solutions, the charging control method further includes: controlling the base station to charge the robot when the movement time of the robot in the direction of the first charging element is greater than a time threshold.

[0156] In this technical solution, when the robot enters the station to charge, if a contact signal is detected, it is determined that the second charging element of the robot has contacted the first charging element of the base station, and the second in-place signal corresponding to the second in-place confirmation element is further detected.

[0157] If only a contact signal is detected but no second in-position signal is detected, a motion signal is sent to the robot to control the robot to move further toward the first charging element, so that the first charging element is pressed by the inward movement of the robot.

[0158] After controlling the robot to move inward, if the second arrival signal is still not detected, the above logic is repeated, that is, the robot is continued to be controlled to move in the direction of the first charging element, and the movement time of the robot is recorded at the same time.

[0159] If the recorded robot duration exceeds the set duration threshold, meaning the robot has been moving inward for a sufficient period, then there's a high probability that the first charging element is being pressed against the second charging element, effectively establishing contact. Failure to detect the second arrival signal could be due to a malfunction of the second arrival confirmation element or a misalignment of the trigger on the robot. At this point, the control base station begins charging the robot.

[0160] Exemplarily, the time threshold ranges from 5 seconds to 20 seconds.

[0161] Exemplarily, the time threshold is 10 seconds.

[0162] The embodiment of the present application records the duration of the robot's movement in the direction of pressing the first charging element. When the movement duration exceeds a time threshold, it determines that the first charging element has been pressed and charging has begun, thereby avoiding charging failure caused by a failure of the second in-place confirmation element and improving charging reliability.

[0163] In any of the above technical solutions, after the step of controlling the base station to charge the robot, the charging control method further includes: detecting charging information; and controlling the base station to stop charging the robot when the charging information meets preset conditions.

[0164] In this technical solution, the base station detects the current charging information in real time while charging the robot. If the charging information meets the preset conditions, such as charging is complete or the current environment does not meet the charging requirements, the base station is controlled to stop charging the robot.

[0165] The embodiment of the present application determines whether to stop charging the robot based on the charging information, thereby ensuring the charging safety of the robot.

[0166] In any of the above technical solutions, the charging information includes the current power of the robot; the preset condition is that the current power is greater than the power threshold.

[0167] In this technical solution, the base station obtains the robot's current battery level in real time while it is charging. When the robot's current battery level exceeds a set threshold, charging is complete and the base station is controlled to stop charging the robot.

[0168] Exemplarily, the battery threshold ranges from 85% to 98%.

[0169] Exemplarily, the power threshold is 90%.

[0170] In any of the above technical solutions, after controlling the base station to charge the robot, the charging control method further includes:

[0171] When the device state switches from a non-target working state to a target working state, the base station is controlled to stop charging the robot.

[0172] In this technical solution, when the home appliance switches back to its target operating state—that is, when the washing machine restarts—the vibrations generated by the washing machine are transmitted to the base station and the robot, potentially causing the robot's position to shift. This shift in the robot's position can cause the connection between the first and second charging elements to become loose. Losing contact between the first and second charging elements can lead to arcing, compromising charging safety.

[0173] Therefore, when it is detected that the device status of the household appliance has switched to the target working state, the base station is controlled to stop charging the robot to prevent the robot from being displaced by the vibration of the washing machine, so that the second charging element cannot press the first charging element to generate arcing and sparking, thereby ensuring charging safety.

[0174] In any of the above technical solutions, before the step of obtaining the device status of the household device, the charging control method further includes:

[0175] In response to the recharging signal, the robot establishes a near-field communication connection with the base station; obtains the charging coordinates corresponding to the base station through the near-field communication connection; and controls the robot to enter the base station based on the charging coordinates.

[0176] In this technical solution, the recharging signal can be a signal generated when the robot's battery level is lower than the set recharging threshold, a signal generated when the robot's dust box is full, a signal generated when the dirtiness of the robot's mopping component reaches a set value, or a signal generated after the robot completes the cleaning task.

[0177] After detecting the recharging signal, the robot starts recharging. For example, a near field communication connection is established between the robot and the base station, wherein the near field communication connection can be a Bluetooth connection or an infrared connection.

[0178] Taking the near-field communication connection as a Bluetooth connection as an example, the robot obtains the corresponding charging coordinates through the Bluetooth connection between the robot and the base station. The charging coordinates are the coordinates of the position in the base station where the second charging element can contact the first charging element.

[0179] Guided by the charging coordinates, the robot moves into the base station and gradually brings the second charging element closer to the first charging element. When the second charging element contacts the first charging element, the base station detects a contact signal. The base station then determines whether the first charging element is pressed against the second charging element based on a second in-placement signal from a second in-placement confirmation element. Upon detecting this second in-placement signal, the base station begins charging the robot.

[0180] The embodiment of the present application guides the robot into the base station for charging through a near-field communication connection, which can improve the charging efficiency of the robot.

[0181] A second aspect of the present application provides a charging control device applied to a robot system, wherein the robot system includes a base station and a robot, the base station being connected to a household appliance, the base station including a first charging element, the robot including a second charging element, and the charging control device including:

[0182] The acquisition module is used to obtain the device status of the home appliance when the robot is detected to enter the base station; the control module is used to control the robot based on at least part of the device status of the home appliance.

[0183] In this technical solution, the different device states of household appliances will affect the charging state of the robot. Controlling the robot based on the device states of household appliances can improve the charging stability of the robot.

[0184] For example, certain device states of household appliances will generate large vibrations, and the charging connection between the robot and the base station relies on the contact between the first charging element and the second charging element, and the vibration will cause friction between the first charging element and the second charging element. In order to avoid wear, the robot can be controlled to move away from the base station when the household appliance is in a device state that generates vibrations, so that the first charging element and the second charging element are separated.

[0185] The technical solution of this application can reduce the wear of the charging components between the robot and the base station.

[0186] In some cases, when the household device is in a state where vibration occurs, the robot is controlled to move away from the base station according to a preset moving distance. When the distance between the first charging element and the second charging element is large enough, friction between the first charging element and the second charging element can be avoided.

[0187] In other cases, a position confirmation element can be provided to detect the position of the robot relative to the base station, thereby determining whether the first charging element and the second charging element are in contact or separation, thereby avoiding friction between the first charging element and the second charging element.

[0188] The third aspect of the present application provides a charging control device, comprising: a memory on which programs or instructions are stored; a processor, which is used to implement the steps of the charging control method provided in any of the above technical solutions when running the programs or instructions, and therefore also includes all its beneficial effects. To avoid repetition, they will not be repeated here.

[0189] In a fourth aspect, the present application provides a readable storage medium on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the charging control method provided in any of the above technical solutions are implemented, and therefore all its beneficial effects are also included. To avoid repetition, they will not be repeated here.

[0190] In a fifth aspect, the present application provides a computer program product, which is stored in a storage medium. When the computer program product is executed by at least one processor, it implements the steps of the charging control method provided in any of the above technical solutions, and therefore also includes all its beneficial effects. To avoid repetition, they will not be repeated here.

[0191] The sixth aspect of the present application provides a robot system, comprising: a charging control device as provided in any of the above technical solutions; and / or a readable storage medium as provided in any of the above technical solutions; and / or a computer program product as provided in any of the above technical solutions, and therefore also including all of its beneficial effects, which will not be repeated here to avoid repetition. BRIEF DESCRIPTION OF THE DRAWINGS

[0192] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:

[0193] FIG1 shows a schematic structural diagram of a robot system according to an embodiment of the present application;

[0194] FIG2 shows a flow chart of a charging control method according to an embodiment of the present application;

[0195] FIG3 shows a schematic structural diagram of a robot system according to an embodiment of the present application;

[0196] FIG4 shows a schematic structural diagram of a robot system according to an embodiment of the present application;

[0197] FIG5 shows a flow chart of a charging control method according to an embodiment of the present application;

[0198] FIG6 shows a structural block diagram of a charging control device according to an embodiment of the present application;

[0199] FIG7 shows a structural block diagram of a charging control device according to an embodiment of the present application.

[0200] Reference numerals: 102 base station, 1022 first charging element, 1023 sensor, 1024 first location confirmation element, 1026 second location confirmation element, 104 robot, 1042 second charging element; 200 home appliance. DETAILED DESCRIPTION

[0201] In order to more clearly understand the above-mentioned objects, features and advantages of the present application, the present application is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present application and the features therein can be combined with each other in the absence of conflict.

[0202] In the following description, many specific details are set forth to facilitate a full understanding of the present application. However, the present application may also be implemented in other ways different from those described herein. Therefore, the scope of protection of the present application is not limited to the specific embodiments disclosed below.

[0203] The following describes the charging control method, device, readable storage medium, and robot system according to some embodiments of the present application with reference to Figures 1 to 7.

[0204] In some embodiments of the present application, a charging control method is provided, which is applied to a robot system. FIG1 shows a schematic structural diagram of a robot system according to an embodiment of the present application. As shown in FIG1 , the robot system includes a base station 102 and a robot 104. The base station 102 is connected to a household device 200. The base station 102 includes a first charging element 1022, and the robot 104 includes a second charging element 1042.

[0205] FIG2 shows a flow chart of a charging control method according to an embodiment of the present application. As shown in FIG2 , the charging control method includes:

[0206] Step 202: When the robot is detected to enter the base station, the device status of the home device is obtained;

[0207] Step 204: Control the robot based on at least some device states of the home devices.

[0208] In the embodiment of the present application, different device states of the household appliances will affect the charging state of the robot. Controlling the robot according to the device states of the household appliances can improve the charging stability of the robot.

[0209] For example, certain device states of household appliances will generate large vibrations, and the charging connection between the robot and the base station relies on the contact between the first charging element and the second charging element, and the vibration will cause friction between the first charging element and the second charging element. In order to avoid wear, the robot can be controlled to move away from the base station when the household appliance is in a device state that generates vibrations, so that the first charging element and the second charging element are separated.

[0210] In some cases, when the household device is in a state where vibration occurs, the robot is controlled to move away from the base station according to a preset moving distance. When the distance between the first charging element and the second charging element is large enough, friction between the first charging element and the second charging element can be avoided.

[0211] In other cases, a position confirmation element can be provided to detect the position of the robot relative to the base station, thereby determining whether the first charging element and the second charging element are in contact or separation, thereby avoiding friction between the first charging element and the second charging element.

[0212] The embodiments of the present application can reduce the wear of charging components between the robot and the base station.

[0213] In some embodiments of the present application, FIG3 shows a schematic structural diagram of a robot system according to an embodiment of the present application. As shown in FIG3 , the robot system includes a base station 102 and a robot 104. The base station 102 is connected to a household appliance 200. The base station 102 includes a first charging element 1022, and the robot 104 includes a second charging element 1042. Controlling the robot based on the device status of at least some of the household appliances includes:

[0214] When the device state is the target working state, the distance value between the second charging element and the first charging element is obtained; when the distance value is less than or equal to the distance threshold, the robot is controlled to stop moving or lag behind the target distance.

[0215] In the embodiments of the present application, the robot system may be a cleaning robot system, such as a sweeping robot system, a mopping robot system, or a sweeping and mopping robot system. The robot system includes a base station and a robot. The base station is used to charge the robot and collect dust collected by the robot. If the robot has a mopping function, the base station can also clean the robot's mopping components.

[0216] The robot system's base station is connected to a household appliance, such as a washing machine. For example, in the case of a sweeping and mopping robot, the robot's base station is located at the bottom of the washing machine and shares the same water supply and drainage pipes. By integrating the washing machine and the robot base station, the water supply and drainage issues of sweeping and mopping robots or mopping robots can be resolved.

[0217] When the robot leaves the base station to perform a cleaning operation, if the cleaning phase is complete or the robot's remaining battery is low, it will return to the base station for recharging. During the recharging process, the robot can use near-field communication (NFC) such as infrared or Bluetooth to guide it into the base station and place the second charging element on the robot in contact with the first charging element on the base station.

[0218] In a robotic system where a base station is connected to a household appliance such as a washing machine, when the washing machine is in its intended operating state, especially in the spin cycle, the inner drum of the washing machine rotates rapidly and generates significant vibrations. These vibrations are transmitted to the base station and the robot, potentially causing the robot's position to shift. If the robot begins charging at this time, friction between the robot's second charging element and the base station's first charging element due to displacement and vibration will occur. This friction will cause wear on both the first and second charging elements, shortening the robot's service life.

[0219] To address the above issues, the present embodiment of the present invention obtains the status of household appliances, such as a washing machine, through a base station when the robot enters the station. If the washing machine is detected to be in the target operating state, the distance between the robot's second charging element and the base station's first charging element is continuously measured during the robot's entry process.

[0220] When it is detected that the distance between the second charging element of the robot and the first charging element of the base station reaches a preset distance threshold, it means that the second charging element is about to reach the first charging element. At this time, the robot is controlled to stop moving so that a certain distance is maintained between the second charging element of the robot and the first charging element of the base station. This ensures that even if the base station and the robot are affected by the vibration of the washing machine when it is working, there will be no contact friction between the second charging element of the robot and the first charging element of the base station, thereby avoiding wear.

[0221] In the embodiment of the present application, when the robot enters the station, it first determines whether the household appliance connected to the base station is working. If the household appliance is working, the distance value between the second charging element of the robot and the first charging element of the base station is collected. When the distance value is less than or equal to the distance threshold, the robot is controlled to stop moving so that a certain distance is maintained between the second charging element and the first charging element to ensure that no contact friction is formed between the second charging element and the first charging element of the base station. This can prevent the first charging element and the second charging element from being worn due to vibration when the household appliance is working, thereby increasing the service life of the robot.

[0222] Based on any of the above embodiments, after the step of controlling the robot to stop moving, the charging control method further includes:

[0223] When it is obtained that the device state of the household device is switched from the target working state to the non-target working state, the robot is controlled to move in a direction close to the first charging element so that the first charging element contacts the second charging element.

[0224] In the embodiment of the present application, after the robot stops moving at the pre-charging position, the robot system continuously monitors the status of the household appliance. When the household appliance switches from the target operating state to the non-target operating state, the cleaning operation of the household appliance is complete. At this point, the household appliance no longer vibrates, thus preventing wear on the second and first charging elements.

[0225] Therefore, if it is detected that the household appliance has switched to a non-target working state, the robot is controlled to continue moving inward, specifically toward the direction of the first charging element close to the base station, so that the robot shortens the distance between the second charging element and the first charging element, until the robot moves to the position where the second charging element contacts the first charging element of the base station, and the robot can start charging.

[0226] The embodiment of the present application controls the robot from the pre-charging position to the charging position according to the device status change of the household appliance, thereby improving the charging efficiency while ensuring that the first charging element and the second charging element are not worn.

[0227] Based on any of the above embodiments, after the step of obtaining the device status of the household device, the charging control method further includes:

[0228] When the device state is a non-target working state, the robot is controlled to move toward the direction approaching the first charging element so that the first charging element contacts the second charging element.

[0229] In an embodiment of the present application, when the robot is detected entering the base station, if the base station obtains the device status of the washing machine, that is, the device status of the household appliance is a non-target working state, it means that the household appliance will not vibrate at this time, and there is no risk of wear between the second charging element and the first charging element after the robot enters the station.

[0230] Therefore, after detecting that the robot has entered the base station and the device status of the household appliance obtained is a non-target working state, the robot is controlled to move directly to the charging position in the direction close to the first charging element. In the charging position, the second charging element of the robot contacts the first charging element of the base station. At this time, a loop is formed between the second charging element and the first charging element, and the robot can be charged through the charging signal provided by the base station.

[0231] In the embodiment of the present application, when the robot enters the station, it first determines whether the household appliance connected to the base station is working. If the household appliance is not working, the robot is controlled to move directly to the charging position. This can improve the charging reliability of the robot while preventing the first charging element and the second charging element from being worn due to vibration when the household appliance is working.

[0232] Based on any of the above embodiments, as shown in FIG3 , the base station 102 includes a sensor 1023 ; obtaining the distance value between the second charging element and the first charging element includes: obtaining the distance value between the second charging element and the first charging element through the sensor.

[0233] In an embodiment of the present application, a sensor is provided in the base station. Exemplarily, the sensor may be a laser radar or an ultrasonic radar. The sensor can accurately collect the distance value between the second charging element of the robot and the first charging element of the base station, and when the household appliance connected to the base station is in the target working state, the robot is controlled to stop at a position where the second charging element maintains a certain distance from the first charging element, thereby preventing the first charging element and the second charging element from being worn out due to the vibration generated by the operation of the household appliance, thereby increasing the service life of the robot.

[0234] Based on any of the foregoing embodiments, the value range of the distance threshold is: greater than or equal to 1.5 cm and less than or equal to 7.5 cm.

[0235] In the embodiment of the present application, the distance threshold is specifically greater than or equal to 1.5 cm and less than or equal to 7.5 cm. For example, when the robot enters the base station, if it detects that a household appliance connected to the base station is in the target working state, the sensor collects the distance value between the robot's second charging element and the base station's first charging element. When the distance value is less than the distance threshold, the robot is controlled to stop moving, thereby ensuring sufficient spacing between the first and second charging elements to prevent wear.

[0236] Exemplarily, the distance threshold is 5 cm.

[0237] Exemplarily, the distance threshold is 3 cm.

[0238] Based on any of the above embodiments, the distance threshold includes a first threshold, a second threshold, and a third threshold;

[0239] Among them, when the distance value is less than or equal to the first threshold, the first charging element is in contact with the second charging element; when the distance value is greater than the first threshold and less than or equal to the second threshold, the robot is located inside the base station and the first charging element is not in contact with the second charging element; when the distance value is greater than the second threshold and less than or equal to the third threshold, the robot is located outside the base station.

[0240] In the embodiment of the present application, when the distance between the first charging element and the second charging element is less than or equal to a first threshold, it represents that the first charging element and the second charging element are in contact, and the robot is in a charging state.

[0241] When the distance between the first charging element and the second charging element is greater than a first threshold and less than or equal to a second threshold, it means that the robot has reached the base station, but the first charging element and the second charging element are not in contact. At this time, the robot is in a docking state.

[0242] When the distance between the first charging element and the second charging element is greater than the second threshold and less than or equal to the third threshold, it means that the robot has not yet completely entered the base station. At this time, the robot is in a pre-docking state.

[0243] Based on any of the above embodiments, before the step of obtaining the device status of the household device, the charging control method further includes:

[0244] In response to the recharging signal, the robot establishes a near-field communication connection with the base station; obtains the charging coordinates corresponding to the base station through the near-field communication connection; and controls the robot to enter the base station based on the charging coordinates.

[0245] In an embodiment of the present application, the recharging signal can be a signal generated when the robot's battery level is lower than a set recharging threshold, a signal generated when the robot's dust box is full, a signal generated when the degree of dirtiness of the robot's mopping component reaches a set value, or a signal generated after the robot completes the cleaning task.

[0246] After detecting the recharging signal, the robot starts recharging. For example, a near field communication connection is established between the robot and the base station, wherein the near field communication connection can be a Bluetooth connection or an infrared connection.

[0247] Taking the near-field communication connection as a Bluetooth connection as an example, the robot obtains the corresponding charging coordinates through the Bluetooth connection between the robot and the base station. The charging coordinates are the coordinates of the position in the base station where the second charging element can contact the first charging element.

[0248] Guided by the charging coordinates, the robot moves to the interior of the base station and gradually brings the second charging element closer to the first charging element. After the second charging element contacts the first charging element and presses the second charging element against the first charging element, charging of the robot begins.

[0249] The embodiment of the present application guides the robot into the base station for charging through a near-field communication connection, which can improve the charging efficiency of the robot.

[0250] Based on any of the above embodiments, as shown in FIG4 , the base station 102 further includes a first position determination component 1024 ; after the step of controlling the robot to move in a direction close to the first charging component, the charging control method further includes:

[0251] When a contact signal is detected, the base station is controlled to detect an in-position signal, wherein the contact signal is a signal that the first charging element is in contact with the second charging element, and the in-position signal is a signal that the first in-position determination element is triggered by the robot; when the contact signal and the in-position signal are detected, the base station is controlled to charge the robot.

[0252] In an embodiment of the present application, after the robot enters the base station, the robot moves toward the direction close to the first charging element. When the second charging element of the robot contacts the first charging element, an electrical circuit is formed between the first charging element and the second charging element. The base station and the robot will both send contact signals to each other through this electrical circuit. At this time, both the base station and the robot can detect the corresponding contact signals.

[0253] In related technologies, when the base station detects a contact signal, it determines that the robot is in place. At this time, the base station turns on the charging circuit, increases the voltage and current on the first charging element, and transmits electrical energy to the second charging element of the robot.

[0254] Because the first charging element has a certain degree of elasticity, when the robot's second charging element contacts the first, the first charging element must be pressed firmly to ensure sufficient contact between the first and second charging elements. If the robot stops moving immediately after the second charging element contacts the first without pressing the first charging element firmly, or if the robot's position changes after pressing the first charging element firmly due to the elasticity of the first charging element or external vibration, causing the first charging element to loosen, poor contact between the first and second charging elements may occur. If the charging circuit is activated at this time, arcing and other conditions may occur, affecting charging safety.

[0255] To address the above situation, embodiments of the present application further provide a first position-determining element on the base station. For example, the first position-determining element can be a microswitch. A trigger portion corresponding to the position of the first position-determining element is provided on the robot. Once the robot enters the base station, it continues to move inward.

[0256] When the second charging element of the robot comes into contact with the first charging element of the base station, the first charging element and the second charging element form a loop, and the base station can detect the corresponding contact signal.

[0257] After the base station detects the contact signal, the base station further detects the in-position signal, that is, determines whether the first in-position determining element is switched by the robot.

[0258] When the robot moves to the state where the first charging element is pressed by the second charging element, the trigger part on the robot will trigger the first in-place determination element. At this time, the base station detects the in-place signal of the first in-place determination element being triggered, and judges that the second charging element of the robot has pressed the first charging element, and the contact between the first charging element and the second charging element is good and tight. At this time, it is determined that the conditions for safe charging of the robot are met, and the base station is controlled to start charging the robot.

[0259] It is understandable that after charging starts, if it is detected that the arrival signal disappears, it is determined that the robot's position has changed, and the base station is controlled to stop charging to ensure safety.

[0260] The embodiment of the present application sets a first position determination element to detect whether the robot is in a safe charging position, which can avoid the problem of arcing caused by insufficient contact between the first charging element and the second charging element, or poor contact caused by changes in the robot's position, and can effectively improve the charging safety of the robot.

[0261] Based on any of the above embodiments, after the step of controlling the base station to detect the in-position signal, the charging control method further includes: when a contact signal is detected and no in-position signal is detected, controlling the robot to move a first preset distance in the direction of the first charging element.

[0262] In an embodiment of the present application, during the process of the robot entering the station to charge, if a contact signal is detected, it is determined that the second charging element of the robot has contacted the first charging element of the base station, and the arrival signal corresponding to the first arrival determination element is further detected.

[0263] If only a contact signal is detected but no in-position signal is detected, it is determined that the robot has not moved to the position where the first charging element is pressed. At this time, a motion signal is sent to the robot to control the robot to move further toward the first charging element. During the movement, the second charging element of the robot will continuously squeeze the first charging element, thereby pressing the first charging element.

[0264] After the first charging element is pressed, the base station can detect the arrival signal. At this time, the base station determines that the second charging element of the robot has pressed the first charging element, and starts charging the robot.

[0265] Exemplarily, the first preset distance ranges from 3 cm to 10 cm.

[0266] Exemplarily, the first preset distance is 5 cm.

[0267] In the embodiment of the present application, when the second charging element of the robot is in contact with the first charging element of the base station but the first in-place determination element has not yet been triggered, the robot is controlled to continue moving in the direction of pressing the first charging element, thereby ensuring that the second charging element of the robot is in close contact with the first charging element of the base station and ensuring charging safety.

[0268] Based on any of the above embodiments, after the step of controlling the robot to move a first preset distance in a direction close to the first charging element, the charging control method further includes:

[0269] If the in-position signal is still not detected, the steps of controlling the robot to move a first preset distance in the direction close to the first charging element are repeated until the in-position signal is detected, or the number of times the robot moves in the direction close to the first charging element is greater than the number threshold, or the movement duration of the robot moving in the direction close to the first charging element is greater than the duration threshold.

[0270] In an embodiment of the present application, if the in-position signal is still not detected after the robot is controlled to move a first preset distance in the direction close to the first charging element, the step of controlling the robot to move the first preset distance in the direction close to the first charging element is repeated, and the in-position signal is detected again.

[0271] If the in-position signal is still not detected, the step of controlling the robot to move the first preset distance in the direction close to the first charging element is repeated again.

[0272] When the in-position signal is detected, the robot is determined to be in position and is controlled to stop moving.

[0273] When it is detected that the number of movements of the robot reaches the number threshold, or the movement distance of the robot reaches the distance threshold, but no arrival signal is detected, it means that the robot has tried to approach the first charging element many times. The reason for the lack of arrival signal may be a failure of the first arrival determination element. At this time, the robot is controlled to stop moving as well.

[0274] Based on any of the above embodiments, after the step of controlling the robot to move a first preset distance in the direction of the first charging element, the charging control method further includes: controlling the base station to charge the robot when the number of movements of the robot in the direction of the first charging element is greater than a threshold number.

[0275] In an embodiment of the present application, during the process of the robot entering the station to charge, if a contact signal is detected, it is determined that the second charging element of the robot has contacted the first charging element of the base station, and the arrival signal corresponding to the first arrival determination element is further detected.

[0276] If only a contact signal is detected but no in-position signal is detected, a motion signal is sent to the robot to control the robot to move further toward the first charging element, so that the first charging element is pressed by the inward movement of the robot.

[0277] After controlling the robot to move inward, if the arrival signal is still not detected, the above logic is repeated, that is, the robot is controlled to move in the direction close to the first charging element again, and the number of movements of the robot is recorded at the same time.

[0278] If the recorded number of robot movements exceeds the set threshold, meaning the robot has repeatedly attempted to move inward to compress the first charging element, then the first charging element is likely already compressed by the second charging element, and the second and first charging elements are in good contact. Failure to detect a "reach" signal could be due to a malfunction of the first reach determination element or a misalignment of the trigger on the robot. At this point, the control base station begins charging the robot.

[0279] Exemplarily, the number threshold ranges from 3 times to 7 times.

[0280] Exemplarily, the number threshold is 5 times.

[0281] The embodiment of the present application records the number of times the robot moves in the direction of pressing the first charging element. When the number exceeds a threshold, it determines that the first charging element has been pressed and charging begins, thereby avoiding charging failure caused by a failure of the first charging element and improving charging reliability.

[0282] Based on any of the above embodiments, after the step of controlling the robot to move a first preset distance in the direction of the first charging element, the charging control method further includes: controlling the base station to charge the robot when the movement duration of the robot moving in the direction of the first charging element is greater than a time threshold.

[0283] In an embodiment of the present application, during the process of the robot entering the station to charge, if a contact signal is detected, it is determined that the second charging element of the robot has contacted the first charging element of the base station, and the arrival signal corresponding to the first arrival determination element is further detected.

[0284] If only a contact signal is detected but no in-position signal is detected, a motion signal is sent to the robot to control the robot to move further toward the first charging element, so that the first charging element is pressed by the inward movement of the robot.

[0285] After controlling the robot to move inward, if the arrival signal is still not detected, the above logic is repeated, that is, the robot is continued to be controlled to move in the direction close to the first charging element, and the movement time of the robot is recorded at the same time.

[0286] If the recorded robot movement duration exceeds the set threshold, meaning the robot's inward movement is long enough, there's a high probability that the first charging element is pressed against the second charging element, effectively establishing contact. Failure to detect a "reach" signal could be due to a malfunction in the first reaching element or a misalignment of the trigger on the robot. At this point, the control base station begins charging the robot.

[0287] Exemplarily, the time threshold ranges from 5 seconds to 20 seconds.

[0288] Exemplarily, the time threshold is 10 seconds.

[0289] The embodiment of the present application records the duration of the robot's movement in the direction of pressing the first charging element. When the movement duration exceeds a time threshold, it determines that the first charging element has been pressed and starts charging, thereby avoiding charging failure caused by a failure of the first charging element and improving charging reliability.

[0290] In some embodiments of the present application, a charging control method is provided, which is applied to a robot system. FIG4 shows a schematic structural diagram of a robot system according to an embodiment of the present application. As shown in FIG4 , the robot system includes a base station 102 and a robot 104. The base station 102 is connected to a household device 200. The base station 102 includes a first charging element 1022 and a first position determination element 1024. The robot 104 includes a second charging element 1042.

[0291] FIG5 shows a flow chart of a charging control method according to an embodiment of the present application. As shown in FIG5 , the charging control method includes:

[0292] Step 502: When the robot is detected to enter the base station, the device status of the home device is obtained;

[0293] Step 504: When the device state is the target working state, control the base station to detect a first arrival signal;

[0294] The first in-place signal is a signal indicating that the first in-place determination element is triggered by the robot;

[0295] Step 506 : When the first arrival signal is detected, the robot is controlled to stop moving or retreat a target distance so that the distance between the second charging element and the first charging element is greater than or equal to a distance threshold.

[0296] In the embodiments of the present application, the robot system may be a cleaning robot system, such as a sweeping robot system, a mopping robot system, or a sweeping and mopping robot system. The robot system includes a base station and a robot. The base station is used to charge the robot and collect dust collected by the robot. If the robot has a mopping function, the base station can also clean the robot's mopping components.

[0297] The robot system's base station is connected to a household appliance, such as a washing machine. For example, in the case of a sweeping and mopping robot, the robot's base station is located at the bottom of the washing machine and shares the same water supply and drainage pipes. By integrating the washing machine and the robot base station, the water supply and drainage issues of sweeping and mopping robots or mopping robots can be resolved.

[0298] When the robot leaves the base station to perform a cleaning operation, if the cleaning phase is complete or the robot's remaining battery is low, it will return to the base station for recharging. During the recharging process, the robot can use near-field communication (NFC) such as infrared or Bluetooth to guide it into the base station and place the second charging element on the robot in contact with the first charging element on the base station.

[0299] In a robotic system where a base station is connected to a household appliance such as a washing machine, when the washing machine is in its intended operating state, especially in the spin cycle, the inner drum of the washing machine rotates rapidly and generates significant vibrations. These vibrations are transmitted to the base station and the robot, potentially causing the robot's position to shift. If the robot begins charging at this time, friction between the robot's second charging element and the base station's first charging element due to displacement and vibration will occur. This friction will cause wear on both the first and second charging elements, shortening the robot's service life.

[0300] To address the above issues, embodiments of the present application provide a first position determination element on the base station. When the robot enters the station, before reaching the charging position, it will advance to a "pre-charging" position. In this pre-charging position, the second charging element on the robot has not yet come into contact with the first charging element of the base station. For example, at this point, the distance between the second charging element and the first charging element is greater than a distance threshold. Therefore, when the robot is in the pre-charging position, regardless of whether the household appliance is operating, its vibration will not cause friction between the first and second charging elements.

[0301] For example, in the pre-charging position, a triggering unit on the robot triggers a first in-position determining element, thereby generating a first in-position signal. Therefore, upon detecting that the robot has entered the base station, if the base station detects that the washing machine is in the target operating state, i.e., the home appliance is in the target operating state, the first in-position signal is detected first.

[0302] It is understandable that the base station can obtain the device status of the home appliance through a near-field communication connection with the home appliance, for example, the base station obtains the target working status of the washing machine through Bluetooth.

[0303] The base station can also set up a vibration sensor to collect vibration signals through the vibration sensor and judge the target working state of the home appliance based on the vibration signal. For example, when the base station detects that the signal value of the vibration signal is greater than the threshold, it determines that the washing machine is in the target working state.

[0304] When the first arrival signal is detected, it means that the robot has arrived at the pre-charging position. At this time, the robot is controlled to stop moving or retreat the target distance, keep the robot at the pre-charging position, and ensure that the second charging element of the robot does not contact the first charging element of the base station.

[0305] In the embodiment of the present application, when the robot enters the station, it first determines whether the household appliance connected to the base station is working. If the household appliance is working, the robot is controlled to move to the pre-charging position, and ensures that the second charging element of the robot is not in contact with the first charging element of the base station. This can prevent the first charging element and the second charging element from being worn due to vibration when the household appliance is working, thereby increasing the service life of the robot.

[0306] Based on any of the above embodiments, after the step of controlling the robot to stop moving, the charging control method further includes:

[0307] When it is obtained that the device state of the household appliance is switched from the target working state to the non-target working state, the robot is controlled to move in the direction of the first charging element so that the first charging element contacts the second charging element.

[0308] In the embodiment of the present application, after the robot stops moving at the pre-charging position, the robot system continuously monitors the status of the household appliance. When the household appliance switches from the target operating state to the non-target operating state, the cleaning operation of the household appliance is complete. At this point, the household appliance no longer vibrates, thus preventing wear on the second and first charging elements.

[0309] Therefore, if it is detected that the household appliance has switched to a non-target working state, the robot is controlled to continue moving inward, specifically to move in the direction of the first charging element close to the base station, so that the robot moves from the pre-charging position to the charging position. When the robot is in place, the second charging element of the robot contacts the first charging element of the base station, and the robot can start charging.

[0310] The embodiment of the present application controls the robot from the pre-charging position to the charging position according to the device status change of the household appliance, thereby improving the charging efficiency while ensuring that the first charging element and the second charging element are not worn.

[0311] Based on any of the above embodiments, after the step of obtaining the device status of the household device, the charging control method further includes:

[0312] When the device state is a non-target working state, the robot is controlled to move toward the first charging element so that the first charging element contacts the second charging element.

[0313] In an embodiment of the present application, when the robot is detected entering the base station, if the base station obtains the device status of the washing machine, that is, the device status of the household appliance is a non-target working state, it means that the household appliance will not vibrate at this time, and there is no risk of wear between the second charging element and the first charging element after the robot enters the station.

[0314] Therefore, after detecting that the robot has entered the base station and the device status of the household appliance obtained is a non-target working state, the robot is controlled to move directly to the charging position. In the charging position, the second charging element of the robot contacts the first charging element of the base station. At this time, a loop is formed between the second charging element and the first charging element, and the robot can be charged through the charging signal provided by the base station.

[0315] In the embodiment of the present application, when the robot enters the station, it first determines whether the household appliance connected to the base station is working. If the household appliance is not working, the robot is controlled to move directly to the charging position. This can improve the charging reliability of the robot while preventing the first charging element and the second charging element from being worn due to vibration when the household appliance is working.

[0316] Based on any of the above embodiments, as shown in FIG4 , the base station 102 further includes a second position confirmation element 1026 ; after the step of controlling the robot to move toward the first charging element, the charging control method further includes:

[0317] When a contact signal is detected, the base station is controlled to detect a second in-place signal, wherein the contact signal is a signal that the first charging element is in contact with the second charging element, and the second in-place signal is a signal that the second in-place confirmation element is triggered by the robot; when the contact signal and the second in-place signal are detected, the base station is controlled to charge the robot.

[0318] In this embodiment of the present application, after the robot moves toward the first charging element, the robot's second charging element gradually approaches the base station's first charging element. When the robot's second charging element contacts the first charging element, an electrical circuit is formed between the first and second charging elements. The base station and the robot each transmit a contact signal through this circuit, and both the base station and the robot can detect the corresponding contact signal.

[0319] In related technologies, when the base station detects a contact signal, it determines that the robot is in place. At this time, the base station turns on the charging circuit, increases the voltage and current on the first charging element, and transmits electrical energy to the second charging element of the robot.

[0320] Because the first charging element has a certain degree of elasticity, when the robot's second charging element contacts the first, the first charging element must be pressed firmly to ensure sufficient contact between the first and second charging elements. If the robot stops moving immediately after the second charging element contacts the first without pressing the first charging element firmly, or if the robot's position changes after pressing the first charging element firmly due to the elasticity of the first charging element or external vibration, causing the first charging element to loosen, poor contact between the first and second charging elements may occur. If the charging circuit is activated at this time, arcing and other conditions may occur, affecting charging safety.

[0321] To address this issue, embodiments of the present application further provide a second position confirmation element on the base station. For example, the second position confirmation element can be a micro switch. A trigger portion corresponding to the position of the second position confirmation element is provided on the robot. Once the robot enters the base station, it continues to move inward.

[0322] When the second charging element of the robot comes into contact with the first charging element of the base station, the first charging element and the second charging element form a loop, and the base station can detect the corresponding contact signal.

[0323] After the base station detects the contact signal, the base station further detects the second in-position signal, that is, determines whether the second in-position confirmation element is switched by the robot.

[0324] When the robot moves to the state where the first charging element is pressed by the second charging element, the trigger part on the robot will trigger the second in-place confirmation element. At this time, the base station detects the second in-place signal of the second in-place confirmation element being triggered, and determines that the second charging element of the robot has pressed the first charging element, and the contact between the first charging element and the second charging element is good and tight. At this time, it is determined that the conditions for safe charging of the robot are met, and the base station is controlled to start charging the robot.

[0325] The embodiment of the present application sets a second position confirmation element to detect whether the robot is in a safe charging position, which can avoid the problem of arcing caused by insufficient contact between the first charging element and the second charging element, or poor contact caused by changes in the robot's position, and can effectively improve the charging safety of the robot.

[0326] Based on any of the above embodiments, when the first in-place determination element is triggered by the robot, the robot is located in the base station, and the first charging element is not in contact with the second charging element; when the second in-place confirmation element is triggered by the robot, the robot is located in the base station, and the first charging element is in contact with the second charging element.

[0327] In an embodiment of the present application, when the first arrival determination element is triggered by the robot, it is determined that the robot has entered the base station, but at this time the first charging element and the second charging element are not in contact, and the base station will not charge the robot.

[0328] When the second in-place confirmation element is triggered by the robot, the robot is located in the base station, and the first charging element is in contact with the second charging element at the same time, and the base station can charge the robot.

[0329] Based on any of the above embodiments, after the step of controlling the base station to detect the first arrival signal, the charging control method further includes:

[0330] When the contact signal is detected and the second in-position signal is not detected, the robot is controlled to move a first preset distance in the direction of the first charging element.

[0331] In an embodiment of the present application, if a contact signal is detected during the movement of the robot toward the first charging element, it is determined that the second charging element of the robot has contacted the first charging element of the base station, and the second in-place signal corresponding to the second in-place confirmation element is further detected.

[0332] If only the contact signal is detected but the second in-position signal is not detected, it is determined that the robot has not moved to the position where the first charging element is pressed. At this time, a motion signal is sent to the robot to control the robot to move further in the direction of the first charging element. During the movement, the second charging element of the robot will continuously squeeze the first charging element, thereby pressing the first charging element.

[0333] After the first charging element is pressed, the base station can detect the second in-position signal. At this time, the base station determines that the second charging element of the robot has pressed the first charging element, and starts charging the robot.

[0334] Exemplarily, the first preset distance ranges from 3 cm to 10 cm.

[0335] Exemplarily, the first preset distance is 5 cm.

[0336] In the embodiment of the present application, when the second charging element of the robot is in contact with the first charging element of the base station but the second in-place confirmation element has not yet been triggered, the robot is controlled to continue moving in the direction of pressing the first charging element, thereby ensuring that the second charging element of the robot is in close contact with the first charging element of the base station and ensuring charging safety.

[0337] Based on any of the above embodiments, after the step of controlling the robot to move a first preset distance in the direction of the first charging element, the charging control method further includes:

[0338] If the second in-position signal is still not detected, the step of controlling the robot to move the first preset distance in the direction of the first charging element is repeated until the second in-position signal is detected, or the number of times the robot moves in the direction of the first charging element is greater than a number threshold, or the movement duration of the robot moving in the direction of the first charging element is greater than a duration threshold.

[0339] In an embodiment of the present application, if the second in-position signal is still not detected after controlling the robot to move a first preset distance in the direction of the first charging element, the step of controlling the robot to move the first preset distance in the direction of the first charging element is repeated, and the second in-position signal is detected again.

[0340] If the second in-position signal is still not detected, the step of controlling the robot to move the first preset distance toward the first charging element is repeated.

[0341] When the second in-position signal is detected, it is determined that the robot is in position, and the robot is controlled to stop moving.

[0342] When it is detected that the number of movements of the robot reaches the number threshold, or the movement distance of the robot reaches the distance threshold, but the second in-place signal is still not detected, it means that the robot has tried to approach the first charging element many times. The reason for the lack of the second in-place signal may be a failure of the in-place determination element. At this time, the robot is controlled to stop moving as well.

[0343] Based on any of the above embodiments, the charging control method further includes: controlling the base station to charge the robot when the number of times the robot moves in the direction of the first charging element is greater than a threshold number.

[0344] In an embodiment of the present application, during the process of the robot entering the station to charge, if a contact signal is detected, it is determined that the second charging element of the robot has contacted the first charging element of the base station, and the second in-place signal corresponding to the second in-place confirmation element is further detected.

[0345] If only a contact signal is detected but no second in-position signal is detected, a motion signal is sent to the robot to control the robot to move further toward the first charging element, so that the first charging element is pressed by the inward movement of the robot.

[0346] After controlling the robot to move inward, if the second arrival signal is still not detected, the above logic is repeated, that is, the robot is controlled to move toward the first charging element again, and the number of movements of the robot is recorded at the same time.

[0347] If the recorded number of robot movements exceeds the set threshold, meaning the robot has repeatedly attempted to move inward to compress the first charging element, then the first charging element is likely already compressed by the second charging element, and the second and first charging elements are in good contact. Failure to detect the second in-place signal could be due to a malfunction of the second in-place confirmation element or a misalignment of the trigger on the robot. At this point, the control base station begins charging the robot.

[0348] Exemplarily, the number threshold ranges from 3 times to 7 times.

[0349] Exemplarily, the number threshold is 5 times.

[0350] The embodiment of the present application records the number of times the robot moves in the direction of pressing the first charging element. When the number exceeds a threshold, it determines that the first charging element has been pressed and charging begins, thereby avoiding charging failure caused by a failure of the second in-place confirmation element and improving charging reliability.

[0351] Based on any of the above embodiments, after the step of controlling the robot to move a first preset distance in the direction of the first charging element, the charging control method further includes: controlling the base station to charge the robot when the movement duration of the robot moving in the direction of the first charging element is greater than a time threshold.

[0352] In an embodiment of the present application, during the process of the robot entering the station to charge, if a contact signal is detected, it is determined that the second charging element of the robot has contacted the first charging element of the base station, and the second in-place signal corresponding to the second in-place confirmation element is further detected.

[0353] If only a contact signal is detected but no second in-position signal is detected, a motion signal is sent to the robot to control the robot to move further toward the first charging element, so that the first charging element is pressed by the inward movement of the robot.

[0354] After controlling the robot to move inward, if the second arrival signal is still not detected, the above logic is repeated, that is, the robot is continued to be controlled to move in the direction of the first charging element, and the movement time of the robot is recorded at the same time.

[0355] If the recorded robot duration exceeds the set duration threshold, meaning the robot has been moving inward for a sufficient period, then there's a high probability that the first charging element is being pressed against the second charging element, effectively establishing contact. Failure to detect the second arrival signal could be due to a malfunction of the second arrival confirmation element or a misalignment of the trigger on the robot. At this point, the control base station begins charging the robot.

[0356] Exemplarily, the time threshold ranges from 5 seconds to 20 seconds.

[0357] Exemplarily, the time threshold is 10 seconds.

[0358] The embodiment of the present application records the duration of the robot's movement in the direction of pressing the first charging element. When the movement duration exceeds a time threshold, it determines that the first charging element has been pressed and charging has begun, thereby avoiding charging failure caused by a failure of the second in-place confirmation element and improving charging reliability.

[0359] Based on any of the above embodiments, after the step of controlling the base station to charge the robot, the charging control method further includes: detecting charging information; and controlling the base station to stop charging the robot when the charging information meets a preset condition.

[0360] In an embodiment of the present application, while the base station is charging the robot, the current charging information is detected in real time. When the charging information is detected to meet preset conditions, such as charging is complete or the current environment does not meet the charging requirements, the base station is controlled to stop charging the robot.

[0361] The embodiment of the present application determines whether to stop charging the robot based on the charging information, thereby ensuring the charging safety of the robot.

[0362] Based on any of the above embodiments, the charging information includes the current power of the robot; the preset condition is that the current power is greater than the power threshold.

[0363] In the embodiment of the present application, while the base station is charging the robot, the current battery level of the robot is obtained in real time. When the current battery level of the robot is greater than a set battery threshold, charging of the robot is determined to be complete, and the base station is controlled to stop charging the robot.

[0364] Exemplarily, the battery threshold ranges from 85% to 98%.

[0365] Exemplarily, the power threshold is 90%.

[0366] Based on any of the above embodiments, after controlling the base station to charge the robot, the charging control method further includes: when the device state switches from a non-target working state to a target working state, controlling the base station to stop charging the robot.

[0367] In the embodiment of the present application, when the home appliance switches back to the target operating state, i.e., when the washing machine resumes operation, the vibrations generated by the washing machine are transmitted to the base station and the robot, potentially causing the robot to shift position. This shift in position can cause the connection between the first and second charging elements to become loose. This poor contact between the first and second charging elements can lead to arcing, compromising charging safety.

[0368] Therefore, when it is detected that the device status of the household appliance has switched to the target working state, the base station is controlled to stop charging the robot to prevent the robot from being displaced by the vibration of the washing machine, so that the second charging element cannot press the first charging element to generate arcing and sparking, thereby ensuring charging safety.

[0369] Based on any of the above embodiments, before the step of obtaining the device status of the household device, the charging control method further includes:

[0370] In response to the recharging signal, the robot establishes a near-field communication connection with the base station; obtains the charging coordinates corresponding to the base station through the near-field communication connection; and controls the robot to enter the base station based on the charging coordinates.

[0371] In an embodiment of the present application, the recharging signal can be a signal generated when the robot's battery level is lower than a set recharging threshold, a signal generated when the robot's dust box is full, a signal generated when the degree of dirtiness of the robot's mopping component reaches a set value, or a signal generated after the robot completes the cleaning task.

[0372] After detecting the recharging signal, the robot starts recharging. For example, a near field communication connection is established between the robot and the base station, wherein the near field communication connection can be a Bluetooth connection or an infrared connection.

[0373] Taking the near-field communication connection as a Bluetooth connection as an example, the robot obtains the corresponding charging coordinates through the Bluetooth connection between the robot and the base station. The charging coordinates are the coordinates of the position in the base station where the second charging element can contact the first charging element.

[0374] Guided by the charging coordinates, the robot moves into the base station and gradually brings the second charging element closer to the first charging element. When the second charging element contacts the first charging element, the base station detects a contact signal. The base station then determines whether the first charging element is pressed against the second charging element based on a second in-placement signal from a second in-placement confirmation element. Upon detecting this second in-placement signal, the base station begins charging the robot.

[0375] The embodiment of the present application guides the robot into the base station for charging through a near-field communication connection, which can improve the charging efficiency of the robot.

[0376] In some embodiments of the present application, a charging control device is provided for use in a robot system. The robot system includes a base station and a robot. The base station is connected to a household appliance. The base station includes a first charging element, and the robot includes a second charging element. FIG6 shows a structural block diagram of the charging control device according to an embodiment of the present application. As shown in FIG6 , the charging control device 600 includes:

[0377] An acquisition module 602 is configured to acquire the device status of a home device when detecting that the robot enters the base station;

[0378] The control module 604 is configured to control the robot based on at least some device states of the home devices.

[0379] In the embodiment of the present application, different device states of the household appliances will affect the charging state of the robot. Controlling the robot according to the device states of the household appliances can improve the charging stability of the robot.

[0380] For example, certain device states of household appliances will generate large vibrations, and the charging connection between the robot and the base station relies on the contact between the first charging element and the second charging element, and the vibration will cause friction between the first charging element and the second charging element. In order to avoid wear, the robot can be controlled to move away from the base station when the household appliance is in a device state that generates vibrations, so that the first charging element and the second charging element are separated.

[0381] In some cases, when the household device is in a state where vibration occurs, the robot is controlled to move away from the base station according to a preset moving distance. When the distance between the first charging element and the second charging element is large enough, friction between the first charging element and the second charging element can be avoided.

[0382] In other cases, a position confirmation element can be provided to detect the position of the robot relative to the base station, thereby determining whether the first charging element and the second charging element are in contact or separation, thereby avoiding friction between the first charging element and the second charging element.

[0383] The embodiments of the present application can reduce the wear of charging components between the robot and the base station.

[0384] In some embodiments of the present application, the acquisition module is specifically used to obtain the distance value between the second charging element and the first charging element when the device state is the target working state; the control module is specifically used to control the robot to stop moving or lag behind the target distance when the distance value is less than or equal to the distance threshold.

[0385] In the embodiments of the present application, the robot system may be a cleaning robot system, such as a sweeping robot system, a mopping robot system, or a sweeping and mopping robot system. The robot system includes a base station and a robot. The base station is used to charge the robot and collect dust collected by the robot. If the robot has a mopping function, the base station can also clean the robot's mopping components.

[0386] The robot system's base station is connected to a household appliance, such as a washing machine. For example, in the case of a sweeping and mopping robot, the robot's base station is located at the bottom of the washing machine and shares the same water supply and drainage pipes. By integrating the washing machine and the robot base station, the water supply and drainage issues of sweeping and mopping robots or mopping robots can be resolved.

[0387] When the robot leaves the base station to perform a cleaning operation, if the cleaning phase is complete or the robot's remaining battery is low, it will return to the base station for recharging. During the recharging process, the robot can use near-field communication (NFC) such as infrared or Bluetooth to guide it into the base station and place the second charging element on the robot in contact with the first charging element on the base station.

[0388] In a robotic system where a base station is connected to a household appliance such as a washing machine, when the washing machine is in its intended operating state, especially in the spin cycle, the inner drum of the washing machine rotates rapidly and generates significant vibrations. These vibrations are transmitted to the base station and the robot, potentially causing the robot's position to shift. If the robot begins charging at this time, friction between the robot's second charging element and the base station's first charging element due to displacement and vibration will occur. This friction will cause wear on both the first and second charging elements, shortening the robot's service life.

[0389] To address the above issues, the present embodiment of the present invention obtains the status of household appliances, such as a washing machine, through a base station when the robot enters the station. If the washing machine is detected to be in the target operating state, the distance between the robot's second charging element and the base station's first charging element is continuously measured during the robot's entry process.

[0390] When it is detected that the distance between the second charging element of the robot and the first charging element of the base station reaches a preset distance threshold, it means that the second charging element is about to reach the first charging element. At this time, the robot is controlled to stop moving so that a certain distance is maintained between the second charging element of the robot and the first charging element of the base station. This ensures that even if the base station and the robot are affected by the vibration of the washing machine when it is working, there will be no contact friction between the second charging element of the robot and the first charging element of the base station, thereby avoiding wear.

[0391] In the embodiment of the present application, when the robot enters the station, it first determines whether the household appliance connected to the base station is working. If the household appliance is working, the distance value between the second charging element of the robot and the first charging element of the base station is collected. When the distance value is less than or equal to the distance threshold, the robot is controlled to stop moving so that a certain distance is maintained between the second charging element and the first charging element to ensure that no contact friction is formed between the second charging element and the first charging element of the base station. This can prevent the first charging element and the second charging element from being worn due to vibration when the household appliance is working, thereby increasing the service life of the robot.

[0392] Based on any of the above embodiments, the control module is further configured to:

[0393] When it is obtained that the device state of the household device is switched from the target working state to the non-target working state, the robot is controlled to move in a direction close to the first charging element so that the first charging element contacts the second charging element.

[0394] In the embodiment of the present application, after the robot stops moving at the pre-charging position, the robot system continuously monitors the status of the household appliance. When the household appliance switches from the target operating state to the non-target operating state, the cleaning operation of the household appliance is complete. At this point, the household appliance no longer vibrates, thus preventing wear on the second and first charging elements.

[0395] Therefore, if it is detected that the household appliance has switched to a non-target working state, the robot is controlled to continue moving inward, specifically toward the direction of the first charging element close to the base station, so that the robot shortens the distance between the second charging element and the first charging element, until the robot moves to the position where the second charging element contacts the first charging element of the base station, and the robot can start charging.

[0396] The embodiment of the present application controls the robot from the pre-charging position to the charging position according to the device status change of the household appliance, thereby improving the charging efficiency while ensuring that the first charging element and the second charging element are not worn.

[0397] Based on any of the above embodiments, the control module is further configured to:

[0398] When the device state is a non-target working state, the robot is controlled to move toward the direction approaching the first charging element so that the first charging element contacts the second charging element.

[0399] In an embodiment of the present application, when the robot is detected entering the base station, if the base station obtains the device status of the washing machine, that is, the device status of the household appliance is a non-target working state, it means that the household appliance will not vibrate at this time, and there is no risk of wear between the second charging element and the first charging element after the robot enters the station.

[0400] Therefore, after detecting that the robot has entered the base station and the device status of the household appliance obtained is a non-target working state, the robot is controlled to move directly to the charging position in the direction close to the first charging element. In the charging position, the second charging element of the robot contacts the first charging element of the base station. At this time, a loop is formed between the second charging element and the first charging element, and the robot can be charged through the charging signal provided by the base station.

[0401] In the embodiment of the present application, when the robot enters the station, it first determines whether the household appliance connected to the base station is working. If the household appliance is not working, the robot is controlled to move directly to the charging position. This can improve the charging reliability of the robot while preventing the first charging element and the second charging element from being worn due to vibration when the household appliance is working.

[0402] Based on any of the above embodiments, the base station includes a sensor; and an acquisition module, specifically configured to: acquire a distance value between the second charging component and the first charging component through the sensor.

[0403] In an embodiment of the present application, a sensor is provided in the base station. Exemplarily, the sensor may be a laser radar or an ultrasonic radar. The sensor can accurately collect the distance value between the second charging element of the robot and the first charging element of the base station, and when the household appliance connected to the base station is in the target working state, the robot is controlled to stop at a position where the second charging element maintains a certain distance from the first charging element, thereby preventing the first charging element and the second charging element from being worn out due to the vibration generated by the operation of the household appliance, thereby increasing the service life of the robot.

[0404] Based on any of the foregoing embodiments, the value range of the distance threshold is: greater than or equal to 1.5 cm and less than or equal to 7.5 cm.

[0405] In the embodiment of the present application, the distance threshold is specifically greater than or equal to 1.5 cm and less than or equal to 7.5 cm. For example, when the robot enters the base station, if it detects that a household appliance connected to the base station is in the target working state, the sensor collects the distance value between the robot's second charging element and the base station's first charging element. When the distance value is less than the distance threshold, the robot is controlled to stop moving, thereby ensuring sufficient spacing between the first and second charging elements to prevent wear.

[0406] Exemplarily, the distance threshold is 5 cm.

[0407] Exemplarily, the distance threshold is 3 cm.

[0408] Based on any of the above embodiments, the distance threshold includes a first threshold, a second threshold, and a third threshold;

[0409] Among them, when the distance value is less than or equal to the first threshold, the first charging element is in contact with the second charging element; when the distance value is greater than the first threshold and less than or equal to the second threshold, the robot is located inside the base station and the first charging element is not in contact with the second charging element; when the distance value is greater than the second threshold and less than or equal to the third threshold, the robot is located outside the base station.

[0410] In the embodiment of the present application, when the distance between the first charging element and the second charging element is less than or equal to a first threshold, it represents that the first charging element and the second charging element are in contact, and the robot is in a charging state.

[0411] When the distance between the first charging element and the second charging element is greater than a first threshold and less than or equal to a second threshold, it means that the robot has reached the base station, but the first charging element and the second charging element are not in contact. At this time, the robot is in a docking state.

[0412] When the distance between the first charging element and the second charging element is greater than the second threshold and less than or equal to the third threshold, it means that the robot has not yet completely entered the base station. At this time, the robot is in a pre-docking state.

[0413] Based on any of the above embodiments, the charging control device further includes:

[0414] The communication module is used for the robot to establish a near-field communication connection with the base station in response to the recharging signal;

[0415] The acquisition module is further used to obtain the charging coordinates corresponding to the base station through a near field communication connection;

[0416] The control module is also used to control the robot to enter the base station based on the charging coordinates.

[0417] In an embodiment of the present application, the recharging signal can be a signal generated when the robot's battery level is lower than a set recharging threshold, a signal generated when the robot's dust box is full, a signal generated when the degree of dirtiness of the robot's mopping component reaches a set value, or a signal generated after the robot completes the cleaning task.

[0418] After detecting the recharging signal, the robot starts recharging. For example, a near field communication connection is established between the robot and the base station, wherein the near field communication connection can be a Bluetooth connection or an infrared connection.

[0419] Taking the near-field communication connection as a Bluetooth connection as an example, the robot obtains the corresponding charging coordinates through the Bluetooth connection between the robot and the base station. The charging coordinates are the coordinates of the position in the base station where the second charging element can contact the first charging element.

[0420] Guided by the charging coordinates, the robot moves to the interior of the base station and gradually brings the second charging element closer to the first charging element. After the second charging element contacts the first charging element and presses the second charging element against the first charging element, charging of the robot begins.

[0421] The embodiment of the present application guides the robot into the base station for charging through a near-field communication connection, which can improve the charging efficiency of the robot.

[0422] Based on any of the above embodiments, the base station further includes a first location determination element; and a control module further configured to:

[0423] When a contact signal is detected, the base station is controlled to detect an in-position signal, wherein the contact signal is a signal that the first charging element is in contact with the second charging element, and the in-position signal is a signal that the first in-position determination element is triggered by the robot; when the contact signal and the in-position signal are detected, the base station is controlled to charge the robot.

[0424] In an embodiment of the present application, after the robot enters the base station, the robot moves toward the direction close to the first charging element. When the second charging element of the robot contacts the first charging element, an electrical circuit is formed between the first charging element and the second charging element. The base station and the robot will both send contact signals to each other through this electrical circuit. At this time, both the base station and the robot can detect the corresponding contact signals.

[0425] In related technologies, when the base station detects a contact signal, it determines that the robot is in place. At this time, the base station turns on the charging circuit, increases the voltage and current on the first charging element, and transmits electrical energy to the second charging element of the robot.

[0426] Because the first charging element has a certain degree of elasticity, when the robot's second charging element contacts the first, the first charging element must be pressed firmly to ensure sufficient contact between the first and second charging elements. If the robot stops moving immediately after the second charging element contacts the first without pressing the first charging element firmly, or if the robot's position changes after pressing the first charging element firmly due to the elasticity of the first charging element or external vibration, causing the first charging element to loosen, poor contact between the first and second charging elements may occur. If the charging circuit is activated at this time, arcing and other conditions may occur, affecting charging safety.

[0427] To address the above situation, embodiments of the present application further provide a first position-determining element on the base station. For example, the first position-determining element can be a microswitch. A trigger portion corresponding to the position of the first position-determining element is provided on the robot. Once the robot enters the base station, it continues to move inward.

[0428] When the second charging element of the robot comes into contact with the first charging element of the base station, the first charging element and the second charging element form a loop, and the base station can detect the corresponding contact signal.

[0429] After the base station detects the contact signal, the base station further detects the in-position signal, that is, determines whether the first in-position determining element is switched by the robot.

[0430] When the robot moves to the state where the first charging element is pressed by the second charging element, the trigger part on the robot will trigger the first in-place determination element. At this time, the base station detects the in-place signal of the first in-place determination element being triggered, and judges that the second charging element of the robot has pressed the first charging element, and the contact between the first charging element and the second charging element is good and tight. At this time, it is determined that the conditions for safe charging of the robot are met, and the base station is controlled to start charging the robot.

[0431] It is understandable that after charging starts, if it is detected that the arrival signal disappears, it is determined that the robot's position has changed, and the base station is controlled to stop charging to ensure safety.

[0432] The embodiment of the present application sets a first position determination element to detect whether the robot is in a safe charging position, which can avoid the problem of arcing caused by insufficient contact between the first charging element and the second charging element, or poor contact caused by changes in the robot's position, and can effectively improve the charging safety of the robot.

[0433] Based on any of the above embodiments, the control module is further used to: when a contact signal is detected and no in-position signal is detected, control the robot to move a first preset distance in the direction of the first charging element.

[0434] In an embodiment of the present application, during the process of the robot entering the station to charge, if a contact signal is detected, it is determined that the second charging element of the robot has contacted the first charging element of the base station, and the arrival signal corresponding to the first arrival determination element is further detected.

[0435] If only a contact signal is detected but no in-position signal is detected, it is determined that the robot has not moved to the position where the first charging element is pressed. At this time, a motion signal is sent to the robot to control the robot to move further toward the first charging element. During the movement, the second charging element of the robot will continuously squeeze the first charging element, thereby pressing the first charging element.

[0436] After the first charging element is pressed, the base station can detect the arrival signal. At this time, the base station determines that the second charging element of the robot has pressed the first charging element, and starts charging the robot.

[0437] Exemplarily, the first preset distance ranges from 3 cm to 10 cm.

[0438] Exemplarily, the first preset distance is 5 cm.

[0439] In the embodiment of the present application, when the second charging element of the robot is in contact with the first charging element of the base station but the first in-place determination element has not yet been triggered, the robot is controlled to continue moving in the direction of pressing the first charging element, thereby ensuring that the second charging element of the robot is in close contact with the first charging element of the base station and ensuring charging safety.

[0440] Based on any of the above embodiments, the control module is further configured to:

[0441] If the in-position signal is still not detected, the steps of controlling the robot to move a first preset distance in the direction close to the first charging element are repeated until the in-position signal is detected, or the number of times the robot moves in the direction close to the first charging element is greater than the number threshold, or the movement duration of the robot moving in the direction close to the first charging element is greater than the duration threshold.

[0442] In an embodiment of the present application, if the in-position signal is still not detected after the robot is controlled to move the first preset distance in the direction close to the first charging element, the step of controlling the robot to move the first preset distance in the direction close to the first charging element is repeated, and the in-position signal is detected again.

[0443] If the in-position signal is still not detected, the step of controlling the robot to move the first preset distance in the direction close to the first charging element is repeated again.

[0444] When the in-position signal is detected, the robot is determined to be in position and is controlled to stop moving.

[0445] When it is detected that the number of movements of the robot reaches the number threshold, or the movement distance of the robot reaches the distance threshold, but no arrival signal is detected, it means that the robot has tried to approach the first charging element many times. The reason for the lack of arrival signal may be a failure of the first arrival determination element. At this time, the robot is controlled to stop moving as well.

[0446] Based on any of the above embodiments, the control module is further configured to: control the base station to charge the robot when the number of times the robot moves in the direction of the first charging element is greater than a threshold number.

[0447] In an embodiment of the present application, during the process of the robot entering the station to charge, if a contact signal is detected, it is determined that the second charging element of the robot has contacted the first charging element of the base station, and the arrival signal corresponding to the first arrival determination element is further detected.

[0448] If only a contact signal is detected but no in-position signal is detected, a motion signal is sent to the robot to control the robot to move further toward the first charging element, so that the first charging element is pressed by the inward movement of the robot.

[0449] After controlling the robot to move inward, if the arrival signal is still not detected, the above logic is repeated, that is, the robot is controlled to move in the direction close to the first charging element again, and the number of movements of the robot is recorded at the same time.

[0450] If the recorded number of robot movements exceeds the set threshold, meaning the robot has repeatedly attempted to move inward to compress the first charging element, then the first charging element is likely already compressed by the second charging element, and the second and first charging elements are in good contact. Failure to detect a "reach" signal could be due to a malfunction of the first reach determination element or a misalignment of the trigger on the robot. At this point, the control base station begins charging the robot.

[0451] Exemplarily, the number threshold ranges from 3 times to 7 times.

[0452] Exemplarily, the number threshold is 5 times.

[0453] The embodiment of the present application records the number of times the robot moves in the direction of pressing the first charging element. When the number exceeds a threshold, it determines that the first charging element has been pressed and charging begins, thereby avoiding charging failure caused by a failure of the first charging element and improving charging reliability.

[0454] Based on any of the above embodiments, the control module is further used to: when the movement time of the robot towards the first charging element is greater than a time threshold, control the base station to charge the robot.

[0455] In an embodiment of the present application, during the process of the robot entering the station to charge, if a contact signal is detected, it is determined that the second charging element of the robot has contacted the first charging element of the base station, and the arrival signal corresponding to the first arrival determination element is further detected.

[0456] If only a contact signal is detected but no in-position signal is detected, a motion signal is sent to the robot to control the robot to move further toward the first charging element, so that the first charging element is pressed by the inward movement of the robot.

[0457] After controlling the robot to move inward, if the arrival signal is still not detected, the above logic is repeated, that is, the robot is continued to be controlled to move in the direction close to the first charging element, and the movement time of the robot is recorded at the same time.

[0458] If the recorded robot movement duration exceeds the set threshold, meaning the robot's inward movement is long enough, there's a high probability that the first charging element is pressed against the second charging element, effectively establishing contact. Failure to detect a "reach" signal could be due to a malfunction in the first reaching element or a misalignment of the trigger on the robot. At this point, the control base station begins charging the robot.

[0459] Exemplarily, the time threshold ranges from 5 seconds to 20 seconds.

[0460] Exemplarily, the time threshold is 10 seconds.

[0461] The embodiment of the present application records the duration of the robot's movement in the direction of pressing the first charging element. When the movement duration exceeds a time threshold, it determines that the first charging element has been pressed and starts charging, thereby avoiding charging failure caused by a failure of the first charging element and improving charging reliability.

[0462] In some embodiments of the present application, a charging control device is provided, which is applied to a robot system. The robot system includes a base station and a robot. The base station is connected to a household appliance. The base station includes a first charging element and a first position determination element. The robot includes a second charging element.

[0463] The control module is further configured to, when the device state is the target working state, control the base station to detect a first in-place signal, wherein the first in-place signal is a signal that the first in-place determination element is triggered by the robot; and, when the first in-place signal is detected, control the robot to stop moving or retreat a target distance so that the distance value between the second charging element and the first charging element is greater than or equal to a distance threshold.

[0464] In the embodiments of the present application, the robot system may be a cleaning robot system, such as a sweeping robot system, a mopping robot system, or a sweeping and mopping robot system. The robot system includes a base station and a robot. The base station is used to charge the robot and collect dust collected by the robot. If the robot has a mopping function, the base station can also clean the robot's mopping components.

[0465] The robot system's base station is connected to a household appliance, such as a washing machine. For example, in the case of a sweeping and mopping robot, the robot's base station is located at the bottom of the washing machine and shares the same water supply and drainage pipes. By integrating the washing machine and the robot base station, the water supply and drainage issues of sweeping and mopping robots or mopping robots can be resolved.

[0466] When the robot leaves the base station to perform a cleaning operation, if the cleaning phase is complete or the robot's remaining battery is low, it will return to the base station for recharging. During the recharging process, the robot can use near-field communication (NFC) such as infrared or Bluetooth to guide it into the base station and place the second charging element on the robot in contact with the first charging element on the base station.

[0467] In a robotic system where a base station is connected to a household appliance such as a washing machine, when the washing machine is in its intended operating state, especially in the spin cycle, the inner drum of the washing machine rotates rapidly and generates significant vibrations. These vibrations are transmitted to the base station and the robot, potentially causing the robot's position to shift. If the robot begins charging at this time, friction between the robot's second charging element and the base station's first charging element due to displacement and vibration will occur. This friction will cause wear on both the first and second charging elements, shortening the robot's service life.

[0468] To address the above issues, embodiments of the present application provide a first position determination element on the base station. When the robot enters the station, before reaching the charging position, it will advance to a "pre-charging" position. In this pre-charging position, the second charging element on the robot has not yet come into contact with the first charging element of the base station. For example, at this point, the distance between the second charging element and the first charging element is greater than a distance threshold. Therefore, when the robot is in the pre-charging position, regardless of whether the household appliance is operating, its vibration will not cause friction between the first and second charging elements.

[0469] For example, in the pre-charging position, a triggering unit on the robot triggers a first in-position determining element, thereby generating a first in-position signal. Therefore, upon detecting that the robot has entered the base station, if the base station detects that the washing machine is in the target operating state, i.e., the home appliance is in the target operating state, the first in-position signal is detected first.

[0470] It is understandable that the base station can obtain the device status of the home appliance through a near-field communication connection with the home appliance, for example, the base station obtains the target working status of the washing machine through Bluetooth.

[0471] The base station can also set up a vibration sensor to collect vibration signals through the vibration sensor and judge the target working state of the home appliance based on the vibration signal. For example, when the base station detects that the signal value of the vibration signal is greater than the threshold, it determines that the washing machine is in the target working state.

[0472] When the first arrival signal is detected, it means that the robot has arrived at the pre-charging position. At this time, the robot is controlled to stop moving, keep the robot at the pre-charging position, and ensure that the second charging element of the robot does not contact the first charging element of the base station.

[0473] In the embodiment of the present application, when the robot enters the station, it first determines whether the household appliance connected to the base station is working. If the household appliance is working, the robot is controlled to move to the pre-charging position, and ensures that the second charging element of the robot is not in contact with the first charging element of the base station. This can prevent the first charging element and the second charging element from being worn due to vibration when the household appliance is working, thereby increasing the service life of the robot.

[0474] Based on any of the above embodiments, the control module is further configured to:

[0475] When it is obtained that the device state of the household appliance is switched from the target working state to the non-target working state, the robot is controlled to move in the direction of the first charging element so that the first charging element contacts the second charging element.

[0476] In the embodiment of the present application, after the robot stops moving at the pre-charging position, the robot system continuously monitors the status of the household appliance. When the household appliance switches from the target operating state to the non-target operating state, the cleaning operation of the household appliance is complete. At this point, the household appliance no longer vibrates, thus preventing wear on the second and first charging elements.

[0477] Therefore, if it is detected that the household appliance has switched to a non-target working state, the robot is controlled to continue moving inward, specifically to move in the direction of the first charging element close to the base station, so that the robot moves from the pre-charging position to the charging position. When the robot is in place, the second charging element of the robot contacts the first charging element of the base station, and the robot can start charging.

[0478] The embodiment of the present application controls the robot from the pre-charging position to the charging position according to the device status change of the household appliance, thereby improving the charging efficiency while ensuring that the first charging element and the second charging element are not worn.

[0479] Based on any of the above embodiments, the control module is further configured to:

[0480] When the device state is a non-target working state, the robot is controlled to move toward the first charging element so that the first charging element contacts the second charging element.

[0481] In an embodiment of the present application, when the robot is detected entering the base station, if the base station obtains the device status of the washing machine, that is, the device status of the household appliance is a non-target working state, it means that the household appliance will not vibrate at this time, and there is no risk of wear between the second charging element and the first charging element after the robot enters the station.

[0482] Therefore, after detecting that the robot has entered the base station and the device status of the household appliance obtained is a non-target working state, the robot is controlled to move directly to the charging position. In the charging position, the second charging element of the robot contacts the first charging element of the base station. At this time, a loop is formed between the second charging element and the first charging element, and the robot can be charged through the charging signal provided by the base station.

[0483] In the embodiment of the present application, when the robot enters the station, it first determines whether the household appliance connected to the base station is working. If the household appliance is not working, the robot is controlled to move directly to the charging position. This can improve the charging reliability of the robot while preventing the first charging element and the second charging element from being worn due to vibration when the household appliance is working.

[0484] Based on any of the above embodiments, the base station further includes a second position confirmation element; and the control module is further configured to:

[0485] When a contact signal is detected, the base station is controlled to detect a second in-place signal, wherein the contact signal is a signal that the first charging element is in contact with the second charging element, and the second in-place signal is a signal that the second in-place confirmation element is triggered by the robot; when the contact signal and the second in-place signal are detected, the base station is controlled to charge the robot.

[0486] In this embodiment of the present application, after the robot moves toward the first charging element, the robot's second charging element gradually approaches the base station's first charging element. When the robot's second charging element contacts the first charging element, an electrical circuit is formed between the first and second charging elements. The base station and the robot each transmit a contact signal through this circuit, and both the base station and the robot can detect the corresponding contact signal.

[0487] In related technologies, when the base station detects a contact signal, it determines that the robot is in place. At this time, the base station turns on the charging circuit, increases the voltage and current on the first charging element, and transmits electrical energy to the second charging element of the robot.

[0488] Because the first charging element has a certain degree of elasticity, when the robot's second charging element contacts the first, the first charging element must be pressed firmly to ensure sufficient contact between the first and second charging elements. If the robot stops moving immediately after the second charging element contacts the first without pressing the first charging element firmly, or if the robot's position changes after pressing the first charging element firmly due to the elasticity of the first charging element or external vibration, causing the first charging element to loosen, poor contact between the first and second charging elements may occur. If the charging circuit is activated at this time, arcing and other conditions may occur, affecting charging safety.

[0489] To address this issue, embodiments of the present application further provide a second position confirmation element on the base station. For example, the second position confirmation element can be a micro switch. A trigger portion corresponding to the position of the second position confirmation element is provided on the robot. Once the robot enters the base station, it continues to move inward.

[0490] When the second charging element of the robot comes into contact with the first charging element of the base station, the first charging element and the second charging element form a loop, and the base station can detect the corresponding contact signal.

[0491] After the base station detects the contact signal, the base station further detects the second in-position signal, that is, determines whether the second in-position confirmation element is switched by the robot.

[0492] When the robot moves to the state where the first charging element is pressed by the second charging element, the trigger part on the robot will trigger the second in-place confirmation element. At this time, the base station detects the second in-place signal of the second in-place confirmation element being triggered, and determines that the second charging element of the robot has pressed the first charging element, and the contact between the first charging element and the second charging element is good and tight. At this time, it is determined that the conditions for safe charging of the robot are met, and the base station is controlled to start charging the robot.

[0493] The embodiment of the present application sets a second position confirmation element to detect whether the robot is in a safe charging position, which can avoid the problem of arcing caused by insufficient contact between the first charging element and the second charging element, or poor contact caused by changes in the robot's position, and can effectively improve the charging safety of the robot.

[0494] Based on any of the above embodiments, when the first in-place determination element is triggered by the robot, the robot is located in the base station, and the first charging element is not in contact with the second charging element; when the second in-place confirmation element is triggered by the robot, the robot is located in the base station, and the first charging element is in contact with the second charging element.

[0495] In an embodiment of the present application, when the first arrival determination element is triggered by the robot, it is determined that the robot has entered the base station, but at this time the first charging element and the second charging element are not in contact, and the base station will not charge the robot.

[0496] When the second in-place confirmation element is triggered by the robot, the robot is located in the base station, and the first charging element is in contact with the second charging element at the same time, and the base station can charge the robot.

[0497] Based on any of the above embodiments, the control module is further configured to:

[0498] When the contact signal is detected and the second in-position signal is not detected, the robot is controlled to move a first preset distance in the direction of the first charging element.

[0499] In an embodiment of the present application, if a contact signal is detected during the movement of the robot toward the first charging element, it is determined that the second charging element of the robot has contacted the first charging element of the base station, and the second in-place signal corresponding to the second in-place confirmation element is further detected.

[0500] If only the contact signal is detected but the second in-position signal is not detected, it is determined that the robot has not moved to the position where the first charging element is pressed. At this time, a motion signal is sent to the robot to control the robot to move further in the direction of the first charging element. During the movement, the second charging element of the robot will continuously squeeze the first charging element, thereby pressing the first charging element.

[0501] After the first charging element is pressed, the base station can detect the second in-position signal. At this time, the base station determines that the second charging element of the robot has pressed the first charging element, and starts charging the robot.

[0502] Exemplarily, the first preset distance ranges from 3 cm to 10 cm.

[0503] Exemplarily, the first preset distance is 5 cm.

[0504] In the embodiment of the present application, when the second charging element of the robot is in contact with the first charging element of the base station but the second in-place confirmation element has not yet been triggered, the robot is controlled to continue moving in the direction of pressing the first charging element, thereby ensuring that the second charging element of the robot is in close contact with the first charging element of the base station and ensuring charging safety.

[0505] Based on any of the above embodiments, the control module is further used to: if the second in-position signal is still not detected, repeatedly execute the step of controlling the robot to move a first preset distance in the direction of the first charging element until the second in-position signal is detected, or the number of times the robot moves in the direction of the first charging element is greater than a number threshold, or the movement duration of the robot moving in the direction of the first charging element is greater than a duration threshold.

[0506] In an embodiment of the present application, if the second in-position signal is still not detected after controlling the robot to move a first preset distance in the direction of the first charging element, the step of controlling the robot to move the first preset distance in the direction of the first charging element is repeated, and the second in-position signal is detected again.

[0507] If the second in-position signal is still not detected, the step of controlling the robot to move the first preset distance toward the first charging element is repeated.

[0508] When the second in-position signal is detected, it is determined that the robot is in position, and the robot is controlled to stop moving.

[0509] When it is detected that the number of movements of the robot reaches the number threshold, or the movement distance of the robot reaches the distance threshold, but the second in-place signal is still not detected, it means that the robot has tried to approach the first charging element many times. The reason for the lack of the second in-place signal may be a failure of the in-place determination element. At this time, the robot is controlled to stop moving as well.

[0510] Based on any of the above embodiments, the control module is further configured to: control the base station to charge the robot when the number of times the robot moves in the direction of the first charging element is greater than a threshold number.

[0511] In an embodiment of the present application, during the process of the robot entering the station to charge, if a contact signal is detected, it is determined that the second charging element of the robot has contacted the first charging element of the base station, and the second in-place signal corresponding to the second in-place confirmation element is further detected.

[0512] If only a contact signal is detected but no second in-position signal is detected, a motion signal is sent to the robot to control the robot to move further toward the first charging element, so that the first charging element is pressed by the inward movement of the robot.

[0513] After controlling the robot to move inward, if the second arrival signal is still not detected, the above logic is repeated, that is, the robot is controlled to move toward the first charging element again, and the number of movements of the robot is recorded at the same time.

[0514] If the recorded number of robot movements exceeds the set threshold, meaning the robot has repeatedly attempted to move inward to compress the first charging element, then the first charging element is likely already compressed by the second charging element, and the second and first charging elements are in good contact. Failure to detect the second in-place signal could be due to a malfunction of the second in-place confirmation element or a misalignment of the trigger on the robot. At this point, the control base station begins charging the robot.

[0515] Exemplarily, the number threshold ranges from 3 times to 7 times.

[0516] Exemplarily, the number threshold is 5 times.

[0517] The embodiment of the present application records the number of times the robot moves in the direction of pressing the first charging element. When the number exceeds a threshold, it determines that the first charging element has been pressed and charging begins, thereby avoiding charging failure caused by a failure of the second in-place confirmation element and improving charging reliability.

[0518] Based on any of the above embodiments, the control module is further used to: when the movement time of the robot towards the first charging element is greater than a time threshold, control the base station to charge the robot.

[0519] In an embodiment of the present application, during the process of the robot entering the station to charge, if a contact signal is detected, it is determined that the second charging element of the robot has contacted the first charging element of the base station, and the second in-place signal corresponding to the second in-place confirmation element is further detected.

[0520] If only a contact signal is detected but no second in-position signal is detected, a motion signal is sent to the robot to control the robot to move further toward the first charging element, so that the first charging element is pressed by the inward movement of the robot.

[0521] After controlling the robot to move inward, if the second arrival signal is still not detected, the above logic is repeated, that is, the robot is continued to be controlled to move in the direction of the first charging element, and the movement time of the robot is recorded at the same time.

[0522] If the recorded robot duration exceeds the set duration threshold, meaning the robot has been moving inward for a sufficient period, then there's a high probability that the first charging element is being pressed against the second charging element, effectively establishing contact. Failure to detect the second arrival signal could be due to a malfunction of the second arrival confirmation element or a misalignment of the trigger on the robot. At this point, the control base station begins charging the robot.

[0523] Exemplarily, the time threshold ranges from 5 seconds to 20 seconds.

[0524] Exemplarily, the time threshold is 10 seconds.

[0525] The embodiment of the present application records the duration of the robot's movement in the direction of pressing the first charging element. When the movement duration exceeds a time threshold, it determines that the first charging element has been pressed and charging has begun, thereby avoiding charging failure caused by a failure of the second in-place confirmation element and improving charging reliability.

[0526] Based on any of the above embodiments, the charging control device further includes:

[0527] A detection module, used to detect charging information;

[0528] The control module is also used to control the base station to stop charging the robot when the charging information meets the preset conditions.

[0529] In an embodiment of the present application, while the base station is charging the robot, the current charging information is detected in real time. When the charging information is detected to meet preset conditions, such as charging is complete or the current environment does not meet the charging requirements, the base station is controlled to stop charging the robot.

[0530] The embodiment of the present application determines whether to stop charging the robot based on the charging information, thereby ensuring the charging safety of the robot.

[0531] Based on any of the above embodiments, the charging information includes the current power of the robot; the preset condition is that the current power is greater than the power threshold.

[0532] In the embodiment of the present application, while the base station is charging the robot, the current battery level of the robot is obtained in real time. When the current battery level of the robot is greater than a set battery threshold, charging of the robot is determined to be complete, and the base station is controlled to stop charging the robot.

[0533] Exemplarily, the battery threshold ranges from 85% to 98%.

[0534] Exemplarily, the power threshold is 90%.

[0535] Based on any of the above embodiments, the control module is further configured to control the base station to stop charging the robot when the device state switches from a non-target working state to a target working state.

[0536] In the embodiment of the present application, when the home appliance switches back to the target operating state, i.e., when the washing machine resumes operation, the vibrations generated by the washing machine are transmitted to the base station and the robot, potentially causing the robot to shift position. This shift in position can cause the connection between the first and second charging elements to become loose. This poor contact between the first and second charging elements can lead to arcing, compromising charging safety.

[0537] Therefore, when it is detected that the device state of the household appliance has switched to the target working state, the base station is controlled to stop charging the robot to prevent the robot from being displaced by the vibration of the washing machine, so that the second charging element cannot press the first charging element tightly and an arc is generated, thereby ensuring charging safety.

[0538] Based on any of the above embodiments, the charging control device further includes:

[0539] The communication module is used for the robot to establish a near-field communication connection with the base station in response to the recharging signal;

[0540] An acquisition module is used to obtain the charging coordinates corresponding to the base station through a near field communication connection;

[0541] The control module is also used to control the robot to enter the base station based on the charging coordinates.

[0542] In an embodiment of the present application, the recharging signal can be a signal generated when the robot's battery level is lower than a set recharging threshold, a signal generated when the robot's dust box is full, a signal generated when the degree of dirtiness of the robot's mopping component reaches a set value, or a signal generated after the robot completes the cleaning task.

[0543] After detecting the recharging signal, the robot starts recharging. For example, a near field communication connection is established between the robot and the base station, wherein the near field communication connection can be a Bluetooth connection or an infrared connection.

[0544] Taking the near-field communication connection as a Bluetooth connection as an example, the robot obtains the corresponding charging coordinates through the Bluetooth connection between the robot and the base station. The charging coordinates are the coordinates of the position in the base station where the second charging element can contact the first charging element.

[0545] Guided by the charging coordinates, the robot moves into the base station and gradually brings the second charging element closer to the first charging element. When the second charging element contacts the first charging element, the base station detects a contact signal. The base station then determines whether the first charging element is pressed against the second charging element based on a second in-placement signal from a second in-placement confirmation element. Upon detecting this second in-placement signal, the base station begins charging the robot.

[0546] The embodiment of the present application guides the robot into the base station for charging through a near-field communication connection, which can improve the charging efficiency of the robot.

[0547] In some embodiments of the present application, a charging control device is provided. FIG7 shows a structural block diagram of the charging control device according to an embodiment of the present application. As shown in FIG7 , the charging control device 700 includes: a memory 702 on which programs or instructions are stored; a processor 704 for implementing the steps of the charging control method provided in any of the above embodiments when running the program or instructions, and therefore also including all its beneficial effects. To avoid repetition, they will not be described here.

[0548] In some embodiments of the present application, a readable storage medium is provided on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the charging control method provided in any of the above embodiments are implemented, and therefore all its beneficial effects are also included. To avoid repetition, they will not be repeated here.

[0549] In some embodiments of the present application, a computer program product is provided. The computer program product is stored in a storage medium. When the computer program product is executed by at least one processor, it implements the steps of the charging control method provided in any of the above embodiments, and therefore also includes all its beneficial effects. To avoid repetition, they will not be described here.

[0550] In some embodiments of the present application, a robot system is provided, including: a charging control device as provided in any of the above embodiments; and / or a readable storage medium as provided in any of the above embodiments; and / or a computer program product as provided in any of the above technical solutions, and therefore also including all of their beneficial effects, which will not be described here to avoid repetition.

[0551] In the description of this application, the term "plurality" refers to two or more, unless otherwise expressly defined. The orientation or positional relationship indicated by the terms "upper" and "lower" is based on the orientation or positional relationship described in the accompanying drawings, and is only for the convenience of describing this application and simplifying the description, and does not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on this application; the terms "connect", "install", "fixed", etc. should be understood in a broad sense. For example, "connection" can be a fixed connection, a detachable connection, or an integral connection; it can be directly connected or indirectly connected through an intermediate medium. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.

[0552] In the description of this application, the terms "one embodiment," "some embodiments," "specific embodiments," etc., mean that the specific features, structures, materials, or characteristics described in conjunction with that embodiment or example are included in at least one embodiment or example of this application. In this application, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described can be combined in any suitable manner in any one or more embodiments or examples.

[0553] The above description is merely a preferred embodiment of the present application and is not intended to limit the present application. Various modifications and variations are possible for those skilled in the art. Any modifications, equivalent substitutions, or improvements made within the spirit and principles of the present application shall be included within the scope of protection of the present application.

Claims

1. A charging control method, applied to a robot system, wherein: The robot system includes a base station and a robot, the base station is connected to a household device, the base station includes a first charging element, the robot includes a second charging element, and the charging control method includes: When detecting that the robot enters the base station, obtaining the device status of the household device; The robot is controlled based on at least part of the device status of the home device.

2. The charging control method according to claim 1, wherein: The controlling the robot based on at least part of the device state of the household device includes: obtaining a distance value between the second charging element and the first charging element when the device state is a target working state; When the distance value is less than or equal to the distance threshold, the robot is controlled to stop moving or retreat a target distance.

3. The charging control method according to claim 2, wherein: After the step of controlling the robot to stop moving, the charging control method further includes: When it is obtained that the device state of the household device is switched from the target working state to the non-target working state, the robot is controlled to move in a direction close to the first charging element so that the first charging element contacts the second charging element.

4. The charging control method according to claim 2, wherein: After the step of obtaining the device status of the household device, the charging control method further includes: When the device state is a non-target working state, the robot is controlled to move in a direction approaching the first charging element so that the first charging element contacts the second charging element.

5. The charging control method according to any one of claims 2 to 4, wherein: The base station includes a sensor; The obtaining the distance value between the second charging component and the first charging component includes: The sensor is used to obtain a distance value between the second charging element and the first charging element.

6. The charging control method according to any one of claims 2 to 4, wherein: The value range of the distance threshold is: greater than or equal to 1.5 cm and less than or equal to 7.5 cm.

7. The charging control method according to claim 6, wherein: The distance threshold includes a first threshold, a second threshold and a third threshold; Wherein, when the distance value is less than or equal to the first threshold, the first charging element is in contact with the second charging element; When the distance value is greater than the first threshold value and less than or equal to the second threshold value, the robot is located in the base station and the first charging element is not in contact with the second charging element; When the distance value is greater than the second threshold and less than or equal to the third threshold, the robot is located outside the base station.

8. The charging control method according to any one of claims 2 to 4, wherein: Before the step of obtaining the device status of the household device, the charging control method further includes: The robot establishes a near field communication connection with the base station in response to the recharging signal; Acquiring the charging coordinates corresponding to the base station through the near field communication connection; The robot is controlled to enter the base station based on the charging coordinates.

9. The charging control method according to claim 3 or 4, wherein: The base station also includes a first in-place determination element; After the step of controlling the robot to move toward the first charging element, the charging control method further includes: In the case of detecting a contact signal, controlling the base station to detect a position signal, wherein the contact signal is a signal that the first charging element is in contact with the second charging element, and the position signal is a signal that the first position determination element is triggered by the robot; When the contact signal and the arrival signal are detected, the base station is controlled to charge the robot.

10. The charging control method according to claim 9, wherein: After the step of controlling the base station to detect the position signal, the charging control method further includes: When the contact signal is detected and the in-position signal is not detected, the robot is controlled to move a first preset distance in the direction of the first charging element.

11. The charging control method according to claim 10, wherein: After the step of controlling the robot to move a first preset distance in the direction of the first charging element, the charging control method further includes: If the in-position signal is still not detected, the step of controlling the robot to move a first preset distance in the direction of the first charging element is repeated until the in-position signal is detected, or the number of times the robot moves in the direction approaching the first charging element is greater than a number threshold, or the movement duration of the robot moving in the direction approaching the first charging element is greater than a duration threshold.

12. The charging control method according to claim 11, wherein: Also included in: When the number of times the robot moves in the direction of the first charging element is greater than a threshold number, the base station is controlled to charge the robot.

13. The charging control method according to claim 11, wherein: Also includes: When the movement time of the robot moving in the direction of the first charging element is greater than a time threshold, the base station is controlled to charge the robot.

14. The charging control method according to claim 1, wherein: The base station further includes a first position determination element, and the controlling of the robot based on at least part of the device status of the household device includes: When the device state is the target working state, controlling the base station to detect a first in-place signal, wherein the first in-place signal is a signal that the first in-place determination element is triggered by the robot; When the first in-position signal is detected, the robot is controlled to stop moving or retreat a target distance so that the distance value between the second charging element and the first charging element is greater than or equal to a distance threshold.

15. The charging control method according to claim 14, wherein: After the step of controlling the robot to stop moving, the charging control method further includes: When it is obtained that the device state of the household device is switched from the target working state to the non-target working state, the robot is controlled to move in the direction of the first charging element so that the first charging element contacts the second charging element.

16. The charging control method according to claim 14, wherein: After the step of obtaining the device status of the household device, the charging control method further includes: When the device state is a non-target working state, the robot is controlled to move in the direction of the first charging element so that the first charging element contacts the second charging element.

17. The charging control method according to claim 15 or 16, wherein: The base station also includes a second in-place confirmation element; After the step of controlling the robot to move toward the first charging element, the charging control method further includes: In the case of detecting a contact signal, controlling the base station to detect a second in-place signal, wherein the contact signal is a signal that the first charging element is in contact with the second charging element, and the second in-place signal is a signal that the second in-place confirmation element is triggered by the robot; When the contact signal and the second arrival signal are detected, the base station is controlled to charge the robot.

18. The charging control method according to claim 17, wherein: When the first in-place determination element is triggered by the robot, the robot is located in the base station, and the first charging element is not in contact with the second charging element; In a case where the second in-place confirmation element is triggered by the robot, the robot is located in the base station, and the first charging element is in contact with the second charging element.

19. The charging control method according to claim 17, wherein: After the step of controlling the base station to detect the first arrival signal, the charging control method further includes: When the contact signal is detected and the second in-position signal is not detected, the robot is controlled to move a first preset distance in the direction of the first charging element.

20. The charging control method according to claim 19, wherein: After the step of controlling the robot to move a first preset distance in the direction of the first charging element, the charging control method further includes: If the second in-place signal is still not detected, the step of controlling the robot to move a first preset distance in the direction of the first charging element is repeated until the second in-place signal is detected, or the number of movements of the robot in the direction of the first charging element is greater than a number threshold, or the movement duration of the robot in the direction of the first charging element is greater than a duration threshold.

21. The charging control method according to claim 20, wherein: Also includes: When the number of times the robot moves in the direction of the first charging element is greater than a threshold number, the base station is controlled to charge the robot.

22. The charging control method according to claim 20, wherein: Also includes: When the movement time of the robot moving in the direction of the first charging element is greater than a time threshold, the base station is controlled to charge the robot.

23. The charging control method according to claim 21 or 22, wherein: After controlling the base station to charge the robot, the charging control method further includes: When the device state is switched from the non-target working state to the target working state, the base station is controlled to stop charging the robot.

24. The charging control method according to any one of claims 14 to 16, wherein: Before the step of obtaining the device status of the household device, the charging control method further includes: The robot establishes a near field communication connection with the base station in response to the recharging signal; Acquiring the charging coordinates corresponding to the base station through the near field communication connection; The robot is controlled to enter the base station based on the charging coordinates.

25. A charging control device, applied to a robot system, wherein: The robot system comprises a base station and a robot, wherein the base station is connected to a household appliance, the base station comprises a first charging element, the robot comprises a second charging element, and the charging control device comprises: An acquisition module, configured to acquire the device status of the household device when detecting that the robot enters the base station; A control module is used to control the robot based on at least part of the device status of the home device.

26. A charging control device, wherein: include: A memory on which programs or instructions are stored; A processor, configured to implement the steps of the charging control method according to any one of claims 1 to 24 when running the program or instructions.

27. A readable storage medium having a program or instruction stored thereon, wherein: When the program or instruction is executed by a processor, the steps of the charging control method according to any one of claims 1 to 24 are implemented.

28. A computer program product, the computer program product being stored in a storage medium, wherein: When the computer program product is executed by at least one processor, the steps of the charging control method according to any one of claims 1 to 24 are implemented.

29. A robot system, wherein: include: The charging control device according to claim 25 or 26; and / or The readable storage medium of claim 27; and / or A computer program product as claimed in claim 28.

Citation Information

Patent Citations

  • Cleaning robot control method based on household appliance linkage and cleaning robot

    CN111142531A

  • Control method and control system for linkage of air conditioner and movable household appliance

    CN113156828A

  • Home system and control method thereof

    CN115736734A

  • Control method for smart home system

    CN115928369A

  • Touch panel comprising touch sensor and diriving method thereof

    KR1020210104613A