Sweeping method and device, sweeping robot and storage medium

文档序号:1175441 发布日期:2020-09-22 浏览:6次 中文

阅读说明:本技术 一种清扫方法、装置、扫地机器人及存储介质 (Sweeping method and device, sweeping robot and storage medium ) 是由 孙祥龙 王汉锋 张静 于 2020-05-19 设计创作,主要内容包括:本申请提供了一种清扫方法、装置、扫地机器人及存储介质,适用于机器人技术领域,能够根据不同清扫环境使用不同的清扫模式对待清扫区域进行清扫。该方法包括:向待清扫区域发射探测光束;根据所述探测光束的反射光的光感电压值,确定所述待清扫区域的环境类型;根据与所述环境类型对应的清扫模式清扫所述待清扫区域。(The application provides a cleaning method, a cleaning device, a floor sweeping robot and a storage medium, which are suitable for the technical field of robots and can clean an area to be cleaned by using different cleaning modes according to different cleaning environments. The method comprises the following steps: emitting a detection light beam to an area to be cleaned; determining the environment type of the area to be cleaned according to the light sensing voltage value of the reflected light of the detection light beam; and cleaning the area to be cleaned according to a cleaning mode corresponding to the environment type.)

1. A sweeping method is applied to a sweeping robot and is characterized by comprising the following steps:

emitting a detection light beam to an area to be cleaned;

determining the environment type of the area to be cleaned according to the light sensing voltage value of the reflected light of the detection light beam;

and cleaning the area to be cleaned according to a cleaning mode corresponding to the environment type.

2. The cleaning method according to claim 1, wherein the reflected light includes a first sub-beam and a second sub-beam, and a receiving position of the first sub-beam is located intermediate between an emitting position of the probe beam and a receiving position of the second sub-beam;

the light sensing voltage value comprises a first light sensing voltage value of the first sub-beam and a second light sensing voltage value of the second sub-beam.

3. The cleaning method as set forth in claim 2, wherein the determining the environment type of the area to be cleaned according to the photo-induced voltage value of the reflected light of the probe beam comprises:

and determining the environment type of the area to be cleaned according to the first light sensing voltage value, the second light sensing voltage value, a first preset value and a second preset value, wherein the first preset value is smaller than the second preset value.

4. The cleaning method as set forth in claim 3, wherein the determining the environment type of the area to be cleaned according to the first light sensing voltage, the second light sensing voltage, the first preset value and the second preset value comprises:

and if the first light sensation voltage value and the second light sensation voltage value are both larger than the first preset value, the second light sensation voltage value is larger than the second preset value, and the second light sensation voltage value is larger than the first light sensation voltage value of a preset multiple, determining that the environment type of the area to be cleaned is a smooth floor.

5. The cleaning method as set forth in claim 3, wherein the determining the environment type of the area to be cleaned according to the first light sensing voltage, the second light sensing voltage, the first preset value and the second preset value comprises:

and if the first light sensing voltage value and the second light sensing voltage value are both larger than the first preset value and the second light sensing voltage value is smaller than the first light sensing voltage value of preset multiple, determining that the environment type of the area to be cleaned is a rough-surface floor.

6. The cleaning method as set forth in claim 3, wherein the determining the environment type of the area to be cleaned according to the first light sensing voltage, the second light sensing voltage, the first preset value and the second preset value comprises:

and if the second light sensing voltage value is smaller than the first preset value, determining that the environment type of the area to be cleaned is a step.

7. The sweeping method according to any one of claims 1 to 6, wherein said sweeping the area to be swept according to a sweeping mode corresponding to the environment type includes:

and if the determined environment types are the same according to the light sensation voltage values of the reflected light of the detection light beams which are continuously emitted to the area to be cleaned based on different emission angles for N times, cleaning the area to be cleaned according to a cleaning mode corresponding to the environment types, wherein N is not less than 2, and N is an integer.

8. A sweeping device, characterized in that the device comprises:

the emission module is used for emitting a detection light beam to an area to be cleaned;

the determining module is used for determining the environment type of the area to be cleaned according to the light sensation voltage value of the reflected light of the detection light beam;

and the cleaning module is used for cleaning the area to be cleaned according to a cleaning mode corresponding to the environment type.

9. A sweeping robot comprising a transmitting tube, a receiving tube, a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the method of any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 7.

Technical Field

The application belongs to the technical field of robots, and particularly relates to a sweeping method, a sweeping device, a sweeping robot and a storage medium.

Background

With the continuous development of artificial intelligence technology, a series of artificial intelligence products gradually enter the lives of people, and provide a great deal of convenience for the lives of people. For example, the intelligent sweeping robot can automatically identify the obstacle, avoid the obstacle to perform a sweeping task on an object to be swept, and reduce the sweeping task for a user.

However, according to the current sweeping robot running algorithm, the sweeping robot can only execute a preset single sweeping mode to sweep the surrounding environment. For example, when there is debris on a clean floor, the sweeping robot can better sweep the floor by performing a single sweeping mode. However, in different cleaning environments, the cleaning performance of the cleaning robot with only a single cleaning mode is obviously insufficient, and the cleaning is often incomplete or impossible. For example, when cleaning rough ground or carpet, the sweeping robot has a single mode, so that the cleaning effect is poor or the cleaning cannot be performed due to insufficient suction of the fan.

Disclosure of Invention

The embodiment of the application provides a cleaning method, a cleaning device, a floor sweeping robot and a storage medium, and aims to solve the problems that an existing cleaning device can only clean based on a single cleaning mode aiming at different cleaning environments, so that the cleaning efficiency is low and the cleaning effect is poor.

In a first aspect, an embodiment of the present application provides a cleaning method, where the method includes:

emitting a detection light beam to an area to be cleaned;

determining the environment type of the area to be cleaned according to the light sensing voltage value of the reflected light of the detection light beam;

and cleaning the area to be cleaned according to a cleaning mode corresponding to the environment type.

By adopting the cleaning method provided by the application, before the area to be cleaned is cleaned, the detection light beam is emitted to the area to be cleaned in advance, the environment type of the area to be cleaned is determined according to the light sensation voltage value of the reflected light of the detection light beam, and then the area to be cleaned can be cleaned accurately according to the determined environment type corresponding cleaning mode.

In a second aspect, an embodiment of the present application provides a sweeping device, including:

the emission module is used for emitting a detection light beam to an area to be cleaned;

the determining module is used for determining the environment type of the area to be cleaned according to the light sensation voltage value of the reflected light of the detection light beam;

and the cleaning module is used for cleaning the area to be cleaned according to a cleaning mode corresponding to the environment type.

In a third aspect, an embodiment of the present application provides a sweeping robot, which includes a transmitting tube, a receiving tube, a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the sweeping method when executing the computer program.

In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the cleaning method.

In a fifth aspect, the present application provides a computer program product, which when running on a sweeping robot, causes the sweeping robot to perform the cleaning method of any one of the above first aspects.

It is understood that the beneficial effects of the second aspect to the fifth aspect can be referred to the related description of the first aspect, and are not described herein again.

Drawings

In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.

Fig. 1 is a schematic structural diagram of a sweeping robot according to an embodiment of the present application;

FIG. 2 is a schematic flow chart of a cleaning method according to an embodiment of the present application;

FIG. 3 is a schematic diagram of a reflected light receiving location provided by an embodiment of the present application;

fig. 4 is a schematic structural diagram of a cleaning device according to an embodiment of the present application.

Detailed Description

In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.

It should be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.

As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to" determining "or" in response to detecting ". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".

Furthermore, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used for distinguishing between descriptions and not necessarily for describing or implying relative importance.

Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.

In order to explain the technical solution described in the present application, the following description will be given by way of specific examples.

Referring to fig. 1, fig. 1 is a schematic structural diagram of a sweeping robot provided in an embodiment of the present application. The sweeping robot comprises a transmitting pipe 13, a receiving pipe 14, a processor 10, a memory 11, a fan 17, a steering unit 15 and a sweeping unit 16. Wherein, the transmitting pipe 13, the receiving pipe 14, the storage 11, the fan 17, the steering unit 15 and the cleaning unit 16 are all connected with the processor 10. A computer program in the memory and executable on the processor, the processor implementing the cleaning method provided herein when executing the computer program. The fan is under the control of treater, and then changes the suction of fan to the rubbish that will treat the region that cleans is inhaled into rubbish recovery storehouse. The steering unit comprises a steering driving motor and a steering wheel, the steering motor is used for driving and controlling the steering wheel to rotate under the control of the processor, and the advancing steering angle or the stopping motion of the sweeping robot is adjusted. The cleaning unit comprises a cleaning driving motor and a cleaning wheel, the cleaning driving motor drives the cleaning wheel to rotate under the control of the processor, and the garbage in the area to be cleaned is cleaned. The emission tube emits a detection light beam to an area to be cleaned under the control of the processor, the environment type of the area to be cleaned is detected, and the receiving tube receives reflected light of the detection light beam reflected by the area to be cleaned. In particular, the receiving pipe may include one, or in order to improve the accuracy of detection, the receiving pipe may include a plurality of pipes so as to receive reflected light of the probe beam reflected by the region to be cleaned from a plurality of angles.

Referring to fig. 2, fig. 2 is a schematic flow chart of a cleaning method according to an embodiment of the present application. The main execution body of the cleaning method in this embodiment is a cleaning robot. As shown in fig. 2, the cleaning method provided by the present application may include:

s101: and emitting a detection light beam to the area to be cleaned.

And after the sweeping robot acquires the cleaning task, responding and controlling the transmitting tube to transmit parallel detection beams to the area to be cleaned according to the analysis result of the cleaning task. The probe beam may be an infrared probe beam.

S102: and determining the environment type of the area to be cleaned according to the light sensing voltage value of the reflected light of the detection light beam.

And after receiving the reflected light of the detection light beam, the receiving tube of the sweeping robot converts the illumination intensity value of the reflected light into a light sensation voltage value, and transmits the light sensation voltage value to a processor, and the processor determines the environment type of the area to be cleaned according to the light sensation voltage value.

For example, after the sweeping robot controls the transmitting tube to transmit the probe light to the area to be swept, the receiving tube detects that the light sensation voltage value corresponding to the light intensity of the reflected light is 1V. The sweeping robot compares the obtained 1V light sensation voltage value with the critical light sensation voltage values corresponding to the preset environment types, for example, the preset light sensation voltage value corresponding to the step is 1.5V, and the environment type of the area to be swept is determined to be the step by the sweeping robot because 1V is less than 1.5V.

S103: and cleaning the area to be cleaned according to a cleaning mode corresponding to the environment type.

After determining the environment type of the area to be cleaned, the sweeping robot acquires data information of a corresponding sweeping mode according to the environment type, controls the operation of the sweeping robot according to the data information, and cleans the area to be cleaned. The operation data information of the steering wheel, the fan, the cleaning wheel or the mopping wheel in the cleaning mode corresponding to each environment type is different, for example, the operation data information of the steering wheel, the fan, the cleaning wheel or the mopping wheel in the cleaning mode corresponding to the step is different from the operation data information of the steering wheel, the fan, the cleaning wheel or the mopping wheel in the cleaning mode corresponding to the smooth floor.

For example, currently, the steering angle of the steering wheel of the sweeping robot is 0 ° and the sweeping robot travels forwards, the suction force of the fan is 1000Pa, and the rotation speed of the sweeping wheel is 2000 revolutions. In addition, at the current moment, the sweeping robot determines that the environment type of the area to be swept in the advancing direction is a step according to the light sensation voltage value corresponding to the reflected light of the detection light beam, and then the sweeping robot stops the advancing operation of the steering wheel, stops the air draft operation of the fan and stops the rotation of the sweeping wheel according to the sweeping mode corresponding to the step.

Or at the current moment, the sweeping robot determines that the environment type of the area to be swept in the traveling direction is a rough floor according to the light sensation voltage value corresponding to the reflected light of the detection light beam, the processor keeps the steering angle of the steering wheel to be 0 degree and travels forwards according to the sweeping mode corresponding to the rough floor, the air draft suction force of the fan is adjusted to be 1500Pa, and the rotating speed of the sweeping wheel is 3000 turns.

In one example, referring to fig. 3, in a possible scenario, in order to more accurately determine the environment type of the area to be cleaned according to the reflected light, the sweeping robot is provided with a first receiving tube and a second receiving tube, and the first receiving tube is located between the transmitting tube and the second receiving tube. The first receiving tube and the second receiving tube are used for receiving the sub-beams of the reflected light, so that the environment type of the area to be cleaned is determined according to the light sensing voltage values of the sub-beams.

