CN116300875A - Water line information acquisition method and device and swimming pool cleaning robot - Google Patents
Water line information acquisition method and device and swimming pool cleaning robot Download PDFInfo
- Publication number
- CN116300875A CN116300875A CN202310026006.5A CN202310026006A CN116300875A CN 116300875 A CN116300875 A CN 116300875A CN 202310026006 A CN202310026006 A CN 202310026006A CN 116300875 A CN116300875 A CN 116300875A
- Authority
- CN
- China
- Prior art keywords
- cleaning robot
- pool cleaning
- water level
- swimming pool
- distance
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D1/00—Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
- G05D1/02—Control of position or course in two dimensions
- G05D1/021—Control of position or course in two dimensions specially adapted to land vehicles
- G05D1/0231—Control of position or course in two dimensions specially adapted to land vehicles using optical position detecting means
- G05D1/0238—Control of position or course in two dimensions specially adapted to land vehicles using optical position detecting means using obstacle or wall sensors
- G05D1/024—Control of position or course in two dimensions specially adapted to land vehicles using optical position detecting means using obstacle or wall sensors in combination with a laser
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D1/00—Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
- G05D1/02—Control of position or course in two dimensions
- G05D1/021—Control of position or course in two dimensions specially adapted to land vehicles
- G05D1/0212—Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory
- G05D1/0219—Control 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
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D1/00—Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
- G05D1/02—Control of position or course in two dimensions
- G05D1/021—Control of position or course in two dimensions specially adapted to land vehicles
- G05D1/0212—Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory
- G05D1/0221—Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory involving a learning process
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D1/00—Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
- G05D1/02—Control of position or course in two dimensions
- G05D1/021—Control of position or course in two dimensions specially adapted to land vehicles
- G05D1/0231—Control of position or course in two dimensions specially adapted to land vehicles using optical position detecting means
- G05D1/0242—Control 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
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D1/00—Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
- G05D1/02—Control of position or course in two dimensions
- G05D1/021—Control of position or course in two dimensions specially adapted to land vehicles
- G05D1/0231—Control of position or course in two dimensions specially adapted to land vehicles using optical position detecting means
- G05D1/0246—Control of position or course in two dimensions specially adapted to land vehicles using optical position detecting means using a video camera in combination with image processing means
- G05D1/0253—Control of position or course in two dimensions specially adapted to land vehicles using optical position detecting means using a video camera in combination with image processing means extracting relative motion information from a plurality of images taken successively, e.g. visual odometry, optical flow
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)
- Computer Vision & Pattern Recognition (AREA)
- Multimedia (AREA)
- Optics & Photonics (AREA)
- Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)
Abstract
本申请公开了一种水位线信息的获取方法、装置以及泳池清洁机器人,属于机器人技术领域。通过本申请实施例提供的技术方案,通过泳池清洁机器人的水位线探测传感器获取水位线信息,该水位线信息能够表示该泳池清洁机器人与泳池的水位线的远近。基于水位线信息,能够确定泳池清洁机器人与水位线之间的距离。基于该泳池清洁机器人与该水位线之间的距离,能够控制该泳池清洁机机器人,也即是能够以水位线为参考继续控制该泳池清洁机器人,实现对水位线的识别。
The application discloses a method and device for acquiring water level information and a swimming pool cleaning robot, which belong to the technical field of robots. Through the technical solutions provided by the embodiments of the present application, the water level information of the swimming pool cleaning robot is obtained through the water level detection sensor, and the water level information can indicate the distance between the swimming pool cleaning robot and the water level of the swimming pool. Based on the water level information, the distance between the pool cleaning robot and the water level can be determined. Based on the distance between the swimming pool cleaning robot and the water level, the swimming pool cleaning robot can be controlled, that is, the swimming pool cleaning robot can be continuously controlled with the water level as a reference, so as to realize the identification of the water level.
Description
技术领域technical field
本申请涉及机器人技术领域,特别涉及一种水位线信息的获取方法、装置以及泳池清洁机器人。The present application relates to the field of robot technology, in particular to a method and device for acquiring water level information and a swimming pool cleaning robot.
背景技术Background technique
随着计算机技术的发展,机器人技术也随之快速发展,比如,用户使用扫地机器人来进行房屋地面的清洁,使用擦窗机器人来进行房屋窗户的清洁,使用泳池清洁机器人来进行泳池的清洁等。With the development of computer technology, robot technology has also developed rapidly. For example, users use sweeping robots to clean the floor of houses, use window cleaning robots to clean house windows, and use swimming pool cleaning robots to clean swimming pools.
使用泳池清洁机器人对泳池的池壁进行清洁时,泳池的水位线是重要的参考位置,如何识别水位线是研究的热点。When using a swimming pool cleaning robot to clean the pool wall, the water level of the swimming pool is an important reference position, and how to identify the water level is a research hotspot.
发明内容Contents of the invention
本申请实施例提供了一种水位线信息的获取方法、装置以及泳池清洁机器人,可以获取水位线信息并基于水位线信息控制泳池清洁机器人,技术方案如下:The embodiment of the present application provides a method and device for obtaining water level information and a swimming pool cleaning robot, which can obtain water level information and control the swimming pool cleaning robot based on the water level information. The technical solution is as follows:
一方面,提供了一种水位线信息的获取方法,所述方法包括:In one aspect, a method for obtaining water level information is provided, the method comprising:
通过泳池清洁机器人的水位线探测传感器获取水位线信息,所述泳池清洁机器人在泳池的池壁上或池底进行移动,所述水位线信息用于表示所述泳池清洁机器人与所述水位线的相对位置;The water level information is obtained by the water level detection sensor of the swimming pool cleaning robot. The swimming pool cleaning robot moves on the pool wall or the bottom of the swimming pool. The water level information is used to indicate the distance between the swimming pool cleaning robot and the water level. relative position;
基于所述水位线信息,确定所述泳池清洁机器人与所述水位线之间的距离;determining a distance between the swimming pool cleaning robot and the water level based on the water level information;
基于所述泳池清洁机器人与所述水位线之间的距离,控制所述泳池清洁机器人。The pool cleaning robot is controlled based on the distance between the pool cleaning robot and the water line.
在一种可能的实施方式中,所述通过泳池清洁机器人的水位线探测传感器获取水位线信息包括下述任一项:In a possible implementation manner, the acquiring the water level information through the water level detection sensor of the swimming pool cleaning robot includes any of the following:
通过所述泳池清洁机器人的距离传感器获取所述水位线信息;Obtaining the water level information through the distance sensor of the swimming pool cleaning robot;
通过所述泳池清洁机器人的液体深度传感器获取所述水位线信息;Obtain the water level information through the liquid depth sensor of the swimming pool cleaning robot;
通过所述泳池清洁机器人的信号接收传感器获取所述水位线信息。The water level information is acquired through the signal receiving sensor of the swimming pool cleaning robot.
在一种可能的实施方式中,所述通过所述泳池清洁机器人的距离传感器获取所述水位线信息包括:In a possible implementation manner, the acquiring the water level information through the distance sensor of the swimming pool cleaning robot includes:
通过所述距离传感器向所述泳池清洁机器人的上方或下方发送探测信号;sending a detection signal above or below the swimming pool cleaning robot through the distance sensor;
接收所述探测信号对应的反射信号,所述反射信号是所述探测信号接触到所述水位线后进行反射的部分;receiving a reflection signal corresponding to the detection signal, where the reflection signal is a part reflected after the detection signal touches the water level line;
基于所述探测信号和所述反射信号,确定所述水位线信息,所述水位线信息包括所述探测信号在水中的传播速度,以及发送所述探测信号到接收到所述反射信号之间的时间差、所述探测信号和所述反射信号之间的相位差以及所述探测信号和所述反射信号之间的角度差中的任一项。Based on the detection signal and the reflection signal, determine the water level information, the water level information includes the propagation speed of the detection signal in water, and the time between sending the detection signal and receiving the reflection signal Any one of a time difference, a phase difference between the detection signal and the reflection signal, and an angle difference between the detection signal and the reflection signal.
在一种可能的实施方式中,所述基于所述水位线信息,确定所述泳池清洁机器人与所述水位线之间的距离包括:In a possible implementation manner, the determining the distance between the swimming pool cleaning robot and the water level based on the water level information includes:
基于发送所述探测信号到接收到所述反射信号之间的时间差、所述探测信号和所述反射信号之间的相位差以及所述探测信号和所述反射信号之间的角度差中的任一项,以及所述探测信号在水中的传播速度,确定所述泳池清洁机器人与所述水位线之间的距离。Based on any of the time difference between sending the detection signal and receiving the reflection signal, the phase difference between the detection signal and the reflection signal, and the angle difference between the detection signal and the reflection signal One term, and the propagation speed of the detection signal in the water, determine the distance between the swimming pool cleaning robot and the water level.
在一种可能的实施方式中,所述通过所述泳池清洁机器人的距离传感器获取所述水位线信息包括:In a possible implementation manner, the acquiring the water level information through the distance sensor of the swimming pool cleaning robot includes:
通过所述距离传感器采集所述泳池清洁机器人上方或下方的图像;collecting images above or below the swimming pool cleaning robot through the distance sensor;
对所述图像进行图像识别,得到所述水位线信息,所述水位线信息包括所述图像中所述水位线的位置。Image recognition is performed on the image to obtain the water level information, and the water level information includes the position of the water level in the image.
在一种可能的实施方式中,所述基于所述水位线信息,确定所述泳池清洁机器人与所述水位线之间的距离包括:In a possible implementation manner, the determining the distance between the swimming pool cleaning robot and the water level based on the water level information includes:
利用小孔成像原理对所述图像中所述水位线的位置进行坐标转换,确定所述泳池清洁机器人与所述水位线之间的距离。Coordinate transformation is performed on the position of the water level in the image by using the principle of pinhole imaging to determine the distance between the swimming pool cleaning robot and the water level.
在一种可能的实施方式中,所述通过所述泳池清洁机器人的液体深度传感器获取所述水位线信息包括:In a possible implementation manner, the acquiring the water level information through the liquid depth sensor of the swimming pool cleaning robot includes:
通过所述液体深度传感器采集所述泳池清洁机器人周围的压力;collecting the pressure around the swimming pool cleaning robot through the liquid depth sensor;
基于所述泳池清洁机器人周围的压力,确定所述水位线信息,所述水位线信息包括所述泳池清洁机器人在所述泳池中的深度。The water level information is determined based on pressure around the pool cleaning robot, the water level information including a depth of the pool cleaning robot in the pool.
在一种可能的实施方式中,所述基于所述水位线信息,确定所述泳池清洁机器人与所述水位线之间的距离包括:In a possible implementation manner, the determining the distance between the swimming pool cleaning robot and the water level based on the water level information includes:
基于所述泳池清洁机器人在所述泳池中的深度,确定所述泳池清洁机器人与所述水位线之间的距离。A distance between the pool cleaning robot and the water line is determined based on the depth of the pool cleaning robot in the pool.
在一种可能的实施方式中,所述通过所述泳池清洁机器人的信号接收传感器获取所述水位线信息包括:In a possible implementation manner, the acquiring the water level information through the signal receiving sensor of the swimming pool cleaning robot includes:
通过所述信号接收传感器接收目标信号,所述目标信号的信号强度与所述泳池清洁机器人在所述泳池中的深度负相关;receiving a target signal through the signal receiving sensor, the signal strength of the target signal is negatively correlated with the depth of the swimming pool cleaning robot in the swimming pool;
基于所述目标信号,确定所述水位线信息,所述水位线信息包括所述目标信号的信号强度。Based on the target signal, the water level information is determined, the water level information including the signal strength of the target signal.
在一种可能的实施方式中,所述基于所述水位线信息,确定所述泳池清洁机器人与所述水位线之间的距离包括:In a possible implementation manner, the determining the distance between the swimming pool cleaning robot and the water level based on the water level information includes:
基于所述目标信号的信号强度,确定所述泳池清洁机器人与所述水位线之间的距离。Based on the signal strength of the target signal, the distance between the swimming pool cleaning robot and the water level is determined.
在一种可能的实施方式中,所述基于所述泳池清洁机器人与所述水位线之间的距离,控制所述泳池清洁机器人包括下述任一项:In a possible implementation manner, the controlling the swimming pool cleaning robot based on the distance between the swimming pool cleaning robot and the water level line includes any of the following:
基于所述泳池清洁机器人与所述水位线之间的距离,控制所述泳池清洁机器人移动至所述水位线;controlling the swimming pool cleaning robot to move to the water level based on the distance between the swimming pool cleaning robot and the water level;
基于所述泳池清洁机器人与所述水位线之间的距离,控制所述泳池清洁机器人移动至所述水位线上方或下方的目标位置。Based on the distance between the swimming pool cleaning robot and the water level, the swimming pool cleaning robot is controlled to move to a target position above or below the water level.
在一种可能的实施方式中,所述基于所述泳池清洁机器人与所述水位线之间的距离,控制所述泳池清洁机器人移动至所述水位线包括:In a possible implementation manner, the controlling the swimming pool cleaning robot to move to the water level based on the distance between the swimming pool cleaning robot and the water level includes:
基于所述泳池清洁机器人与所述水位线之间的距离,控制所述泳池清洁机器人向上方或下方移动;controlling the swimming pool cleaning robot to move upward or downward based on the distance between the swimming pool cleaning robot and the water level;
在通过所述水位线探测传感器重新检测到的水位线信息符合目标条件的情况下,确定所述泳池清洁机器人移动至所述水位线;If the water level information re-detected by the water level detection sensor meets the target condition, it is determined that the swimming pool cleaning robot moves to the water level;
控制所述泳池清洁机器人停止移动。Control the swimming pool cleaning robot to stop moving.
在一种可能的实施方式中,所述水位线探测传感器重新检测到的水位线信息符合目标条件是指下述任一项:In a possible implementation manner, the water level information re-detected by the water level detection sensor meets the target condition refers to any of the following:
所述重新检测到的水位线信息指示所述泳池清洁机器人与所述水位线之间的距离小于或等于第一距离阈值;The re-detected water level information indicates that the distance between the swimming pool cleaning robot and the water level is less than or equal to a first distance threshold;
所述重新检测到的水位线信息指示所述泳池清洁机器人周围的压力小于或等于压力阈值;The re-detected water level information indicates that the pressure around the swimming pool cleaning robot is less than or equal to a pressure threshold;
所述重新检测到的水位线信息指示接收到的目标信号的信号强度大于或等于信号强度阈值,所述目标信号的信号强度与所述泳池清洁机器人在所述泳池中的深度负相关。The re-detected water level information indicates that the signal strength of the received target signal is greater than or equal to a signal strength threshold, and the signal strength of the target signal is negatively correlated with the depth of the swimming pool cleaning robot in the swimming pool.
在一种可能的实施方式中,所述基于所述泳池清洁机器人与所述水位线之间的距离,控制所述泳池清洁机器人移动至所述水位线上方或下方的目标位置包括:In a possible implementation manner, the controlling the swimming pool cleaning robot to move to a target position above or below the water level based on the distance between the swimming pool cleaning robot and the water level line includes:
基于所述泳池清洁机器人与所述水位线之间的距离,确定所述泳池清洁机器人与所述目标位置之间的距离;determining a distance between the pool cleaning robot and the target location based on a distance between the pool cleaning robot and the water line;
基于所述泳池清洁机器人与所述目标位置之间的距离,控制所述泳池清洁机器人向上方或下方移动;controlling the pool cleaning robot to move up or down based on the distance between the pool cleaning robot and the target location;
在所述泳池清洁机器人与所述目标位置之间的距离小于或等于第二距离阈值的情况下,确定所述泳池清洁机器人移动至所述目标位置;determining that the pool cleaning robot is moving to the target location if the distance between the pool cleaning robot and the target location is less than or equal to a second distance threshold;
控制所述泳池清洁机器人停止移动。Control the swimming pool cleaning robot to stop moving.
一方面,提供了一种水位线信息的获取装置,所述装置包括:In one aspect, a device for acquiring water level information is provided, the device comprising:
水位线信息获取模块,用于通过泳池清洁机器人的水位线探测传感器获取水位线信息,所述泳池清洁机器人在泳池的池壁上或池底进行移动,所述水位线信息用于表示所述泳池清洁机器人与所述水位线的相对位置;The water level information acquisition module is used to acquire water level information through the water level detection sensor of the swimming pool cleaning robot. The swimming pool cleaning robot moves on the pool wall or the pool bottom of the swimming pool. The water level information is used to represent the The relative position of the cleaning robot to the water level;
距离确定模块,用于基于所述水位线信息,确定所述泳池清洁机器人与所述水位线之间的距离;A distance determination module, configured to determine the distance between the swimming pool cleaning robot and the water level based on the water level information;
控制模块,用于基于所述泳池清洁机器人与所述水位线之间的距离,控制所述泳池清洁机器人。A control module for controlling the swimming pool cleaning robot based on the distance between the swimming pool cleaning robot and the water level.
在一种可能的实施方式中,所述水位线信息获取模块,用于执行下述任一项:In a possible implementation manner, the water level information acquisition module is configured to perform any of the following:
通过所述泳池清洁机器人的距离传感器获取所述水位线信息;Obtaining the water level information through the distance sensor of the swimming pool cleaning robot;
通过所述泳池清洁机器人的液体深度传感器获取所述水位线信息;Obtain the water level information through the liquid depth sensor of the swimming pool cleaning robot;
通过所述泳池清洁机器人的信号接收传感器获取所述水位线信息。The water level information is acquired through the signal receiving sensor of the swimming pool cleaning robot.
在一种可能的实施方式中,所述水位线信息获取模块,用于通过所述距离传感器向所述泳池清洁机器人的上方或下方发送探测信号;接收所述探测信号对应的反射信号,所述反射信号是所述探测信号接触到所述水位线后进行反射的部分;基于所述探测信号和所述反射信号,确定所述水位线信息,所述水位线信息包括所述探测信号在水中的传播速度,以及发送所述探测信号到接收到所述反射信号之间的时间差、所述探测信号和所述反射信号之间的相位差以及所述探测信号和所述反射信号之间的角度差中的任一项。In a possible implementation manner, the water level information acquisition module is configured to send a detection signal above or below the swimming pool cleaning robot through the distance sensor; receive a reflection signal corresponding to the detection signal, and the The reflection signal is the part reflected after the detection signal touches the water level; based on the detection signal and the reflection signal, the water level information is determined, and the water level information includes the detection signal in the water. Propagation speed, and the time difference between sending the detection signal and receiving the reflection signal, the phase difference between the detection signal and the reflection signal, and the angle difference between the detection signal and the reflection signal any of the .
在一种可能的实施方式中,所述距离确定模块,用于基于发送所述探测信号到接收到所述反射信号之间的时间差、所述探测信号和所述反射信号之间的相位差以及所述探测信号和所述反射信号之间的角度差中的任一项,以及所述探测信号在水中的传播速度,确定所述泳池清洁机器人与所述水位线之间的距离。In a possible implementation manner, the distance determination module is configured to be based on a time difference between sending the detection signal and receiving the reflection signal, a phase difference between the detection signal and the reflection signal, and Either of the angle difference between the detection signal and the reflection signal, and the propagation speed of the detection signal in the water, determine the distance between the swimming pool cleaning robot and the water level.
在一种可能的实施方式中,所述水位线信息获取模块,用于通过所述距离传感器采集所述泳池清洁机器人上方或下方的图像;对所述图像进行图像识别,得到所述水位线信息,所述水位线信息包括所述图像中所述水位线的位置。In a possible implementation manner, the water level information acquisition module is configured to collect an image above or below the swimming pool cleaning robot through the distance sensor; perform image recognition on the image to obtain the water level information , the water level information includes the position of the water level in the image.
在一种可能的实施方式中,所述距离确定模块,用于利用小孔成像原理对所述图像中所述水位线的位置进行坐标转换,确定所述泳池清洁机器人与所述水位线之间的距离。In a possible implementation manner, the distance determination module is configured to perform coordinate transformation on the position of the water level line in the image using the principle of pinhole imaging, and determine the distance between the swimming pool cleaning robot and the water level line. distance.
在一种可能的实施方式中,所述水位线信息获取模块,用于通过所述液体深度传感器采集所述泳池清洁机器人周围的压力;基于所述泳池清洁机器人周围的压力,确定所述水位线信息,所述水位线信息包括所述泳池清洁机器人在所述泳池中的深度。In a possible implementation manner, the water level information acquisition module is configured to collect the pressure around the swimming pool cleaning robot through the liquid depth sensor; determine the water level based on the pressure around the swimming pool cleaning robot Information, the water level information includes the depth of the swimming pool cleaning robot in the swimming pool.
在一种可能的实施方式中,所述距离确定模块,用于基于所述泳池清洁机器人在所述泳池中的深度,确定所述泳池清洁机器人与所述水位线之间的距离。In a possible implementation manner, the distance determination module is configured to determine the distance between the swimming pool cleaning robot and the water level line based on the depth of the swimming pool cleaning robot in the swimming pool.
在一种可能的实施方式中,所述水位线信息获取模块,用于通过所述信号接收传感器接收目标信号,所述目标信号的信号强度与所述泳池清洁机器人在所述泳池中的深度负相关;基于所述目标信号,确定所述水位线信息,所述水位线信息包括所述目标信号的信号强度。In a possible implementation manner, the water level information acquisition module is configured to receive a target signal through the signal receiving sensor, and the signal strength of the target signal is negatively related to the depth of the swimming pool cleaning robot in the swimming pool. Correlating: determining the water level information based on the target signal, the water level information including the signal strength of the target signal.
在一种可能的实施方式中,所述距离确定模块,用于基于所述目标信号的信号强度,确定所述泳池清洁机器人与所述水位线之间的距离。In a possible implementation manner, the distance determining module is configured to determine the distance between the swimming pool cleaning robot and the water level line based on the signal strength of the target signal.
在一种可能的实施方式中,所述控制模块,用于执行下述任一项:In a possible implementation manner, the control module is configured to perform any of the following:
基于所述泳池清洁机器人与所述水位线之间的距离,控制所述泳池清洁机器人移动至所述水位线;controlling the swimming pool cleaning robot to move to the water level based on the distance between the swimming pool cleaning robot and the water level;
基于所述泳池清洁机器人与所述水位线之间的距离,控制所述泳池清洁机器人移动至所述水位线上方或下方的目标位置。Based on the distance between the swimming pool cleaning robot and the water level, the swimming pool cleaning robot is controlled to move to a target position above or below the water level.
在一种可能的实施方式中,所述控制模块,用于基于所述泳池清洁机器人与所述水位线之间的距离,控制所述泳池清洁机器人向上方或下方移动;In a possible implementation manner, the control module is configured to control the swimming pool cleaning robot to move upward or downward based on the distance between the swimming pool cleaning robot and the water level;
在通过所述水位线探测传感器重新检测到的水位线信息符合目标条件的情况下,确定所述泳池清洁机器人移动至所述水位线;If the water level information re-detected by the water level detection sensor meets the target condition, it is determined that the swimming pool cleaning robot moves to the water level;
控制所述泳池清洁机器人停止移动。Control the swimming pool cleaning robot to stop moving.
在一种可能的实施方式中,所述水位线探测传感器重新检测到的水位线信息符合目标条件是指下述任一项:In a possible implementation manner, the water level information re-detected by the water level detection sensor meets the target condition refers to any of the following:
所述重新检测到的水位线信息指示所述泳池清洁机器人与所述水位线之间的距离小于或等于第一距离阈值;The re-detected water level information indicates that the distance between the swimming pool cleaning robot and the water level is less than or equal to a first distance threshold;
所述重新检测到的水位线信息指示所述泳池清洁机器人周围的压力小于或等于压力阈值;The re-detected water level information indicates that the pressure around the swimming pool cleaning robot is less than or equal to a pressure threshold;
所述重新检测到的水位线信息指示接收到的目标信号的信号强度大于或等于信号强度阈值,所述目标信号的信号强度与所述泳池清洁机器人在所述泳池中的深度负相关。The re-detected water level information indicates that the signal strength of the received target signal is greater than or equal to a signal strength threshold, and the signal strength of the target signal is negatively correlated with the depth of the swimming pool cleaning robot in the swimming pool.
在一种可能的实施方式中,所述控制模块,用于基于所述泳池清洁机器人与所述水位线之间的距离,确定所述泳池清洁机器人与所述目标位置之间的距离;基于所述泳池清洁机器人与所述目标位置之间的距离,控制所述泳池清洁机器人向上方或下方移动;在所述泳池清洁机器人与所述目标位置之间的距离小于或等于第二距离阈值的情况下,确定所述泳池清洁机器人移动至所述目标位置;控制所述泳池清洁机器人停止移动。In a possible implementation manner, the control module is configured to determine the distance between the swimming pool cleaning robot and the target position based on the distance between the swimming pool cleaning robot and the water level line; the distance between the swimming pool cleaning robot and the target position, and control the swimming pool cleaning robot to move upward or downward; when the distance between the swimming pool cleaning robot and the target position is less than or equal to the second distance threshold Next, it is determined that the swimming pool cleaning robot moves to the target position; and the swimming pool cleaning robot is controlled to stop moving.
一方面,提供了一种泳池清洁机器人,所述泳池清洁机器人包括机器人控制器,所述机器人控制器包括一个或多个处理器和一个或多个存储器,所述一个或多个存储器中存储有至少一条计算机程序,所述计算机程序由所述一个或多个处理器加载并执行以实现所述水位线信息的获取方法。In one aspect, a swimming pool cleaning robot is provided that includes a robot controller that includes one or more processors and one or more memories, the one or more memories storing At least one computer program, the computer program is loaded and executed by the one or more processors to implement the method for obtaining the water level information.
一方面,提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有至少一条计算机程序,所述计算机程序由处理器加载并执行以实现所述水位线信息的获取方法。In one aspect, a computer-readable storage medium is provided, wherein at least one computer program is stored in the computer-readable storage medium, and the computer program is loaded and executed by a processor to realize the method for obtaining the water level information.
一方面,提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括程序代码,该程序代码存储在计算机可读存储介质中,机器人控制器的处理器从计算机可读存储介质读取该程序代码,处理器执行该程序代码,使得该机器人控制器执行上述水位线信息的获取方法。In one aspect, a computer program product or computer program is provided, the computer program product or computer program includes program code stored in a computer-readable storage medium, from which a processor of a robot controller reads The program code is fetched, and the processor executes the program code, so that the robot controller executes the above-mentioned method for obtaining water level information.
通过本申请实施例提供的技术方案,通过泳池清洁机器人的水位线探测传感器获取水位线信息,该水位线信息能够表示该泳池清洁机器人与泳池的水位线的远近。基于水位线信息,能够确定泳池清洁机器人与水位线之间的距离。基于该泳池清洁机器人与该水位线之间的距离,能够控制该泳池清洁机机器人,也即是能够以水位线为参考继续控制该泳池清洁机器人,实现对水位线的识别。Through the technical solutions provided by the embodiments of the present application, the water level information of the swimming pool cleaning robot is obtained through the water level detection sensor, and the water level information can indicate the distance between the swimming pool cleaning robot and the water level of the swimming pool. Based on the water level information, the distance between the pool cleaning robot and the water level can be determined. Based on the distance between the swimming pool cleaning robot and the water level, the swimming pool cleaning robot can be controlled, that is, the swimming pool cleaning robot can be continuously controlled with the water level as a reference, so as to realize the identification of the water level.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单的介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can also be obtained based on these drawings without creative effort.
图1是本申请实施例提供的一种泳池池壁上的泳池清洁机器人的示意图;Fig. 1 is a schematic diagram of a swimming pool cleaning robot on a swimming pool wall provided by an embodiment of the present application;
图2是本申请实施例提供的一种水位线信息的获取方法的流程图;FIG. 2 is a flow chart of a method for obtaining water level information provided in an embodiment of the present application;
图3是本申请实施例提供的一种水位线信息的获取方法的流程图;3 is a flow chart of a method for obtaining water level information provided in an embodiment of the present application;
图4是本申请实施例提供的一种水位线信息的获取装置的结构示意图;Fig. 4 is a schematic structural diagram of a device for acquiring water level information provided by an embodiment of the present application;
图5是本申请实施例提供的一种机器人控制器的结构示意图。Fig. 5 is a schematic structural diagram of a robot controller provided by an embodiment of the present application.
具体实施方式Detailed ways
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式做进一步的详细描述。In order to make the purpose, technical solution and advantages of the present application clearer, the implementation manners of the present application will be further described in detail below in conjunction with the accompanying drawings.
本申请中术语“第一”“第二”等字样用于对作用和功能基本相同的相同项或相似项进行区分,应理解,“第一”、“第二”、“第n”之间不具有逻辑或时序上的依赖关系,也不对数量和执行顺序进行限定。In this application, the terms "first" and "second" are used to distinguish the same or similar items with basically the same function and function. It should be understood that "first", "second" and "nth" There are no logical or timing dependencies, nor are there restrictions on quantity or order of execution.
路径规划:路径规划是运动规划的主要研究内容之一。运动规划由路径规划和轨迹规划组成,连接起点位置和终点位置的序列点或曲线称之为路径,构成路径的策略称之为路径规划。在本申请实施例中,对泳池清洁机器人进行的路径规划也即是对泳池清洁机器人的清洁路径进行规划。Path planning: Path planning is one of the main research contents of motion planning. Motion planning consists of path planning and trajectory planning. The sequence of points or curves connecting the starting point and the end point is called a path, and the strategy that forms the path is called path planning. In the embodiment of the present application, the path planning of the swimming pool cleaning robot is planning the cleaning path of the swimming pool cleaning robot.
泳池清洁机器人:用于清洁泳池的机器人,其中,清洁泳池包括清洁泳池的底部以及清洁泳池的池壁。Pool cleaning robot: a robot for cleaning a pool, wherein cleaning the pool includes cleaning the bottom of the pool and cleaning the walls of the pool.
本申请实施例提供的技术方案能够应用在控制泳池清洁机器人清洁泳池的池壁的场景下,参见图1,泳池清洁机器人100具有爬壁功能,能够附着在泳池的池壁101上。该泳池清洁机器100人能够在机器人控制器的控制下在该泳池的池壁101上进行移动。比如,该泳池清洁机器人100能够在该泳池的池壁101上沿池壁向上移动,也能够在该泳池的池壁101上沿池壁向下移动,还能够在该泳池的池壁101上沿池壁向左或者向右移动,还能够在该泳池的池壁101上进行旋转等,本申请实施例对于该泳池清洁机器人在该池壁101上的运动方式不作限定。在本申请实施例中,该泳池清洁机器人100位于泳池的水位线102的下方。The technical solution provided by the embodiment of the present application can be applied in the scenario of controlling a swimming pool cleaning robot to clean the pool wall of the swimming pool. Referring to FIG. 1 , the swimming
或者,该泳池清洁机器人还可以位于泳池的底部,从而对该泳池的底部进行清洁,本申请实施例对于该泳池清洁机器人的位置不作限定。Or, the swimming pool cleaning robot can also be located at the bottom of the swimming pool, so as to clean the bottom of the swimming pool. The embodiment of the present application does not limit the location of the swimming pool cleaning robot.
下面对本申请实施例提供的技术方案进行说明,图2是本申请实施例提供的一种水位线信息的获取方法的流程图,参见图2,以执行主体为机器人控制器为例,方法包括下述步骤。The technical solution provided by the embodiment of the present application is described below. Fig. 2 is a flowchart of a method for obtaining water level information provided by the embodiment of the present application. Referring to Fig. 2, taking the execution subject as a robot controller as an example, the method includes the following steps described above.
201、机器人控制器通过泳池清洁机器人的水位线探测传感器获取水位线信息,该泳池清洁机器人在泳池的池壁上或池底进行移动,该水位线信息用于表示该泳池清洁机器人与该水位线的相对位置。201. The robot controller obtains the water level information through the water level detection sensor of the swimming pool cleaning robot. The swimming pool cleaning robot moves on the pool wall or the bottom of the swimming pool. The water level information is used to indicate the relationship between the swimming pool cleaning robot and the water level line. relative position.
其中,以该泳池清洁机器人在池壁上进行移动为例,该泳池清洁机器人吸附在泳池的池壁上,该泳池清洁机器人能够在该泳池的池壁上进行移动。该泳池清洁机器人上安装有水位线探测传感器,该水位线探测传感器用于采集与该泳池的水位线相关的信息。机器人控制器通过该水位线探测传感器能够获取水位线信息,该水位线信息能够反映该泳池清洁机器人与该水位线的相对位置。该水位线探测传感器根据类型的不同可以安装在该泳池清洁机器人的不同位置上,在此不再赘述。该泳池清洁机器人位于该泳池的水位线下方是指该泳池清洁机器人处于该泳池的液体内。Wherein, taking the swimming pool cleaning robot moving on the pool wall as an example, the swimming pool cleaning robot is adsorbed on the pool wall of the swimming pool, and the swimming pool cleaning robot can move on the pool wall of the swimming pool. A water level detection sensor is installed on the swimming pool cleaning robot, and the water level detection sensor is used to collect information related to the water level of the swimming pool. The robot controller can acquire water level information through the water level detection sensor, and the water level information can reflect the relative position of the swimming pool cleaning robot and the water level. The water level detection sensor can be installed at different positions of the swimming pool cleaning robot according to different types, and details will not be repeated here. The swimming pool cleaning robot is located below the water level of the swimming pool means that the swimming pool cleaning robot is in the liquid of the swimming pool.
202、机器人控制器基于该水位线信息,确定该泳池清洁机器人与该水位线之间的距离。202. The robot controller determines the distance between the swimming pool cleaning robot and the water level based on the water level information.
其中,由于该水位线信息能够表示该泳池清洁机器人与该水位线之间的相对位置,机器人控制器能够进一步根据该水位线信息来确定该泳池清洁机器人与该水位线之间的距离。Wherein, since the water level information can indicate the relative position between the swimming pool cleaning robot and the water level, the robot controller can further determine the distance between the swimming pool cleaning robot and the water level according to the water level information.
203、机器人控制器基于该泳池清洁机器人与该水位线之间的距离,控制该泳池清洁机器人。203. The robot controller controls the swimming pool cleaning robot based on the distance between the swimming pool cleaning robot and the water level.
其中,该泳池清洁机器人的底部配置有行走单元,机器人控制器通过驱动该行走单元能够控制该泳池清洁机器人在该泳池的池壁上进行移动和旋转。在步骤203中,机器人控制器能够通过该行走单元来控制该泳池清洁机器人。控制该泳池清洁机器人包括控制该泳池清洁机器人移动至水位线以及控制该泳池清洁机器人移动至水位线上方或下方的目标位置。Wherein, the bottom of the swimming pool cleaning robot is equipped with a walking unit, and the robot controller can control the swimming pool cleaning robot to move and rotate on the pool wall of the swimming pool by driving the walking unit. In
在一些实施例中,该泳池清洁机器人的底部还配置有清洁单元,通过该清洁单元能够实现对该泳池的池壁进行清洁。在一些实施例中,该清洁单元包括滚刷,通过滚刷的转动能够实现对池壁的清洁。或者,在该清洁单元不包括滚刷的情况下,泳池清洁机通过内部驱动装置和过滤装置,将池水过滤后排出来实现对池壁的清洁。当然,该清洁单元也可以同时包括滚刷和喷水口,本申请实施例对此不作限定。In some embodiments, the bottom of the swimming pool cleaning robot is further equipped with a cleaning unit, through which the pool wall of the swimming pool can be cleaned. In some embodiments, the cleaning unit includes a roller brush, and the pool wall can be cleaned by rotating the roller brush. Alternatively, in the case that the cleaning unit does not include a rolling brush, the swimming pool cleaning machine uses an internal driving device and a filtering device to filter the pool water and discharge it to clean the pool wall. Certainly, the cleaning unit may also include a rolling brush and a water spray port at the same time, which is not limited in this embodiment of the present application.
另外,该泳池清洁机器人的清洁功能在移动过程中既可以启动也可以不启动,该泳池清洁机器人的清洁功能在移动过程中启动是指,该泳池清洁机器人能够在移动的过程中启动清洁功能,从而实现对该池壁上经过的位置进行清洁。In addition, the cleaning function of the swimming pool cleaning robot can be started or not started during the moving process, the cleaning function of the swimming pool cleaning robot is started during the moving process means that the swimming pool cleaning robot can start the cleaning function during the moving process, In this way, the passing position on the pool wall is cleaned.
通过本申请实施例提供的技术方案,通过泳池清洁机器人的水位线探测传感器获取水位线信息,该水位线信息能够表示该泳池清洁机器人与泳池的水位线的远近。基于水位线信息,能够确定泳池清洁机器人与水位线之间的距离。基于该泳池清洁机器人与该水位线之间的距离,能够控制该泳池清洁机机器人,也即是能够以水位线为参考继续控制该泳池清洁机器人,实现对水位线的识别。Through the technical solutions provided by the embodiments of the present application, the water level information of the swimming pool cleaning robot is obtained through the water level detection sensor, and the water level information can indicate the distance between the swimming pool cleaning robot and the water level of the swimming pool. Based on the water level information, the distance between the pool cleaning robot and the water level can be determined. Based on the distance between the swimming pool cleaning robot and the water level, the swimming pool cleaning robot can be controlled, that is, the swimming pool cleaning robot can be continuously controlled with the water level as a reference, so as to realize the identification of the water level.
需要说明的是,上述步骤201-203是对本申请实施例提供的技术方案的简单介绍,下面将结合一些例子,对本申请实施例提供的技术方案进行较为详细的说明,参见图3,以执行主体为机器人控制器为例,方法包括下述步骤。It should be noted that the above-mentioned steps 201-203 are a brief introduction to the technical solution provided by the embodiment of the present application. The technical solution provided by the embodiment of the present application will be described in more detail below in conjunction with some examples. See Figure 3 to execute the main body Taking a robot controller as an example, the method includes the following steps.
301、机器人控制器通过泳池清洁机器人的水位线探测传感器获取水位线信息,该泳池清洁机器人在泳池的池壁上或池底进行移动,该水位线信息用于表示该泳池清洁机器人与该水位线的相对位置。301. The robot controller obtains the water level information through the water level detection sensor of the swimming pool cleaning robot. The swimming pool cleaning robot moves on the pool wall or the bottom of the swimming pool. The water level information is used to indicate the relationship between the swimming pool cleaning robot and the water level line. relative position.
其中,以该泳池清洁机器人在池壁上进行移动为例,该泳池清洁机器人吸附在泳池的池壁上,该泳池清洁机器人能够在该泳池的池壁上进行移动。该泳池清洁机器人上安装有水位线探测传感器,该水位线探测传感器用于采集与该泳池的水位线相关的信息。机器人控制器通过该水位线探测传感器能够获取水位线信息,该水位线信息能够反映该泳池清洁机器人与该水位线的相对位置。该水位线探测传感器根据类型的不同可以安装在该泳池清洁机器人的不同位置上,在此不再赘述。该泳池清洁机器人位于该泳池的水位线下方是指该泳池清洁机器人处于该泳池的液体内。Wherein, taking the swimming pool cleaning robot moving on the pool wall as an example, the swimming pool cleaning robot is adsorbed on the pool wall of the swimming pool, and the swimming pool cleaning robot can move on the pool wall of the swimming pool. A water level detection sensor is installed on the swimming pool cleaning robot, and the water level detection sensor is used to collect information related to the water level of the swimming pool. The robot controller can acquire water level information through the water level detection sensor, and the water level information can reflect the relative position of the swimming pool cleaning robot and the water level. The water level detection sensor can be installed at different positions of the swimming pool cleaning robot according to different types, and details will not be repeated here. The swimming pool cleaning robot is located below the water level of the swimming pool means that the swimming pool cleaning robot is in the liquid of the swimming pool.
下面分别以该水位线探测传感器为不同冷的传感器对上述实施方式进行说明,首先以该水位线探测传感器为距离传感器为例进行说明。In the following, the above embodiments will be described by taking the water level detection sensor as a sensor of different cold temperatures, and firstly, the water level detection sensor will be described as a distance sensor as an example.
在一种可能的实施方式中,机器人控制器通过该泳池清洁机器人的距离传感器获取该水位线信息。In a possible implementation manner, the robot controller acquires the water level information through a distance sensor of the swimming pool cleaning robot.
其中,该距离传感器安装在该泳池清洁机器人的前方或上方,其中,前方是指该泳池清洁机器人前进方向的侧壁,上方是指该泳池清洁机器人的顶部。当然,在其他可能的实施方式中,该距离传感器也可以安装在该泳池清洁机器人的其他位置,本申请实施例对此不作限定。Wherein, the distance sensor is installed in front of or above the swimming pool cleaning robot, wherein the front refers to the side wall in the forward direction of the swimming pool cleaning robot, and the upper refers to the top of the swimming pool cleaning robot. Certainly, in other possible implementation manners, the distance sensor may also be installed at other positions of the swimming pool cleaning robot, which is not limited in this embodiment of the present application.
在这种实施方式下,机器人通过该距离传感器能够直接获取该泳池清洁机器人与该水位线之间的距离,从而后续能够基于该距离来控制该泳池清洁机器人,基于距离进行控制的效果更加直观,准确率较高。In this embodiment, the robot can directly obtain the distance between the swimming pool cleaning robot and the water level through the distance sensor, so that the swimming pool cleaning robot can be subsequently controlled based on the distance, and the effect of controlling based on the distance is more intuitive. Higher accuracy.
顾名思义,该距离传感器用于测量距离,在本申请实施例中,也即是用于测量该泳池清洁机器人与该泳池的水位线之间的距离,该泳池清洁机器人与该泳池的水位线之间的距离也即是该水位线信息。该距离传感器包括两种类型,第一种类型是通过波在水中的传播速度和传播时间来确定距离的传感器,第二种类型是通过图像来确定距离的传感器,下面将分别以该距离传感器为这两种类型的传感器为例进行说明。As the name implies, the distance sensor is used to measure the distance, in the embodiment of the present application, it is used to measure the distance between the swimming pool cleaning robot and the water level line of the swimming pool, and the distance between the swimming pool cleaning robot and the water level line of the swimming pool The distance is the water level information. The distance sensor includes two types. The first type is a sensor that determines the distance through the propagation speed and propagation time of waves in water, and the second type is a sensor that determines the distance through images. The following will use the distance sensor as These two types of sensors are described as examples.
例1、机器人控制器通过该距离传感器向该泳池清洁机器人的上方或下方发送探测信号。机器人控制器接收该探测信号对应的反射信号,该反射信号是该探测信号接触到该水位线后进行反射的部分。机器人控制器基于该探测信号和该反射信号,确定该水位线信息,该水位线信息包括该探测信号在水中的传播速度,以及发送该探测信号到接收到该反射信号之间的时间差、该探测信号和该反射信号之间的相位差以及该探测信号和该反射信号之间的角度差中的任一项。Example 1. The robot controller sends detection signals above or below the swimming pool cleaning robot through the distance sensor. The robot controller receives a reflection signal corresponding to the detection signal, and the reflection signal is a part reflected after the detection signal touches the water level line. The robot controller determines the water level information based on the detection signal and the reflection signal, the water level information includes the propagation speed of the detection signal in water, and the time difference between sending the detection signal and receiving the reflection signal, the detection Any of a phase difference between the signal and the reflected signal and an angular difference between the detection signal and the reflected signal.
其中,该距离传感器为上述第一种类型的传感器,该距离传感器为光学距离传感器(红外传感器或激光传感器)、声学距离传感器以及雷达中的任一项,相应地,该探测信号为光波(红外光或激光)、声波(超声波)以及雷达信号中的至少一项。当然,在其他可能的实施方式中,该距离传感器也还可以为其他类型的TOF(Time of Flight,飞行时间)传感器,本申请实施例对此不作限定。该距离传感器向该泳池清洁机器人的上方还是下方发送探测信号取决于该泳池清洁机器人位于水位线上方还是水位线下方的,在该泳池清洁机器人位于水位线下方的情况下,该距离传感器向该泳池清洁机器人的上方发送探测信号;在该泳池清洁机器人位于水位线上方的情况下,该距离传感器向该泳池清洁机器人的下方发送探测信号。在一些实施例中,确定泳池清洁机器人位于水位线上方还是水位线下方可以通过确定该泳池清洁机器人是否位于水中来实现,在该泳池清洁机器人位于水中的情况下,该泳池清洁机器人位于水位线下方;在泳池清洁机器人位于水外的情况下,该泳池清洁机器人位于水位线上方。Wherein, the distance sensor is the above-mentioned first type of sensor, and the distance sensor is any one of optical distance sensor (infrared sensor or laser sensor), acoustic distance sensor and radar, and correspondingly, the detection signal is light wave (infrared sensor or laser sensor). light or laser), sound waves (ultrasonic waves), and radar signals. Certainly, in other possible implementation manners, the distance sensor may also be another type of TOF (Time of Flight, time of flight) sensor, which is not limited in this embodiment of the present application. The distance sensor sends a detection signal above or below the swimming pool cleaning robot depending on whether the swimming pool cleaning robot is above the water level or below the water level. A detection signal is sent from above the cleaning robot; when the swimming pool cleaning robot is above the water level, the distance sensor sends a detection signal to the bottom of the swimming pool cleaning robot. In some embodiments, determining whether the pool cleaning robot is above or below the water line may be accomplished by determining whether the pool cleaning robot is in the water, and if the pool cleaning robot is in the water, the pool cleaning robot is below the water line ; where the pool cleaning robot is outside the water, the pool cleaning robot is above the water line.
在一种可能的实施方式中,以该泳池清洁机器人位于水位线下方为例,机器人控制器调整该泳池清洁机器人的朝向,以使得该泳池清洁机器人上的距离传感器的信号发射方向变为沿池壁向上。机器人控制器向该距离传感器发送探测信号发送指令,该探测信号发送指令用于指示该距离传感器发送探测信号。或者,在该距离传感器的信号发射方向能够调整的情况下,机器人控制器也能够向该距离传感器发送方向调整指令,该方向调整指令用于指示该距离传感器将探测信号的发送方向调整为沿池壁向上。在该距离传感器将探测信号的发送方向调整为沿池壁向上的情况下,机器人控制器向该距离传感器发送探测信号发送指令,该探测信号发送指令用于指示该距离传感器发送探测信号。该距离传感器接收该探测信号发送指令,响应于该探测信号发送指令,该距离传感器发送探测信号。该距离传感器接收该探测信号对应的反射信号,该反射信号是该探测信号接触到该水位线后进行反射的部分,发射信号的产生原理是水位线是液体和气体的交界位置,探测信号达到水位线的情况下,一部分会发生折射,另一部分会发生反射,该反射信号也即是该发生反射的部分。机器人控制器基于该探测信号和该探测信号,确定该水位线信息,该水位线信息包括该探测信号在水中的传播速度,以及发送该探测信号到接收到该反射信号之间的时间差、该探测信号和该反射信号之间的相位差以及该探测信号和该反射信号之间的角度差中的任一项。In a possible implementation, taking the swimming pool cleaning robot below the water level as an example, the robot controller adjusts the orientation of the swimming pool cleaning robot so that the signal transmission direction of the distance sensor on the swimming pool cleaning robot becomes along the pool. wall up. The robot controller sends a detection signal sending instruction to the distance sensor, and the detection signal sending instruction is used to instruct the distance sensor to send a detection signal. Or, in the case where the signal emission direction of the distance sensor can be adjusted, the robot controller can also send a direction adjustment instruction to the distance sensor, and the direction adjustment instruction is used to instruct the distance sensor to adjust the sending direction of the detection signal to be along the pool. wall up. When the distance sensor adjusts the sending direction of the detection signal to be upward along the pool wall, the robot controller sends a detection signal sending instruction to the distance sensor, and the detection signal sending instruction is used to instruct the distance sensor to send the detection signal. The distance sensor receives the detection signal sending instruction, and in response to the detection signal sending instruction, the distance sensor sends a detection signal. The distance sensor receives the reflection signal corresponding to the detection signal. The reflection signal is the part reflected after the detection signal touches the water level line. The principle of emission signal is that the water level line is the junction position between liquid and gas, and the detection signal reaches the water level In the case of a line, one part will be refracted and the other part will be reflected, and the reflected signal is also the part that should be reflected. The robot controller determines the water level information based on the detection signal and the detection signal, the water level information includes the propagation speed of the detection signal in water, and the time difference between sending the detection signal and receiving the reflected signal, the detection Any of a phase difference between the signal and the reflected signal and an angular difference between the detection signal and the reflected signal.
例2、机器人控制器通过该距离传感器采集该泳池清洁机器人上方或下方的图像。机器人控制器对该图像进行图像识别,得到该水位线信息,该水位线信息包括该图像中该水位线的位置。Example 2. The robot controller collects images above or below the swimming pool cleaning robot through the distance sensor. The robot controller performs image recognition on the image to obtain the water level information, and the water level information includes the position of the water level in the image.
其中,该距离传感器为上述第二种类型的传感器,该距离传感器为单目相机或者双目相机,本申请实施例对此不作限定。与上述例1同理,采集泳池清洁机器人上方还是下方的图像取决于该泳池清洁机器人位于水位线上方还是水位线下方。Wherein, the distance sensor is the above-mentioned second type of sensor, and the distance sensor is a monocular camera or a binocular camera, which is not limited in this embodiment of the present application. Similar to the above-mentioned example 1, whether the image above or below the swimming pool cleaning robot is collected depends on whether the swimming pool cleaning robot is located above or below the water level.
在一种可能的实施方式中,以该泳池清洁机器人位于水位线下方为例,机器人控制器调整该泳池清洁机器人的朝向,以使得该泳池清洁机器人上的距离传感器的图像采集方向变为沿池壁向上。机器人控制器向该距离传感器发送图像采集指令,该图像采集指令用于指示该距离传感器采集图像。或者,在该距离传感器的图像采集方向能够调整的情况下,机器人控制器也能够向该距离传感器发送方向调整指令,该方向调整指令用于指示该距离传感器将图像采集方向调整为沿池壁向上。在该距离传感器将图像采集方向调整为沿池壁向上的情况下,机器人控制器向该距离传感器发送图像采集指令,该图像采集指令用于指示该距离传感器采集图像。在该距离传感器为单目相机的情况下,机器人控制器利用小孔成像原理对该图像中该水位线的位置进行坐标转换,确定该泳池清洁机器人与该水位线之间的距离。其中,利用小孔成像原理对该图像中该水位线的位置进行坐标转换的方法是将该水位线在图像中的像素坐标转化为相机坐标系下的相机坐标,再将相机坐标转换为世界坐标,该水位线的世界坐标能够表示该水位线的位置,该水位线的世界坐标也即是该水位线信息。上述坐标转换过程依赖于对该单目相机的标定,对该单目相机进行标定的过程可以由技术人员提前完成。在该距离传感器为双目相机的情况下,该距离传感器能够拍摄到水位线在同一时间的两幅图像,该两幅图像是在不同角度下拍摄的,机器人传感器基于该两幅图像和双目相机的两个摄像头之间的相对位置,能够确定该水位线的位置,也即是确定该水位线信息。In a possible implementation, taking the swimming pool cleaning robot below the water level as an example, the robot controller adjusts the orientation of the swimming pool cleaning robot so that the image collection direction of the distance sensor on the swimming pool cleaning robot becomes along the pool. wall up. The robot controller sends an image acquisition instruction to the distance sensor, and the image acquisition instruction is used to instruct the distance sensor to acquire an image. Or, in the case that the image acquisition direction of the distance sensor can be adjusted, the robot controller can also send a direction adjustment instruction to the distance sensor, and the direction adjustment instruction is used to instruct the distance sensor to adjust the image acquisition direction to be upward along the pool wall . When the distance sensor adjusts the image collection direction to be upward along the pool wall, the robot controller sends an image collection instruction to the distance sensor, and the image collection instruction is used to instruct the distance sensor to collect images. In the case that the distance sensor is a monocular camera, the robot controller performs coordinate transformation on the position of the water level in the image by using the principle of pinhole imaging to determine the distance between the swimming pool cleaning robot and the water level. Among them, the method of coordinate transformation of the position of the water level line in the image using the principle of pinhole imaging is to convert the pixel coordinates of the water level line in the image into the camera coordinates in the camera coordinate system, and then convert the camera coordinates into world coordinates , the world coordinate of the water level can represent the position of the water level, and the world coordinate of the water level is also the information of the water level. The above-mentioned coordinate conversion process depends on the calibration of the monocular camera, and the process of calibrating the monocular camera can be completed in advance by technicians. In the case that the distance sensor is a binocular camera, the distance sensor can capture two images of the water level at the same time, and the two images are taken at different angles. The robot sensor is based on the two images and the binocular The relative position between the two cameras of the camera can determine the position of the water level, that is, determine the information of the water level.
在以该水位线探测传感器为距离传感器为例进行说明之后,下面以该水位线探测传感器为液体深度传感器为例进行说明。After taking the water level detection sensor as a distance sensor as an example for description, the following description will be made by taking the water level detection sensor as a liquid depth sensor as an example.
在一种可能的实施方式中,机器人控制器通过该泳池清洁机器人的液体深度传感器获取该水位线信息。In a possible implementation manner, the robot controller obtains the water level information through the liquid depth sensor of the swimming pool cleaning robot.
其中,该液体深度传感器可以安装在该泳池清洁机器人上的任一位置,本申请实施例对此不作限定。Wherein, the liquid depth sensor can be installed at any position on the swimming pool cleaning robot, which is not limited in this embodiment of the present application.
在这种实施方式下,机器人控制器能够通过液体深度传感器来获取该泳池清洁机器人在液体中的深度,得到的该水位线信息也就能够表示该泳池清洁机器人在液体中的深度,后续能够基于该泳池清洁机器人在液体中的深度来进行控制。In this embodiment, the robot controller can obtain the depth of the swimming pool cleaning robot in the liquid through the liquid depth sensor, and the obtained water level information can also indicate the depth of the swimming pool cleaning robot in the liquid. The pool cleaning robot is controlled by the depth in the liquid.
举例来说,机器人控制器通过该液体深度传感器采集该泳池清洁机器人周围的压力。机器人控制器基于该泳池清洁机器人周围的压力,确定该水位线信息,该水位线信息包括该泳池清洁机器人在该泳池中的深度。其中,该泳池清洁机器人周围的压力既可以是水压,也可以是水压和大气压力之和,本申请实施例对此不作限定。该液体深度传感器采集该泳池清洁机器人周围的压力的原理是,该液体深度传感器能够将受到的压力转化为电信号,通过电信号就能够反推受到的压力。通过压力来确定深度的原理是,物体在液体中受到的压强与在液体中的深度正相关,物体在液体中的深度越深,那么物体受到的压强也就越大,根据压强公式,p=ρgh,p为压强,ρ为液体的密度,g为重力加速度,h为深度。而压力与压强也存在关系f=ps,f为压强,p为压强,s为受力面积(液体深度传感器的面积,已知量),该通过测量压力能够反推深度。For example, the robot controller collects the pressure around the swimming pool cleaning robot through the liquid depth sensor. The robot controller determines the water level information including the depth of the pool cleaning robot in the swimming pool based on the pressure around the pool cleaning robot. Wherein, the pressure around the swimming pool cleaning robot may be water pressure, or the sum of water pressure and atmospheric pressure, which is not limited in this embodiment of the present application. The principle of collecting the pressure around the swimming pool cleaning robot by the liquid depth sensor is that the liquid depth sensor can convert the received pressure into an electrical signal, and the received pressure can be reversed through the electrical signal. The principle of determining the depth by pressure is that the pressure on an object in a liquid is positively correlated with the depth in the liquid. The deeper the object is in the liquid, the greater the pressure on the object. According to the pressure formula, p= ρgh, p is the pressure, ρ is the density of the liquid, g is the acceleration of gravity, and h is the depth. There is also a relationship between pressure and pressure f=ps, where f is pressure, p is pressure, and s is the force-bearing area (the area of the liquid depth sensor, known quantity), which can reverse the depth by measuring the pressure.
在以该水位线探测传感器为液体深度传感器为例进行说明之后,下面以该水位线探测传感器为信号接收传感器为例进行说明。After taking the water level detection sensor as a liquid depth sensor as an example for description, the following description will be made by taking the water level detection sensor as a signal receiving sensor as an example.
在一种可能的实施方式中,机器人控制器通过该泳池清洁机器人的信号接收传感器获取该水位线信息。In a possible implementation manner, the robot controller acquires the water level information through a signal receiving sensor of the swimming pool cleaning robot.
其中,该信号接收传感器用于接收特定频率的目标信号,该目标信号的频率由技术人员根据实际情况进行设置,本申请实施例对此不作限定。该信号接收传感器可以安装在该泳池清洁机器人上的任一位置,本申请实施例对此不作限定。Wherein, the signal receiving sensor is used to receive a target signal of a specific frequency, and the frequency of the target signal is set by technicians according to actual conditions, which is not limited in this embodiment of the present application. The signal receiving sensor can be installed at any position on the swimming pool cleaning robot, which is not limited in this embodiment of the present application.
举例来说,机器人控制器通过该信号接收传感器接收目标信号,该目标信号的信号强度与该泳池清洁机器人在该泳池中的深度负相关。机器人控制器基于该目标信号,确定该水位线信息,该水位线信息包括该目标信号的信号强度。其中,该目标信号的发送装置位于该泳池的上方。该目标信号的信号强度与该泳池清洁机器人在该泳池清洁机器人在该泳池中的深度负相关是指,该泳池清洁机器人在该泳池中的深度越深,该信号接收传感器接收到该目标信号的信号强度也就越弱;该泳池清洁机器人在该泳池中的深度越浅,该信号接收传感器接收到该目标信号的信号强度也就越强。通过该目标信号的强度能够反推该泳池清洁机器人在液体中的深度。在一些实施例中,在该泳池清洁机器人进入液体后,该目标信号的信号强度也可能变为零。For example, the robot controller receives a target signal through the signal receiving sensor, and the signal strength of the target signal is negatively correlated with the depth of the swimming pool cleaning robot in the swimming pool. The robot controller determines the water level information based on the target signal, and the water level information includes the signal strength of the target signal. Wherein, the sending device of the target signal is located above the swimming pool. The negative correlation between the signal strength of the target signal and the depth of the swimming pool cleaning robot in the swimming pool means that the deeper the swimming pool cleaning robot is in the swimming pool, the signal receiving sensor receives the target signal. The signal strength is also weaker; the shallower the depth of the swimming pool cleaning robot in the swimming pool, the stronger the signal strength of the target signal received by the signal receiving sensor. The depth of the swimming pool cleaning robot in the liquid can be deduced from the strength of the target signal. In some embodiments, the signal strength of the target signal may also become zero after the pool cleaning robot enters the liquid.
302、机器人控制器基于该水位线信息,确定该泳池清洁机器人与该水位线之间的距离。302. The robot controller determines the distance between the swimming pool cleaning robot and the water level based on the water level information.
其中,由于该水位线信息能够表示该泳池清洁机器人与该水位线之间的相对位置,机器人控制器能够进一步根据该水位线信息来确定该泳池清洁机器人与该水位线之间的距离。Wherein, since the water level information can indicate the relative position between the swimming pool cleaning robot and the water level, the robot controller can further determine the distance between the swimming pool cleaning robot and the water level according to the water level information.
在一种可能的实施方式中,在该水位线探测传感器为距离传感器的情况下,机器人控制器基于发送该探测信号到接收到该反射信号之间的时间差、该探测信号和该反射信号之间的相位差以及该探测信号和该反射信号之间的角度差中的任一项,以及该探测信号在水中的传播速度,确定该泳池清洁机器人与该水位线之间的距离。In a possible implementation, when the water level detection sensor is a distance sensor, the robot controller is based on the time difference between sending the detection signal and receiving the reflection signal, and the time difference between the detection signal and the reflection signal. Any one of the phase difference of , the angle difference between the detection signal and the reflection signal, and the propagation speed of the detection signal in the water determine the distance between the swimming pool cleaning robot and the water level.
下面通过三个例子对上述实施方式进行说明。The above implementation manner will be described below through three examples.
例1、在该水位线探测传感器为距离传感器的情况下,机器人控制器基于发送该探测信号到接收到该反射信号之间的时间差以及该探测信号在水中的传播速度,确定该泳池清洁机器人与该水位线之间的距离。Example 1. In the case where the water level detection sensor is a distance sensor, the robot controller determines the distance between the swimming pool cleaning robot and the distance sensor based on the time difference between sending the detection signal and receiving the reflected signal and the propagation speed of the detection signal in water. The distance between the waterlines.
比如,在该水位线探测传感器为距离传感器的情况下,该距离传感器的探测信号发射装置和反射信号接收装置并排且相邻设置。机器人控制器将该时间差与该传播速度相乘后除以二,得到该泳池清洁机器人与该水位线之间的距离。For example, when the water level detection sensor is a distance sensor, the detection signal transmitting device and the reflected signal receiving device of the distance sensor are arranged side by side and adjacent to each other. The robot controller multiplies the time difference by the propagation speed and divides it by two to obtain the distance between the swimming pool cleaning robot and the water level.
例2、在该水位线探测传感器为距离传感器的情况下,机器人控制器基于该探测信号和该反射信号之间的相位差以及该探测信号在水中的传播速度,确定该泳池清洁机器人与该水位线之间的距离。Example 2. In the case where the water level detection sensor is a distance sensor, the robot controller determines the distance between the swimming pool cleaning robot and the water level based on the phase difference between the detection signal and the reflected signal and the propagation speed of the detection signal in water. distance between lines.
比如,在该水位线探测传感器为距离传感器的情况下,该距离传感器的探测信号发射装置和反射信号接收装置并排且相邻设置。机器人控制器基于该探测信号和该反射信号之间的相位差以及该探测信号的角频率,确定发送该探测信号到接收到该反射信号之间的时间差。机器人控制器将该时间差与该传播速度相乘后除以二,得到该泳池清洁机器人与该水位线之间的距离。For example, when the water level detection sensor is a distance sensor, the detection signal transmitting device and the reflected signal receiving device of the distance sensor are arranged side by side and adjacent to each other. The robot controller determines a time difference between sending the detection signal and receiving the reflection signal based on the phase difference between the detection signal and the reflection signal and the angular frequency of the detection signal. The robot controller multiplies the time difference by the propagation speed and divides it by two to obtain the distance between the swimming pool cleaning robot and the water level.
例3、在该水位线探测传感器为距离传感器的情况下,机器人控制器基于该探测信号和该反射信号之间的角度差以及该探测信号在水中的传播速度,确定该泳池清洁机器人与该水位线之间的距离。Example 3. In the case where the water level detection sensor is a distance sensor, the robot controller determines the distance between the swimming pool cleaning robot and the water level based on the angle difference between the detection signal and the reflected signal and the propagation speed of the detection signal in water. distance between lines.
比如,在该水位线探测传感器为距离传感器的情况下,该距离传感器的探测信号发射装置和反射信号接收装置并排且间隔一定距离设置。该探测信号发射装置为激光雷达,该反射信号接收装置为摄像头,该激光雷达射出的激光与该水位线呈一定的角度。该探测信号发射装置、该反射信号接收装置以及该水位线上的探测点组成一个三角形。机器人控制器基于三角测距原理,利用该角度差以及该探测信号在水中的传播速度,确定该泳池清洁机器人与该水位线之间的距离。For example, when the water level detection sensor is a distance sensor, the detection signal transmitting device and the reflection signal receiving device of the distance sensor are arranged side by side and at a certain distance. The detection signal transmitting device is a laser radar, and the reflection signal receiving device is a camera, and the laser emitted by the laser radar forms a certain angle with the water level line. The detection signal transmitting device, the reflection signal receiving device and the detection points on the water level form a triangle. The robot controller determines the distance between the swimming pool cleaning robot and the water level line by using the angle difference and the propagation speed of the detection signal in water based on the principle of triangulation distance measurement.
在一种可能的实施方式中,在该水位线探测传感器为液体深度传感器的情况下,机器人控制器基于该泳池清洁机器人在该泳池中的深度,确定该泳池清洁机器人与该水位线之间的距离。In a possible implementation, when the water level detection sensor is a liquid depth sensor, the robot controller determines the distance between the swimming pool cleaning robot and the water level based on the depth of the swimming pool cleaning robot in the swimming pool. distance.
其中,该泳池清洁机器人在该泳池中的深度也即是该泳池清洁机器人与该水位线之间的距离。Wherein, the depth of the swimming pool cleaning robot in the swimming pool is also the distance between the swimming pool cleaning robot and the water level.
在一种可能的实施方式中,在该水位线探测传感器为信号接收传感器的情况下,机器人控制器基于该目标信号的信号强度,确定该泳池清洁机器人与该水位线之间的距离。In a possible implementation, when the water level detection sensor is a signal receiving sensor, the robot controller determines the distance between the swimming pool cleaning robot and the water level based on the signal strength of the target signal.
举例来说,在该水位线探测传感器为信号接收传感器的情况下,机器人控制器基于该目标信号的信号强度,确定该泳池清洁机器人在该泳池中的深度。机器人控制器基于该泳池清洁机器人在该泳池中的深度,确定该泳池清洁机器人与该水位线之间的距离。For example, when the water level detection sensor is a signal receiving sensor, the robot controller determines the depth of the swimming pool cleaning robot in the swimming pool based on the signal strength of the target signal. A robot controller determines a distance between the pool cleaning robot and the water line based on the depth of the pool cleaning robot in the pool.
由于该目标信号的信号强度与该泳池清洁机器人在该泳池中的深度负相关,那么就能够基于该目标信号的信号强度来反推该泳池清洁机器人的深度,进而确定该泳池清洁机器人与该水位线之间的距离。Since the signal strength of the target signal is negatively correlated with the depth of the swimming pool cleaning robot in the swimming pool, the depth of the swimming pool cleaning robot can be deduced based on the signal strength of the target signal, and then the relationship between the swimming pool cleaning robot and the water level can be determined. distance between lines.
或者,在一些实施例中,该信号接收传感器在水下无法接收到该目标信号,在该信号接收传感器无法接收到该目标信号的情况下,确定该泳池清洁机器人位于该水位线下方,后续能够控制该泳池清洁机器人向上移动。在该泳池清洁机器人达到该水位线的情况下,该信号接收传感器能够接收到该目标信号。Or, in some embodiments, the signal receiving sensor cannot receive the target signal underwater, and when the signal receiving sensor cannot receive the target signal, it is determined that the swimming pool cleaning robot is located below the water level, and subsequently can Control the pool cleaning robot to move up. When the swimming pool cleaning robot reaches the water level, the signal receiving sensor can receive the target signal.
可选地,在步骤302之后,机器人控制器既能够执行下述步骤303-305,也能够执行下述步骤306,本申请实施例对此不作限定。Optionally, after
303、机器人控制器基于该泳池清洁机器人与该水位线之间的距离,控制该泳池清洁机器人向上方或下方移动。303. The robot controller controls the swimming pool cleaning robot to move upward or downward based on the distance between the swimming pool cleaning robot and the water level.
其中,该泳池清洁机器人的底部配置有行走单元,机器人控制器通过驱动该行走单元能够控制该泳池清洁机器人在该泳池的池壁上进行移动和旋转。在步骤303中,机器人控制器能够通过该行走单元来控制该泳池清洁机器人移动至该水位线。在一些实施例中,该泳池清洁机器人还包括驱动单元,该驱动单元与该机器人控制器和该行走单元相连,该驱动单元由该机器人控制进行控制,该驱动单元能够为行走单元提供动力,以使得该泳池清洁机器人能够通过行走单元在泳池的池壁上进行移动和旋转。在一些实施例中,该行走单元为万向轮。在该泳池清洁机器人移动的过程中,该泳池清洁机器人始终位于该泳池的池壁上。控制该泳池清洁机器人向上方还是下方移动取决于该泳池清洁机器人位于水位线上方还是水位线下方,在该泳池清洁机器人位于水位线上方的情况下,也即是控制该泳池清洁机器人向下方移动;在该泳池清洁机器人位于水位线下方的情况下,也即是控制该泳池清洁机器人向上方移动。Wherein, the bottom of the swimming pool cleaning robot is equipped with a walking unit, and the robot controller can control the swimming pool cleaning robot to move and rotate on the pool wall of the swimming pool by driving the walking unit. In
在一些实施例中,该泳池清洁机器人由外接电源供电,这样可以保证该泳池清洁机器人在清洁泳池这种面积较大的场景时能够完成任务。或者,该泳池清洁机器人由内置电池供电,从而摆脱连接线的限制,能够在更大的范围内执行清洁任务。或者,该泳池清洁机器人通过太阳能电池板进行供电,从而降低使用该泳池清洁机器人进行清洁时的能源成本,本申请实施例对于该泳池清洁机器人的供电方式不作限定。在一些实施例中,该泳池清洁机器人还包括陀螺仪,通过该陀螺仪能够确定自身的方向。In some embodiments, the swimming pool cleaning robot is powered by an external power supply, which can ensure that the swimming pool cleaning robot can complete tasks when cleaning a large area such as a swimming pool. Alternatively, the pool cleaning robot is powered by a built-in battery, freeing it from the constraints of connecting wires and being able to perform cleaning tasks over a larger area. Alternatively, the swimming pool cleaning robot is powered by a solar panel, thereby reducing energy costs when using the swimming pool cleaning robot for cleaning. The embodiment of the present application does not limit the power supply mode of the swimming pool cleaning robot. In some embodiments, the pool cleaning robot further includes a gyroscope by which it can determine its own orientation.
在一些实施例中,该泳池清洁机器人的底部还配置有清洁单元,通过该清洁单元能够实现对该泳池的池壁进行清洁。在一些实施例中,该清洁单元包括滚刷,通过滚刷的转动能够实现对池壁的清洁。或者,在该清洁单元不包括滚刷的情况下,泳池清洁机通过内部驱动装置和过滤装置,将池水过滤后排出来实现对池壁的清洁。当然,该清洁单元也可以同时包括滚刷和喷水口,本申请实施例对此不作限定。In some embodiments, the bottom of the swimming pool cleaning robot is further equipped with a cleaning unit, through which the pool wall of the swimming pool can be cleaned. In some embodiments, the cleaning unit includes a roller brush, and the pool wall can be cleaned by rotating the roller brush. Alternatively, in the case that the cleaning unit does not include a rolling brush, the swimming pool cleaning machine uses an internal driving device and a filtering device to filter the pool water and discharge it to clean the pool wall. Certainly, the cleaning unit may also include a rolling brush and a water spray port at the same time, which is not limited in this embodiment of the present application.
另外,该泳池清洁机器人的清洁功能在移动过程中既可以启动也可以不启动,该泳池清洁机器人的清洁功能在移动过程中启动是指,该泳池清洁机器人能够在移动的过程中启动清洁功能,从而实现对该池壁上经过的位置进行清洁。In addition, the cleaning function of the swimming pool cleaning robot can be started or not started during the moving process, the cleaning function of the swimming pool cleaning robot is started during the moving process means that the swimming pool cleaning robot can start the cleaning function during the moving process, In this way, the passing position on the pool wall is cleaned.
在一种可能的实施方式中,机器人控制器基于该泳池清洁机器人与该水位线之间的距离进行路径规划,得到目标路径。机器人控制器基于该目标路径,控制该泳池清洁机器人向上方或下方移动。In a possible implementation manner, the robot controller performs path planning based on the distance between the swimming pool cleaning robot and the water level to obtain a target path. The robot controller controls the swimming pool cleaning robot to move upward or downward based on the target path.
举例来说,机器人控制器基于该泳池清洁机器人与该水位线之间的距离进行路径规划,得到目标路径。机器人控制器通过陀螺仪确定该泳池清洁机器人的方向。机器人控制器基于该泳池清洁机器人的方向,向该泳池清洁机器人的驱动单元发送驱动指令,该驱动指令用于指示该驱动单元驱动该泳池清洁机器人的行走单元,以使得该泳池清洁机器人按照该目标路径沿着该池壁向上移动。响应于该驱动指令,该泳池清洁机器人的驱动单元控制该泳池清洁机器人移动。For example, the robot controller performs path planning based on the distance between the swimming pool cleaning robot and the water level to obtain a target path. The robot controller determines the direction of the swimming pool cleaning robot through a gyroscope. The robot controller sends a driving instruction to the driving unit of the swimming pool cleaning robot based on the direction of the swimming pool cleaning robot, and the driving instruction is used to instruct the driving unit to drive the walking unit of the swimming pool cleaning robot so that the swimming pool cleaning robot follows the target The path travels up the pool wall. In response to the driving instruction, the driving unit of the swimming pool cleaning robot controls the swimming pool cleaning robot to move.
在一些实施例中,在该泳池清洁机器人检测到障碍物的情况下,机器人控制器控制该泳池清洁机器人避开该障碍物后回到目标路径上。In some embodiments, when the swimming pool cleaning robot detects an obstacle, the robot controller controls the swimming pool cleaning robot to avoid the obstacle and return to the target path.
举例来说,在通过该泳池清洁机器人的水位线探测传感器检测到移动方向的前方存在障碍物的情况下,机器人控制器为该泳池清洁机器人设置避障路线,比如,通过模拟退火算法、人工势场法、模糊逻辑算法、禁忌搜索算法等算法来设置避障路线。机器人控制器控制该泳池清洁机器人按照该避障路线进行移动,从而避开该障碍物。在避开该障碍物的情况下,机器人控制器控制该泳池清洁机器人回到目标路径上继续进行清洁。For example, when the water level detection sensor of the swimming pool cleaning robot detects that there is an obstacle ahead of the moving direction, the robot controller sets an obstacle avoidance route for the swimming pool cleaning robot, for example, through simulated annealing algorithm, artificial potential Field method, fuzzy logic algorithm, tabu search algorithm and other algorithms to set up obstacle avoidance routes. The robot controller controls the swimming pool cleaning robot to move according to the obstacle avoidance route, thereby avoiding the obstacle. In the case of avoiding the obstacle, the robot controller controls the swimming pool cleaning robot to return to the target path to continue cleaning.
304、在通过该水位线探测传感器重新检测到的水位线信息符合目标条件的情况下,机器人控制器确定该泳池清洁机器人移动至该水位线。304 . If the water level information re-detected by the water level detection sensor meets the target condition, the robot controller determines that the swimming pool cleaning robot moves to the water level.
其中,在该泳池清洁机器人移动的过程中,该机器人控制器还会通过该水位线探测传感器获取水位线信息,以便于机器人控制器控制该泳池清洁机器人,该重新检测到的水位线信息也即是在该泳池清洁机器人移动过程中检测到的水位线信息。Wherein, during the moving process of the swimming pool cleaning robot, the robot controller will also obtain the water level information through the water level detection sensor, so that the robot controller can control the swimming pool cleaning robot, and the re-detected water level information is also is the water level information detected during the movement of the swimming pool cleaning robot.
在一种可能的实施方式中,该水位线信息符合目标条件是指下述任一项:In a possible implementation manner, the water level information meeting the target condition refers to any of the following:
该重新检测到的水位线信息指示该泳池清洁机器人与该水位线之间的距离小于或等于第一距离阈值。其中,该泳池清洁机器人与该水位线之间的距离小于或等于第一距离阈值表示该泳池清洁机器人与该水位线之间的距离足够小,该泳池清洁机器人移动至该水位线。该第一距离阈值由技术人员根据实际情况进行设置,本申请实施例对此不作限定。The re-detected water level information indicates that the distance between the swimming pool cleaning robot and the water level is less than or equal to a first distance threshold. Wherein, the distance between the swimming pool cleaning robot and the water level is less than or equal to the first distance threshold means that the distance between the swimming pool cleaning robot and the water level is small enough, and the swimming pool cleaning robot moves to the water level. The first distance threshold is set by technicians according to actual conditions, which is not limited in this embodiment of the present application.
该重新检测到的水位线信息指示该泳池清洁机器人周围的压力小于或等于压力阈值。其中,由于该泳池清洁机器人周围的压力随着该泳池清洁机器人向上移动的过程中会不断减小,该泳池清洁机器人周围的压力小于或等于压力阈值表示该泳池清洁机器人与该水位线之间的距离足够小,该泳池清洁机器人移动至该水位线。该压力阈值由技术人员根据实际情况进行设置,本申请实施例对此不作限定。The re-detected water level information indicates that the pressure around the pool cleaning robot is less than or equal to a pressure threshold. Wherein, since the pressure around the swimming pool cleaning robot will continue to decrease as the swimming pool cleaning robot moves upward, the pressure around the swimming pool cleaning robot is less than or equal to the pressure threshold, which means that the swimming pool cleaning robot and the water level line The distance is small enough that the pool cleaning robot moves to the water line. The pressure threshold is set by technicians according to actual conditions, which is not limited in this embodiment of the present application.
该重新检测到的水位线信息指示该泳池清洁机器人周围的压力的波动范围处于目标波动范围内。其中,由于该泳池清洁机器人周围的压力随着该泳池清洁机器人向上移动的过程中会不断减小,在该泳池清洁机器人达到水位线之后,该泳池清洁机器人再向上移动受到的压力会由水压变成气压,压力的变化较小,因此通过压力的波动范围也就能够确定该泳池清洁机器人到达水位线。The re-detected water level information indicates that the fluctuation range of the pressure around the swimming pool cleaning robot is within the target fluctuation range. Wherein, since the pressure around the swimming pool cleaning robot will continue to decrease as the swimming pool cleaning robot moves upwards, after the swimming pool cleaning robot reaches the water level, the pressure on the swimming pool cleaning robot moving upwards will be determined by the water pressure Change into air pressure, the change of pressure is small, so it can be determined that the swimming pool cleaning robot has reached the water level through the fluctuation range of the pressure.
该重新检测到的水位线信息指示接收到的目标信号的信号强度大于或等于信号强度阈值,该目标信号的信号强度与该泳池清洁机器人在该泳池中的深度负相关。其中,由于该目标信号的信号强度随着泳池清洁机器人向上移动的过程中会不断增大,该目标信号的信号强度大于或等于信号强度阈值表示该泳池清洁机器人与该水位线之间的距离足够小,该泳池清洁机器人移动至该水位线。该信号强度阈值由技术人员根据实际情况进行设置,本申请实施例对此不作限定。The re-detected water level information indicates that the signal strength of the received target signal is greater than or equal to a signal strength threshold, and the signal strength of the target signal is negatively correlated with the depth of the swimming pool cleaning robot in the swimming pool. Wherein, since the signal strength of the target signal will continue to increase as the swimming pool cleaning robot moves upward, the signal strength of the target signal greater than or equal to the signal strength threshold indicates that the distance between the swimming pool cleaning robot and the water level is sufficient Small, the pool cleaning robot moves to the water line. The signal strength threshold is set by technicians according to actual conditions, which is not limited in this embodiment of the present application.
305、机器人控制器控制该泳池清洁机器人停止移动。305. The robot controller controls the swimming pool cleaning robot to stop moving.
在一种可能的实施方式中,机器人控制器向该泳池清洁机器人的驱动单元发送停止指令,该停止指令用于指示该驱动单元停止驱动该泳池清洁机器人,从而控制该泳池清洁机器人停止移动。In a possible implementation manner, the robot controller sends a stop instruction to the driving unit of the swimming pool cleaning robot, and the stopping instruction is used to instruct the driving unit to stop driving the swimming pool cleaning robot, thereby controlling the swimming pool cleaning robot to stop moving.
该泳池清洁机器人静止的位置是在该水位线上,那么后续能够以该水位线为起点来控制该泳池清洁机器人,比如控制该泳池清洁机器人沿着水位线清洁池壁等,本申请实施例对此不作限定。The still position of the swimming pool cleaning robot is on the water level, then the swimming pool cleaning robot can be controlled from the water level as a starting point, such as controlling the swimming pool cleaning robot to clean the pool wall along the water level. This is not limited.
306、机器人控制器基于该泳池清洁机器人与该水位线之间的距离,控制该泳池清洁机器人移动至该水位线上方或下方的目标位置。306. Based on the distance between the swimming pool cleaning robot and the water level, the robot controller controls the swimming pool cleaning robot to move to a target position above or below the water level.
其中,该目标位置为与该水位线之间的距离为目标距离的位置,该目标距离由技术人员根据实际情况进行设置,本申请实施例对此不作限定。Wherein, the target position is a position whose distance from the water level is the target distance, and the target distance is set by technicians according to actual conditions, which is not limited in this embodiment of the present application.
在一种可能的实施方式中,机器人控制器基于该泳池清洁机器人与该水位线之间的距离,确定该泳池清洁机器人与该目标位置之间的距离。机器人控制器基于该泳池清洁机器人与该目标位置之间的距离,控制该泳池清洁机器人向上方或下方移动。机器人控制器在该泳池清洁机器人与该目标位置之间的距离小于或等于第二距离阈值的情况下,确定该泳池清洁机器人移动至该目标位置。机器人控制器控制该泳池清洁机器人停止移动。其中,该第二距离阈值与该第一距离阈值可以相同也可以不同,该第二距离阈值由技术人员根据实际情况进行设置,本申请实施例对此不作限定。In a possible implementation manner, the robot controller determines the distance between the swimming pool cleaning robot and the target position based on the distance between the swimming pool cleaning robot and the water level. The robot controller controls the swimming pool cleaning robot to move upward or downward based on the distance between the swimming pool cleaning robot and the target position. The robot controller determines that the swimming pool cleaning robot moves to the target position when the distance between the swimming pool cleaning robot and the target position is less than or equal to a second distance threshold. The robot controller controls the swimming pool cleaning robot to stop moving. Wherein, the second distance threshold may be the same as or different from the first distance threshold, and the second distance threshold is set by a technician according to actual conditions, which is not limited in this embodiment of the present application.
上述所有可选技术方案,可以采用任意结合形成本申请的可选实施例,在此不再一一赘述。All the above optional technical solutions may be combined in any way to form optional embodiments of the present application, which will not be repeated here.
通过本申请实施例提供的技术方案,通过泳池清洁机器人的水位线探测传感器获取水位线信息,该水位线信息能够表示该泳池清洁机器人与泳池的水位线的远近。基于水位线信息,能够确定泳池清洁机器人与水位线之间的距离。基于该泳池清洁机器人与该水位线之间的距离,能够控制该泳池清洁机机器人,也即是能够以水位线为参考继续控制该泳池清洁机器人,实现对水位线的识别。Through the technical solutions provided by the embodiments of the present application, the water level information of the swimming pool cleaning robot is obtained through the water level detection sensor, and the water level information can indicate the distance between the swimming pool cleaning robot and the water level of the swimming pool. Based on the water level information, the distance between the pool cleaning robot and the water level can be determined. Based on the distance between the swimming pool cleaning robot and the water level, the swimming pool cleaning robot can be controlled, that is, the swimming pool cleaning robot can be continuously controlled with the water level as a reference, so as to realize the identification of the water level.
图4是本申请实施例提供的一种水位线信息的获取装置的结构示意图,参见图4,装置包括:水位线信息获取模块401、距离确定模块402以及控制模块403。FIG. 4 is a schematic structural diagram of a device for acquiring water level information provided by an embodiment of the present application. Referring to FIG. 4 , the device includes: a water level
水位线信息获取模块401,用于通过泳池清洁机器人的水位线探测传感器获取水位线信息,该泳池清洁机器人在泳池的池壁上或池底进行移动,该水位线信息用于表示该泳池清洁机器人与该水位线的相对位置。The water level
距离确定模块402,用于基于该水位线信息,确定该泳池清洁机器人与该水位线之间的距离。The
控制模块403,用于基于该泳池清洁机器人与该水位线之间的距离,控制该泳池清洁机器人。The
在一种可能的实施方式中,该水位线信息获取模块401,用于执行下述任一项:In a possible implementation manner, the water level
通过该泳池清洁机器人的距离传感器获取该水位线信息。The water level information is obtained through the distance sensor of the swimming pool cleaning robot.
通过该泳池清洁机器人的液体深度传感器获取该水位线信息。The water level information is obtained through the liquid depth sensor of the swimming pool cleaning robot.
通过该泳池清洁机器人的信号接收传感器获取该水位线信息。The water level information is obtained through the signal receiving sensor of the swimming pool cleaning robot.
在一种可能的实施方式中,该水位线信息获取模块401,用于通过该距离传感器向该泳池清洁机器人的上方或下方发送探测信号。接收该探测信号对应的反射信号,该反射信号是该探测信号接触到该水位线后进行反射的部分。基于该探测信号和该反射信号,确定该水位线信息,该水位线信息包括该探测信号在水中的传播速度,以及发送该探测信号到接收到该反射信号之间的时间差、该探测信号和该反射信号之间的相位差以及该探测信号和该反射信号之间的角度差中的任一项。In a possible implementation manner, the water level
在一种可能的实施方式中,该距离确定模块402,用于基于发送该探测信号到接收到该反射信号之间的时间差、该探测信号和该反射信号之间的相位差以及该探测信号和该反射信号之间的角度差中的任一项,以及该探测信号在水中的传播速度,确定该泳池清洁机器人与该水位线之间的距离。In a possible implementation manner, the
在一种可能的实施方式中,该水位线信息获取模块401,用于通过该距离传感器采集该泳池清洁机器人上方或下方的图像。对该图像进行图像识别,得到该水位线信息,该水位线信息包括该图像中该水位线的位置。In a possible implementation manner, the water level
在一种可能的实施方式中,该距离确定模块402,用于利用小孔成像原理对该图像中该水位线的位置进行坐标转换,确定该泳池清洁机器人与该水位线之间的距离。In a possible implementation manner, the
在一种可能的实施方式中,该水位线信息获取模块401,用于通过该液体深度传感器采集该泳池清洁机器人周围的压力。基于该泳池清洁机器人周围的压力,确定该水位线信息,该水位线信息包括该泳池清洁机器人在该泳池中的深度。In a possible implementation manner, the water level
在一种可能的实施方式中,该距离确定模块402,用于基于该泳池清洁机器人在该泳池中的深度,确定该泳池清洁机器人与该水位线之间的距离。In a possible implementation manner, the
在一种可能的实施方式中,该水位线信息获取模块401,用于通过该信号接收传感器接收目标信号,该目标信号的信号强度与该泳池清洁机器人在该泳池中的深度负相关。基于该目标信号,确定该水位线信息,该水位线信息包括该目标信号的信号强度。In a possible implementation manner, the water level
在一种可能的实施方式中,该距离确定模块402,用于基于该目标信号的信号强度,确定该泳池清洁机器人与该水位线之间的距离。In a possible implementation manner, the
在一种可能的实施方式中,该控制模块403,用于执行下述任一项:In a possible implementation manner, the
基于该泳池清洁机器人与该水位线之间的距离,控制该泳池清洁机器人移动至该水位线。Based on the distance between the swimming pool cleaning robot and the water level, the swimming pool cleaning robot is controlled to move to the water level.
基于该泳池清洁机器人与该水位线之间的距离,控制该泳池清洁机器人移动至该水位线上方或下方的目标位置。Based on the distance between the swimming pool cleaning robot and the water level, the swimming pool cleaning robot is controlled to move to a target position above or below the water level.
在一种可能的实施方式中,该控制模块403,用于基于该泳池清洁机器人与该水位线之间的距离,控制该泳池清洁机器人向上方或下方移动。In a possible implementation manner, the
在通过该水位线探测传感器重新检测到的水位线信息符合目标条件的情况下,确定该泳池清洁机器人移动至该水位线。When the water level information re-detected by the water level detection sensor meets the target condition, it is determined that the swimming pool cleaning robot moves to the water level.
控制该泳池清洁机器人停止移动。Control the swimming pool cleaning robot to stop moving.
在一种可能的实施方式中,该水位线探测传感器重新检测到的水位线信息符合目标条件是指下述任一项:In a possible implementation manner, the water level information re-detected by the water level detection sensor meets the target condition refers to any of the following:
该重新检测到的水位线信息指示该泳池清洁机器人与该水位线之间的距离小于或等于第一距离阈值。The re-detected water level information indicates that the distance between the swimming pool cleaning robot and the water level is less than or equal to a first distance threshold.
该重新检测到的水位线信息指示该泳池清洁机器人周围的压力小于或等于压力阈值。The re-detected water level information indicates that the pressure around the pool cleaning robot is less than or equal to a pressure threshold.
该重新检测到的水位线信息指示接收到的目标信号的信号强度大于或等于信号强度阈值,该目标信号的信号强度与该泳池清洁机器人在该泳池中的深度负相关。The re-detected water level information indicates that the signal strength of the received target signal is greater than or equal to a signal strength threshold, and the signal strength of the target signal is negatively correlated with the depth of the swimming pool cleaning robot in the swimming pool.
在一种可能的实施方式中,该控制模块403,用于基于该泳池清洁机器人与该水位线之间的距离,确定该泳池清洁机器人与该目标位置之间的距离。基于该泳池清洁机器人与该目标位置之间的距离,控制该泳池清洁机器人向上方或下方移动。在该泳池清洁机器人与该目标位置之间的距离小于或等于第二距离阈值的情况下,确定该泳池清洁机器人移动至该目标位置。控制该泳池清洁机器人停止移动。In a possible implementation manner, the
需要说明的是:上述实施例提供的水位线信息的获取装置在获取水位线信息时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将机器人控制器的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的水位线信息的获取装置与水位线信息的获取方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that: when the water level information acquisition device provided by the above embodiment acquires the water level information, it only uses the division of the above-mentioned functional modules as an example for illustration. In practical applications, the above-mentioned functions can be assigned by different Completion of functional modules means that the internal structure of the robot controller is divided into different functional modules to complete all or part of the functions described above. In addition, the device for acquiring water level information provided by the above embodiments and the embodiment of the method for acquiring water level information belong to the same concept, and the specific implementation process thereof is detailed in the method embodiment, and will not be repeated here.
通过本申请实施例提供的技术方案,通过泳池清洁机器人的水位线探测传感器获取水位线信息,该水位线信息能够表示该泳池清洁机器人与泳池的水位线的远近。基于水位线信息,能够确定泳池清洁机器人与水位线之间的距离。基于该泳池清洁机器人与该水位线之间的距离,能够控制该泳池清洁机机器人,也即是能够以水位线为参考继续控制该泳池清洁机器人,实现对水位线的识别。Through the technical solutions provided by the embodiments of the present application, the water level information of the swimming pool cleaning robot is obtained through the water level detection sensor, and the water level information can indicate the distance between the swimming pool cleaning robot and the water level of the swimming pool. Based on the water level information, the distance between the pool cleaning robot and the water level can be determined. Based on the distance between the swimming pool cleaning robot and the water level, the swimming pool cleaning robot can be controlled, that is, the swimming pool cleaning robot can be continuously controlled with the water level as a reference, so as to realize the identification of the water level.
本申请实施例还提供了一种泳池清洁机器人,该泳池清洁机器人包括机器人控制器,图5是本申请实施例提供的一种机器人控制器的结构示意图。该机器人控制器500可以是:智能手机、平板电脑、笔记本电脑或台式电脑。The embodiment of the present application also provides a swimming pool cleaning robot, which includes a robot controller. FIG. 5 is a schematic structural diagram of the robot controller provided in the embodiment of the present application. The
通常,机器人控制器500包括有:一个或多个处理器501和一个或多个存储器502。Generally, the
处理器501可以包括一个或多个处理核心,比如4核心处理器、8核心处理器等。处理器501可以采用DSP(Digital Signal Processing,数字信号处理)、FPGA(Field-Programmable Gate Array,现场可编程门阵列)、PLA(Programmable Logic Array,可编程逻辑阵列)中的至少一种硬件形式来实现。处理器501也可以包括主处理器和协处理器,主处理器是用于对在唤醒状态下的数据进行处理的处理器,也称CPU(Central ProcessingUnit,中央处理器);协处理器是用于对在待机状态下的数据进行处理的低功耗处理器。在一些实施例中,处理器501可以在集成有GPU(Graphics Processing Unit,图像处理器),GPU用于负责显示屏所需要显示的内容的渲染和绘制。一些实施例中,处理器501还可以包括AI(Artificial Intelligence,人工智能)处理器,该AI处理器用于处理有关机器学习的计算操作。The
存储器502可以包括一个或多个计算机可读存储介质,该计算机可读存储介质可以是非暂态的。存储器502还可包括高速随机存取存储器,以及非易失性存储器,比如一个或多个磁盘存储设备、闪存存储设备。在一些实施例中,存储器502中的非暂态的计算机可读存储介质用于存储至少一个计算机程序,该至少一个计算机程序用于被处理器501所执行以实现本申请中方法实施例提供的水位线信息的获取方法。
在一些实施例中,机器人控制器500还可选包括有:外围设备接口503和至少一个外围设备。处理器501、存储器502和外围设备接口503之间可以通过总线或信号线相连。各个外围设备可以通过总线、信号线或电路板与外围设备接口503相连。具体地,外围设备包括:射频电路504、显示屏505、摄像头组件506、音频电路507和电源508中的至少一种。In some embodiments, the
外围设备接口503可被用于将I/O(Input/Output,输入/输出)相关的至少一个外围设备连接到处理器501和存储器502。在一些实施例中,处理器501、存储器502和外围设备接口503被集成在同一芯片或电路板上;在一些其他实施例中,处理器501、存储器502和外围设备接口503中的任意一个或两个可以在单独的芯片或电路板上实现,本实施例对此不加以限定。The
射频电路504用于接收和发射RF(Radio Frequency,射频)信号,也称电磁信号。射频电路504通过电磁信号与通信网络以及其他通信设备进行通信。射频电路504将电信号转换为电磁信号进行发送,或者,将接收到的电磁信号转换为电信号。可选地,射频电路504包括:天线系统、RF收发器、一个或多个放大器、调谐器、振荡器、数字信号处理器、编解码芯片组、用户身份模块卡等等。The
显示屏505用于显示UI(User Interface,用户界面)。该UI可以包括图形、文本、图标、视频及其它们的任意组合。当显示屏505是触摸显示屏时,显示屏505还具有采集在显示屏505的表面或表面上方的触摸信号的能力。该触摸信号可以作为控制信号输入至处理器501进行处理。此时,显示屏505还可以用于提供虚拟按钮和/或虚拟键盘,也称软按钮和/或软键盘。The
摄像头组件506用于采集图像或视频。可选地,摄像头组件506包括前置摄像头和后置摄像头。通常,前置摄像头设置在机器人控制器的前面板,后置摄像头设置在机器人控制器的背面。The
音频电路507可以包括麦克风和扬声器。麦克风用于采集用户及环境的声波,并将声波转换为电信号输入至处理器501进行处理,或者输入至射频电路504以实现语音通信。
电源508用于为机器人控制器500中的各个组件进行供电。电源508可以是交流电、直流电、一次性电池或可充电电池。The
在一些实施例中,机器人控制器500还包括有一个或多个传感器509。该一个或多个传感器509包括但不限于:加速度传感器510、陀螺仪传感器511、压力传感器512、光学传感器513以及接近传感器514。In some embodiments, the
加速度传感器510可以检测以机器人控制器500建立的坐标系的三个坐标轴上的加速度大小。The acceleration sensor 510 can detect the acceleration on the three coordinate axes of the coordinate system established by the
陀螺仪传感器511可以机器人控制器500的机体方向及转动角度,陀螺仪传感器511可以与加速度传感器510协同采集用户对机器人控制器500的3D动作。The gyro sensor 511 can control the body direction and rotation angle of the
压力传感器512可以设置在机器人控制器500的侧边框和/或显示屏505的下层。当压力传感器512设置在机器人控制器500的侧边框时,可以检测用户对机器人控制器500的握持信号,由处理器501根据压力传感器512采集的握持信号进行左右手识别或快捷操作。当压力传感器512设置在显示屏505的下层时,由处理器501根据用户对显示屏505的压力操作,实现对UI界面上的可操作性控件进行控制。The pressure sensor 512 may be disposed on a side frame of the
光学传感器513用于采集环境光强度。在一个实施例中,处理器501可以根据光学传感器513采集的环境光强度,控制显示屏505的显示亮度。The optical sensor 513 is used to collect ambient light intensity. In one embodiment, the
接近传感器514用于采集用户与机器人控制器500的正面之间的距离。The proximity sensor 514 is used to collect the distance between the user and the front of the
本领域技术人员可以理解,图5中示出的结构并不构成对机器人控制器500的限定,可以包括比图示更多或更少的组件,或者组合某些组件,或者采用不同的组件布置。Those skilled in the art can understand that the structure shown in FIG. 5 does not constitute a limitation to the
在示例性实施例中,还提供了一种计算机可读存储介质,例如包括计算机程序的存储器,上述计算机程序可由处理器执行以完成上述实施例中的水位线信息的获取方法。例如,该计算机可读存储介质可以是只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、只读光盘(Compact Disc Read-Only Memory,CD-ROM)、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a computer-readable storage medium, such as a memory including a computer program, and the above computer program can be executed by a processor to complete the method for obtaining water level information in the above embodiment. For example, the computer-readable storage medium may be a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a read-only optical disc (Compact Disc Read-Only Memory, CD-ROM), Magnetic tapes, floppy disks, and optical data storage devices, etc.
在示例性实施例中,还提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括程序代码,该程序代码存储在计算机可读存储介质中,机器人控制器的处理器从计算机可读存储介质读取该程序代码,处理器执行该程序代码,使得该机器人控制器执行上述水位线信息的获取方法。In an exemplary embodiment, a computer program product or computer program is also provided, the computer program product or computer program includes program code, the program code is stored in a computer-readable storage medium, the processor of the robot controller reads from the computer The readable storage medium reads the program code, and the processor executes the program code, so that the robot controller executes the above-mentioned method for obtaining water level information.
在一些实施例中,本申请实施例所涉及的计算机程序可被部署在一个机器人控制器上执行,或者在位于一个地点的多个机器人控制器上执行,又或者,在分布在多个地点且通过通信网络互连的多个机器人控制器上执行,分布在多个地点且通过通信网络互连的多个机器人控制器可以组成区块链系统。In some embodiments, the computer programs involved in the embodiments of the present application can be deployed and executed on one robot controller, or executed on multiple robot controllers located at one location, or distributed in multiple locations and Executed on multiple robot controllers interconnected through a communication network, multiple robot controllers distributed in multiple locations and interconnected through a communication network can form a blockchain system.
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,该程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps for implementing the above-mentioned embodiments can be completed by hardware, and can also be completed by instructing related hardware through a program. The program can be stored in a computer-readable storage medium. The above-mentioned The storage medium can be read-only memory, magnetic disk or optical disk and so on.
上述仅为本申请的可选实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above are only optional embodiments of the application, and are not intended to limit the application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the application shall be included in the protection scope of the application. within.
Claims (10)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310026006.5A CN116300875A (en) | 2023-01-09 | 2023-01-09 | Water line information acquisition method and device and swimming pool cleaning robot |
PCT/CN2024/071212 WO2024149206A1 (en) | 2023-01-09 | 2024-01-08 | Pool water level line detection device and water level line information acquisition method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310026006.5A CN116300875A (en) | 2023-01-09 | 2023-01-09 | Water line information acquisition method and device and swimming pool cleaning robot |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116300875A true CN116300875A (en) | 2023-06-23 |
Family
ID=86782404
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310026006.5A Pending CN116300875A (en) | 2023-01-09 | 2023-01-09 | Water line information acquisition method and device and swimming pool cleaning robot |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116300875A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2024149206A1 (en) * | 2023-01-09 | 2024-07-18 | 天津望圆智能科技股份有限公司 | Pool water level line detection device and water level line information acquisition method |
WO2025035630A1 (en) * | 2023-08-17 | 2025-02-20 | 星迈创新科技(苏州)有限公司 | Robot control method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104697608A (en) * | 2015-03-09 | 2015-06-10 | 上海同岩土木工程科技有限公司 | Automatic measurement method and device of water level of observation well based on laser displacement sensor |
CN108227744A (en) * | 2018-01-17 | 2018-06-29 | 中国农业大学 | A kind of underwater robot location navigation system and positioning navigation method |
US20190040642A1 (en) * | 2016-01-29 | 2019-02-07 | Zodiac Pool Care Europe | Swimming pool cleaning robot and method for using same |
US20200249690A1 (en) * | 2019-02-03 | 2020-08-06 | Maytronics Ltd. | Pool cleaning robot and a method for imaging a pool |
-
2023
- 2023-01-09 CN CN202310026006.5A patent/CN116300875A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104697608A (en) * | 2015-03-09 | 2015-06-10 | 上海同岩土木工程科技有限公司 | Automatic measurement method and device of water level of observation well based on laser displacement sensor |
US20190040642A1 (en) * | 2016-01-29 | 2019-02-07 | Zodiac Pool Care Europe | Swimming pool cleaning robot and method for using same |
CN108227744A (en) * | 2018-01-17 | 2018-06-29 | 中国农业大学 | A kind of underwater robot location navigation system and positioning navigation method |
US20200249690A1 (en) * | 2019-02-03 | 2020-08-06 | Maytronics Ltd. | Pool cleaning robot and a method for imaging a pool |
Non-Patent Citations (1)
Title |
---|
陈建峰 等: "基于特殊锚节点的传感器网络节点定位研究", 1 March 2022, 国防工业出版社 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2024149206A1 (en) * | 2023-01-09 | 2024-07-18 | 天津望圆智能科技股份有限公司 | Pool water level line detection device and water level line information acquisition method |
WO2025035630A1 (en) * | 2023-08-17 | 2025-02-20 | 星迈创新科技(苏州)有限公司 | Robot control method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7455846B2 (en) | Object jump control method, apparatus, computer device and computer program | |
CN104287946B (en) | Blind person's avoidance suggestion device and method | |
CN116300875A (en) | Water line information acquisition method and device and swimming pool cleaning robot | |
WO2020221012A1 (en) | Method for determining motion information of image feature point, task execution method, and device | |
CN110505408B (en) | Terminal shooting method and device, mobile terminal and readable storage medium | |
CN115981332A (en) | Swimming pool cleaning robot control method and device and swimming pool cleaning robot | |
US10938912B2 (en) | Sweeper, server, sweeper control method and sweeper control system | |
CN110505549A (en) | The control method and device of earphone | |
CN110570465B (en) | Real-time positioning and map construction method and device and computer readable storage medium | |
CN112749590B (en) | Target detection method, device, computer equipment and computer-readable storage medium | |
CN116107304A (en) | Path planning method and device for swimming pool cleaning robot and swimming pool cleaning robot | |
CN114299468A (en) | Method, device, terminal, storage medium and product for detecting entrance of lane | |
WO2021218926A1 (en) | Image display method and apparatus, and computer device | |
CN116197932A (en) | Control method and system of pool cleaning robot and robot control device | |
CN110502108A (en) | Device control method, device, and electronic device | |
CN108604143B (en) | Display method, device and terminal | |
CN116125388A (en) | Positioning method, system and device of underwater cleaning robot and storage medium | |
CN114010102B (en) | Cleaning robot | |
US20250037342A1 (en) | Virtual object interaction | |
CN110633336B (en) | Method and device for determining laser data search range and storage medium | |
CN109859265A (en) | A kind of measurement method and mobile terminal | |
CN114623836A (en) | Vehicle pose determining method and device and vehicle | |
CN115474863B (en) | Obstacle detection method, obstacle detection device, medium and cleaning robot | |
CN114115544B (en) | Man-machine interaction method, three-dimensional display device and storage medium | |
WO2022194029A1 (en) | Robot feedback method and robot |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |