WO2022156062A1 - 一种清洁设备的控制方法及装置 - Google Patents

一种清洁设备的控制方法及装置 Download PDF

Info

Publication number
WO2022156062A1
WO2022156062A1 PCT/CN2021/083435 CN2021083435W WO2022156062A1 WO 2022156062 A1 WO2022156062 A1 WO 2022156062A1 CN 2021083435 W CN2021083435 W CN 2021083435W WO 2022156062 A1 WO2022156062 A1 WO 2022156062A1
Authority
WO
WIPO (PCT)
Prior art keywords
angle
cleaning device
angular velocity
velocity sensor
rotation
Prior art date
Application number
PCT/CN2021/083435
Other languages
English (en)
French (fr)
Inventor
满相谷
张琳
易家骝
谢文志
黄建权
杨帆
陈夏婷
Original Assignee
佛山市顺德区一拓电气有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 佛山市顺德区一拓电气有限公司 filed Critical 佛山市顺德区一拓电气有限公司
Priority to EP21867901.7A priority Critical patent/EP4059403B8/en
Priority to US17/701,652 priority patent/US20220229440A1/en
Publication of WO2022156062A1 publication Critical patent/WO2022156062A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0212Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory
    • G05D1/0219Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory ensuring the processing of the whole working surface
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0231Control of position or course in two dimensions specially adapted to land vehicles using optical position detecting means
    • G05D1/0242Control of position or course in two dimensions specially adapted to land vehicles using optical position detecting means using non-visible light signals, e.g. IR or UV signals
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0212Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory
    • G05D1/0223Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory involving speed control of the vehicle

Definitions

  • the invention relates to the field of robot control, in particular to a control method and device for cleaning equipment.
  • the conventional cleaning equipment in the prior art can only perform 90-degree arcuate cleaning, and the traditional cleaning equipment is only suitable for regular rectangular pool bottoms.
  • the side of the cleaning equipment and the The pool walls are not parallel, and the short sides of the arch will leave the area uncleaned, resulting in excessive cleaning in the central area of the pool, insufficient cleaning in the boundary area, and low cleaning efficiency.
  • the cleaning equipment in the prior art only relies on the gyroscope to judge the contact with the wall, and cannot measure the distance and angle between the wall and the wall in advance. Changes and shifts occur instantaneously, so that cleaning equipment often deviates from the preset line.
  • the present invention provides a control method and device for cleaning equipment, and the method improves the efficiency and precision of cleaning equipment for cleaning swimming pools.
  • a first aspect of the embodiments of the present application provides a method for controlling a cleaning device, wherein the cleaning device is provided with an infrared sensor and an angular velocity sensor; the control method includes: when the cleaning device is traveling straight, acquiring real-time information from the infrared sensor The collected first ADC value, when the first ADC value is greater than the first preset value, control the cleaning device to stop straight;
  • the angular velocity sensor is used to collect the angle between the running direction of the cleaning device and the obstacle ahead;
  • the cleaning device is first controlled to go straight forward for a first walking distance and then stopped, and then the cleaning device is controlled to rotate by the first rotation angle in the preset direction, and then the cleaning device is controlled to go straight.
  • the first rotation angle and the first walking distance are calculated according to the angular data uploaded by the angular velocity sensor, wherein the calculation of the first rotation angle is specifically:
  • the cleaning device When the first ADC value is greater than the first preset value, the cleaning device is controlled to stop traveling straight, and the angular velocity sensor is controlled to collect the angle between the running direction of the cleaning device and the obstacle ahead, and record it as the first angle;
  • a first rotation angle is calculated; the first rotation angle is the absolute value of the difference between the first angle and the second angle.
  • the calculation of the first rotation angle and the first walking distance according to the angular velocity sensor uploading angle data wherein the calculation of the first walking distance is specifically:
  • L1 is the first walking distance
  • ⁇ 1 is the first angle
  • ⁇ 2 is the second angle
  • S is the set distance
  • a second aspect of the embodiments of the present application provides a control device for a cleaning device, the cleaning device is provided with an infrared sensor and an angular velocity sensor; the control device includes: a brake module, a first rotation module, a calculation module, a second straight a module and a second rotation module;
  • the braking module is configured to acquire the first ADC value collected in real time by the infrared sensor when the cleaning device is traveling straight, and when the first ADC value is greater than a first preset value, control the cleaning device to stop traveling straight ;
  • the first rotation module is configured to control the cleaning device to rotate in a preset direction, and stop rotating until the second ADC value collected in real time by the infrared sensor is less than the second preset value;
  • the calculation module is used to calculate the first rotation angle and the first walking distance according to the angle data uploaded by the angular velocity sensor; wherein, the angular velocity sensor is used to collect the angle between the running direction of the cleaning device and the obstacle ahead ;
  • the straight-travel module is used to control the cleaning device to go straight forward for a first walking distance and then stop;
  • the second rotation module is configured to control the cleaning device to move straight after the cleaning device is rotated by the first rotation angle in the preset direction.
  • the calculation module is configured to calculate the first rotation angle and the first walking distance according to the angle data uploaded by the angular velocity sensor, wherein, calculating the first rotation angle, Specifically:
  • the cleaning device When the first ADC value is greater than the first preset value, the cleaning device is controlled to stop traveling straight, and the angular velocity sensor is controlled to collect the angle between the running direction of the cleaning device and the obstacle ahead, and record it as the first angle;
  • a first rotation angle is calculated; the first rotation angle is the absolute value of the difference between the first angle and the second angle.
  • the calculation module is configured to calculate the first rotation angle and the first walking distance according to the angular data uploaded by the angular velocity sensor, wherein, calculating the first walking distance, Specifically:
  • L1 is the first walking distance
  • ⁇ 1 is the first angle
  • ⁇ 2 is the second angle
  • S is the set distance
  • control method and device for cleaning equipment provided by the embodiments of the present invention have beneficial effects as follows:
  • the cleaning equipment when the first ADC value collected is greater than the first preset value, the cleaning equipment is first controlled to stop running straight Second, control the cleaning device to rotate in a preset direction, and stop the rotation when the collected second ADC value is less than the second preset value; then calculate the first rotation angle and the first walking distance; then control the cleaning device to go straight forward
  • the cleaning device is controlled to rotate by the first rotation angle in the preset direction, and then the cleaning device is controlled to travel straight.
  • the cleaning equipment when the shape of the swimming pool is irregular, based on the angle between the running direction of the cleaning equipment and the obstacle in front, the cleaning equipment is controlled to turn at a corresponding angle, so as to achieve full coverage cleaning of the irregular swimming pool; through the ADC value Judging the distance of the wall in advance, when the cleaning equipment is about to touch the wall, decelerate in advance to stop the cleaning equipment before it touches the wall, so as to ensure that the cleaning equipment runs accurately according to the set track, thus ultimately improving the efficiency of the cleaning equipment for cleaning the swimming pool and precision.
  • FIG. 1 is a schematic flowchart of a control method for a cleaning device provided by an embodiment of the present invention
  • FIG. 2 is a schematic diagram of a comparison between a conventional cleaning path of a cleaning device in the prior art provided by an embodiment of the present invention and a cleaning path of the cleaning device of this solution;
  • FIG. 3 is a schematic diagram of a path of a cleaning device turning against a wall according to an embodiment of the present invention
  • FIG. 4 is a schematic structural diagram of a control device of a cleaning device according to an embodiment of the present invention.
  • FIG. 1 is a schematic flowchart of a method for controlling a cleaning device according to an embodiment of the present invention, including:
  • the cleaning device when the cleaning device travels straight, the first ADC value collected in real time by the infrared sensor is acquired, and when the first ADC value is greater than the first preset value, the cleaning device is controlled to stop traveling straight.
  • the first preset value may be 1700.
  • the cleaning device is controlled to rotate in a preset direction until the second ADC value collected in real time by the infrared sensor is smaller than the second preset value, and then the rotation is stopped.
  • the second preset value may be 100.
  • the preset direction may be either left or right.
  • the first rotation angle and the first walking distance are calculated according to the angle data uploaded by the angular velocity sensor; wherein the angular velocity sensor is used to collect the angle between the running direction of the cleaning device and the obstacle ahead.
  • the angle sensor may be a gyroscope.
  • the cleaning device when the first ADC value is greater than the first preset value, the cleaning device is controlled to stop traveling straight, and the angular velocity sensor is controlled to collect the angle between the running direction of the cleaning device and the obstacle ahead, and record it as the first angle ;
  • the second ADC value collected by the infrared sensor in real time is less than the second preset value, stop the rotation, control the angular velocity sensor to collect the angle between the running direction of the cleaning equipment and the obstacle in front, and record it as the second angle; according to the angular velocity sensor Upload the data of the first angle and the second angle, and calculate the first rotation angle;
  • the first rotation angle is the absolute value of the difference between the first angle and the second angle.
  • the first walking distance can be calculated by the following formula:
  • L1 is the first walking distance
  • ⁇ 1 is the first angle
  • ⁇ 2 is the second angle
  • S is the set distance.
  • the set distance S can be calculated by the following formula:
  • D is the body width of the cleaning device, and the value of D can be 50cm.
  • FIG. 2 is an implementation of the present invention
  • the example provides a schematic diagram of the comparison between the conventional cleaning path of the cleaning equipment in the prior art and the cleaning path of the cleaning equipment of the present solution.
  • the left picture in FIG. 2 is the conventional cleaning path of the cleaning equipment in the prior art, and the right picture in FIG. 2 is the cleaning path of the cleaning equipment in the solution.
  • the control method of the solution of the present application controls the turning of the cleaning equipment when encountering a wall
  • the head of the cleaning equipment does not need to be perpendicular to the pool wall, nor does the cleaning equipment turn at a fixed angle of 90 degrees, but the cleaning equipment Based on the angle between the running direction and the obstacle ahead, the cleaning equipment is controlled to turn at the corresponding angle.
  • the walking path of the cleaning equipment is very close to the wall when turning and cleaning when encountering a wall, so as to realize the full coverage cleaning of the swimming pool and solve the problem of traditional control The problem of missing scanning caused by the method.
  • control method of the present application ensures that the distance between the two lines of the cleaning equipment is constant and will not be changed due to the irregular shape of the wall, ensuring that the cleaning trajectory is regular and fully covering the swimming pool, thereby improving the efficiency and effect of swimming pool cleaning.
  • FIG. 3 is a schematic structural diagram of a control device of a cleaning device according to an embodiment of the present invention.
  • a(1) is the first rotation angle
  • L1 is the first walking distance
  • S is the set distance
  • first rotation angle a(1) is the absolute value of the difference between the first angle ⁇ 1 and the second angle ⁇ 2, that is:
  • FIG. 4 is a schematic structural diagram of a control device of a cleaning device according to an embodiment of the present invention, including: a brake module 201 , a first rotation module 202 , and a calculation module 203 , the second straight module 204 and the second rotation module 205 .
  • the braking module 201 is configured to acquire the first ADC value collected by the infrared sensor in real time when the cleaning device runs straight, and when the first ADC value is greater than the first preset value, controls the cleaning device to stop going straight.
  • the first preset value may be 1700.
  • the first rotation module 202 is configured to control the cleaning device to rotate in a preset direction, and stop rotating until the second ADC value collected in real time by the infrared sensor is less than the second preset value.
  • the second preset value may be 100.
  • the preset direction may be either left or right.
  • the calculation module 203 is configured to calculate the first rotation angle and the first walking distance according to the angular data uploaded by the angular velocity sensor; wherein, the angular velocity sensor is used to collect the angle between the running direction of the cleaning device and the obstacle ahead.
  • the cleaning device when the first ADC value is greater than the first preset value, the cleaning device is controlled to stop traveling straight, and the angular velocity sensor is controlled to collect the angle between the running direction of the cleaning device and the obstacle ahead, and record it as the first angle ;
  • the second ADC value collected by the infrared sensor in real time is less than the second preset value, stop the rotation, control the angular velocity sensor to collect the angle between the running direction of the cleaning equipment and the obstacle in front, and record it as the second angle; according to the angular velocity sensor Upload the data of the first angle and the second angle, and calculate the first rotation angle;
  • the first rotation angle is the absolute value of the difference between the first angle and the second angle.
  • the first walking distance can be calculated by the following formula:
  • L1 is the first walking distance
  • ⁇ 1 is the first angle
  • ⁇ 2 is the second angle
  • S is the set distance.
  • the set distance S can be calculated by the following formula:
  • D is the body width of the cleaning device, and the value of D can be 50cm.
  • the second straight travel module 204 stops after controlling the cleaning device to travel straight ahead for the first travel distance.
  • the second rotation module 205 is configured to control the cleaning device to move straight after the cleaning device is rotated by the first rotation angle in the preset direction.
  • the braking module 201 is used first, and when the collected first ADC value is greater than the first preset value, the cleaning device is first controlled to stop traveling straight; secondly, the first rotation module 202 is used to control the cleaning device to rotate in the preset direction.
  • the rotation is stopped; then the calculation module 203 is used to calculate the first rotation angle and the first travel distance; then the second straight travel module 204 is used to control the cleaning device to move straight forward After the first walking distance, it stops, and finally, the second rotation module 205 controls the cleaning device to rotate by the first rotation angle in the preset direction, and then controls the cleaning device to run straight.
  • the above control device when the shape of the swimming pool is irregular, based on the angle between the running direction of the cleaning equipment and the obstacle in front, controls the cleaning equipment to turn at a corresponding angle, so as to achieve full coverage cleaning of the irregular swimming pool; through the ADC value Judging the distance of the wall in advance, when the cleaning equipment is about to touch the wall, decelerate in advance to stop the cleaning equipment before it touches the wall, so as to ensure that the cleaning equipment runs accurately according to the set track, thus ultimately improving the efficiency of the cleaning equipment for cleaning the swimming pool and precision.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Electromagnetism (AREA)
  • Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)
  • Electric Vacuum Cleaner (AREA)