Therefore, when the sweeping robot is provided with a first receiving tube and a second receiving tube for receiving the reflected light of the probe beam, the reflected light comprises a first sub-beam and a second sub-beam, and the receiving position of the first sub-beam is located in the middle of the emitting position of the probe beam and the receiving position of the second sub-beam; the light sensing voltage value comprises a first light sensing voltage value of the first sub-beam and a second light sensing voltage value of the second sub-beam.

Further, the receiving position of a first receiving pipe for receiving the first sub-beam on the sweeping robot is located at a position corresponding to the spot formed when the probe beam reaches the area to be swept.

Furthermore, the receiving position of a second receiving tube for receiving the second sub-beam on the sweeping robot is located in the angle direction of the probe beam after being reflected by the mirror surface of the area to be swept.

In a possible implementation manner, the reflected light only includes the second sub-beam, and a receiving position of the second sub-beam on the sweeping robot is located in an angular direction of the probe beam after being specularly reflected by the area to be swept.

The light sensing voltage value only comprises a second light sensing voltage value of the second sub-beam. And the sweeping robot determines the environment type of the area to be swept according to the second light sensing voltage value of the second sub-beam.

In an embodiment, the environment type of the area to be cleaned is determined according to the first light sensing voltage value, the second light sensing voltage value, a first preset value and a second preset value, wherein the first preset value is smaller than the second preset value.

The first preset value is a critical light sensation voltage value corresponding to reflected light reflected by the step when the corresponding environment type is the step, and the second preset value is a critical light sensation voltage value corresponding to reflected light reflected by the black tile when the corresponding environment type is the black tile.

Specifically, if the first light sensing voltage value and the second light sensing voltage value are both greater than the first preset value, the second light sensing voltage value is greater than the second preset value, and the second light sensing voltage value is greater than the first light sensing voltage value of a preset multiple, it is determined that the environment type of the area to be cleaned is a smooth floor. The smooth floor is a floor with a surface roughness higher than a preset surface roughness level, for example, a floor with a surface roughness higher than a preset surface roughness level of 8, such as a wood floor with a surface roughness level of 9.

In addition, if the first light sensing voltage value and the second light sensing voltage value are both greater than the first preset value, and the second light sensing voltage value is smaller than the first light sensing voltage value of preset times, the environment type of the area to be cleaned is determined to be a rough-surface floor. The rough-surface floor is a floor with a surface roughness lower than a preset surface roughness level, such as a floor with a surface roughness lower than a preset surface roughness level of 8, such as a wood floor with a surface roughness level of 7.

In addition, if the second light sensing voltage value is smaller than the first preset value, the environment type of the area to be cleaned is determined to be a step.

Illustratively, the first preset value is a critical photosensitive voltage value corresponding to the probe beam irradiated on the step, and is 1.2V; the second preset value is a critical light sensing voltage value corresponding to the black tile irradiated by the probe beam, and is 1.5V. After the emitting tube on the sweeping robot emits the detection light beam to the area to be cleaned, the first receiving tube and the second receiving tube respectively receive the first sub-light beam and the second sub-light beam, and a first light sensation voltage value corresponding to the first sub-light beam is 1.6V, and a second light sensation voltage value corresponding to the second sub-light beam is 3.3V. It can be seen that the first photo sensing voltage and the second photo sensing voltage are both greater than the first predetermined value of 1.2V, and the second photo sensing voltage is greater than the second predetermined value of 1.5V. Meanwhile, the second light sensation voltage value is larger than the first light sensation voltage value which is multiplied by 2 times in the preset time, so that the environment type of the area to be cleaned in the traveling direction of the sweeping robot is determined to be a smooth floor.

Or, for example, the first photosensitive voltage value corresponding to the first sub-beam is 2V, and the second photosensitive voltage value corresponding to the second sub-beam is 3.0V. As can be seen, the first light sensing voltage value and the second light sensing voltage value are both greater than a first preset value of 1.2V, and the second light sensing voltage value is greater than a second preset value of 1.5V, but the second light sensing voltage value is still less than the first light sensing voltage value multiplied by 2 times, so that it is determined that the environment type of the area to be cleaned in the traveling direction of the sweeping robot is a rough floor.

