Control method and device, readable storage medium and robot system
By detecting the status of home equipment and controlling the movement of the robot, avoiding the wear of charging components caused by vibration, the problem of robot charging components is solved, and the service life and charging safety are improved.
Patent Information
- Application Number
- CN202310522128.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-10
- Publication Date
- 2024-11-12
AI Technical Summary
When the robot is charged or standby, the vibration generated when the base station is connected to the home equipment causes the charging components to wear, affecting the service life of the robot.
By detecting the equipment status of home equipment, the control robot separates the charging element from the charging contact surface when the equipment such as washing machines vibrates, avoids friction, and uses vibration sensors and motion control to maintain the safe distance of the charging element.
It effectively avoids wear of charging components, improves the service life of the robot, and improves charging safety, prevents the occurrence of problems such as arc ignition.
Smart Images

Figure CN118924172A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of robotics technology, and in particular to a control method, a device, a readable storage medium and a robotic system. Background Art
[0002] In the related art, when the robot is in a charging state or a standby state, the robot resides inside a base station and keeps its second charging element in close contact with the first charging element.
[0003] When the base station is connected to household appliances such as washing machines that may generate vibrations when working, the vibrations of the household appliances will drive the base station and the robot to vibrate together, causing friction between the second charging element and the first charging element that were originally tightly connected, causing wear on the first charging element and the second charging element, thus affecting the service life of the robot. Summary of the invention
[0004] The present invention aims to solve at least one of the technical problems existing in the prior art or related art.
[0005] To this end, a first aspect of the present invention provides a control method.
[0006] A second aspect of the present invention provides a control device.
[0007] A third aspect of the present invention provides a control device.
[0008] A fourth aspect of the present invention provides a readable storage medium.
[0009] A fifth aspect of the present invention provides a robot system.
[0010] In view of this, a first aspect of the present invention provides a control method, 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. The robot includes a second charging element. The control method includes:
[0011] When the robot is located in the base station, the device status of the household device is obtained; when the device status is the first working state, the first charging component is controlled to be disconnected from the second charging component.
[0012] In this technical solution, 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 cleaned by the robot. When the robot has a mopping function, the base station may also clean the mopping component of the robot.
[0013] The base station of the robot system is connected to the household appliances, wherein the household appliances may be washing machines, dryers or washer-dryers, etc., or other appliances that may generate vibrations during operation. Specifically, the robot system is a sweeping and mopping robot, and the base station of the robot is arranged at the bottom of the washing machine and shares the water supply and drainage pipes with the washing machine. By integrating the washing machine and the robot base station together, the water supply and drainage problems of the sweeping and mopping robot or the mopping robot can be solved.
[0014] The first charging element is specifically a spring, and the second charging element is specifically a contact.
[0015] When the robot is located in the base station, the first charging element is in close contact with the second charging element.
[0016] For a robot system in which a base station is connected to a household appliance such as a washing machine, when the washing machine is in the first working state, specifically the dehydration state, the inner barrel of the washing machine rotates rapidly and generates relatively large vibrations. These vibrations will be transmitted to the base station and the robot, which may cause the position of the robot to shift. At this time, if the robot starts charging, friction will be generated between the second charging element of the robot and the first charging element of the base station due to displacement and vibration. These frictions will cause wear of the first charging element and the second charging element, affecting the service life of the robot.
[0017] In view of the above problem, when the robot is detected to be in the base station, the embodiment of the present invention continuously obtains the device status of the household appliance, such as the washing machine, through the base station. When the device status of the washing machine is obtained to be the first working state, the vibration generated when the washing machine is working may cause the first charging element and the second charging element to wear.
[0018] If it is detected that the device state is the first working state, such as the washing machine is in the dehydration working state, the robot is controlled to separate the first charging element from the second charging element.
[0019] For example, the first charging element and the second charging element may be separated by controlling the robot to move outside the base station.
[0020] Exemplarily, the first charging element is a spring, and the spring is provided with a motion mechanism, which can control the base station to retract the spring to separate the first charging element from the second charging element.
[0021] For example, the robot may be controlled to rotate at a certain angle in situ so that the positions of the first charging element and the second charging element are staggered.
[0022] The embodiment of the present invention controls the first charging element of the base station and the second charging element of the robot to separate when it detects that the household appliance is in the first working state generating vibration, thereby avoiding mutual friction between the second charging element and the first charging element due to vibration, preventing the second charging element and the first charging element from wearing out, and increasing the service life of the robot.
[0023] In addition, the control method in the above technical solution provided by the present invention may also have the following additional technical features:
[0024] In any of the above technical solutions, the base station also includes a vibration sensor; the step of obtaining the device status of the household device includes: collecting a vibration signal through the vibration sensor; and determining the device status according to the vibration signal.
[0025] In this technical solution, a vibration sensor is provided on the base station, and the vibration sensor can collect vibration signals in real time. Specifically, household appliances, such as washing machines, will generate vibrations when they are working, and it is these vibrations that cause the second charging element and the first charging element to rub against each other.
[0026] Therefore, when the signal value of the vibration signal collected by the vibration sensor is greater than the preset threshold, it can be determined that the washing machine is in the first working state. At this time, the robot is controlled to move to the second position to avoid wear of the first charging element and the second charging element.
[0027] In any of the above technical solutions, controlling the first charging element to disconnect from the second charging element includes: controlling the robot to move from a first position to a second position;
[0028] Wherein, when the robot is located at the first position, the first charging element is in contact with and / or electrically connected to the second charging element; when the robot is located at the second position, the first charging element is separated from and / or electrically disconnected from the second charging element.
[0029] In this technical solution, when the robot is on standby or charging, the robot will reside inside the base station, specifically at the first position inside the base station. The first position is a position that can maintain a close connection between the second charging element and the first charging element, that is, the charging position.
[0030] When the device state of the washing machine is obtained to be the first working state, the vibration generated by the household appliance, such as the washing machine, during dehydration operation may cause wear of the first charging element and the second charging element.
[0031] At this time, a motion instruction is sent to the robot, and the robot is controlled to move to the second position in the base station through the motion instruction. The second position is a position where the second charging element of the robot can maintain a certain safe distance from the first charging element of the base station. When the robot is in the second position, the first charging element of the robot is separated from the second charging element, and the distance between the first charging element and the second charging element is greater than the distance threshold.
[0032] Exemplarily, the distance threshold is 7 cm.
[0033] Exemplarily, the distance threshold is 5 cm.
[0034] Exemplarily, the distance threshold is 3 cm.
[0035] Exemplarily, the distance threshold is 1.5 cm.
[0036] When the robot moves to the second position, the second charging element of the robot keeps a distance from the first charging element of the base station. Therefore, when the timing home appliance generates vibration during operation, the vibration will not cause the second charging element and the first charging element to rub against each other, thereby avoiding wear of the second charging element and the first charging element.
[0037] In the embodiment of the present invention, when the robot is in the charging position, that is, when the second charging element is in close contact with the first charging element, if it is detected that the household appliance connected to the base station starts to work, the robot is controlled to move outward to the second position to separate the second charging element from the first charging element, thereby avoiding mutual friction between the second charging element and the first charging element due to vibration, preventing wear of the second charging element and the first charging element, and increasing the service life of the robot.
[0038] In any of the above technical solutions, before the step of controlling the robot to move from the first position to the second position, the control method further includes: when the base station charges the robot, controlling the base station to stop charging the robot.
[0039] In this technical solution, when the robot is in the first position, i.e., the charging position, the robot may be in a charging state or a standby state. If the robot is in a charging state, the base station will output a charging signal to the first charging element through an internal charging circuit. At this time, a charging voltage exists on the first charging element, and the charging signal is transmitted to the robot through a loop formed between the first charging element and the second charging element.
[0040] When the base station is charging the robot, if it is detected that the household appliance connected to the base station starts to work, the vibration generated by the operation of the household appliance may cause the second charging element and the first charging element to rub against each other, and may also cause the contact between the first charging element and the second charging element to become not tight enough, thereby causing arcing and other phenomena, affecting charging safety.
[0041] Therefore, after detecting that the household appliance enters the first working state, the base station is controlled to stop charging the robot. Specifically, the base station is controlled to turn off the switch tube of the charging circuit. After turning off the switch tube of the charging circuit, there is no longer a high-voltage charging signal between the first charging element and the second charging element. Therefore, problems such as arcing can be avoided, thereby improving the charging safety of the robot.
[0042] In any of the above technical solutions, after the step of controlling the robot to move from the first position to the second position, the control method further includes: when it is obtained that the device state switches from the first working state to the non-first working state, controlling the robot to move to the first position.
[0043] In this technical solution, after the robot moves to the second position, the robot system continuously obtains the device status of the household appliance. When it is obtained that the household appliance switches from the first working state to the non-first working state, it means that the cleaning work of the household appliance is completed. At this time, the household appliance no longer vibrates, so it will not cause wear on the second charging element and the first charging element.
[0044] Therefore, if it is detected that the household appliance is switched to a non-first working state, the robot is controlled to move in a direction close to the first charging element and to the first position so that the second charging element of the robot is in close contact with the first charging element of the base station.
[0045] The embodiment of the present invention controls the robot to switch between the second position and the first position according to the device state change of the household appliance, which can ensure that the first charging element and the second charging element will not be worn due to the working vibration of the household appliance, thereby increasing the service life of the robot.
[0046] In any of the above technical solutions, the base station further includes a first switch; and the step of controlling the robot to move to the first position includes:
[0047] Control the robot to move in a direction approaching the first charging element; when a contact signal is detected, detect a first 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 first in-place signal is a signal that the first switch is triggered by the robot; when the contact signal and the first in-place signal are detected, determine that the robot has reached the first position.
[0048] In this technical solution, the first position is the position where the second charging element of the robot is in close contact with the first charging element of the base station, that is, the charging position of the robot. When the robot moves to the first position, the second charging element of the robot gradually approaches the first charging element of the base station. 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, and at this time, the base station and the robot can both detect the corresponding contact signals.
[0049] Since the first charging element itself has a certain elasticity, when the second charging element of the robot contacts the first charging element, the first charging element needs to be pressed to ensure that the contact between the first charging element and the second charging element is close enough. If the robot stops moving when the second charging element just contacts the first charging element without pressing the first charging element, or if after the robot presses the first charging element, the position of the robot changes due to the elasticity of the first charging element or the influence of external vibration, causing the first charging element to be loosened, the first charging element and the second charging element may have poor contact. At this time, if the charging circuit is turned on, arcing and ignition may occur, affecting charging safety.
[0050] In view of the above situation, the embodiment of the present application further provides a first switch on the base station. Specifically, the first switch may be a micro switch. A trigger portion corresponding to the position of the first switch is provided on the robot, and when the robot enters the base station, the robot continues to move inward.
[0051] 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.
[0052] After the base station detects the contact signal, the base station further detects the first in-position signal, that is, determines whether the first switch is switched by the robot.
[0053] 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 switch. At this time, the base station detects the first in-position signal of the first switch being triggered, and then determines that the robot has reached the first position. At this time, the second charging element has pressed the first charging element, and the contact between the first charging element and the second charging element is good and tight.
[0054] The embodiment of the present invention sets a first switch to detect whether the robot is in the first position for safe charging, thereby avoiding arc sparking caused by close contact between the first charging element and the second charging element, or poor contact caused by changes in the position of the robot, and can effectively improve the charging safety of the robot.
[0055] In any of the above technical solutions, after the step of determining that the robot has reached the first position, the control method further includes: controlling the base station to charge the robot when a charging signal of the robot is detected.
[0056] In this technical solution, after the robot reaches the first position, the second charging element of the robot is in close contact with the first charging element of the base station, and the second charging element presses the first charging element tightly. At this time, the safe charging conditions of the robot have been met.
[0057] The charging signal is specifically a signal generated when the current power of the robot is lower than the set target power. If it is determined that the robot is at the first position and the charging signal of the robot is detected, the base station is controlled to turn on the switch tube of the internal charging circuit to power on the first charging element. At this time, the charging signal of the charging circuit can be transmitted to the robot through the loop between the first charging element and the second charging element for the robot to be charged.
[0058] After determining that the robot is in the first position for safe charging, the embodiment of the present invention controls the base station to charge the robot according to the charging signal of the robot, thereby improving the safety and reliability of the robot's charging.
[0059] In any of the above technical solutions, the step of obtaining the device status of the home appliance includes: controlling the base station to establish a near field communication connection with the home appliance; and obtaining the device status through the near field communication connection.
[0060] In this technical solution, the near field communication connection can be a Bluetooth connection, an infrared connection, or a ZigBee connection, etc. For example, a Bluetooth connection is established between a base station of the robot system and a household appliance, such as a washing machine, and the first working state of the washing machine is obtained through the Bluetooth connection.
[0061] Exemplarily, when the washing machine starts working, it sends a signal indicating that its own device status is in the first working state to the base station via Bluetooth connection. After receiving the signal of the first working state, the base station determines that the washing machine enters the first working state, and at this time controls the robot to move from the first position to the second position.
[0062] In any of the above technical solutions, the base station also includes a laser radar; the step of controlling the robot to move from the first position to the second position includes:
[0063] The robot is controlled to move in a direction away from the first charging element; a distance value between the first charging element and the second charging element is obtained through a laser radar; and when the distance value is greater than or equal to a distance threshold, it is determined that the robot has reached the second position.
[0064] In this technical solution, a laser radar is provided on the base station, and the laser radar can collect the distance value between the second charging element of the robot and the first charging element of the base station. When controlling the robot to move to the second position, the base station sends a motion signal to the robot, and the robot responds to the motion signal and starts to move away from the first charging element.
[0065] During the robot's movement, the laser radar continuously collects the distance value between the second charging element and the first charging element. When it is detected that the distance value between the second charging element and the first charging element is greater than or equal to the preset distance threshold, the distance between the second charging element and the first charging element of the robot is sufficient to ensure that the second charging element and the first charging element do not rub against each other. At this time, it is determined that the robot has reached the second position, and the base station sends a stop motion signal to the robot. In response to the stop motion signal, the robot stops moving and stays at the second position.
[0066] 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.
[0067] In this technical solution, the range of the distance threshold is specifically greater than or equal to 1.5 cm and less than or equal to 7.5 cm. When the distance between the second charging element and the first charging element is greater than the distance threshold, it can be ensured that the first charging element and the second charging element will not contact each other, and will not cause mutual friction due to vibration.
[0068] Exemplarily, the distance threshold is 7 cm.
[0069] Exemplarily, the distance threshold is 3 cm.
[0070] Exemplarily, the distance threshold is 5 cm.
[0071] Exemplarily, the distance threshold is 1.5 cm.
[0072] In any of the above technical solutions, the base station also includes a second switch; the step of controlling the robot to move from the first position to the second position includes: controlling the robot to move in a direction away from the first charging element; and determining that the robot has reached the second position when a second in-place signal is detected, wherein the second in-place signal is a signal that the second switch is triggered by the robot.
[0073] In this technical solution, a second switch is provided on the base station. Specifically, when the robot is in the second position, a triggering part on the robot can trigger the second switch. The second switch may be a micro switch.
[0074] When controlling the robot to move from the first position to the second position, the base station sends a motion signal to the robot. In response to the motion signal, the robot starts to move away from the first charging element. During the movement of the robot, the base station continuously detects the trigger signal of the second switch, i.e., the second arrival signal.
[0075] When the second in-position signal is detected, it indicates that the triggering part of the robot has triggered the second switch, and the robot has moved to the second position. At this time, the base station sends a stop motion signal to the robot, and the robot responds to the stop motion signal, stops moving and stays at the second position.
[0076] In any of the above technical solutions, the step of controlling the robot to move from the first position to the second position includes: controlling the robot to move a preset distance in a direction away from the first charging element so that the robot reaches the second position.
[0077] In this technical solution, the distance between the first position and the second position is a preset distance. When controlling the robot to move from the first position to the second position, the base station sends a motion signal to the robot, wherein the motion signal carries information of the preset distance.
[0078] The robot responds to the motion signal and controls its own running device, such as the running wheels, according to the information of the preset distance, so as to move in a direction away from the first charging element, and the moving distance matches the preset distance.
[0079] After the robot moves a preset distance, the robot reaches the second position. At this time, a safe distance is maintained between the second charging element of the robot and the first charging element of the base station, and no friction occurs between the two elements due to vibration.
[0080] A second aspect of the present invention provides a control device, 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. The robot includes a second charging element. The control device includes:
[0081] An acquisition module, used for acquiring the device status of the home device when the robot is located in the base station;
[0082] The control module is used to control the first charging element to be disconnected from the second charging element when the device is in the first working state.
[0083] In this technical solution, 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 cleaned by the robot. When the robot has a mopping function, the base station may also clean the mopping component of the robot.
[0084] The base station of the robot system is connected to a household appliance, wherein the household appliance may be a washing machine. Specifically, the robot system is a sweeping and mopping robot, and the base station of the robot is arranged at the bottom of the washing machine and shares the water supply and drainage pipes with the washing machine. By integrating the washing machine and the robot base station together, the water supply and drainage problems of the sweeping and mopping robot or the mopping robot can be solved.
[0085] The first charging element is specifically a spring, and the second charging element is specifically a contact.
[0086] When the robot is located in the base station, the first charging element is in close contact with the second charging element.
[0087] For a robot system in which a base station is connected to a household appliance such as a washing machine, when the washing machine is in the first working state, specifically the dehydration state, the inner barrel of the washing machine rotates rapidly and generates relatively large vibrations. These vibrations will be transmitted to the base station and the robot, which may cause the position of the robot to shift. At this time, if the robot starts charging, friction will be generated between the second charging element of the robot and the first charging element of the base station due to displacement and vibration. These frictions will cause wear of the first charging element and the second charging element, affecting the service life of the robot.
[0088] In view of the above problem, when the robot is detected to be in the base station, the embodiment of the present invention continuously obtains the device status of the household appliance, such as the washing machine, through the base station. When the device status of the washing machine is obtained to be the first working state, the vibration generated when the washing machine is working may cause the first charging element and the second charging element to wear.
[0089] If it is detected that the device state is the first working state, such as the washing machine is in the dehydration working state, the robot is controlled to separate the first charging element from the second charging element.
[0090] For example, the first charging element and the second charging element may be separated by controlling the robot to move outside the base station.
[0091] Exemplarily, the first charging element is a spring, and the spring is provided with a motion mechanism, which can control the base station to retract the spring to separate the first charging element from the second charging element.
[0092] For example, the robot may be controlled to rotate at a certain angle in situ so that the positions of the first charging element and the second charging element are staggered.
[0093] The embodiment of the present invention controls the first charging element of the base station and the second charging element of the robot to separate when it detects that the household appliance is in the first working state generating vibration, thereby avoiding mutual friction between the second charging element and the first charging element due to vibration, preventing the second charging element and the first charging element from wearing out, and increasing the service life of the robot.
[0094] The third aspect of the present invention provides a control device, comprising: a memory on which programs or instructions are stored; a processor, which is used to implement the control method provided in any of the above technical solutions when running the programs or instructions, and therefore also includes all its beneficial effects, which will not be repeated here to avoid repetition.
[0095] The fourth aspect of the present invention provides a readable storage medium on which a program or instruction is stored. When the program or instruction is executed by a processor, the control method provided in any of the above technical solutions is implemented, and therefore all its beneficial effects are also included. To avoid repetition, they will not be repeated here.
[0096] The fifth aspect of the present invention provides a robot system, comprising: a 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 therefore also including all its beneficial effects, which will not be repeated here to avoid repetition. BRIEF DESCRIPTION OF THE DRAWINGS
[0097] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:
[0098] Figure 1 A schematic diagram of the structure of a robot system according to an embodiment of the present invention is shown;
[0099] Figure 2 A flow chart of a control method according to an embodiment of the present invention is shown;
[0100] Figure 3 A schematic diagram of the structure of a robot system according to an embodiment of the present invention is shown;
[0101] Figure 4 A schematic diagram of the structure of a robot system according to an embodiment of the present invention is shown;
[0102] Figure 5 It shows a structural block diagram of a control device according to an embodiment of the present invention;
[0103] Figure 6 A structural block diagram of a control device according to an embodiment of the present invention is shown.
[0104] Reference numerals:
[0105] 102 base station, 1022 first charging element, 1024 first switch, 1026 vibration sensor, 1028 laser radar, 1029 second switch, 104 robot, 1042 second charging element;
[0106] 200 home appliances. DETAILED DESCRIPTION
[0107] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention 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 in the embodiments can be combined with each other without conflict.
[0108] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Therefore, the protection scope of the present invention is not limited to the specific embodiments disclosed below.
[0109] Refer to the following Figures 1 to 6 Control methods, devices, readable storage media, and robot systems according to some embodiments of the present invention are described.
[0110] In some embodiments of the present invention, a control method is provided, which is applied to a robot system. Figure 1 A schematic diagram of the structure of a robot system according to an embodiment of the present invention is shown, 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;
[0111] Figure 2 FIG. 4 shows a flow chart of a control method according to an embodiment of the present invention. Figure 2 As shown, the control method includes:
[0112] Step 202, when the robot is located in the base station, obtaining the device status of the home device;
[0113] Step 204: when the device is in the first working state, control the first charging component to be disconnected from the second charging component.
[0114] In this technical solution, 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 cleaned by the robot. When the robot has a mopping function, the base station may also clean the mopping component of the robot.
[0115] The base station of the robot system is connected to a household appliance, wherein the household appliance may be a washing machine. Specifically, the robot system is a sweeping and mopping robot, and the base station of the robot is arranged at the bottom of the washing machine and shares the water supply and drainage pipes with the washing machine. By integrating the washing machine and the robot base station together, the water supply and drainage problems of the sweeping and mopping robot or the mopping robot can be solved.
[0116] The first charging element is specifically a spring, and the second charging element is specifically a contact.
[0117] When the robot is located in the base station, the first charging element is in close contact with the second charging element.
[0118] For a robot system in which a base station is connected to a household appliance such as a washing machine, when the washing machine is in the first working state, specifically the dehydration state, the inner barrel of the washing machine rotates rapidly and generates relatively large vibrations. These vibrations will be transmitted to the base station and the robot, which may cause the position of the robot to shift. At this time, if the robot starts charging, friction will be generated between the second charging element of the robot and the first charging element of the base station due to displacement and vibration. These frictions will cause wear of the first charging element and the second charging element, affecting the service life of the robot.
[0119] In view of the above problem, when the robot is detected to be in the base station, the embodiment of the present invention continuously obtains the device status of the household appliance, such as the washing machine, through the base station. When the device status of the washing machine is obtained to be the first working state, the vibration generated when the washing machine is working may cause the first charging element and the second charging element to wear.
[0120] If it is detected that the device state is the first working state, such as the washing machine is in the dehydration working state, the robot is controlled to separate the first charging element from the second charging element.
[0121] For example, the first charging element and the second charging element may be separated by controlling the robot to move outside the base station.
[0122] Exemplarily, the first charging element is a spring, and the spring is provided with a motion mechanism, which can control the base station to retract the spring to separate the first charging element from the second charging element.
[0123] For example, the robot may be controlled to rotate at a certain angle in situ so that the positions of the first charging element and the second charging element are staggered.
[0124] The embodiment of the present invention controls the first charging element of the base station and the second charging element of the robot to separate when it detects that the household appliance is in the first working state generating vibration, thereby avoiding mutual friction between the second charging element and the first charging element due to vibration, preventing the second charging element and the first charging element from wearing out, and increasing the service life of the robot.
[0125] Based on any of the above embodiments, Figure 1 As shown, the base station 102 also includes a vibration sensor 1026; the step of obtaining the device status of the household device includes: collecting a vibration signal through the vibration sensor; and determining the device status according to the vibration signal.
[0126] In this technical solution, a vibration sensor is provided on the base station, and the vibration sensor can collect vibration signals in real time. Specifically, household appliances, such as washing machines, will generate vibrations when they are working, and it is these vibrations that cause the second charging element and the first charging element to rub against each other.
[0127] Therefore, when the signal value of the vibration signal collected by the vibration sensor is greater than the preset threshold, it can be determined that the washing machine is in the first working state. At this time, the robot is controlled to move to the second position to avoid wear of the first charging element and the second charging element.
[0128] Based on any of the above embodiments, controlling the first charging element to be disconnected from the second charging element includes: controlling the robot to move from the first position to the second position;
[0129] Wherein, when the robot is located at the first position, the first charging element is in contact with and / or electrically connected to the second charging element; when the robot is located at the second position, the first charging element is separated from and / or electrically disconnected from the second charging element.
[0130] In an embodiment of the present invention, when the robot is on standby or charging, the robot will reside inside the base station, specifically at a first position inside the base station, which is a position capable of maintaining a close connection between the second charging element and the first charging element, namely, a charging position.
[0131] When it is obtained that the device state of the washing machine is the first working state, the vibration generated when the washing machine is working may cause the first charging element and the second charging element to wear.
[0132] At this time, a motion instruction is sent to the robot, and the robot is controlled to move to the second position in the base station through the motion instruction. The second position is a position where the second charging element of the robot can maintain a certain safe distance from the first charging element of the base station. When the robot is in the second position, the first charging element of the robot is separated from the second charging element, and the distance between the first charging element and the second charging element is greater than the distance threshold.
[0133] Exemplarily, the distance threshold is 7 cm.
[0134] Exemplarily, the distance threshold is 5 cm.
[0135] Exemplarily, the distance threshold is 3 cm.
[0136] Exemplarily, the distance threshold is 1.5 cm.
[0137] When the robot moves to the second position, the second charging element of the robot keeps a distance from the first charging element of the base station. Therefore, when the timing home appliance generates vibration during operation, the vibration will not cause the second charging element and the first charging element to rub against each other, thereby avoiding wear of the second charging element and the first charging element.
[0138] In the embodiment of the present invention, when the robot is in the charging position, that is, when the second charging element is in close contact with the first charging element, if it is detected that the household appliance connected to the base station starts to work, the robot is controlled to move outward to the second position to separate the second charging element from the first charging element, thereby avoiding mutual friction between the second charging element and the first charging element due to vibration, preventing wear of the second charging element and the first charging element, and increasing the service life of the robot.
[0139] Based on any of the above embodiments, before the step of controlling the robot to move from the first position to the second position, the control method further includes: when the base station charges the robot, controlling the base station to stop charging the robot.
[0140] In this technical solution, when the robot is in the first position, i.e., the charging position, the robot may be in a charging state or a standby state. If the robot is in a charging state, the base station will output a charging signal to the first charging element through an internal charging circuit. At this time, a charging voltage exists on the first charging element, and the charging signal is transmitted to the robot through a loop formed between the first charging element and the second charging element.
[0141] When the base station is charging the robot, if it is detected that the household appliance connected to the base station starts to work, the vibration generated by the operation of the household appliance may cause the second charging element and the first charging element to rub against each other, and may also cause the contact between the first charging element and the second charging element to become not tight enough, thereby causing arcing and other phenomena, affecting charging safety.
[0142] Therefore, after detecting that the household appliance enters the first working state, the base station is controlled to stop charging the robot. Specifically, the base station is controlled to turn off the switch tube of the charging circuit. After turning off the switch tube of the charging circuit, there is no longer a high-voltage charging signal between the first charging element and the second charging element. Therefore, problems such as arcing can be avoided, thereby improving the charging safety of the robot.
[0143] Based on any of the above embodiments, after the step of controlling the robot to move from the first position to the second position, the control method further includes: when it is obtained that the device state switches from the first working state to the non-first working state, controlling the robot to move to the first position.
[0144] In this technical solution, after the robot moves to the second position, the robot system continuously obtains the device status of the household appliance. When it is obtained that the household appliance switches from the first working state to the non-first working state, it means that the cleaning work of the household appliance is completed. At this time, the household appliance no longer vibrates, so it will not cause wear on the second charging element and the first charging element.
[0145] Therefore, if it is detected that the household appliance is switched to a non-first working state, the robot is controlled to move in a direction close to the first charging element and to the first position so that the second charging element of the robot is in close contact with the first charging element of the base station.
[0146] The embodiment of the present invention controls the robot to switch between the second position and the first position according to the device state change of the household appliance, which can ensure that the first charging element and the second charging element will not be worn due to the working vibration of the household appliance, thereby increasing the service life of the robot.
[0147] Based on any of the above embodiments, Figure 1 As shown, the base station 102 further includes a first switch 1024; the step of controlling the robot to move to the first position includes:
[0148] Control the robot to move in a direction approaching the first charging element; when a contact signal is detected, detect a first 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 first in-place signal is a signal that the first switch is triggered by the robot; when the contact signal and the first in-place signal are detected, determine that the robot has reached the first position.
[0149] In this technical solution, the first position is the position where the second charging element of the robot is in close contact with the first charging element of the base station, that is, the charging position of the robot. When the robot moves to the first position, the second charging element of the robot gradually approaches the first charging element of the base station. 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, and at this time, the base station and the robot can both detect the corresponding contact signals.
[0150] Since the first charging element itself has a certain elasticity, when the second charging element of the robot contacts the first charging element, the first charging element needs to be pressed to ensure that the contact between the first charging element and the second charging element is close enough. If the robot stops moving when the second charging element just contacts the first charging element without pressing the first charging element, or if after the robot presses the first charging element, the position of the robot changes due to the elasticity of the first charging element or the influence of external vibration, causing the first charging element to be loosened, the first charging element and the second charging element may have poor contact. At this time, if the charging circuit is turned on, arcing and ignition may occur, affecting charging safety.
[0151] In view of the above situation, the embodiment of the present application further provides a first switch on the base station. Specifically, the first switch may be a micro switch. A trigger portion corresponding to the position of the first switch is provided on the robot, and when the robot enters the base station, the robot continues to move inward.
[0152] 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.
[0153] After the base station detects the contact signal, the base station further detects the first in-position signal, that is, determines whether the first switch is switched by the robot.
[0154] 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 switch. At this time, the base station detects the first in-position signal of the first switch being triggered, and then determines that the robot has reached the first position. At this time, the second charging element has pressed the first charging element, and the contact between the first charging element and the second charging element is good and tight.
[0155] The embodiment of the present invention sets a first switch to detect whether the robot is in the first position for safe charging, thereby avoiding arc sparking caused by close contact between the first charging element and the second charging element, or poor contact caused by changes in the position of the robot, and can effectively improve the charging safety of the robot.
[0156] Based on any of the above embodiments, after the step of determining that the robot reaches the first position, the control method further includes: controlling the base station to charge the robot when a charging signal of the robot is detected.
[0157] In this technical solution, after the robot reaches the first position, the second charging element of the robot is in close contact with the first charging element of the base station, and the second charging element presses the first charging element tightly. At this time, the safe charging conditions of the robot have been met.
[0158] The charging signal is specifically a signal generated when the current power of the robot is lower than the set target power. If it is determined that the robot is at the first position and the charging signal of the robot is detected, the base station is controlled to turn on the switch tube of the internal charging circuit to power on the first charging element. At this time, the charging signal of the charging circuit can be transmitted to the robot through the loop between the first charging element and the second charging element for the robot to be charged.
[0159] After determining that the robot is in the first position for safe charging, the embodiment of the present invention controls the base station to charge the robot according to the charging signal of the robot, thereby improving the safety and reliability of the robot's charging.
[0160] Based on any of the above embodiments, the step of obtaining the device status of the home device includes: controlling the base station to establish a near field communication connection with the home device; and obtaining the device status through the near field communication connection.
[0161] In this technical solution, the near field communication connection can be a Bluetooth connection, an infrared connection, or a ZigBee connection, etc. For example, a Bluetooth connection is established between a base station of the robot system and a household appliance, such as a washing machine, and the first working state of the washing machine is obtained through the Bluetooth connection.
[0162] Exemplarily, when the washing machine starts working, it sends a signal indicating that its own device status is in the first working state to the base station via Bluetooth connection. After receiving the signal of the first working state, the base station determines that the washing machine enters the first working state, and at this time controls the robot to move from the first position to the second position.
[0163] Based on any of the above embodiments, Figure 3 FIG. 4 shows a schematic diagram of the structure of a robot system according to an embodiment of the present invention. Figure 3 As shown, the base station 102 also includes a laser radar 1028; Figure 3 The dashed line shown in FIG. 1 is used to represent the sensing range of the laser radar 1028. Figure 3 The double-arrow solid line in is used to indicate the current distance between first charging element 1022 and second charging element 1042 .
[0164] The step of controlling the robot to move from a first position to a second position comprises:
[0165] The robot is controlled to move in a direction away from the first charging element; a distance value between the first charging element and the second charging element is obtained through a laser radar; and when the distance value is greater than or equal to a distance threshold, it is determined that the robot has reached the second position.
[0166] In this technical solution, a laser radar is provided on the base station, and the laser radar can collect the distance value between the second charging element of the robot and the first charging element of the base station. When controlling the robot to move to the second position, the base station sends a motion signal to the robot, and the robot responds to the motion signal and starts to move away from the first charging element.
[0167] During the robot's movement, the laser radar continuously collects the distance value between the second charging element and the first charging element. When it is detected that the distance value between the second charging element and the first charging element is greater than or equal to the preset distance threshold, the distance between the second charging element and the first charging element of the robot is sufficient to ensure that the second charging element and the first charging element do not rub against each other. At this time, it is determined that the robot has reached the second position, and the base station sends a stop motion signal to the robot. In response to the stop motion signal, the robot stops moving and stays at the second position.
[0168] 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.
[0169] In this technical solution, the range of the distance threshold is specifically greater than or equal to 1.5 cm and less than or equal to 7.5 cm. When the distance between the second charging element and the first charging element is greater than the distance threshold, it can be ensured that the first charging element and the second charging element will not contact each other, and will not cause mutual friction due to vibration.
[0170] Exemplarily, the distance threshold is 1.5 cm.
[0171] Exemplarily, the distance threshold is 3 cm.
[0172] Exemplarily, the distance threshold is 5 cm.
[0173] Exemplarily, the distance threshold is 7 cm.
[0174] Based on any of the above embodiments, Figure 4 FIG. 4 shows a schematic diagram of the structure of a robot system according to an embodiment of the present invention. Figure 4 As shown, the base station 102 also includes a second switch 1029; the step of controlling the robot to move from the first position to the second position includes: controlling the robot to move in a direction away from the first charging element; and determining that the robot has reached the second position when a second in-place signal is detected, wherein the second in-place signal is a signal that the second switch is triggered by the robot.
[0175] In this technical solution, a second switch is provided on the base station. Specifically, when the robot is in the second position, a triggering part on the robot can trigger the second switch. The second switch may be a micro switch.
[0176] When controlling the robot to move from the first position to the second position, the base station sends a motion signal to the robot. In response to the motion signal, the robot starts to move away from the first charging element. During the movement of the robot, the base station continuously detects the trigger signal of the second switch, i.e., the second arrival signal.
[0177] When the second in-position signal is detected, it indicates that the triggering part of the robot has triggered the second switch, and the robot has moved to the second position. At this time, the base station sends a stop motion signal to the robot, and the robot responds to the stop motion signal, stops moving and stays at the second position.
[0178] Based on any of the above embodiments, the step of controlling the robot to move from the first position to the second position includes: controlling the robot to move a preset distance in a direction away from the first charging element so that the robot reaches the second position.
[0179] In this technical solution, the distance between the first position and the second position is a preset distance. When controlling the robot to move from the first position to the second position, the base station sends a motion signal to the robot, wherein the motion signal carries information of the preset distance.
[0180] The robot responds to the motion signal and controls its own running device, such as the running wheels, according to the information of the preset distance, so as to move in a direction away from the first charging element, and the moving distance matches the preset distance.
[0181] After the robot moves a preset distance, the robot reaches the second position. At this time, a safe distance is maintained between the second charging element of the robot and the first charging element of the base station, and no friction occurs between the two elements due to vibration.
[0182] In some embodiments of the present invention, a 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. The robot includes a second charging element. Figure 5 The structure block diagram of the control device according to the embodiment of the present invention is shown, and the control device 500 includes:
[0183] an acquisition module 502, configured to acquire a device state of the household device when the robot is located at a first position in the base station, wherein when the robot is located at the first position, the second charging element is in contact with the first charging element;
[0184] The control module 504 is used to control the robot to move from the first position to the second position when the device state is the first working state, wherein when the robot is located at the second position, the second charging element is separated from the first charging element.
[0185] In this technical solution, 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 cleaned by the robot. When the robot has a mopping function, the base station may also clean the mopping component of the robot.
[0186] The base station of the robot system is connected to a household appliance, wherein the household appliance may be a washing machine. Specifically, the robot system is a sweeping and mopping robot, and the base station of the robot is arranged at the bottom of the washing machine and shares the water supply and drainage pipes with the washing machine. By integrating the washing machine and the robot base station together, the water supply and drainage problems of the sweeping and mopping robot or the mopping robot can be solved.
[0187] When the robot is on standby or charging, the robot will reside inside the base station, specifically at a first position inside the base station, where the first position is a position capable of maintaining a close connection between the second charging element and the first charging element, namely, a charging position.
[0188] For a robot system in which a base station is connected to a household appliance such as a washing machine, when the washing machine is in the first working state, especially in the dehydration state, the inner barrel of the washing machine rotates rapidly and generates relatively large vibrations. These vibrations will be transmitted to the base station and the robot, which may cause the position of the robot to shift. At this time, if the robot starts charging, the second charging element of the robot and the first charging element of the base station will generate friction due to displacement and vibration. These frictions will cause wear of the first charging element and the second charging element, affecting the service life of the robot.
[0189] In view of the above problem, when the robot is detected to be in the first position, the embodiment of the present invention continuously obtains the device status of the household appliance, such as a washing machine, through the base station. When the device status of the washing machine is obtained to be the first working state, the vibration generated when the washing machine is working may cause the first charging element and the second charging element to wear.
[0190] At this time, a motion instruction is sent to the robot, and the robot is controlled to move to the second position in the base station through the motion instruction. The second position is a position where the second charging element of the robot can maintain a certain safe distance from the first charging element of the base station. When the robot is in the second position, the first charging element of the robot is separated from the second charging element, and the distance between the first charging element and the second charging element is greater than the distance threshold.
[0191] Exemplarily, the distance threshold is 7 cm.
[0192] Exemplarily, the distance threshold is 5 cm.
[0193] Exemplarily, the distance threshold is 3 cm.
[0194] Exemplarily, the distance threshold is 1.5 cm.
[0195] When the robot moves to the second position, the second charging element of the robot keeps a distance from the first charging element of the base station. Therefore, when the timing home appliance generates vibration during operation, the vibration will not cause the second charging element and the first charging element to rub against each other, thereby avoiding wear of the second charging element and the first charging element.
[0196] In the embodiment of the present invention, when the robot is in the charging position, that is, when the second charging element is in close contact with the first charging element, if it is detected that the household appliance connected to the base station starts to work, the robot is controlled to move outward to the second position to separate the second charging element from the first charging element, thereby avoiding mutual friction between the second charging element and the first charging element due to vibration, preventing wear of the second charging element and the first charging element, and increasing the service life of the robot.
[0197] Based on any of the above embodiments, the control module is further used to: when the base station is charging the robot, control the base station to stop charging the robot.
[0198] In this technical solution, when the robot is in the first position, i.e., the charging position, the robot may be in a charging state or a standby state. If the robot is in a charging state, the base station will output a charging signal to the first charging element through an internal charging circuit. At this time, a charging voltage exists on the first charging element, and the charging signal is transmitted to the robot through a loop formed between the first charging element and the second charging element.
[0199] When the base station is charging the robot, if it is detected that the household appliance connected to the base station starts to work, the vibration generated by the operation of the household appliance may cause the second charging element and the first charging element to rub against each other, and may also cause the contact between the first charging element and the second charging element to become not tight enough, thereby causing arcing and other phenomena, affecting charging safety.
[0200] Therefore, after detecting that the household appliance enters the first working state, the base station is controlled to stop charging the robot. Specifically, the base station is controlled to turn off the switch tube of the charging circuit. After turning off the switch tube of the charging circuit, there is no longer a high-voltage charging signal between the first charging element and the second charging element. Therefore, problems such as arcing can be avoided, thereby improving the charging safety of the robot.
[0201] Based on any of the above embodiments, the control module is further used to: when it is obtained that the device state is switched from the first working state to the non-first working state, control the robot to move to the first position.
[0202] In this technical solution, after the robot moves to the second position, the robot system continuously obtains the device status of the household appliance. When it is obtained that the household appliance switches from the first working state to the non-first working state, it means that the cleaning work of the household appliance is completed. At this time, the household appliance no longer vibrates, so it will not cause wear on the second charging element and the first charging element.
[0203] Therefore, if it is detected that the household appliance is switched to a non-first working state, the robot is controlled to move in a direction close to the first charging element and to the first position so that the second charging element of the robot is in close contact with the first charging element of the base station.
[0204] The embodiment of the present invention controls the robot to switch between the second position and the first position according to the device state change of the household appliance, which can ensure that the first charging element and the second charging element will not be worn due to the working vibration of the household appliance, thereby increasing the service life of the robot.
[0205] Based on any of the above embodiments, Figure 1 As shown, the base station 102 further includes a first switch 1024; and a control module, further configured to:
[0206] Control the robot to move in a direction close to the first charging element; in the case of detecting a contact signal, detect a first 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 first in-place signal is a signal that the first switch is triggered by the robot;
[0207] The control device also includes:
[0208] The determination module is used to determine that the robot has reached a first position when a contact signal and a first arrival signal are detected.
[0209] In this technical solution, the first position is the position where the second charging element of the robot is in close contact with the first charging element of the base station, that is, the charging position of the robot. When the robot moves to the first position, the second charging element of the robot gradually approaches the first charging element of the base station. 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, and at this time, the base station and the robot can both detect the corresponding contact signals.
[0210] Since the first charging element itself has a certain elasticity, when the second charging element of the robot contacts the first charging element, the first charging element needs to be pressed to ensure that the contact between the first charging element and the second charging element is close enough. If the robot stops moving when the second charging element just contacts the first charging element without pressing the first charging element, or if after the robot presses the first charging element, the position of the robot changes due to the elasticity of the first charging element or the influence of external vibration, causing the first charging element to be loosened, the first charging element and the second charging element may have poor contact. At this time, if the charging circuit is turned on, arcing and ignition may occur, affecting charging safety.
[0211] In view of the above situation, the embodiment of the present application further provides a first switch on the base station. Specifically, the first switch may be a micro switch. A trigger portion corresponding to the position of the first switch is provided on the robot, and when the robot enters the base station, the robot continues to move inward.
[0212] 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.
[0213] After the base station detects the contact signal, the base station further detects the first in-position signal, that is, determines whether the first switch is switched by the robot.
[0214] 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 switch. At this time, the base station detects the first in-position signal of the first switch being triggered, and then determines that the robot has reached the first position. At this time, the second charging element has pressed the first charging element, and the contact between the first charging element and the second charging element is good and tight.
[0215] The embodiment of the present invention sets a first switch to detect whether the robot is in the first position for safe charging, thereby avoiding arc sparking caused by close contact between the first charging element and the second charging element, or poor contact caused by changes in the position of the robot, and can effectively improve the charging safety of the robot.
[0216] Based on any of the above embodiments, the control module is further used to: when a charging signal of the robot is detected, control the base station to charge the robot.
[0217] In this technical solution, after the robot reaches the first position, the second charging element of the robot is in close contact with the first charging element of the base station, and the second charging element presses the first charging element tightly. At this time, the safe charging conditions of the robot have been met.
[0218] The charging signal is specifically a signal generated when the current power of the robot is lower than the set target power. If it is determined that the robot is at the first position and the charging signal of the robot is detected, the base station is controlled to turn on the switch tube of the internal charging circuit to power on the first charging element. At this time, the charging signal of the charging circuit can be transmitted to the robot through the loop between the first charging element and the second charging element for the robot to be charged.
[0219] After determining that the robot is in the first position for safe charging, the embodiment of the present invention controls the base station to charge the robot according to the charging signal of the robot, thereby improving the safety and reliability of the robot's charging.
[0220] Based on any of the above embodiments, the control module is further used to: control the base station to establish a near field communication connection with the home device;
[0221] The acquisition module is also used to obtain the device status through the near field communication connection.
[0222] In this technical solution, the near field communication connection can be a Bluetooth connection, an infrared connection, or a ZigBee connection, etc. For example, a Bluetooth connection is established between a base station of the robot system and a household appliance, such as a washing machine, and the first working state of the washing machine is obtained through the Bluetooth connection.
[0223] Exemplarily, when the washing machine starts working, it sends a signal indicating that its own device status is in the first working state to the base station via Bluetooth connection. After receiving the signal of the first working state, the base station determines that the washing machine enters the first working state, and at this time controls the robot to move from the first position to the second position.
[0224] Based on any of the above embodiments, Figure 1 As shown, the base station 102 also includes a vibration sensor 1026; the acquisition module is also used to: collect vibration signals through the vibration sensor;
[0225] The determination module is also used to determine the device state according to the vibration signal.
[0226] In this technical solution, a vibration sensor is provided on the base station, and the vibration sensor can collect vibration signals in real time. Specifically, household appliances, such as washing machines, will generate vibrations when they are working, and it is these vibrations that cause the second charging element and the first charging element to rub against each other.
[0227] Therefore, when the signal value of the vibration signal collected by the vibration sensor is greater than the preset threshold, it can be determined that the washing machine is in the first working state. At this time, the robot is controlled to move to the second position to avoid wear of the first charging element and the second charging element.
[0228] Based on any of the above embodiments, Figure 3FIG. 4 shows a schematic diagram of the structure of a robot system according to an embodiment of the present invention. Figure 3 As shown, the base station 102 also includes a laser radar 1028;
[0229] The control module is further used to control the robot to move in a direction away from the first charging element; and obtain a distance value between the first charging element and the second charging element through a laser radar;
[0230] The determination module is further used to determine that the robot has reached the second position when the distance value is greater than or equal to the distance threshold.
[0231] In this technical solution, a laser radar is provided on the base station, and the laser radar can collect the distance value between the second charging element of the robot and the first charging element of the base station. When controlling the robot to move to the second position, the base station sends a motion signal to the robot, and the robot responds to the motion signal and starts to move away from the first charging element.
[0232] During the robot's movement, the laser radar continuously collects the distance value between the second charging element and the first charging element. When it is detected that the distance value between the second charging element and the first charging element is greater than or equal to the preset distance threshold, the distance between the second charging element and the first charging element of the robot is sufficient to ensure that the second charging element and the first charging element do not rub against each other. At this time, it is determined that the robot has reached the second position, and the base station sends a stop motion signal to the robot. In response to the stop motion signal, the robot stops moving and stays at the second position.
[0233] 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.
[0234] In this technical solution, the range of the distance threshold is specifically greater than or equal to 1.5 cm and less than or equal to 7.5 cm. When the distance between the second charging element and the first charging element is greater than the distance threshold, it can be ensured that the first charging element and the second charging element will not contact each other, and will not cause mutual friction due to vibration.
[0235] Exemplarily, the distance threshold is 1.5 cm.
[0236] Exemplarily, the distance threshold is 3 cm.
[0237] Exemplarily, the distance threshold is 5 cm.
[0238] Exemplarily, the distance threshold is 7 cm.
[0239] Based on any of the above embodiments, Figure 4 FIG. 4 shows a schematic diagram of the structure of a robot system according to an embodiment of the present invention. Figure 4As shown, the base station 102 further includes a second switch 1029; a control module, further used to control the robot to move in a direction away from the first charging element;
[0240] The determination module is further used to determine that the robot has reached the second position when a second in-place signal is detected, wherein the second in-place signal is a signal indicating that the second switch is triggered by the robot.
[0241] In this technical solution, a second switch is provided on the base station. Specifically, when the robot is in the second position, a triggering part on the robot can trigger the second switch. The second switch may be a micro switch.
[0242] When controlling the robot to move from the first position to the second position, the base station sends a motion signal to the robot. In response to the motion signal, the robot starts to move away from the first charging element. During the movement of the robot, the base station continuously detects the trigger signal of the second switch, i.e., the second arrival signal.
[0243] When the second in-position signal is detected, it indicates that the triggering part of the robot has triggered the second switch, and the robot has moved to the second position. At this time, the base station sends a stop motion signal to the robot, and the robot responds to the stop motion signal, stops moving and stays at the second position.
[0244] Based on any of the above embodiments, the control module is further used to: control the robot to move a preset distance in a direction away from the first charging element so that the robot reaches a second position.
[0245] In this technical solution, the distance between the first position and the second position is a preset distance. When controlling the robot to move from the first position to the second position, the base station sends a motion signal to the robot, wherein the motion signal carries information of the preset distance.
[0246] The robot responds to the motion signal and controls its own running device, such as the running wheels, according to the information of the preset distance, so as to move in a direction away from the first charging element, and the moving distance matches the preset distance.
[0247] After the robot moves a preset distance, the robot reaches the second position. At this time, a safe distance is maintained between the second charging element of the robot and the first charging element of the base station, and no friction occurs between the two elements due to vibration.
[0248] In some embodiments of the present invention, a control device is provided. Figure 6 FIG. 4 shows a structural block diagram of a control device according to an embodiment of the present invention. Figure 6As shown, the control device 600 includes: a memory 602 on which programs or instructions are stored; a processor 604, which is used to implement the control method provided in any of the above technical solutions when running the programs or instructions, and therefore also includes all its beneficial effects, which will not be repeated here to avoid repetition.
[0249] In some embodiments of the present invention, a readable storage medium is provided, on which a program or instruction is stored. When the program or instruction is executed by a processor, a control method provided in any of the above-mentioned technical solutions is implemented, and therefore all its beneficial effects are also included. To avoid repetition, they will not be described here.
[0250] In some embodiments of the present invention, a robot system is provided, including: a 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 therefore also including all of their beneficial effects, which will not be repeated here to avoid repetition.
[0251] In the description of the present invention, the term "plurality" refers to two or more than two. Unless otherwise clearly 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. It is only for the convenience of describing the present invention 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. Therefore, it cannot be understood as a limitation on the present invention. The terms "connection", "installation", "fixation", 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 the present invention can be understood according to specific circumstances.
[0252] In the description of the present invention, the description of the terms "one embodiment", "some embodiments", "specific embodiments", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In the present invention, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.
[0253] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A control method, applied to a robot system, characterized in that: 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 control method includes: When the robot is located in the base station, obtaining the device status of the household device; When the device is in the first working state, the first charging element is controlled to be disconnected from the second charging element.
2. The control method according to claim 1, characterized in that: The base station also includes a vibration sensor; The step of obtaining the device status of the household device includes: Collecting vibration signals through the vibration sensor; The device status is determined based on the vibration signal.
3. The control method according to claim 1, characterized in that: The controlling the first charging element to be disconnected from the second charging element comprises: Controlling the robot to move from a first position to a second position; Wherein, when the robot is located at the first position, the first charging element is in contact with and / or electrically connected to the second charging element; When the robot is located at the second position, the first charging element is separated and / or electrically disconnected from the second charging element.
4. The control method according to claim 3, characterized in that: Before the step of controlling the robot to move from the first position to the second position, the control method further includes: In a case where the base station charges the robot, the base station is controlled to stop charging the robot.
5. The control method according to claim 3, characterized in that: After the step of controlling the robot to move from the first position to the second position, the control method further includes: When it is obtained that the device state is switched from the first working state to the non-first working state, the robot is controlled to move to the first position.
6. The control method according to claim 5, characterized in that: The base station also includes a first switch; The step of controlling the robot to move to the first position comprises: Controlling the robot to move toward a direction close to the first charging element; In the case where a contact signal is detected, a first in-place signal is detected, wherein the contact signal is a signal that the first charging element is in contact with the second charging element, and the first in-place signal is a signal that the first switch is triggered by the robot; When the contact signal and the first in-position signal are detected, it is determined that the robot has reached the first position.
7. The control method according to claim 6, characterized in that: After the step of determining that the robot reaches the first position, the control method further includes: When the charging signal of the robot is detected, the base station is controlled to charge the robot.
8. The control method according to claim 1, characterized in that: The step of obtaining the device status of the household device includes: Controlling the base station to establish a near field communication connection with the home device; The device status is obtained through the near field communication connection.
9. The control method according to any one of claims 3 to 7, characterized in that: The base station also includes a laser radar; The step of controlling the robot to move from the first position to the second position comprises: Controlling the robot to move in a direction away from the first charging element; Acquire a distance value between the first charging element and the second charging element by using the laser radar; When the distance value is greater than or equal to a distance threshold, it is determined that the robot has reached the second position.
10. The control method according to claim 9, characterized in that: 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.
11. The control method according to any one of claims 3 to 7, characterized in that: The base station also includes a second switch; The step of controlling the robot to move from the first position to the second position comprises: Controlling the robot to move in a direction away from the first charging element; When a second in-position signal is detected, it is determined that the robot has reached the second position, wherein the second in-position signal is a signal that the second switch is triggered by the robot.
12. The control method according to any one of claims 3 to 7, characterized in that: The step of controlling the robot to move from the first position to the second position comprises: The robot is controlled to move a preset distance in a direction away from the first charging element so that the robot reaches the second position.
13. A control device, applied to a robot system, characterized in that: 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 control device comprises: an acquisition module, configured to acquire the device status of the household device when the robot is located in the base station; The control module is used to control the first charging component to be disconnected from the second charging component when the device is in the first working state.
14. A control device, characterized in that: include: A memory on which programs or instructions are stored; A processor, configured to implement the steps of the control method according to any one of claims 1 to 12 when running the program or instruction.
15. A readable storage medium having a program or instruction stored thereon, characterized in that: When the program or instruction is executed by a processor, the steps of the control method according to any one of claims 1 to 12 are implemented.
16. A robot system, characterized in that: include: A control device as claimed in claim 13 or 14; and / or The readable storage medium as claimed in claim 15.