Abstract

公开了一种清洁设备的控制方法及装置,方法包括:在采集的第一ADC值大于第一预设值时,先控制清洁设备停止直行(S101);其次控制清洁设备向预设方向旋转(S102),当采集的第二ADC值小于第二预设值时,停止旋转;然后计算第一旋转角度和第一行走距离(S103);接着控制清洁设备向前直行第一行走距离后停止(S104),最后控制清洁设备向预设方向旋转第一旋转角度后(S105),控制清洁设备直行(S106)。采用该清洁设备的控制方法能提高清洁设备清扫泳池的效率和精度。

Description

一种清洁设备的控制方法及装置 技术领域
本发明涉及机器人控制领域,尤其涉及一种清洁设备的控制方法及装置。
背景技术
传统泳池清洁依靠人工打捞和冲洗,效率低且效果差。随着智能生活的普及,人们对自动清洁设备的需求与日俱增,近20年出现的自动清洁机器人在一定程度上解决了泳池清洁的自动化问题。
但现有技术中传统的清洁设备只能进行90度弓形清洁,该传统的清洁设备仅适用在规则矩形池底,当在不规则形状的池底工作时,90度转弯后清洁设备侧边与池壁不平行,弓形短边会留下区域没有清扫,导致泳池中部区域过渡清扫,边界区域清洁不足,清扫效率低。且现有技术中的清洁设备只依靠陀螺仪进行触墙判断,无法预先测量与墙之间的距离及角度,清洁设备在触墙后才执行刹车停止,导致清洁设备的姿态在触墙的一瞬间发生变化和偏移,以至于清洁设备经常偏离预设线路。
发明内容
本发明提出一种清洁设备的控制方法及装置,所述方法提高了清洁设备清扫泳池的效率和精度。
本申请实施例的第一方面提供了一种清洁设备的控制方法,所述清洁设备设置有红外传感器和角速度传感器;所述控制方法包括:在所述清洁设备直行时,获取所述红外传感器实时采集的第一ADC值,当所述第一ADC值大于第一预设值时,控制所述清洁设备停止直行;
控制所述清洁设备向预设方向旋转,直到所述红外传感器实时采集的第二ADC值小于第二预设值时,停止旋转;
根据所述角速度传感器上传角度数据,计算第一旋转角度和第一行走距离;其中,所述角速度传感器用于采集所述清洁设备运行方向与前方障碍物之间的角度;
先控制所述清洁设备向前直行第一行走距离后停止,再控制所述清洁设备向所述预设方向旋转所述第一旋转角度后,控制所述清洁设备直行。
在第一方面的一种可能的实现方式中,所述根据所述角速度传感器上传角度数据,计算第一旋转角度和第一行走距离,其中,计算所述第一旋转角度,具体为:
当所述第一ADC值大于第一预设值时,控制所述清洁设备停止直行,控制角速度传感器用于采集所述清洁设备运行方向与前方障碍物之间的角度,记录为第一角度;
直到所述红外传感器实时采集的第二ADC值小于第二预设值时,停止旋转,控制角速度传感器用于采集所述清洁设备运行方向与前方障碍物之间的角度,记录为第二角度;
根据所述角速度传感器上传所述第一角度和所述第二角度数据,计算第一旋转角度;所述第一旋转角度为所述第一角度与所述第二角度之差的绝对值。
在第一方面的一种可能的实现方式中,所述根据所述角速度传感器上传角度数据,计算第一旋转角度和第一行走距离,其中,计算所述第一行走距离,具体为:
L1=S/sin(|α1-α2|)
其中,L1为所述第一行走距离,α1为所述第一角度,α2为所述第二角度,S为设定间距。
本申请实施例的第二方面提供了一种清洁设备的控制装置,所述清洁设备设置有红外传感器和角速度传感器;所述控制装置包括:刹车模块、第一旋转模块、计算模块、第二直行模块和第二旋转模块;
所述刹车模块,用于在所述清洁设备直行时,获取所述红外传感器实时采集的第一ADC值,当所述第一ADC值大于第一预设值时,控制所述清洁设备停 止直行;
所述第一旋转模块,用于控制所述清洁设备向预设方向旋转,直到所述红外传感器实时采集的第二ADC值小于第二预设值时,停止旋转;
所述计算模块,用于根据所述角速度传感器上传角度数据,计算第一旋转角度和第一行走距离;其中,所述角速度传感器用于采集所述清洁设备运行方向与前方障碍物之间的角度;
所述直行模块,用于控制所述清洁设备向前直行第一行走距离后停止;
所述第二旋转模块,用于控制所述清洁设备向所述预设方向旋转所述第一旋转角度后,控制所述清洁设备直行。
在第二方面的一种可能的实现方式中,所述计算模块,用于根据所述角速度传感器上传角度数据,计算第一旋转角度和第一行走距离,其中,计算所述第一旋转角度,具体为:
当所述第一ADC值大于第一预设值时,控制所述清洁设备停止直行,控制角速度传感器用于采集所述清洁设备运行方向与前方障碍物之间的角度,记录为第一角度;
直到所述红外传感器实时采集的第二ADC值小于第二预设值时,停止旋转,控制角速度传感器用于采集所述清洁设备运行方向与前方障碍物之间的角度,记录为第二角度;
根据所述角速度传感器上传所述第一角度和所述第二角度数据,计算第一旋转角度;所述第一旋转角度为所述第一角度与所述第二角度之差的绝对值。
在第二方面的一种可能的实现方式中,所述计算模块,用于根据所述角速度传感器上传角度数据,计算第一旋转角度和第一行走距离,其中,计算所述第一行走距离,具体为:
L1=S/sin(|α1-α2|)
其中,L1为所述第一行走距离,α1为所述第一角度,α2为所述第二角度,S为设定间距。
本发明实施例提供的一种清洁设备的控制方法及装置,其有益效果在于: 本发明实施例的控制方法,在采集的第一ADC值大于第一预设值时,先控制清洁设备停止直行;其次控制清洁设备向预设方向旋转,当采集的第二ADC值小于第二预设值时,停止旋转;然后计算第一旋转角度和第一行走距离;接着控制所述清洁设备向前直行第一行走距离后停止,最后控制所述清洁设备向所述预设方向旋转所述第一旋转角度后,控制所述清洁设备直行。上述控制方法,在泳池形状不规则时,以清洁设备运行方向与前方障碍物之间的角度为依据,控制清洁设备进行相应角度的转弯,以实现对不规则泳池的全覆盖清洁;通过ADC值预先对墙壁的距离进行判断,当清洁设备即将触墙时,提前减速,让清洁设备在触墙之前停下来,保证清洁设备精准地按照设定轨道运行,从而最终提高了清洁设备清扫泳池的效率和精度。
附图说明
图1是本发明一实施例提供的一种清洁设备的控制方法的流程示意图;
图2是本发明一实施例提供的现有技术中清洁设备的传统清洁路径与本方案清洁设备的清洁路径的对比示意图;
图3是本发明一实施例提供的一种清洁设备遇墙转弯的路径示意图;
图4是本发明一实施例提供的一种清洁设备的控制装置的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
参照图1,图1为本发明一实施例提供的一种清洁设备的控制方法的流程示意图,包括:
S101、控制清洁设备停止直行。
在本实施例中,在清洁设备直行时,获取红外传感器实时采集的第一ADC 值,当第一ADC值大于第一预设值时,控制清洁设备停止直行。
在一具体实施例中,第一预设值可以是1700。
S102、控制清洁设备向预设方向旋转。
在本实施例中,控制清洁设备向预设方向旋转,直到红外传感器实时采集的第二ADC值小于第二预设值时,停止旋转。
在一具体实施例中,第二预设值可以是100。
在本实施例中,预设方向可以是左方、右方中的任意一种。
S103、计算第一旋转角度和第一行走距离。
在本实施例中,根据角速度传感器上传角度数据,计算第一旋转角度和第一行走距离;其中,角速度传感器用于采集清洁设备运行方向与前方障碍物之间的角度。
在一具体实施例中,角度传感器可以是陀螺仪。
在一具体实施例中,当第一ADC值大于第一预设值时,控制清洁设备停止直行,控制角速度传感器用于采集清洁设备运行方向与前方障碍物之间的角度,记录为第一角度;直到红外传感器实时采集的第二ADC值小于第二预设值时,停止旋转,控制角速度传感器用于采集清洁设备运行方向与前方障碍物之间的角度,记录为第二角度;根据角速度传感器上传第一角度和第二角度数据,计算第一旋转角度;第一旋转角度为第一角度与第二角度之差的绝对值。
在一具体实施例中,第一行走距离通过以下公式计算可得:
L1=S/sin(|α1-α2|)
其中,L1为第一行走距离,α1为第一角度,α2为第二角度,S为设定间距。设定距离S通过以下公式计算可得:
0.5D≤S≤2D
其中,D为清洁设备的机身宽度,D的值可以为50cm。
S104、控制清洁设备向前直行第一行走距离后停止。
S105、控制清洁设备向预设方向旋转第一旋转角度。
S106、控制清洁设备直行。
为了更好地说明,在泳池形状不是规则矩形时,本发明的控制方法与传统的控制方法控制清洁设备在清洁泳池的效果、效率上的区别,请参照图2,图2为本发明一实施例提供的现有技术中清洁设备的传统清洁路径与本方案清洁设备的清洁路径的对比示意图。
其中,图2中的左图为现有技术中清洁设备的传统清洁路径,图2中的右图为本方案清洁设备的清洁路径。
由此我们明显可得,传统的控制方法在控制清洁设备遇墙转弯时,只能让所述清洁设备按照固定角度90度进行转向,且转弯之前清洁设备的头部需要与池壁垂直,当池底不规则时或者因陀螺仪偏移而清洁设备的头部与池壁不垂直时,会导致转弯效果不佳。而且如果90度转弯后清洁设备的侧边与池壁不平行,如图2左图中的深色区域所示,弓形短边会留下一片三角形区域没有清扫,影响清扫效率。当清洁设备进入短边清扫时,若清洁设备碰墙,则清洁设备会提前转弯,如图1圆圈部分所示,从而导致清洁设备的来回两条线路相隔太近,几乎原路返回,从而使得传统的控制方法控制清洁设备过渡清扫中部区域,而边部区域清洁不足,降低了清扫效率,影响了清扫的效果。
相比之下,本申请方案的控制方法在控制清洁设备遇墙转弯时,清洁设备的头部不需要与池壁垂直,也不是让清洁设备按照固定角度90度进行转向,而是以清洁设备运行方向与前方障碍物之间的角度为依据,控制清洁设备进行相应角度的转弯。如图2中的右图所示,在本申请方案的控制方法的控制下,该清洁设备在遇墙转弯清扫时的行走路径十分贴近墙壁,从而实现对泳池的全覆盖清扫,解决了传统控制方法而导致的漏扫问题。而且本申请方案的控制方法保证了清洁设备来回两条线路的间距一定,不会因为墙的形状不规则而改变,保证清洁轨迹规则、全面覆盖泳池,从而提高了泳池清洁的效率和效果。
为了更好地说明第一行走距离的计算原理,请参照图3,图3本发明一实施例提供的一种清洁设备的控制装置的结构示意图。
图中a(1)为第一旋转角度,L1为第一行走距离,S为设定间距。由图我们清楚可得,第一旋转角度a(1)与第一行走距离L1和设定间距S的关系,满足以 下公式:
L1=S/sin(a(1))
由于第一旋转角度a(1)为第一角度α1与第二角度α2之差的绝对值,即:
a(1)=|α1-α2|
于是第一旋转角度a(1)与第一行走距离L1和设定间距S的关系可以表达为:
L1=S/sin(a(1))=S/sin(|α1-α2|)
通过图3,可以清楚地了解第一行走距离的计算原理;同时根据上述公式,在第一旋转角度不同的前提下,通过计算不同的第一行走距离,保证清洁设备来回两条线路的间距为预设间距S不变,从而使清洁设备的清洁轨迹保持规则有序。
为了进一步说明清洁设备的控制装置,请参照图4,图4为本发明一实施例提供的一种清洁设备的控制装置的结构示意图,包括:刹车模块201、第一旋转模块202、计算模块203、第二直行模块204和第二旋转模块205。
刹车模块201,用于在清洁设备直行时,获取红外传感器实时采集的第一ADC值,当第一ADC值大于第一预设值时,控制清洁设备停止直行。
在一具体实施例中,第一预设值可以是1700。
第一旋转模块202,用于控制清洁设备向预设方向旋转,直到红外传感器实时采集的第二ADC值小于第二预设值时,停止旋转。
在一具体实施例中,第二预设值可以是100。
在本实施例中,预设方向可以是左方、右方中的任意一种。
计算模块203,用于根据所述角速度传感器上传角度数据,计算第一旋转角度和第一行走距离;其中,角速度传感器用于采集清洁设备运行方向与前方障碍物之间的角度。
在一具体实施例中,当第一ADC值大于第一预设值时,控制清洁设备停止直行,控制角速度传感器用于采集清洁设备运行方向与前方障碍物之间的角度,记录为第一角度;直到红外传感器实时采集的第二ADC值小于第二预设值时,停止旋转,控制角速度传感器用于采集清洁设备运行方向与前方障碍物之间的 角度,记录为第二角度;根据角速度传感器上传第一角度和第二角度数据,计算第一旋转角度;第一旋转角度为第一角度与第二角度之差的绝对值。
在一具体实施例中,第一行走距离通过以下公式计算可得:
L1=S/sin(|α1-α2|)
其中,L1为第一行走距离,α1为第一角度,α2为第二角度,S为设定间距。设定距离S通过以下公式计算可得:
0.5D≤S≤2D
其中,D为清洁设备的机身宽度,D的值可以为50cm。
第二直行模块204于控制清洁设备向前直行第一行走距离后停止。
第二旋转模块205用于控制清洁设备向预设方向旋转第一旋转角度后,控制清洁设备直行。
本发明实施例先通过刹车模块201,在采集的第一ADC值大于第一预设值时,先控制清洁设备停止直行;其次通过第一旋转模块202,控制清洁设备向预设方向旋转,当采集的第二ADC值小于第二预设值时,停止旋转;然后通过计算模块203,计算第一旋转角度和第一行走距离;接着通过第二直行模块204,控制所述清洁设备向前直行第一行走距离后停止,最后通过第二旋转模块205,控制所述清洁设备向所述预设方向旋转所述第一旋转角度后,控制所述清洁设备直行。上述控制装置,在泳池形状不规则时,以清洁设备运行方向与前方障碍物之间的角度为依据,控制清洁设备进行相应角度的转弯,以实现对不规则泳池的全覆盖清洁;通过ADC值预先对墙壁的距离进行判断,当清洁设备即将触墙时,提前减速,让清洁设备在触墙之前停下来,保证清洁设备精准地按照设定轨道运行,从而最终提高了清洁设备清扫泳池的效率和精度。
以上所述是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也视为本发明的保护范围。