Or, if the first receiving tube and the second receiving tube respectively receive the first sub-beam and the second sub-beam, and the first light sensing voltage value corresponding to the first sub-beam is 1.6V, and the second light sensing voltage value corresponding to the second sub-beam is 1.0V, but the second light sensing voltage value is smaller than the first preset value of 1.2V, it is determined that the environment type of the area to be cleaned in the traveling direction of the sweeping robot is a step.

In one embodiment, the environment type of the area to be cleaned is determined according to a third light sensing voltage value corresponding to the emitted light.

Specifically, if the first light sensation voltage value, the second light sensation voltage value and the third light sensation voltage value are all larger than the first preset value, the second light sensation voltage value is larger than the second preset value, and the second light sensation voltage value is larger than the first light sensation voltage value of a preset multiple, it is determined that the environment type of the area to be cleaned is a smooth floor.

And if the first light sensation voltage value, the second light sensation voltage value and the third light sensation voltage value are all larger than the first preset value, and the second light sensation voltage value is smaller than the first light sensation voltage value of preset multiple, determining that the environment type of the area to be cleaned is a rough-surface floor.

Illustratively, the first preset value is 1.2V, and the second preset value is 1.5V. The first light sensing voltage value corresponding to the first sub-beam is 1.6V, the second light sensing voltage value corresponding to the second sub-beam is 3.3V, and the third light sensing voltage value corresponding to the emitted light is 4V. It can be seen that the first photo sensing voltage, the second photo sensing voltage and the third photo sensing voltage are all greater than the first predetermined value of 1.2V, and the second photo sensing voltage is greater than the second predetermined value of 1.5V. Meanwhile, the second light sensation voltage value is larger than the first light sensation voltage value which is multiplied by 2 times in the preset time, so that the environment type of the area to be cleaned in the traveling direction of the sweeping robot is determined to be a smooth floor.

Or, for example, the first light sensing voltage value corresponding to the first sub-beam is 2V, the second light sensing voltage value corresponding to the second sub-beam is 3V, and the third light sensing voltage value corresponding to the emitted light is 4V. As can be seen, the first light sensing voltage value, the second light sensing voltage value and the third light sensing voltage value are all greater than a first preset value of 1.2V, the second light sensing voltage value is greater than a second preset value of 1.5V, and the environment type of the area to be cleaned in the traveling direction of the sweeping robot is determined to be a rough floor because the second light sensing voltage value is still less than 2 times the first light sensing voltage value.

In an example, the area to be cleaned may also be a white tile, and the critical light sensing voltage value corresponding to the white tile irradiated by the probe beam is greater than the critical light sensing voltage value corresponding to the black tile irradiated by the probe beam, that is, the third predetermined value > the second predetermined value > the first predetermined value.

Specifically, if the first light sensing voltage value and the second light sensing voltage value are both greater than the first preset value, the second light sensing voltage value is smaller than the third preset value and greater than the second preset value, and the second light sensing voltage value is greater than the first light sensing voltage value of a preset multiple, it is determined that the environment type of the area to be cleaned is a smooth floor.

In a possible implementation manner, if the first light sensing voltage value and the second light sensing voltage value are both greater than the first preset value, the second light sensing voltage value is greater than the third preset value, and the second light sensing voltage value is greater than the first light sensing voltage value of a preset multiple, it is determined that the environment type of the area to be cleaned is a smooth floor.

Further, the area to be cleaned may also be a carpet, and the critical light sensing voltage value corresponding to the probe beam irradiated on the carpet is smaller than the critical light sensing voltage value corresponding to the probe beam irradiated on the black tile, but larger than the critical light sensing voltage value corresponding to the probe beam irradiated on the step, i.e. the third preset value > the second preset value > the fourth preset value > the first preset value.

In a possible implementation manner, if the first light sensing voltage value and the second light sensing voltage value are both greater than the first preset value, the second light sensing voltage value is smaller than the second preset value and greater than the first preset value, and the second light sensing voltage value is greater than the first light sensing voltage value of a preset multiple, it is determined that the environment type of the area to be cleaned is a carpet.

