Cleaning robot control method and device, medium and electronic equipment
By adopting the control method of liftable cleaner in the cleaning robot, the problem of fixed cleaner affecting cleaning efficiency is solved, flexible state switching and normal movement in different environments are achieved, and cleaning effect and efficiency are improved.
Patent Information
- Application Number
- CN202411246605.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-05
- Publication Date
- 2024-11-15
AI Technical Summary
During the cleaning process, existing cleaning robots may easily affect the cleaning effect and movement efficiency due to the existence of fixed cleaners. Especially when encountering obstacles or non-essential cleaning areas, it may cause stuttering or unable to continue working.
Provide a control method for cleaning robots, adopting a liftable cleaner, having a first state and a second state, respectively, at different heights and the ground distances, by receiving non-cleaning movement instructions or detecting a preset target, the cleaning robot will control the cleaning robot to The cleaner switches from the first state to the second state to move in the working environment.
The normal movement of the cleaning robot in the working environment is achieved, the cleaner affects the non-essential area, reduces the situation of jamming, improves the cleaning efficiency and effect, and is suitable for a variety of application scenarios.
Smart Images

Figure CN118948152A_ABST
Abstract
Description
Background Art
[0002] With the rapid development of computer technology and artificial intelligence science, intelligent robot technology has gradually become a hot spot in the field of modern robot research. Among them, cleaning robots, as a typical representative of intelligent robots, can automatically complete the cleaning work on the ground and are widely used in the field of smart homes.
[0003] At present, during the cleaning process, the cleaning device configured by the cleaning robot is easily affected by the working environment structure, which in some cases can easily affect the cleaning effect and movement efficiency.
[0004] How to effectively improve the movement efficiency and cleaning effect of the cleaning robot during the cleaning process is a technical problem that needs to be urgently solved in the existing technology. Summary of the invention
[0005] The purpose of the present disclosure is to provide a control method of a cleaning robot, a control device of a cleaning robot, a computer-readable storage medium and an electronic device to improve the working efficiency of the cleaning robot. The specific scheme is as follows:
[0006] According to specific embodiments of the present disclosure, in a first aspect, the present disclosure provides a control method for a cleaning robot, wherein the cleaning robot includes a liftable cleaner, the liftable cleaner having a first state and a second state, the liftable cleaner being at a shorter distance from the ground in the first state than in the second state; the method comprising: in response to receiving a non-cleaning movement instruction and / or detecting that a preset target is included in the working environment, controlling the cleaning robot to switch the liftable cleaner from the first state to the second state; and when the liftable cleaner is in the second state, controlling the cleaning robot to move in the working environment.
[0007] In an exemplary embodiment of the present disclosure, the non-cleaning movement instruction includes any one of the following: an instruction to control the cleaning robot to move from a first cleaning area to a second cleaning area; an instruction to control the cleaning robot to move to a charging device; an instruction to control the cleaning robot to move to a designated position according to user interaction operations; a movement instruction to control the cleaning robot to perform a charging operation; and an instruction to control the cleaning robot to move and avoid obstacles according to detected obstacles.
[0008] In an exemplary embodiment of the present disclosure, the detecting that the working environment includes a preset target includes: detecting that the area to be cleaned in the working environment is a preset medium area.
[0009] In an exemplary embodiment of the present disclosure, the method further includes: if it is detected that the area to be cleaned is a preset medium area, and the cleaning robot is already in the area to be cleaned, controlling the cleaning robot to exit the area to be cleaned; controlling the cleaning robot to switch the liftable cleaner from a first state to a second state includes: during the process of controlling the cleaning robot to exit the area to be cleaned or after exiting the area to be cleaned, controlling the cleaning robot to switch the liftable cleaner from the first state to the second state.
[0010] In an exemplary embodiment of the present disclosure, controlling the cleaning robot to exit the area to be cleaned includes: controlling the cleaning robot to exit the area to be cleaned, and controlling the cleaning robot to rotate in a preset direction.
[0011] In an exemplary embodiment of the present disclosure, the detecting that the working environment includes a preset target includes: detecting that the area to be cleaned in the working environment includes a preset obstacle object.
[0012] In an exemplary embodiment of the present disclosure, the method further includes: in response to detecting that the working mode of the cleaning robot is changed to a non-working mode, controlling the cleaning robot to switch the liftable cleaner from the first state to the second state.
[0013] In an exemplary embodiment of the present disclosure, the method further includes: if controlling the cleaning robot to switch the liftable cleaner from the first state to the second state fails, controlling the cleaning robot to rotate and controlling the liftable cleaner of the cleaning robot to switch from the first state to the second state again.
[0014] In an exemplary embodiment of the present disclosure, the re-controlling the liftable cleaner of the cleaning robot to switch from the first state to the second state includes: if the number of switching times of controlling the cleaning robot to switch the liftable cleaner from the first state to the second state is greater than a preset threshold, obtaining a reference position and / or reference time of the cleaning robot in the working environment; in response to the distance between the current position of the cleaning robot and the reference position being greater than a preset distance threshold, and / or the time interval between the current time and the reference time being greater than a preset time interval threshold, controlling the liftable cleaner of the cleaning robot to switch from the first state to the second state.
[0015] In a second aspect, the present disclosure provides a control device for a cleaning robot, the cleaning robot comprising a liftable cleaner, the liftable cleaner having a first state and a second state, the liftable cleaner being at a shorter distance from the ground in the first state than in the second state; the device comprising: a state switching module, for controlling the cleaning robot to switch the liftable cleaner from the first state to the second state in response to receiving a non-cleaning movement instruction and / or detecting that a preset target is included in the working environment; and a movement control module, for controlling the cleaning robot to move in the working environment when the liftable cleaner is in the second state.
[0016] In a third aspect, the present disclosure provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the above method when executed by a processor.
[0017] In a fourth aspect, the present disclosure provides an electronic device, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to perform the above method by executing the executable instructions.
[0018] The exemplary embodiments of the present disclosure have the following beneficial effects:
[0019] In response to receiving a non-cleaning movement instruction and / or detecting that the working environment includes a preset target, the cleaning robot is controlled to switch the liftable cleaner from the first state to the second state; when the liftable cleaner is in the second state, the cleaning robot is controlled to move in the working environment. On the one hand, the cleaning robot in this exemplary embodiment includes a liftable cleaner, which has a first state and a second state, and the distance from the ground in different states is different, so that the cleaning robot can switch states in the working environment. Compared with the fixed cleaner configured by the cleaning robot in the prior art, the cleaning robot in this exemplary embodiment can adjust the state of the cleaner in the working environment in time, avoid the influence of the cleaner on non-essential cleaning areas or cleaned areas, and the fixed cleaner is stuck in the environment, causing the cleaning robot to stop working, so as to ensure the normal movement of the cleaning robot in the working environment; on the other hand, this exemplary embodiment provides a variety of application scenarios. When the cleaning robot receives a non-cleaning movement instruction and / or detects that the working environment includes a preset target, the switch between the first state and the second state of the liftable cleaner can be realized, so that the cleaning robot can accurately and effectively control the liftable cleaner according to specific scene requirements and targeted instructions.
[0020] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present disclosure, and together with the specification, are used to explain the principles of the present disclosure. Obviously, the drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0022] Figure 1 A schematic top view of a cleaning robot in this exemplary embodiment is schematically shown;
[0023] Figure 2 A schematic diagram of a front view of a cleaning robot in this exemplary embodiment is schematically shown;
[0024] Figure 3 A flow chart schematically illustrates a control method of a cleaning robot in this exemplary embodiment;
[0025] Figure 4 A schematic diagram schematically shows a cleaning robot performing retreat in this exemplary embodiment;
[0026] Figure 5 A schematic diagram schematically shows a cleaning robot rotating in this exemplary embodiment;
[0027] Figure 6 A block diagram schematically shows a structure of a control device of a cleaning robot in this exemplary embodiment;
[0028] Figure 7 An electronic device for implementing the above method in this exemplary embodiment is schematically shown. DETAILED DESCRIPTION
[0029] In order to make the purpose, technical solutions and advantages of the present disclosure clearer, the present disclosure will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.
[0030] The terms used in the embodiments of the present disclosure are only for the purpose of describing specific embodiments, and are not intended to limit the present disclosure. The singular forms "a", "said" and "the" used in the embodiments of the present disclosure and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings, and "multiple" generally includes at least two.
[0031] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0032] It should be understood that although the terms first, second, third, etc. may be used to describe ... in the embodiments of the present disclosure, these ... should not be limited to these terms. These terms are only used to distinguish .... For example, without departing from the scope of the embodiments of the present disclosure, the first ... may also be referred to as the second ..., and similarly, the second ... may also be referred to as the first ....
[0033] As used herein, the words "if" and "if" may be interpreted as "at the time of" or "when" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrases "if it is determined" or "if (stated condition or event) is detected" may be interpreted as "when it is determined" or "in response to determining" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)", depending on the context.
[0034] It should also be noted that the term "includes", "comprising" or any other variation thereof is intended to cover non-exclusive inclusion, so that a commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprising a ..." do not exclude the existence of other identical elements in the commodity or device including the elements.
[0035] Cleaning robots are a type of smart home appliance that can automatically clean the floor in a room with a certain degree of artificial intelligence. They usually use brushing and vacuuming to absorb the debris on the floor into their own garbage collection box, thus completing the function of floor cleaning.
[0036] However, in order to ensure the cleaning efficiency of the cleaning robot, a fixed cleaner in contact with the ground, such as a fixed side brush, is often configured in the related art. During the cleaning process, the fixed cleaner often affects the efficiency of the cleaning robot in the working environment, or the cleaning effect, etc. For example, the side brush cleaner in contact with the ground may be entangled with the line, causing the robot to malfunction, stop, etc., and thus be unable to continue cleaning; or the side brush cleaner in contact with the ground may dirty the carpet when passing through the carpet after cleaning an area but before self-cleaning due to unclean side brushes, etc.
[0037] Based on this, an exemplary embodiment of the present disclosure provides a control method for a cleaning robot, which can be applied to a cleaning robot, and the cleaning robot can implement the method through hardware and / or software. The above-mentioned cleaning robot includes a liftable cleaner, which has a first state and a second state, and the distance between the liftable cleaner and the ground in the first state is smaller than the distance between the liftable cleaner and the ground in the second state. Among them, the liftable cleaner is a movable cleaner that can be lifted and lowered, and the first state and the second state refer to two states of the liftable cleaner during the lifting process. For example, the state when it is lowered to the lowest point can be the first state, and the state when it is raised to the highest point can be the second state. Figure 1 A schematic top view of a cleaning robot is shown, which includes a cleaning robot body 110 and a liftable cleaning device 120 . Figure 2 A front view schematic diagram of a cleaning robot is shown, including a cleaning robot body 110 and a liftable cleaner 120, wherein the liftable cleaner includes a first state 121 and a second state 122, and the distance between the liftable cleaner and the ground in the first state is smaller than the distance between the liftable cleaner and the ground in the second state.
[0038] Reference Figure 3 , a flowchart of a control method of a cleaning robot provided by an exemplary embodiment of the present disclosure is shown, and the method may include the following steps S310-S320:
[0039] Step S310 , in response to receiving a non-cleaning movement instruction and / or detecting that the working environment includes a preset target, controlling the cleaning robot to switch the liftable cleaner from a first state to a second state.
[0040] Among them, the non-cleaning movement instruction can be an instruction for controlling the cleaning robot to move but not to use the liftable cleaner for cleaning, such as an instruction to move the cleaning robot to a certain position, or an instruction to move to a charging pile, or an instruction to put the cleaning robot on a pile, etc. The preset target refers to an object in the working environment that may interfere with the liftable cleaner, thereby affecting the cleaning efficiency, or affecting the normal operation of the cleaning robot, such as data cables, foreign objects, carpets, thresholds, etc. in the working environment.
[0041] In this exemplary embodiment, when the cleaning robot receives a non-cleaning movement instruction, or detects that the working environment includes a preset target, or receives a non-cleaning movement instruction and detects that the working environment includes a preset target, the cleaning robot can be controlled to change the state of the liftable cleaner, switching the liftable cleaner from the first state to the second state. The detection of the preset target can be obtained by collecting and analyzing data through devices such as infrared sensors, distance sensors, camera modules or image sensors configured by the cleaning robot. For example, an image of the working environment of the cleaning robot can be collected in real time, and the image can be identified to determine whether there is a preset target in the working environment.
[0042] It should be noted that if the state of the liftable cleaner is originally the second state, there is no need to perform the state switching operation.
[0043] In an exemplary embodiment, in the first state, the liftable cleaning device is in contact with the ground, and in the second state, the liftable cleaning device is not in contact with the ground.
[0044] In order to ensure that the liftable cleaner can fully clean the cleaning area, in the first state, the liftable cleaner can be in contact with the ground to ensure the effectiveness of cleaning the contact area during movement. In addition, in the second state, the liftable cleaner may not be in contact with the ground, wherein the height of non-contact may be any height that does not contact the ground. For example, if the distance between the bottom of the cleaning robot and the ground is 8 cm, then the second state may be that the liftable cleaner is 5 cm, 6 cm or 8 cm away from the ground, etc. When the height distance between the liftable cleaner and the ground is equal to the height distance between the bottom of the cleaning robot and the ground, it indicates that the liftable cleaner is raised to the same level as the bottom of the cleaning robot, that is, the projection of the liftable cleaner in the vertical direction is within the projection of the cleaning robot.
[0045] Step S320: When the liftable cleaner is in the second state, the cleaning robot is controlled to move in the working environment.
[0046] Furthermore, when the liftable cleaner is controlled to be in the second state, the liftable cleaner is in a lifted state, for example, off the ground or at a preset distance from the ground. At this time, this state can be maintained to control the cleaning robot to move in the working environment, for example, to a charging pile for charging, or to a cleaning place, etc.
[0047] Based on the above description, in this exemplary embodiment, in response to receiving a non-cleaning movement instruction and / or detecting that the working environment includes a preset target, the cleaning robot is controlled to switch the liftable cleaner from the first state to the second state; when the liftable cleaner is in the second state, the cleaning robot is controlled to move in the working environment. On the one hand, the cleaning robot in this exemplary embodiment includes a liftable cleaner, which has a first state and a second state, and the distance from the ground in different states is different, so that the cleaning robot can switch states in the working environment. Compared with the fixed cleaner configured by the cleaning robot in the prior art, the cleaning robot in this exemplary embodiment can adjust the state of the cleaner in time in the working environment, avoid the influence of the cleaner on non-essential cleaning areas or cleaned areas, and the fixed cleaner is stuck in the environment, causing the cleaning robot to stop working, so as to ensure the normal movement of the cleaning robot in the working environment; on the other hand, this exemplary embodiment provides a variety of application scenarios. When the cleaning robot receives a non-cleaning movement instruction and / or detects that the working environment includes a preset target, the switch between the first state and the second state of the liftable cleaner can be realized, so that the cleaning robot can accurately and effectively control the liftable cleaner according to specific scene requirements and targeted instructions.
[0048] In an exemplary embodiment, the non-cleaning movement instruction includes any one of the following:
[0049] a. Instructions for controlling the cleaning robot to move from a first cleaning area to a second cleaning area;
[0050] b. Instructions for controlling the cleaning robot to move to the charging device;
[0051] c. Instructions for controlling the cleaning robot to move to a specified position according to user interaction operations;
[0052] d. Control the movement instructions of the cleaning robot to perform charging operations;
[0053] e. Control the cleaning robot to perform movement and obstacle avoidance instructions based on detected obstacles.
[0054] a. In the working environment, the cleaning robot may need to move from one cleaning area to another. The first cleaning area and the second cleaning area may be adjacent or not. For example, after the cleaning robot finishes cleaning the first cleaning area, it needs to clean the adjacent second cleaning area. However, it may pass through the first cleaning area in the process of moving to the second cleaning area. In order to ensure the cleaning completeness of the first cleaning area, the liftable cleaner can be controlled to switch states; or after the cleaning robot completes the first cleaning area, it needs to pass through other areas before reaching the second cleaning area for cleaning. In order to ensure the cleanliness of the cleaner and avoid contamination of the cleaner when passing through other areas, the liftable cleaner can be controlled to switch states.
[0055] b. The cleaning robot may need to move to a charging device for charging or cleaning in the working environment. During this movement, it is not desirable for the cleaning robot to clean the area through which the path passes to avoid affecting the cleaned area or the uncleaned area. Therefore, the liftable cleaner can be controlled to switch states.
[0056] c. The cleaning robot can move to a specific position in the working environment according to the user's interactive operation. For example, the user sets the target position of movement in the application of the terminal device, and the cleaning robot can move according to the set target position and start cleaning after moving to the target position. Therefore, when receiving the instruction to control the cleaning robot to move to the specified position according to the user's interactive operation, the lifting cleaner can be controlled to switch the state.
[0057] d. After receiving the charging operation, the cleaning robot moves, for example, after receiving the charging instruction, it moves to the pile. During this process, the liftable cleaner can be controlled to switch states.
[0058] e. Special obstacles may appear in the working environment of the cleaning robot. When a special obstacle is detected, the robot will execute movement instructions to avoid the obstacle. At this time, the liftable cleaner can also be controlled to switch states.
[0059] In an exemplary embodiment, the above-mentioned detection that the working environment includes a preset target may include:
[0060] It is detected that the area to be cleaned in the working environment is a preset medium area.
[0061] Among them, the area to be cleaned refers to the area that needs to be cleaned by the cleaning robot, which can be the environmental scene where the cleaning robot is located, for example, each room in multiple houses in a residential home can be used as an area to be cleaned; it can also be an area divided according to preset rules, for example, in a house, x*y regular or irregular areas are divided according to preset standards, and each area can be used as an area to be cleaned, etc.; or special areas to be cleaned can be set according to user settings or environmental detection, for example, the area where the carpet is located is the area to be cleaned, the "L"-shaped corner area is the area to be cleaned, etc., and the present disclosure does not make specific limitations on this.
[0062] The preset medium refers to a special medium that is different from the ground itself and on which the cleaning robot can move, such as a carpet, a yoga mat, etc. The preset medium area refers to a cleaning area including the preset medium, which may include the preset medium, such as a carpet in the preset medium area, and the carpet covers a part of the area. The preset medium area may also refer to an area that only includes the preset medium, such as the area where the carpet is located. In this exemplary embodiment, when it is detected that the area to be cleaned in the working environment is the preset medium area, the liftable cleaner can be controlled to switch from the first state to the second state. Detecting the preset medium area may include detecting the preset medium area when the preset medium area has not been reached, such as the cleaning robot taking real-time photos through the camera module and detecting that it is about to enter the preset medium area. At this time, the liftable cleaner can be controlled to switch the state; or detecting the preset medium area may also include detecting the preset mechanism area when the preset medium area has been reached. For example, after the cleaning robot enters the carpet area, it detects that the current area is the area where the carpet is located through the sensor device, and the liftable cleaner can be controlled to switch the state.
[0063] In an exemplary embodiment, the above method may further include:
[0064] If it is detected that the area to be cleaned is a preset medium area and the cleaning robot is already in the area to be cleaned, the cleaning robot is controlled to exit the area to be cleaned;
[0065] Controlling the cleaning robot to switch the liftable cleaning device from a first state to a second state includes:
[0066] During the process of controlling the cleaning robot to exit the area to be cleaned or after exiting the area to be cleaned, the cleaning robot is controlled to switch the liftable cleaning device from the first state to the second state.
[0067] Taking into account the possibility that the cleaning robot enters the preset medium area for the first time and is not detected in time, the present exemplary embodiment can be arranged that if the area to be cleaned is detected as the preset medium area, and the cleaning robot is already in the area to be cleaned, for example, when the cleaning robot touches the carpet for the first time, the recognition takes a certain amount of time, and the cleaning robot may have entered the area where the carpet is located, but the side brush has not yet risen. At this time, the cleaning robot can be controlled to exit the area to be cleaned, for example, exit the area where the carpet is located.
[0068] Then, when the cleaning robot is controlled to exit the area to be cleaned or after exiting the area to be cleaned, the cleaning robot is controlled to switch the liftable cleaning device from the first state to the second state, for example, when the cleaning robot is exiting the carpet, the side brush is lifted while the cleaning robot is exiting, or after the cleaning robot exits the carpet to a fixed position, the side brush is lifted, etc. Figure 4 As shown in (a), after entering the carpet area 420, the cleaning robot 410 can perform a backward operation and retreat to the carpet area 420. Figure 4 (b) indicates that the carpet area 420 has been left. At this time, the liftable cleaner can be controlled to switch its state.
[0069] In an exemplary embodiment, the above-mentioned controlling the cleaning robot to exit the area to be cleaned may include:
[0070] Control the cleaning robot to exit the area to be cleaned, and control the cleaning robot to rotate in a preset direction.
[0071] Considering that in some cases, the cleaning robot may not be able to perform normal retraction operations in the preset media area. For example, when it is detected that the cleaning robot enters the carpet within a preset time, such as within 5 seconds, the cleaning side brush rotates and there is an overcurrent, such as a short circuit, open circuit or large voltage, etc., resulting in the inability to normally control the cleaning robot to lift the cleaner. Figure 5 As shown, this exemplary embodiment can be configured to control the cleaning robot to exit the area to be cleaned and control the cleaning robot to rotate in a preset direction, for example Figure 4 Taking the cleaning robot 410 and the carpet 420 as an example, the cleaning robot 410 can retreat, rotate 45 degrees clockwise, and then lift the side brush cleaner. It should be noted that in controlling the cleaning robot to exit the area to be cleaned and controlling the cleaning robot to rotate in a preset direction, exiting the area to be cleaned and rotating can be performed simultaneously or successively, for example, the rotation operation can be performed while retreating, or after retreating to a preset position, the rotation operation can be performed, etc., and the present disclosure does not make specific limitations on this.
[0072] In an exemplary embodiment, the above-mentioned detection that the working environment includes a preset target may include:
[0073] It is detected that the area to be cleaned in the working environment includes a preset obstacle object.
[0074] The preset obstacles may include obstacles in the working environment that may affect the movement of the cleaning robot, such as pet feces, data cables or power cables of electronic devices, thresholds, etc. When the cleaning robot detects the preset obstacle object, the liftable cleaner may be switched from the first state to the second state.
[0075] In an exemplary embodiment, the control method of the cleaning robot may further include:
[0076] In response to detecting that the working mode of the cleaning robot is changed to the non-working mode, the cleaning robot is controlled to switch the liftable cleaning device from the first state to the second state.
[0077] Among them, the non-working mode may include the non-working mode of the liftable cleaner. For example, the cleaning robot may be equipped with a variety of cleaning devices such as a mop and a side brush. The liftable cleaner may be a side brush. When the mop is used to mop the floor, the side brush is in a non-working state. At this time, the liftable cleaner may be switched from the first state to the second state. The non-working mode may also include the non-working state of the cleaning robot. For example, when the cleaning robot pauses or stops cleaning, or reports a stop or an alarm, the liftable cleaner may be switched from the first state to the second state.
[0078] In an exemplary embodiment, the control method of the cleaning robot may further include:
[0079] If controlling the cleaning robot to switch the liftable cleaner from the first state to the second state fails, the cleaning robot is controlled to rotate, and the liftable cleaner of the cleaning robot is controlled to switch from the first state to the second state again.
[0080] If the liftable cleaner of the cleaning robot fails during state switching, such as overcurrent, or fails to rise to a specific position within a preset time, the cleaning robot can be controlled to rotate. The rotation direction can be set according to actual needs. For example, it can be set to rotate clockwise. The rotation angle can be determined according to actual needs or the number of failures. For example, when the first state switching fails, it can be set to rotate clockwise by a first preset angle, such as 5 degrees, 15 degrees, etc. If the switch still fails, it can be set to rotate clockwise again by a second preset angle, such as 5-30 degrees. The first preset angle can be the same as or different from the second preset angle. The first preset angle and the second preset angle can also be determined randomly. The present disclosure does not make specific limitations on this.
[0081] In an exemplary embodiment, the above-mentioned re-controlling the liftable cleaning device of the cleaning robot to switch from the first state to the second state may include:
[0082] If the number of times the cleaning robot is controlled to switch the liftable cleaning device from the first state to the second state is greater than a preset threshold, obtaining a reference position and / or a reference time of the cleaning robot in the working environment;
[0083] In response to the distance between the current position of the cleaning robot and the reference position being greater than a preset distance threshold, and / or the time interval between the current time and the reference time being greater than a preset time interval threshold, the liftable cleaner of the cleaning robot is controlled to switch from a first state to a second state.
[0084] In this exemplary embodiment, if the liftable cleaner fails to switch states after attempting multiple state switching, such as the number of switching times is greater than a preset threshold, information such as the reference position and / or reference time of the cleaning robot in the current working environment can be obtained, wherein the reference position and reference time refer to the position and time used to determine whether to switch states again. In this exemplary embodiment, the reference position can be the position of the cleaning robot when the number of switching times is equal to the preset threshold, and the reference time can be the current working time of the cleaning robot when the number of switching times is equal to the preset threshold, or the current time, etc.
[0085] Then, it can be judged whether the distance between the current position of the cleaning robot and the reference position is greater than the preset distance threshold, and whether the time interval between the current time and the reference time is greater than the preset time interval threshold. If the distance between the current position of the cleaning robot and the reference position is greater than the preset distance threshold, and the time interval between the current time and the reference time is greater than the preset time interval threshold, or the distance between the current position of the cleaning robot and the reference position is greater than the preset distance threshold, and the time interval between the current time and the reference time is greater than the preset time interval threshold, the lifting and lowering device of the cleaning robot is controlled to switch from the first state to the second state. Among them, the current position and the current time can be the real-time position and real-time time of the cleaning robot moving in the working environment. For example, after determining the reference position and the reference time, the cleaning robot will move in the working environment. As time goes by, its moving position will change, and the time will also change. The current position and the current time of the cleaning robot in the working environment are obtained, and the judgment process can be performed. The preset distance threshold and the preset time interval threshold can be set according to actual needs, and the present disclosure does not make specific limitations on this.
[0086] It should be noted that the present invention can also set the number of stop switching times. When the number of state switching times reaches the stop switching number, the state switching can be stopped. Alternatively, the preset distance threshold and the preset time interval threshold can be set to infinity, and the cleaning robot can be controlled to no longer attempt to switch the state of the cleaner.
[0087] In an exemplary embodiment of the present disclosure, a control device 600 of a cleaning robot is also provided. Figure 6 As shown, the cleaning robot includes a liftable cleaner, which has a first state and a second state, and the distance between the liftable cleaner and the ground in the first state is smaller than the distance between the cleaner and the ground in the second state; the control device 600 of the cleaning robot may include: a state switching module 610, which is used to control the cleaning robot to switch the liftable cleaner from the first state to the second state in response to receiving a non-cleaning movement instruction and / or detecting that the working environment includes a preset target; and a movement control module 620, which is used to control the cleaning robot to move in the working environment when the liftable cleaner is in the second state.
[0088] In an exemplary embodiment of the present disclosure, non-cleaning movement instructions include any one of the following: instructions to control the cleaning robot to move from a first cleaning area to a second cleaning area; instructions to control the cleaning robot to move to a charging device; instructions to control the cleaning robot to move to a designated position based on user interaction operations; movement instructions to control the cleaning robot to perform charging operations; and movement and obstacle avoidance instructions to control the cleaning robot based on detected obstacles.
[0089] In an exemplary embodiment of the present disclosure, the state switching module includes: a preset medium area detection unit, which is used to detect that the area to be cleaned in the working environment is a preset medium area.
[0090] In an exemplary embodiment of the present disclosure, the control device of the cleaning robot also includes: an area exit control unit, which is used to control the cleaning robot to exit the area to be cleaned if it is detected that the area to be cleaned is a preset medium area and the cleaning robot is already in the area to be cleaned; a state switching module, including: a state switching unit, which is used to control the cleaning robot to switch the liftable cleaner from the first state to the second state during the process of controlling the cleaning robot to exit the area to be cleaned or after exiting the area to be cleaned.
[0091] In an exemplary embodiment of the present disclosure, the area exit control unit includes: a first rotation unit, used to control the cleaning robot to exit the area to be cleaned, and control the cleaning robot to rotate in a preset direction.
[0092] In an exemplary embodiment of the present disclosure, the state switching module includes: an obstacle object detection unit, which is used to detect that the area to be cleaned in the working environment includes a preset obstacle object.
[0093] In an exemplary embodiment of the present disclosure, the obstacle object detection unit includes: a mode detection subunit for controlling the cleaning robot to switch the liftable cleaner from the first state to the second state in response to detecting that the working mode of the cleaning robot is changed to the non-working mode.
[0094] In an exemplary embodiment of the present disclosure, the control device of the cleaning robot also includes: a second rotation unit, which is used to control the cleaning robot to rotate and control the liftable cleaner of the cleaning robot to switch from the first state to the second state again if the control of the cleaning robot to switch the liftable cleaner from the first state to the second state fails.
[0095] In an exemplary embodiment of the present disclosure, the control device of the cleaning robot also includes: a reference information acquisition unit, which is used to obtain the reference position and / or reference time of the cleaning robot in the working environment if the number of switching times of controlling the cleaning robot to switch the liftable cleaner from a first state to a second state is greater than a preset threshold; a reference information judgment unit, which is used to control the liftable cleaner of the cleaning robot to switch from the first state to the second state in response to the distance between the current position of the cleaning robot and the reference position being greater than a preset distance threshold, and / or the time interval between the current time and the reference time being greater than a preset time interval threshold.
[0096] The specific details of the control device modules of each cleaning robot mentioned above have been described in detail in the corresponding methods, so they will not be repeated here.
[0097] It should be noted that, although several modules or units of the device for execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.
[0098] In an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided. For example, the electronic device may be a cleaning robot capable of implementing the above method.
[0099] Those skilled in the art will appreciate that various aspects of the present disclosure may be implemented as systems, methods or program products. Therefore, various aspects of the present disclosure may be specifically implemented in the following forms, namely: complete hardware implementation, complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to herein as "circuits", "modules" or "systems".
[0100] Refer to the following Figure 7 An electronic device 700 according to such an exemplary embodiment of the present disclosure is described below. Figure 7 The electronic device 700 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0101] like Figure 7 As shown, the electronic device 700 is in the form of a general computing device. The components of the electronic device 700 may include, but are not limited to: the at least one processing unit 710, the at least one storage unit 720, a bus 730 connecting different system components (including the storage unit 720 and the processing unit 710), and a display unit 740.
[0102] The storage unit stores program codes, which can be executed by the processing unit 710, so that the processing unit 710 executes the steps according to various exemplary embodiments of the present disclosure described in the above “Exemplary Method” section of this specification. For example, the processing unit 710 can execute steps S to S shown in the figure, or can execute steps S to S shown in the figure, etc.
[0103] The storage unit 720 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 721 and / or a cache memory unit 722 , and may further include a read-only memory unit (ROM) 723 .
[0104] The storage unit 720 may also include a program / utility 724 having a set (at least one) of program modules 725, such program modules 725 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0105] Bus 730 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
[0106] The electronic device 700 may also communicate with one or more external devices 800 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 700, and / or communicate with any device that enables the electronic device 700 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 750. Furthermore, the electronic device 700 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 760. As shown, the network adapter 760 communicates with other modules of the electronic device 700 via a bus 730. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 700, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.
[0107] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation of the present disclosure.
[0108] In an exemplary embodiment of the present disclosure, a computer-readable storage medium is also provided, on which a program product capable of implementing the above method of the present specification is stored. In some possible implementations, various aspects of the present disclosure may also be implemented in the form of a program product, which includes a program code, and when the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps according to various exemplary implementations of the present disclosure described in the above "Exemplary Method" section of the present specification.
[0109] According to the program product for implementing the above method in the embodiment of the present disclosure, it can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present disclosure is not limited thereto. In this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.
[0110] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0111] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0112] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.
[0113] Program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).
[0114] In addition, the above-mentioned figures are only schematic illustrations of the processes included in the method according to the exemplary embodiments of the present disclosure, and are not intended to be limiting. It is easy to understand that the processes shown in the above-mentioned figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.
[0115] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and examples are to be considered as exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.
[0116] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A control method for a cleaning robot, It is characterized in that The cleaning robot comprises a liftable cleaner, the liftable cleaner has a first state and a second state, the liftable cleaner is closer to the ground in the first state than in the second state; the method comprises: In response to receiving a non-cleaning movement instruction and / or detecting that the working environment includes a preset target, controlling the cleaning robot to switch the liftable cleaning device from a first state to a second state; When the liftable cleaner is in the second state, the cleaning robot is controlled to move in the working environment.
2. The method according to claim 1, It is characterized in that The non-cleaning movement instruction includes any of the following: An instruction for controlling the cleaning robot to move from a first cleaning area to a second cleaning area; An instruction for controlling the cleaning robot to move to a charging device; Instructions for controlling the cleaning robot to move to a specified position according to user interaction operations; Controlling the cleaning robot to perform a movement instruction for charging operation; Control the cleaning robot to move and avoid obstacles according to the detected obstacles.
3. The method according to claim 1, It is characterized in that The detected working environment includes preset targets, including: It is detected that the area to be cleaned in the working environment is a preset medium area.
4. The method according to claim 3, It is characterized in that The method further comprises: If it is detected that the area to be cleaned is a preset medium area, and the cleaning robot is already in the area to be cleaned, then the cleaning robot is controlled to exit the area to be cleaned; The controlling the cleaning robot to switch the liftable cleaning device from the first state to the second state comprises: During the process of controlling the cleaning robot to exit the area to be cleaned or after exiting the area to be cleaned, the cleaning robot is controlled to switch the liftable cleaning device from the first state to the second state.
5. The method according to claim 4, It is characterized in that The controlling the cleaning robot to exit the area to be cleaned comprises: The cleaning robot is controlled to exit the area to be cleaned, and the cleaning robot is controlled to rotate in a preset direction.
6. The method according to claim 1, It is characterized in that The detected working environment includes preset targets, including: It is detected that the area to be cleaned in the working environment includes a preset obstacle object.
7. The method according to claim 1, It is characterized in that The method further comprises: In response to detecting that the working mode of the cleaning robot is changed to the non-working mode, the cleaning robot is controlled to switch the liftable cleaning device from a first state to a second state.
8. The method according to claim 1, It is characterized in that The method further comprises: If controlling the cleaning robot to switch the liftable cleaner from the first state to the second state fails, the cleaning robot is controlled to rotate, and the liftable cleaner of the cleaning robot is controlled to switch from the first state to the second state again.
9. The method according to claim 8, It is characterized in that The step of controlling the liftable cleaning device of the cleaning robot to switch from the first state to the second state again comprises: If the number of switching times of controlling the cleaning robot to switch the liftable cleaning device from the first state to the second state is greater than a preset threshold, obtaining a reference position and / or a reference time of the cleaning robot in the working environment; In response to the distance between the current position of the cleaning robot and the reference position being greater than a preset distance threshold, and / or the time interval between the current time and the reference time being greater than a preset time interval threshold, the liftable cleaner of the cleaning robot is controlled to switch from the first state to the second state.
10. A control device for a cleaning robot, It is characterized in that The cleaning robot comprises a liftable cleaner, the liftable cleaner has a first state and a second state, the liftable cleaner is closer to the ground in the first state than in the second state; the device comprises: a state switching module, for controlling the cleaning robot to switch the liftable cleaning device from the first state to the second state in response to receiving a non-cleaning movement instruction and / or detecting that the working environment includes a preset target; The movement control module is used to control the cleaning robot to move in the working environment when the liftable cleaner is in the second state.
11. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the control method of the cleaning robot according to any one of claims 1 to 9 is implemented.
12. An electronic device, It is characterized in that include: processor; as well as A memory, configured to store executable instructions of the processor; Wherein, the processor is configured to execute the control method of the cleaning robot according to any one of claims 1-9 by executing the executable instructions.
Citation Information
Cited By
Control method and apparatus for cleaning robot, and medium and electronic device
WO2026051827A1
Control method and apparatus for side mop of cleaning device, cleaning device, and storage medium
WO2026108632A1