Claims (6)

  1. 一种清洁设备的控制方法,其特征在于,所述清洁设备设置有红外传感器和角速度传感器;所述控制方法包括:
    在所述清洁设备直行时,获取所述红外传感器实时采集的第一ADC值,当所述第一ADC值大于第一预设值时,控制所述清洁设备停止直行;
    控制所述清洁设备向预设方向旋转,直到所述红外传感器实时采集的第二ADC值小于第二预设值时,停止旋转;
    根据所述角速度传感器上传角度数据,计算第一旋转角度和第一行走距离;其中,所述角速度传感器用于采集所述清洁设备运行方向与前方障碍物之间的角度;
    先控制所述清洁设备向前直行第一行走距离后停止,再控制所述清洁设备向所述预设方向旋转所述第一旋转角度后,控制所述清洁设备直行。
  2. 根据权利要求1所述的一种清洁设备的控制方法,其特征在于,所述根据所述角速度传感器上传角度数据,计算第一旋转角度和第一行走距离,其中,计算所述第一旋转角度,具体为:
    当所述第一ADC值大于第一预设值时,控制所述清洁设备停止直行,控制角速度传感器用于采集所述清洁设备运行方向与前方障碍物之间的角度,记录为第一角度;
    直到所述红外传感器实时采集的第二ADC值小于第二预设值时,停止旋转,控制角速度传感器用于采集所述清洁设备运行方向与前方障碍物之间的角度,记录为第二角度;
    根据所述角速度传感器上传所述第一角度和所述第二角度数据,计算第一旋转角度;所述第一旋转角度为所述第一角度与所述第二角度之差的绝对值。
  3. 根据权利要求2所述的一种清洁设备的控制方法,其特征在于,所述根 据所述角速度传感器上传角度数据,计算第一旋转角度和第一行走距离,其中,计算所述第一行走距离,具体为:
    L1=S/sin(|α1-α2|)
    其中,L1为所述第一行走距离,α1为所述第一角度,α2为所述第二角度,S为设定间距。
  4. 一种清洁设备的控制装置,其特征在于,所述清洁设备设置有红外传感器和角速度传感器;所述控制装置包括:刹车模块、第一旋转模块、计算模块、第二直行模块和第二旋转模块;
    所述刹车模块,用于在所述清洁设备直行时,获取所述红外传感器实时采集的第一ADC值,当所述第一ADC值大于第一预设值时,控制所述清洁设备停止直行;
    所述第一旋转模块,用于控制所述清洁设备向预设方向旋转,直到所述红外传感器实时采集的第二ADC值小于第二预设值时,停止旋转;
    所述计算模块,用于根据所述角速度传感器上传角度数据,计算第一旋转角度和第一行走距离;其中,所述角速度传感器用于采集所述清洁设备运行方向与前方障碍物之间的角度;
    所述直行模块,用于控制所述清洁设备向前直行第一行走距离后停止;
    所述第二旋转模块,用于控制所述清洁设备向所述预设方向旋转所述第一旋转角度后,控制所述清洁设备直行。
  5. 如权利要求4所述的一种清洁设备的控制装置,其特征在于,所述计算模块,用于根据所述角速度传感器上传角度数据,计算第一旋转角度和第一行走距离,其中,计算所述第一旋转角度,具体为:
    当所述第一ADC值大于第一预设值时,控制所述清洁设备停止直行,控制角速度传感器用于采集所述清洁设备运行方向与前方障碍物之间的角度,记录为第一角度;
    直到所述红外传感器实时采集的第二ADC值小于第二预设值时,停止旋转,控制角速度传感器用于采集所述清洁设备运行方向与前方障碍物之间的角度,记录为第二角度;
    根据所述角速度传感器上传所述第一角度和所述第二角度数据,计算第一旋转角度;所述第一旋转角度为所述第一角度与所述第二角度之差的绝对值。
  6. 如权利要求5所述的一种清洁设备的控制装置,其特征在于,所述计算模块,用于根据所述角速度传感器上传角度数据,计算第一旋转角度和第一行走距离,其中,计算所述第一行走距离,具体为:
    L1=S/sin(|α1-α2|)
    其中,L1为所述第一行走距离,α1为所述第一角度,α2为所述第二角度,S为设定间距。