In one example, in a possible scenario, during the traveling of the sweeper robot, if only the probe beam is directed to the area to be swept, and the environment type of the area to be swept is determined according to the light-sensitive voltage value of the reflected light of the probe beam, the error is relatively large. For example, the probe beam just irradiates on the rough part in the area to be cleaned, and other parts of the area to be cleaned are all smooth floors, if the area to be cleaned is cleaned by switching to a cleaning mode corresponding to the rough floor, if the rough part has only one light spot size, the power consumption and the cleaning effect of the cleaning robot are not proportional.

For example, the area ratio of the smooth floor to the rough floor in the area to be cleaned is 16: 1, if the sweeping robot is immediately switched to a sweeping mode corresponding to a rough floor to sweep the area to be swept, and the sweeping power of the sweeping mode is maximum, the power consumption of the sweeping robot is greatly increased, so that the environment type of the area to be swept needs to be determined for multiple times to select the optimal sweeping mode.

Therefore, the sweeping robot controls the transmitting tube to transmit the detection light beams to the area to be cleaned on the basis of different transmitting angles for N times continuously, and determines the environment type of the area to be cleaned according to the light sensing voltage values of the reflected light of the detection light beams for N times continuously. After the transmitting tube transmits the detection light beam based on one angle, the preset angle is automatically adjusted, and the detection light beam of the next angle is transmitted after a preset time period.

And if the determined environment types are the same according to the light sensation voltage values of the reflected light of the detection light beams which are continuously emitted to the area to be cleaned based on different emission angles for N times, cleaning the area to be cleaned according to a cleaning mode corresponding to the environment types, wherein N is not less than 2, and N is an integer.

Illustratively, the emission tube of the sweeping robot emits the probe beams to the to-be-swept area for 3 consecutive times based on different emission angles of 0 °, 3 ° and 6 °, and the environment types of the to-be-swept area determined according to the light sensation voltage values of the reflected light of the probe beams for 3 consecutive times are all smooth floors, and the to-be-swept area is swept according to the sweeping mode corresponding to the smooth floor.

In one example, the environment type of the area to be cleaned is determined N times according to light sensing voltage values of reflected light of probe light beams emitted to the area to be cleaned on the basis of different emission angles for N consecutive times, if the proportion occupied by the times of the same environment type reaches or exceeds a preset proportion, the environment type of the area to be cleaned is determined to be the environment type of which the proportion occupied by the times reaches or exceeds the preset proportion, and the area to be cleaned is cleaned according to a cleaning mode corresponding to the environment type.

For example, the environment type of the area to be cleaned is determined 10 times according to the light sensing voltage values of the reflected light of the probe light beams emitted to the area to be cleaned continuously 10 times based on different emission angles, wherein the number of times of confirming that the environment type of the area to be cleaned is a rough floor is 8 times, the number of times of confirming that the area to be cleaned is a smooth floor is 2 times, and a preset ratio is 7/10, and since the ratio 8/10 occupied by the same environment type number of times exceeds the preset ratio, the environment type of the area to be cleaned is confirmed to be a rough floor, and the area to be cleaned is cleaned according to a cleaning mode corresponding to the rough floor.

It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.

Fig. 4 shows a block diagram of a cleaning apparatus provided in an embodiment of the present application, corresponding to the cleaning method described in the above embodiment, and only the parts related to the embodiment of the present application are shown for convenience of description.

Referring to fig. 4, the apparatus includes:

the emitting module 100 is used for emitting a detection light beam to an area to be cleaned;

a determining module 200, configured to determine an environment type of the area to be cleaned according to a light sensing voltage value of the reflected light of the probe beam;

a sweeping module 300, configured to sweep the area to be swept according to a sweeping mode corresponding to the environment type.

Optionally, in order to more accurately determine the environment type of the area to be cleaned according to the reflected light, the cleaning device is further provided with a receiving module, where the receiving module includes a first receiving tube and a second receiving tube, the first receiving tube is configured to receive the first sub-beam in the reflected light, and the second receiving tube is configured to receive the second sub-beam in the reflected light, so as to determine the environment type of the area to be cleaned according to the light sensing voltage values of the first sub-beam and the second sub-beam. Wherein the first receiving tube is located between the transmitting module and the second receiving tube.

The light sensing voltage value comprises a first light sensing voltage value of the first sub-beam and a second light sensing voltage value of the second sub-beam.

Optionally, the determining module is further configured to determine an environment type of the area to be cleaned according to the first light sensing voltage value, the second light sensing voltage value, a first preset value and a second preset value, where the first preset value is smaller than the second preset value.

Optionally, the determining module is further configured to determine that the environment type of the area to be cleaned is a smooth surface if the first light sensing voltage value and the second light sensing voltage value are both greater than the first preset value, the second light sensing voltage value is greater than the second preset value, and the second light sensing voltage value is greater than the first light sensing voltage value of a preset multiple.

Optionally, the determining module is further configured to determine that the environment type of the area to be cleaned is a rough surface if the first light sensing voltage value and the second light sensing voltage value are both greater than the first preset value, and the second light sensing voltage value is smaller than the first light sensing voltage value of a preset multiple.

Optionally, the determining module is further configured to determine that the environment type of the area to be cleaned is a step if the second light sensing voltage value is greater than the first preset value.

Optionally, the emission module is further configured to emit the probe beam to the area to be cleaned based on different emission angles for N consecutive times.

The determining module is further used for determining the environment type corresponding to the area to be cleaned according to light sensing voltage values of reflected light of N beams of probe light with different emission angles for N times.

The cleaning module is further used for cleaning the area to be cleaned according to a cleaning mode corresponding to the environment type if the environment type of the area to be cleaned is determined to be the same according to the light sensation voltage values of the reflected light of the N continuous detection light beams, wherein N is not less than 2, and N is an integer.

With reference to fig. 1, a schematic structural diagram of a sweeping robot provided in an embodiment of the present application is shown. As shown in fig. 1, the sweeping robot 1 of the embodiment includes: a transmitting tube 13, a receiving tube 14, at least one processor 10 (only one processor is shown in fig. 1), a memory 11, and a computer program 12 stored in the memory 11 and executable on the at least one processor 10, wherein the processor 10 implements the steps of any of the above cleaning method embodiments when executing the computer program 12.

The sweeping robot may include, but is not limited to, a processor 10 and a memory 11. It will be understood by those skilled in the art that fig. 1 is only an example of the sweeping robot 1, and does not constitute a limitation to the sweeping robot 1, and may include more or less components than those shown, or combine some components, or different components, for example, input/output devices, network access devices, etc.

The Processor 10 may be a Central Processing Unit (CPU), and the Processor 10 may also be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field-Programmable Gate arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.

The memory 11 may in some embodiments be an internal storage unit of the cleaning robot 1, such as a hard disk or a memory of the cleaning robot 1. In other embodiments, the memory 11 may also be an external storage device of the robot cleaner 1, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are equipped on the robot cleaner 1. Further, the memory 11 may also include both an internal memory unit and an external memory device of the sweeping robot 1. The memory 11 is used for storing an operating system, an application program, a BootLoader (BootLoader), data, and other programs, such as program codes of the computer program. The memory 11 may also be used to temporarily store data that has been output or is to be output.

In another example, a sweeping robot includes: the cleaning system comprises a transmitting tube, a first receiving tube, a second receiving tube, a third receiving tube, at least one processor, a memory and a computer program which is stored in the memory and can run on the at least one processor, wherein the processor executes the computer program to realize the steps of any cleaning method embodiment.

It should be noted that, for the information interaction, execution process, and other contents between the above-mentioned devices/units, the specific functions and technical effects thereof are based on the same concept as those of the embodiment of the method of the present application, and specific reference may be made to the part of the embodiment of the method, which is not described herein again.

It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.

The embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the steps in the above-mentioned method embodiments.

The embodiment of the present application provides a computer program product, which when running on a sweeping robot, enables the sweeping robot to implement the steps in the above method embodiments when executed.

The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium and can implement the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include at least: any entity or device capable of carrying computer program code to a photographing apparatus/terminal apparatus, a recording medium, computer Memory, Read-Only Memory (ROM), random-access Memory (RAM), an electrical carrier signal, a telecommunications signal, and a software distribution medium. Such as a usb-disk, a removable hard disk, a magnetic or optical disk, etc. In certain jurisdictions, computer-readable media may not be an electrical carrier signal or a telecommunications signal in accordance with legislative and patent practice.

In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.

Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.

In the embodiments provided in the present application, it should be understood that the disclosed apparatus/network device and method may be implemented in other ways. For example, the above-described apparatus/network device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.

The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.

The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

14页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:清洁机器人

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!