Cleaning robot and wall-following method thereof
By using infrared wall-along sensors in the cleaning robot, the infrared signal received by the auxiliary infrared receiving tube is used to update the threshold of the main infrared receiving tube, which solves the problem of inaccurate distance of the infrared tube ranging sensor due to changes in wall color, and improves Improves the accuracy and efficiency of edge cleaning.
Patent Information
- Application Number
- CN202110125322.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-01-29
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2041-01-29
AI Technical Summary
The infrared tube distance measuring sensor of the existing cleaning robot is limited by the color change of the wall, resulting in inaccurate distance along the edge, affecting the cleaning effect.
Infrared sensors along the wall are used, including infrared transmitting tubes, main infrared receiving tubes and auxiliary infrared receiving tubes. By detecting whether the infrared signal received by the auxiliary infrared receiving tube meets the intensity change conditions, the threshold of the main infrared receiving tube is updated to guide the cleaning robot. Work along the edges to ensure the distance is accurate.
By updating the threshold in time, it can adapt to changes in wall color, avoid distance errors, improve the edge cleaning effect of the cleaning robot, and reduce the computational complexity of threshold update.
Smart Images

Figure CN114794976B
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of household appliances, and in particular to a cleaning robot and a wall-climbing method thereof. Background Art
[0002] A cleaning robot is an intelligent device that can assist users in cleaning their home environment. It mainly includes sweeping robots, mopping robots, sweeping-suction-mopping robots, etc.
[0003] In order to enable the cleaning robot to effectively clean the corners of the wall and avoid collisions between the cleaning robot and the wall when cleaning along the wall, existing cleaning robots are usually equipped with wall sensors. Existing wall sensors mainly include ToF distance measurement sensors, ultrasonic distance measurement sensors and infrared distance measurement sensors. Among them, infrared distance measurement sensors are widely used in cleaning robots due to their low cost.
[0004] However, the infrared tube distance sensor is greatly affected by the wall color. Specifically, the darker the wall color, the smaller the distance detected by the infrared tube distance sensor is than the actual distance; the lighter the wall color, the larger the distance detected by the infrared tube distance sensor is than the actual distance. Therefore, when the cleaning robot using the infrared tube distance sensor is working along the edge, it is often limited by the color change of the wall, and the edge distance will be inaccurate, resulting in poor cleaning effect of the cleaning robot along the edge. Summary of the invention
[0005] The present invention provides a cleaning robot and a wall-following method thereof, which are used to solve the following technical problems in the prior art: the infrared tube ranging sensor of the existing cleaning robot is limited by the color change of the wall, resulting in the problem of inaccurate distance along the edge of the cleaning robot.
[0006] In a first aspect, the present disclosure provides a wall-following method for a cleaning robot, the cleaning robot comprising an infrared wall-following sensor, the infrared wall-following sensor comprising an infrared transmitting tube, a main infrared receiving tube and an auxiliary infrared receiving tube; the wall-following method comprises:
[0007] Detecting the infrared signal received by the auxiliary infrared receiving tube;
[0008] Determine whether the infrared signal received by the auxiliary infrared receiving tube meets the strength change condition; the strength change condition includes that the infrared signal of the infrared transmitting tube received by the auxiliary infrared receiving tube changes from nothing to something or from something to nothing;
[0009] If the aforementioned strength change condition is met, the threshold of the aforementioned main infrared receiving tube is updated to the infrared signal currently detected by the aforementioned main infrared receiving tube, so that the aforementioned main infrared receiving tube guides the aforementioned cleaning robot to perform edge operations according to the updated threshold.
[0010] Optionally, before determining whether the infrared signal received by the auxiliary infrared receiving tube meets the strength change condition, the wall-following method further includes:
[0011] During the process of the cleaning robot working along the edge, it is determined whether the duration of the infrared signal received by the auxiliary infrared receiving tube from the infrared transmitting tube being absent or present reaches a set time length;
[0012] If the set time is reached, and the auxiliary infrared receiving tube currently receives the infrared signal of the infrared transmitting tube, and the main infrared receiving tube currently receives the infrared signal of the infrared transmitting tube, the cleaning robot is controlled to approach the edge object;
[0013] If the set time is reached, and the auxiliary infrared receiving tube currently receives no infrared signal from the infrared transmitting tube, and the main infrared receiving tube currently receives a signal from the infrared transmitting tube, the cleaning robot is controlled to stay away from objects along the edge.
[0014] Optionally, the determining whether the infrared signal received by the auxiliary infrared receiving tube satisfies a strength change condition includes:
[0015] When the cleaning robot approaches or moves away from the edge object, it is determined whether the infrared signal received by the auxiliary infrared receiving tube satisfies the strength change condition.
[0016] Optionally, in the front-rear direction of the cleaning robot, the auxiliary infrared receiving tube is located in front of the main infrared receiving tube.
[0017] Optionally, the infrared emitting tube is located between the main infrared receiving tube and the auxiliary infrared receiving tube; or, the infrared emitting tube is located on a side of the main infrared receiving tube away from the auxiliary infrared receiving tube.
[0018] Optionally, the center line of the main infrared receiving tube intersects with the center line of the infrared transmitting tube at a main intersection, the center line of the auxiliary infrared receiving tube intersects with the center line of the infrared transmitting tube at an auxiliary intersection, and the distance between the main intersection and the cleaning robot is smaller than the distance between the auxiliary intersection and the cleaning robot.
[0019] Optionally, the detection viewing angle of the aforementioned main infrared receiving tube is equal to the detection viewing angle of the aforementioned auxiliary infrared receiving tube.
[0020] Optionally, the center line of the main infrared receiving tube intersects with the center line of the infrared transmitting tube at a main intersection, the center line of the auxiliary infrared receiving tube intersects with the center line of the infrared transmitting tube at an auxiliary intersection, and the distance between the main intersection and the cleaning robot is equal to the distance between the auxiliary intersection and the cleaning robot.
[0021] Optionally, there is a first angle between the center line of the main infrared receiving tube and the center line of the infrared transmitting tube, there is a second angle between the center line of the auxiliary infrared receiving tube and the center line of the infrared transmitting tube, and the first angle is greater than the second angle; and / or, the detection viewing angle of the main infrared receiving tube is greater than the detection viewing angle of the auxiliary infrared receiving tube.
[0022] In a second aspect, the present disclosure provides a cleaning robot, comprising a processor, a memory, and execution instructions stored in the aforementioned memory, wherein the aforementioned execution instructions are configured to enable the aforementioned cleaning robot to execute the wall-following method described in any one of the technical solutions in the first aspect when executed by the aforementioned processor.
[0023] Based on the foregoing description, those skilled in the art can understand that, in the aforementioned technical solution of the present disclosure, by making the cleaning robot update the threshold of the main infrared receiving tube when the infrared signal received by the auxiliary infrared receiving tube meets the strength change condition (the infrared signal of the infrared transmitting tube received by the auxiliary infrared receiving tube changes from nothing to something or from something to nothing), the main infrared receiving tube guides the cleaning robot to perform edge operations according to the updated threshold. Therefore, the cleaning robot of the present disclosure can timely update the threshold of the infrared signal received by the main infrared receiving tube based on the infrared signal received by the auxiliary infrared receiving tube during the edge operation, so that the threshold can be matched with the color of the wall in time, and thus the cleaning robot will no longer be too far or too far away from the edge object due to the color change of the wall.
[0024] Furthermore, by making the cleaning robot approach or move away from the edge object after the infrared signal of the infrared transmitting tube received by the auxiliary infrared receiving tube is present or absent for a set period of time, the infrared signal of the infrared transmitting tube received by the auxiliary infrared receiving tube changes from none to present or from present to none, thereby avoiding the main infrared receiving tube from frequently updating the threshold due to frequent changes, thereby reducing the amount of calculation for the cleaning robot to update the threshold. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to more clearly illustrate the technical solution of the present disclosure, some embodiments of the present disclosure will be described in detail below in conjunction with the accompanying drawings, in which:
[0026] Figure 1 is a schematic structural diagram (top view) of the cleaning robot disclosed herein;
[0027] Figure 2 is a top view of the infrared wall sensor in the first embodiment of the present disclosure;
[0028] Figure 3 is a flow chart of the main steps of the wall-following method in the first embodiment of the present disclosure;
[0029] Figure 4 is a flowchart of some steps of the wall-following method in the second embodiment of the present disclosure;
[0030] Figure 5 is a flowchart of some steps of the wall-following method in the third embodiment of the present disclosure;
[0031] Figure 6 It is a schematic diagram of the effects of some functional modules of the cleaning robot in the fourth embodiment of the present disclosure.
[0032] List of reference numerals:
[0033] 1. Host; 11. Casing;
[0034] 2. Infrared wall sensor; 21. Main board; 22. Infrared transmitting tube; 23. Main infrared receiving tube; 24. Auxiliary infrared receiving tube; 25. First detection area; 26. Second detection area. DETAILED DESCRIPTION
[0035] In order to make the purpose, technical solutions and advantages of the present disclosure clearer, the technical solutions of the present disclosure will be clearly and completely described below in conjunction with specific embodiments and corresponding drawings. It should be understood by those skilled in the art that the embodiments described in the specific embodiments of this section are only part of the embodiments of the present disclosure, rather than all the embodiments of the present disclosure. Based on the embodiments described in the specific embodiments of this section, all other embodiments obtained by ordinary technicians in this field without creative work will not deviate from the technical principles of the present disclosure, and therefore should fall within the scope of protection of the present disclosure.
[0036] It should be noted that in the description of the present disclosure, each functional module can be a physical module composed of multiple structures, components or electronic components, or a virtual module composed of multiple programs; each functional module can be a module that exists independently of each other, or a module divided according to the function of an integral module. It should be understood by those skilled in the art that, under the premise of being able to implement the technical solution described in the present disclosure, the composition, implementation and positional relationship of each functional module will not deviate from the technical principle of the present disclosure no matter how it changes, and therefore should fall within the protection scope of the present disclosure.
[0037] In addition, it should be noted that in the description of the present disclosure, unless otherwise clearly specified and limited, the terms "connected" and "connection" should be understood in a broad sense, for example, it can be a wired connection, a wireless connection, or a communication connection (including a wired connection and a wireless connection). For those skilled in the art, the specific meanings of the above terms in the present disclosure can be understood according to specific circumstances.
[0038] like Figure 1 As shown in FIG. 1 , the cleaning robot disclosed in the present invention mainly comprises a main unit 1 and an infrared wall sensor 2 arranged on one side of the main unit 1. The main unit 1 is integrated with a driving wheel, a dust collection system and / or a mopping system, etc. for driving the cleaning robot to move. The infrared wall sensor 2 is used to guide the cleaning robot to perform edge cleaning operations. The infrared wall sensor 2 can be as follows: Figure 1 As shown, it is arranged on the right side of the host computer 1 , but it may also be arranged on the left side of the host computer 1 .
[0039] Please refer to the attached Figure 2-5 , to explain in detail the structure of the infrared wall-following sensor 2 and the wall-following method of the cleaning robot disclosed in the present invention.
[0040] Before that, it should be noted that Figure 2 The upper part of the infrared wall sensor 2 shown in FIG. Figure 1 To the left of the cleaning robot shown in Figure 2 The infrared wall sensor 2 shown in FIG. Figure 1 To the right of the cleaning robot shown in Figure 2 The left side of the infrared wall sensor 2 shown in FIG. Figure 1 Below the cleaning robot shown in Figure 2 The right side of the infrared wall sensor 2 shown in FIG. Figure 1 Shown above is the cleaning robot.
[0041] In the first embodiment of the present disclosure:
[0042] like Figure 2 As shown, the infrared wall sensor 2 abuts against the right side of the housing 11 of the host 1. Of course, those skilled in the art can also separate the infrared wall sensor 2 and the housing 11 of the host 1 from each other as needed.
[0043] Continue reading Figure 2The infrared wall sensor 2 includes a main board 21, an infrared transmitting tube 22, a main infrared receiving tube 23 and an auxiliary infrared receiving tube 24. The infrared transmitting tube 22, the main infrared receiving tube 23 and the auxiliary infrared receiving tube 24 are respectively installed and fixed to the main board 21. In addition, the main infrared receiving tube 23 and the infrared transmitting tube 22 form a first detection area 25, and the auxiliary infrared receiving tube 24 and the infrared transmitting tube 22 form a second detection area 26. The minimum distance between the first detection area 25 and the cleaning robot is smaller than the minimum distance between the second detection area 26 and the cleaning robot.
[0044] Optionally, the minimum distance between the first detection area 25 and the cleaning robot is less than the edge distance D of the cleaning robot; the minimum distance between the second detection area 26 and the cleaning robot is equal to the edge distance D of the cleaning robot.
[0045] The first detection area 25 is the area where the detection angle of the main infrared receiving tube 23 intersects with the detection angle of the infrared transmitting tube 22; the second detection area 26 is the area where the detection angle of the auxiliary infrared receiving tube 24 intersects with the detection angle of the infrared transmitting tube 22; the minimum distance between the first detection area 25 and the cleaning robot is Figure 2 The vertical distance from the middle point M to the housing 11; the minimum distance between the second detection area 26 and the cleaning robot is Figure 2 The vertical distance from point N to the housing 11; the edge distance D is the preset distance between the cleaning robot and the edge object during the edge operation, specifically the preset distance between the housing 11 and the edge object.
[0046] It should be noted that the minimum distance between the second detection area 26 and the cleaning robot is equal to the edge distance D of the cleaning robot, which refers not only to equality in a mathematical sense, but also includes approximate equality in a spatial physical sense.
[0047] Those skilled in the art can understand that, since the minimum distance between the second detection area 26 and the cleaning robot is equal to the edge distance D of the cleaning robot, the auxiliary infrared receiving tube 24 will not receive the infrared signal emitted by the infrared transmitting tube 22 when the distance between the cleaning robot and the edge object is less than the edge distance D, and will receive the infrared signal emitted by the infrared transmitting tube 22 only when the distance between the cleaning robot and the edge object is greater than / equal to the edge distance D. Therefore, the infrared signal received by the auxiliary infrared receiving tube 24 will suddenly change near the edge distance D (receiving the infrared signal emitted by the infrared transmitting tube 22, from existence to non-existence, or from non-existence to existence).
[0048] like Figure 2 and Figure 3 As shown, the main infrared receiving tube 23 is located at the rear side of the infrared transmitting tube 22 ( Figure 2The auxiliary infrared receiving tube 24 is located on the front side of the infrared transmitting tube 22 ( Figure 2 The auxiliary infrared receiving tube 24 is located on the right side of the middle infrared transmitting tube 22). In this way, when the cleaning robot is working along the edge, the area detected by the auxiliary infrared receiving tube 24 is always located in front of the main infrared receiving tube 23, so that the main infrared receiving tube 23 can be calibrated in time.
[0049] In addition, under the premise that the area detected by the auxiliary infrared receiving tube 24 is always located in front of the main infrared receiving tube 23, that is, under the premise that the auxiliary infrared receiving tube 24 is located in front of the main infrared receiving tube 23, those skilled in the art can also set the main infrared receiving tube 23 and the auxiliary infrared receiving tube 24 on the same side of the infrared transmitting tube 22 as needed. Figure 2 The left side or right side of the mid-infrared emitting tube 22 .
[0050] like Figure 2 and Figure 3 As shown, the detection angles of the infrared transmitting tube 22, the main infrared receiving tube 23 and the auxiliary infrared receiving tube 24 are a, b and c respectively. Preferably, among the three detection angles, the detection angles b and c are at least equal. Further preferably, the main infrared receiving tube 23 and the auxiliary infrared receiving tube 24 are infrared receiving tubes of the same model and parameters, so that when assembling the infrared wall sensor 2, the assembler does not need to distinguish between the main infrared receiving tube 23 and the auxiliary infrared receiving tube 24, which facilitates the operation of the assembler.
[0051] Although not shown in the figure, the center line of the main infrared receiving tube 23 intersects with the center line of the infrared transmitting tube 22 at a main intersection (not marked in the figure), and the center line of the auxiliary infrared receiving tube 24 intersects with the center line of the infrared transmitting tube 22 at an auxiliary intersection (not marked in the figure), and the distance between the main intersection and the cleaning robot is smaller than the distance between the auxiliary intersection and the cleaning robot, so that the main infrared receiving tube 23 and the auxiliary infrared receiving tube 24 have different inclination angles with the infrared transmitting tube 22, so as to facilitate the assembler to distinguish the assembly positions of the main infrared receiving tube 23 and the auxiliary infrared receiving tube 24.
[0052] In addition, those skilled in the art may also, as needed, Figure 2 The infrared wall sensor 2 shown in the figure is appropriately adjusted. For example, the first angle (acute angle) between the center line of the main infrared receiving tube 23 and the center line of the infrared transmitting tube 22 is made larger than the second angle (acute angle) between the center line of the auxiliary infrared receiving tube 24 and the center line of the infrared transmitting tube 22; the distance between the main intersection and the cleaning robot is equal to the distance between the auxiliary intersection and the cleaning robot; the detection angle b of the main infrared receiving tube 23 is made larger than the detection angle c of the auxiliary infrared receiving tube 24.
[0053] Furthermore, in order to enable the main infrared receiving tube 23 to receive the infrared signal emitted by the infrared emitting tube 22 when the cleaning robot abuts against an object along the edge, the first detection area 25 is set to cover a part of the structure of the housing 11. In other words, at least one point on the outer surface of the cleaning robot is located in the first detection area 25, and the at least one point includes the point where the housing 11 abuts against the object along the edge.
[0054] like Figure 3 As shown, the wall-adjacent method of this embodiment includes:
[0055] Step S110 , detecting the infrared signal received by the auxiliary infrared receiving tube 24 .
[0056] In this embodiment, the cleaning robot is enabled to detect the infrared signal received by the auxiliary infrared receiving tube 24 at least during the process of working along the edge.
[0057] Those skilled in the art should understand that, during the process of the cleaning robot working along the edge, the infrared signal received by the auxiliary infrared receiving tube 24 at least includes the infrared signal radiated by the edge object itself. Further, when the distance between the cleaning robot and the edge object is greater than / equal to the edge distance D, the infrared signal received by the auxiliary infrared receiving tube 24 also includes the infrared signal emitted by the infrared transmitting tube 22.
[0058] Step S120, determining whether the infrared signal received by the auxiliary infrared receiving tube 24 satisfies the strength change condition.
[0059] The strength change condition includes that the infrared signal of the infrared transmitting tube 22 received by the auxiliary infrared receiving tube 24 changes from no to present or from present to no.
[0060] Based on the previous description, it can be known that when the distance between the cleaning robot and the edge object is greater than / equal to the edge distance D, the auxiliary infrared receiving tube 24 can receive the infrared signal emitted by the infrared transmitting tube 22; when the distance between the cleaning robot and the edge object is less than the edge distance D, the auxiliary infrared receiving tube 24 cannot receive the infrared signal emitted by the infrared transmitting tube 22.
[0061] Normally, the infrared signal projected by the infrared transmitting tube 22 to the edge object and reflected by the edge object to the auxiliary infrared receiving tube 24 is much larger than the infrared signal radiated by the edge object itself. Therefore, in this embodiment, the infrared signal received by the auxiliary infrared receiving tube 24 when the distance between the cleaning robot and the edge object is greater than / equal to the edge distance D is much larger than the infrared signal received by the auxiliary infrared receiving tube 24 when the distance between the cleaning robot and the edge object is less than the edge distance D.
[0062] Therefore, in this embodiment, the strength change condition is specifically that the infrared signal received by the auxiliary infrared receiving tube 24 undergoes a sudden change, which includes the infrared signal suddenly becoming stronger or suddenly becoming weaker.
[0063] Specifically, when the distance between the cleaning robot and the edge object is greater than / equal to the edge distance D, the infrared signal received by the auxiliary infrared receiving tube 24 slowly becomes stronger as the cleaning robot moves away from the edge object and gradually approaches the edge object. At the moment when the distance between the cleaning robot and the edge object changes from being equal to the edge distance D to being less than the edge distance D, the auxiliary infrared receiving tube 24 suddenly fails to receive the signal from the infrared transmitting tube 22, causing the signal received by the auxiliary infrared receiving tube 24 to suddenly become weak. When the distance between the cleaning robot and the edge object is less than the edge distance D, the infrared signal received by the auxiliary infrared receiving tube 24 continues to slowly become stronger as the cleaning robot moves away from the edge object and gradually approaches the edge object.
[0064] Accordingly, when the distance between the cleaning robot and the edge object is less than the edge distance D, the infrared signal received by the auxiliary infrared receiving tube 24 slowly weakens as the cleaning robot gradually moves away from the edge object. At the moment when the distance between the cleaning robot and the edge object changes from less than the edge distance D to equal to the edge distance D, the auxiliary infrared receiving tube 24 is suddenly able to receive the signal of the infrared transmitting tube 22, causing the signal received by the auxiliary infrared receiving tube 24 to suddenly become stronger. When the distance between the cleaning robot and the edge object is greater than the edge distance D, the infrared signal received by the auxiliary infrared receiving tube 24 continues to slowly weaken as the cleaning robot gradually moves away from the edge object.
[0065] Step S130, if the strength change condition is met, the threshold of the main infrared receiving tube 23 is updated to the infrared signal currently detected by the main infrared receiving tube 23, so that the main infrared receiving tube 23 guides the cleaning robot to perform edge operations according to the updated threshold.
[0066] In this embodiment, if the intensity change condition in step S120 is satisfied, it means that at the moment when the intensity change condition is satisfied, the distance between the cleaning robot and the edge object is exactly equal to the edge distance D. Then, the infrared signal detected by the main infrared receiving tube 23 at this moment is used as the new threshold of the main infrared receiving tube 23, and replaces the original threshold.
[0067] Based on the foregoing description, those skilled in the art will understand that, in this embodiment, by making the minimum distance between the second detection area 26 and the cleaning robot equal to the edge distance D of the cleaning robot, the infrared signal detected by the auxiliary infrared receiving tube 24 when the distance between the cleaning robot and the edge object is less than the edge distance D is smaller (the auxiliary infrared receiving tube 24 cannot receive the infrared signal of the infrared transmitting tube 22), and the infrared signal detected when the distance between the cleaning robot and the edge object is greater than the edge distance D is larger (the auxiliary infrared receiving tube 24 can receive the infrared signal of the infrared transmitting tube 22), thereby enabling the cleaning robot to accurately determine the edge distance D according to the change from nothing to something or from something to nothing of the infrared signal of the infrared transmitting tube 22 received by the auxiliary infrared receiving tube 24, and then enabling the cleaning robot to update the threshold of the main infrared receiving tube 23 when the infrared signal received by the auxiliary infrared receiving tube 24 meets the strong and weak change condition, so that the main infrared receiving tube 23 guides the cleaning robot to perform edge operations according to the updated threshold. Therefore, the cleaning robot of this embodiment can timely update the threshold of the infrared signal received by the main infrared receiving tube 23 during the process of working along the edge, so that the threshold can match the color of the wall in time, and the cleaning robot will no longer be too far or too far away from the edge objects due to the color change of the wall.
[0068] In short, the cleaning robot of this embodiment can use the auxiliary infrared receiving tube 24 to accurately determine that the distance between the cleaning robot and the edge object is equal to the edge distance D, and then update the threshold of the main infrared receiving tube 23 so that the updated threshold is adapted to the color and / or roughness of the current part of the surface of the edge object (the part aligned with the cleaning robot).
[0069] It should be noted that the first embodiment of the present disclosure is only a basic embodiment of the wall-following method of the present disclosure, and other optional embodiments may be obtained based on the first embodiment, such as the second embodiment and the third embodiment below.
[0070] In the second embodiment of the present disclosure:
[0071] like Figure 4 As shown, compared with the first embodiment, before step S120, the wall-adjacent method of this embodiment further includes:
[0072] Step S210, during the process of the cleaning robot working along the edge, it is determined whether the duration of the infrared signal received by the auxiliary infrared receiving tube 24 from the infrared transmitting tube 22 being absent or present reaches a set time length.
[0073] The preset duration is used to indicate the time during which the distance between the cleaning robot and the edge object is greater than or less than the edge distance D. The preset duration may be any feasible duration, such as 3S, 5.7S, 8S, 1min, etc.
[0074] Step S220, if the set time is reached, and the auxiliary infrared receiving tube 24 currently receives the infrared signal of the infrared transmitting tube 22, and the main infrared receiving tube 23 currently receives the infrared signal of the infrared transmitting tube 22, the cleaning robot is controlled to approach the edge object.
[0075] Among them, it is determined that the infrared signal of the infrared transmitting tube 22 currently received by the auxiliary infrared receiving tube 24 is present, and it can be determined by judging whether the intensity of the infrared signal received by the auxiliary infrared receiving tube 24 reaches the intensity threshold. If so, it is determined that the infrared signal of the infrared transmitting tube 22 currently received by the auxiliary infrared receiving tube 24 is present; if not, it is determined that the infrared signal of the infrared transmitting tube 22 currently received by the auxiliary infrared receiving tube 24 is absent.
[0076] Similarly, to determine whether the infrared signal of the infrared transmitting tube 22 currently received by the main infrared receiving tube 23 is present, it can be determined by judging whether the intensity of the infrared signal received by the main infrared receiving tube 23 reaches the intensity threshold. If so, it is determined that the infrared signal of the infrared transmitting tube 22 currently received by the main infrared receiving tube 23 is present; if not, it is determined that the infrared signal of the infrared transmitting tube 22 currently received by the main infrared receiving tube 23 is absent.
[0077] Among them, the intensity threshold can be the maximum intensity value of the infrared signal radiated by all edge objects in the home environment (such as walls, cabinets, tables, beds, etc.). Technical personnel in this field can collect the intensity values of the infrared signals of all edge objects in the home environment, and then select the largest intensity value as the intensity threshold.
[0078] Those skilled in the art should understand that if the infrared signal currently received by the auxiliary infrared receiving tube 24 from the infrared transmitting tube 22 is present and lasts for a preset period of time, it means that the cleaning robot is far away from the edge object and has deviated from the edge distance D, and is unable to effectively clean the ground at the edge object. The cleaning robot needs to be brought close to the edge object so that the distance between the cleaning robot and the edge object can be equal to the edge distance D.
[0079] Step S230, if the set time is reached, and the auxiliary infrared receiving tube 24 currently receives no infrared signal from the infrared transmitting tube 22, and the main infrared receiving tube 23 currently receives a signal from the infrared transmitting tube 22, the cleaning robot is controlled to stay away from the edge objects.
[0080] Those skilled in the art should understand that if the infrared signal currently received by the auxiliary infrared receiving tube 24 from the infrared transmitting tube 22 is no and lasts for a preset period of time, it means that the cleaning robot is close to the edge object and has deviated from the edge distance D, and may collide with the edge object. The cleaning robot needs to be moved away from the edge object so that the distance between the cleaning robot and the edge object can be equal to the edge distance D.
[0081] Based on step S210 to step S230, step 120 specifically includes determining whether the infrared signal received by the auxiliary infrared receiving tube 24 satisfies the strength change condition when the cleaning robot approaches or moves away from the edge object.
[0082] Based on the foregoing description, those skilled in the art will understand that, compared with the first embodiment, the present embodiment further determines whether the infrared signal received by the auxiliary infrared receiving tube 24 satisfies the strength change condition by determining that the infrared signal of the infrared transmitting tube 22 received by the auxiliary infrared receiving tube 24 is absent or present for a set period of time, and updates the threshold of the main infrared receiving tube 23 when the strength change condition is met, thereby avoiding the cleaning robot from frequently updating the threshold of the main infrared receiving tube 23, thereby reducing the amount of computation required by the cleaning robot to update the threshold.
[0083] In the third embodiment of the present disclosure:
[0084] like Figure 5 As shown, compared with the first embodiment, before step S120, the wall-adjacent method of this embodiment further includes:
[0085] Step S301, determine whether the main infrared receiving tube 23 can receive the infrared signal emitted by the infrared emitting tube 22. Specifically, determine whether the intensity of the infrared signal received by the main infrared receiving tube 23 reaches the intensity threshold. If it reaches, determine that the infrared signal of the infrared emitting tube 22 currently received by the main infrared receiving tube 23 is present, indicating that the cleaning robot is still performing the edge operation; if it does not reach, determine that the infrared signal of the infrared emitting tube 22 currently received by the main infrared receiving tube 23 is absent, indicating that the cleaning robot is not performing the edge operation.
[0086] Step S302, determine whether the auxiliary infrared receiving tube 24 can receive the infrared signal emitted by the infrared transmitting tube 22. Specifically, determine whether the intensity of the infrared signal received by the auxiliary infrared receiving tube 24 reaches the intensity threshold. If it reaches, determine that the infrared signal of the infrared transmitting tube 22 currently received by the auxiliary infrared receiving tube 24 is present, indicating that the cleaning robot is far away from the edge object, which is greater than the edge distance D; if it does not reach, determine that the infrared signal of the infrared transmitting tube 22 currently received by the auxiliary infrared receiving tube 24 is absent, indicating that the cleaning robot is far away from the edge object, which is less than the edge distance D.
[0087] Step S303 , determining whether the duration of the infrared signal from the infrared transmitting tube 22 currently received by the auxiliary infrared receiving tube 24 reaches a preset duration.
[0088] Step S304: Make the cleaning robot approach the edge object.
[0089] Step S305 , determining whether the duration of the infrared signal from the infrared transmitting tube 22 currently received by the auxiliary infrared receiving tube 24 being absent reaches a preset duration.
[0090] Step S306, making the cleaning robot stay away from the edge objects.
[0091] Based on step S301 to step S306, step 120 specifically includes determining whether the infrared signal received by the auxiliary infrared receiving tube 24 satisfies the strength change condition when the cleaning robot approaches or moves away from the edge object.
[0092] By comparison, it can be seen that this embodiment has at least the same technical effect as the second embodiment.
[0093] In the fourth embodiment of the present disclosure:
[0094] like Figure 6 As shown, the present disclosure also provides a cleaning robot. The cleaning robot includes a processor at the hardware level, and optionally also includes a memory and a bus. In addition, the cleaning robot is also allowed to include hardware required by other services.
[0095] The memory is used to store execution instructions, which are specifically executable computer programs. Further, the memory may include a memory and a non-volatile memory, and provide execution instructions and data to the processor. Exemplarily, the memory may be a high-speed random access memory (RAM), and the non-volatile memory may be at least one disk storage.
[0096] The bus is used to connect the processor, memory and network interface to each other. The bus can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 6Although only one bidirectional arrow is used in the diagram, this does not mean that there is only one bus or only one type of bus.
[0097] In a feasible implementation of the cleaning robot, the processor may first read the corresponding execution instruction from the non-volatile memory into the memory and then run it, or may first obtain the corresponding execution instruction from other devices and then run it. When the processor executes the execution instruction stored in the memory, it can implement the wall-following method in any of the above-mentioned wall-following method embodiments of the present disclosure.
[0098] It will be understood by those skilled in the art that the above-mentioned wall-along method can be applied to a processor or implemented with the aid of a processor. Exemplarily, a processor is an integrated circuit chip that has the ability to process signals. In the process of the processor executing the above-mentioned wall-along method, each step of the above-mentioned wall-along method can be completed by an integrated logic circuit in the form of hardware or an instruction in the form of software in the processor. Further, the above-mentioned processor can be a general-purpose processor, such as a central processing unit (CPU), a network processor (NP), a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, microprocessors and any other conventional processors.
[0099] Those skilled in the art can also understand that the steps of the above-mentioned wall-walking method embodiment of the present disclosure can be executed by a hardware decoding processor, or can be executed by a combination of hardware and software modules in the decoding processor. Among them, the software module can be located in a random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, register, and other mature storage media in the field. The storage medium is located in the memory, and the processor reads the information in the memory and combines its hardware to complete the execution of the steps in the above-mentioned wall-walking method embodiment.
[0100] It should be noted that, in order to highlight the differences between the above-mentioned multiple embodiments of the present disclosure, the above-mentioned multiple embodiments of the present disclosure are arranged and described in a parallel manner and / or a progressive manner, and the following embodiments only focus on the differences between them and other embodiments, and the same or similar parts between the various embodiments can be referenced to each other. For example, for the device / product embodiment, since the device / product embodiment is basically similar to the wall-following method embodiment, the description is relatively simple, and the relevant parts can refer to the description of the corresponding part of the wall-following method embodiment.
[0101] The above description is only an embodiment of the present disclosure and is not intended to limit the present disclosure. For those skilled in the art, the present disclosure may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the technical principle of the present disclosure shall fall within the protection scope of the present disclosure.
Claims
1. A wall-following method of a cleaning robot, It is characterized in that The cleaning robot comprises an infrared wall sensor, which comprises an infrared transmitting tube, a main infrared receiving tube and an auxiliary infrared receiving tube; The wall-adjacent method includes: Detecting the infrared signal received by the auxiliary infrared receiving tube; When the cleaning robot approaches or moves away from an edge object, it is determined whether the infrared signal received by the auxiliary infrared receiving tube meets a strength change condition; the strength change condition includes that the infrared signal of the infrared transmitting tube received by the auxiliary infrared receiving tube changes from nothing to something or from something to nothing; If the strength change condition is met, the threshold of the main infrared receiving tube is updated to the infrared signal currently detected by the main infrared receiving tube, so that the main infrared receiving tube guides the cleaning robot to perform edge operations according to the updated threshold; wherein the main infrared receiving tube and the infrared transmitting tube form a first detection area, the auxiliary infrared receiving tube and the infrared transmitting tube form a second detection area, and the minimum distance between the first detection area and the cleaning robot is less than the edge distance of the cleaning robot; the minimum distance between the second detection area and the cleaning robot is equal to the edge distance of the cleaning robot; Before determining whether the infrared signal received by the auxiliary infrared receiving tube meets the strength change condition, the wall-following method further includes: During the process of the cleaning robot working along the edge, it is determined whether the duration of the infrared signal received by the auxiliary infrared receiving tube from the infrared transmitting tube being absent or present reaches a set time length; If the set time is reached, and the auxiliary infrared receiving tube currently receives the infrared signal of the infrared transmitting tube, and the main infrared receiving tube currently receives the infrared signal of the infrared transmitting tube, the cleaning robot is controlled to approach the edge object; If the set time is reached, and the auxiliary infrared receiving tube currently receives no infrared signal from the infrared transmitting tube, and the main infrared receiving tube currently receives a signal from the infrared transmitting tube, the cleaning robot is controlled to stay away from the edge objects.
2. The wall-following method according to claim 1, It is characterized in that In the front-rear direction of the cleaning robot, the auxiliary infrared receiving tube is located in front of the main infrared receiving tube.
3. The wall-adjacent method according to claim 2, It is characterized in that The infrared emitting tube is located between the main infrared receiving tube and the auxiliary infrared receiving tube; or, the infrared emitting tube is located on a side of the main infrared receiving tube away from the auxiliary infrared receiving tube.
4. The wall-adjacent method according to claim 1, It is characterized in that The center line of the main infrared receiving tube intersects with the center line of the infrared transmitting tube at a main intersection, and the center line of the auxiliary infrared receiving tube intersects with the center line of the infrared transmitting tube at an auxiliary intersection. The distance between the main intersection and the cleaning robot is smaller than the distance between the auxiliary intersection and the cleaning robot.
5. The wall-adjacent method according to claim 4, It is characterized in that The detection angle of view of the main infrared receiving tube is equal to the detection angle of view of the auxiliary infrared receiving tube.
6. The wall-adjacent method according to claim 1, It is characterized in that The center line of the main infrared receiving tube intersects with the center line of the infrared transmitting tube at a main intersection, and the center line of the auxiliary infrared receiving tube intersects with the center line of the infrared transmitting tube at an auxiliary intersection. The distance between the main intersection and the cleaning robot is equal to the distance between the auxiliary intersection and the cleaning robot.
7. The wall-following method according to claim 6, It is characterized in that There is a first angle between the center line of the main infrared receiving tube and the center line of the infrared transmitting tube, there is a second angle between the center line of the auxiliary infrared receiving tube and the center line of the infrared transmitting tube, the first angle is greater than the second angle; and / or, the detection viewing angle of the main infrared receiving tube is greater than the detection viewing angle of the auxiliary infrared receiving tube.
8. A cleaning robot, It is characterized in that The cleaning robot comprises a processor, a memory and execution instructions stored in the memory, wherein the execution instructions are configured to enable the cleaning robot to perform the wall-following method according to any one of claims 1 to 7 when executed by the processor.
Citation Information
Patent Citations
Cleaning robot and controlling method thereof for avoiding barriers
CN103941307A
Cleaning method, device and cleaning robot
CN107581976A
Cleaning robot and intelligent obstacle avoiding method of cleaning robot
CN108209773A
Infrared detection method, device, system, storage medium and sweeping robot
CN108897062A
Self-moving robot
CN108958254A