PCT/CN2021/083435 2021-01-19 2021-03-26 一种清洁设备的控制方法及装置 WO2022156062A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP21867901.7A EP4059403B8 (en) 2021-01-19 2021-03-26 Control method and control device of cleaning equipment
US17/701,652 US20220229440A1 (en) 2021-01-19 2022-03-22 Control method and control device of cleaning equipment

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110069981.5A CN112947408B (zh) 2021-01-19 2021-01-19 一种清洁设备的控制方法及装置
CN202110069981.5 2021-01-19

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/701,652 Continuation US20220229440A1 (en) 2021-01-19 2022-03-22 Control method and control device of cleaning equipment

Publications (1)

Publication Number Publication Date
WO2022156062A1 true WO2022156062A1 (zh) 2022-07-28

Family

ID=76235662

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/083435 WO2022156062A1 (zh) 2021-01-19 2021-03-26 一种清洁设备的控制方法及装置

Country Status (2)

Country Link
CN (1) CN112947408B (zh)
WO (1) WO2022156062A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115185282A (zh) * 2022-08-05 2022-10-14 智橙动力(北京)科技有限公司 泳池清洁机器人的池壁避障移动方法、装置、电子设备

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023155159A1 (en) * 2022-02-18 2023-08-24 Beijing Smorobot Technology Co., Ltd Wall collision u-turning method and apparatus for swimming pool cleaning robot, and swimming pool edge cleaning method and apparatus

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007047827A1 (en) * 2005-10-18 2007-04-26 Aquatron Inc. Customized programmable pool cleaner method and apparatus
CN101923351A (zh) * 2009-06-12 2010-12-22 三星电子株式会社 机器人清洁器及其控制方法
CN105137992A (zh) * 2015-09-02 2015-12-09 深圳市朗特电子有限公司 智能清洁机器人的控制系统及其控制方法和控制电路板
CN106970623A (zh) * 2017-04-18 2017-07-21 杭州匠龙机器人科技有限公司 智能清洁装置及其网格路径作业方法
CN109567678A (zh) * 2018-12-07 2019-04-05 江苏美的清洁电器股份有限公司 扫地机器人的清扫控制方法及其装置和扫地机器人
CN111802962A (zh) * 2020-06-30 2020-10-23 深圳乐动机器人有限公司 一种机器人清洁的方法、装置、机器人及存储介质

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7429843B2 (en) * 2001-06-12 2008-09-30 Irobot Corporation Method and system for multi-mode coverage for an autonomous robot
CN101481957B (zh) * 2009-02-05 2011-06-08 天津望圆工贸有限责任公司 遥控有序泳池清洁机器人及其有序清洗方法
CN103376801B (zh) * 2012-04-13 2016-08-03 科沃斯机器人有限公司 自移动地面处理机器人及其清洁工作的控制方法
CN104007765B (zh) * 2014-06-16 2016-05-04 成都北斗群星智能科技有限公司 扫地机器人避障、定位方法
CN106527423B (zh) * 2015-09-15 2020-01-21 小米科技有限责任公司 清洁机器人及其控制方法
CN110192812A (zh) * 2019-05-15 2019-09-03 深圳市银星智能科技股份有限公司 一种沿边跟随清洁的方法及清洁机器人

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007047827A1 (en) * 2005-10-18 2007-04-26 Aquatron Inc. Customized programmable pool cleaner method and apparatus
CN101923351A (zh) * 2009-06-12 2010-12-22 三星电子株式会社 机器人清洁器及其控制方法
CN105137992A (zh) * 2015-09-02 2015-12-09 深圳市朗特电子有限公司 智能清洁机器人的控制系统及其控制方法和控制电路板
CN106970623A (zh) * 2017-04-18 2017-07-21 杭州匠龙机器人科技有限公司 智能清洁装置及其网格路径作业方法
CN109567678A (zh) * 2018-12-07 2019-04-05 江苏美的清洁电器股份有限公司 扫地机器人的清扫控制方法及其装置和扫地机器人
CN111802962A (zh) * 2020-06-30 2020-10-23 深圳乐动机器人有限公司 一种机器人清洁的方法、装置、机器人及存储介质

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4059403A4 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115185282A (zh) * 2022-08-05 2022-10-14 智橙动力(北京)科技有限公司 泳池清洁机器人的池壁避障移动方法、装置、电子设备

Also Published As

Publication number Publication date
CN112947408B (zh) 2021-12-03
CN112947408A (zh) 2021-06-11

Similar Documents

Publication Publication Date Title
WO2022156062A1 (zh) 一种清洁设备的控制方法及装置
WO2021008611A1 (zh) 机器人被困检测及脱困方法
CN107390691B (zh) 一种agv路径跟踪方法
EP3552532B1 (en) Method for angle correction of mobile robot in working area and mobile robot
CN102949144B (zh) 自主式吸尘器及其控制方法
JP3660042B2 (ja) 清掃ロボットの制御方法
US6124694A (en) Wide area navigation for a robot scrubber
WO2017198222A1 (zh) 自动工作系统,自移动设备及其控制方法
TW201913264A (zh) Agv控制系統及控制方法、agv系統
CN108634886A (zh) 机器人清扫中断后的控制方法及芯片
DE102005014648A1 (de) Kompensationsverfahren eines Gyro-Sensors für Reinigungsroboter
CN210072412U (zh) 一种基于拉线传感器的自主车导航装置
JPS62154008A (ja) 自走ロボツトの走行制御方法
CN112068570A (zh) 机器人的移动控制方法、装置及机器人
CN107943026B (zh) Mecanum轮巡视机器人及其巡视方法
CN113848933B (zh) 一种清扫机器人的全方位避障方法及装置
CN111806435B (zh) 一种低速电动车自动循迹控制系统
US20220229440A1 (en) Control method and control device of cleaning equipment
CN109701920B (zh) 一种清洗机器人
CN114281081B (zh) 地铁车辆巡检机器人的导航系统和导航方法、机器人
CN213455499U (zh) 一种磁钉自主导航系统及无人驾驶清扫车
WO2024037260A1 (zh) 清洁设备的控制方法、清洁设备及存储介质
CN113440049A (zh) 一种清洁机器人及其控制方法
JPH11286907A (ja) 車線区分線自動敷設装置
CN111813118A (zh) 一种越障型智能巡检机器人及其控制系统

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2021867901

Country of ref document: EP

Effective date: 20220324

NENP Non-entry into the national phase

Ref country code: DE