[go: up one dir, main page]

CN111429400A - A method, device, system and medium for detecting dirt on a lidar window - Google Patents

A method, device, system and medium for detecting dirt on a lidar window Download PDF

Info

Publication number
CN111429400A
CN111429400A CN202010106656.7A CN202010106656A CN111429400A CN 111429400 A CN111429400 A CN 111429400A CN 202010106656 A CN202010106656 A CN 202010106656A CN 111429400 A CN111429400 A CN 111429400A
Authority
CN
China
Prior art keywords
lidar
window
light intensity
preset
point cloud
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.)
Granted
Application number
CN202010106656.7A
Other languages
Chinese (zh)
Other versions
CN111429400B (en
Inventor
郭丰收
刘尚贤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing Lashen Intelligent System Technology Co ltd
Original Assignee
LeiShen Intelligent System Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by LeiShen Intelligent System Co Ltd filed Critical LeiShen Intelligent System Co Ltd
Priority to CN202010106656.7A priority Critical patent/CN111429400B/en
Publication of CN111429400A publication Critical patent/CN111429400A/en
Application granted granted Critical
Publication of CN111429400B publication Critical patent/CN111429400B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10028Range image; Depth image; 3D point clouds
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10032Satellite or aerial image; Remote sensing
    • G06T2207/10044Radar image

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Quality & Reliability (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Optical Radar Systems And Details Thereof (AREA)

Abstract

The embodiment of the invention provides a method, a device, a system and a medium for detecting dirt of a laser radar window, wherein the method comprises the following steps: acquiring point cloud data obtained by scanning the laser radar; the point cloud data comprises reflected light intensity; identifying the point cloud data to determine each obstacle; determining the obstacles in a preset distance range of the window position of the laser radar in all the obstacles as suspicious obstacles; and if the intensity of at least one reflected light in each suspicious shelter is greater than the first preset light intensity, determining that the shelter exists on the window of the laser radar. The embodiment of the invention provides a method, a device, a system and a medium for detecting laser radar window dirt, so as to realize detection of the laser radar window dirt.

Description

一种激光雷达视窗污物的检测方法、装置、系统及介质A method, device, system and medium for detecting dirt on a lidar window

技术领域technical field

本发明涉及激光雷达技术,尤其涉及一种激光雷达视窗污物的检测方法、装置、系统及介质。The present invention relates to laser radar technology, in particular to a method, device, system and medium for detecting dirt on a laser radar window.

背景技术Background technique

激光雷达的外部结构上都会有镜面结构(或者称为视窗、滤光罩等),镜面结构主要用作滤除非雷达工作激光波段的干扰光,同时也起到保护内部器件的作用。在恶劣的工作环境中,镜面结构会有因各种情况导致污染,污染源通常为灰尘、土壤、水珠或其他液固体。污染的镜面会影响雷达激光的发射和接收,导致雷达激光的测距出现错误,雷达无法正常工作。The external structure of the lidar will have a mirror structure (or called a window, a filter cover, etc.). The mirror structure is mainly used to filter the interference light in the non-radar working laser band, and also to protect the internal devices. In the harsh working environment, the mirror structure will be polluted due to various conditions, and the pollution source is usually dust, soil, water droplets or other liquid solids. Contaminated mirrors will affect the emission and reception of radar lasers, resulting in errors in the ranging of radar lasers, and the radar cannot work properly.

传统的激光雷达清洗机构需要人工手动控制清洗机构开始工作,以实现对激光雷达的清洗,这种需要依托人力,会增加人力成本,且由于人工通常是周期性进行检查,会导致激光雷达的清洗工作不能及时进行。又或者,需要借助相应的硬件设备比如专门激光雷达镜面污染度感应设备来实现对激光雷达镜面的污染度的感应,然后再确定是否开启清洗机构。这种方法需要借助其他的设备,会增加成本,且结构较为复杂。The traditional lidar cleaning mechanism needs to manually control the cleaning mechanism to start working to realize the cleaning of the lidar. This need to rely on manpower, which will increase the labor cost, and because the manual inspection is usually performed periodically, it will lead to the cleaning of the lidar. The work cannot be carried out in time. Alternatively, it is necessary to use corresponding hardware equipment, such as a special lidar mirror pollution degree sensing device, to sense the pollution degree of the lidar mirror surface, and then determine whether to open the cleaning mechanism. This method requires the help of other equipment, which increases the cost and has a complicated structure.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供一种激光雷达视窗污物的检测方法、装置、系统及介质,以实现对激光雷达视窗污物的检测。Embodiments of the present invention provide a method, device, system, and medium for detecting dirt on a lidar window, so as to detect dirt on a lidar window.

第一方面,本发明实施例提供一种激光雷达视窗污物的检测方法,包括:In a first aspect, an embodiment of the present invention provides a method for detecting dirt on a lidar window, including:

获取所述激光雷达扫描得到的点云数据;所述点云数据包括反射光强度;acquiring point cloud data obtained by scanning the lidar; the point cloud data includes reflected light intensity;

对所述点云数据进行识别确定各障碍物;Identifying the point cloud data to determine each obstacle;

将各障碍物中位于所述激光雷达的视窗位置的预设距离范围内的障碍物确定为可疑遮挡物;Determining the obstacles located within the preset distance range of the window position of the lidar among the obstacles as suspicious occluders;

若各所述可疑遮挡物中存在至少一个的反射光强度大于第一预设光强度,则确定所述激光雷达的视窗上存在遮挡物。If the reflected light intensity of at least one of the suspicious blocking objects is greater than the first preset light intensity, it is determined that there is a blocking object on the window of the lidar.

第二方面,本发明实施例提供一种激光雷达视窗污物的检测装置,包括:In a second aspect, an embodiment of the present invention provides a device for detecting dirt on a lidar window, including:

点云数据获取模块,用于获取所述激光雷达扫描得到的点云数据;所述点云数据包括反射光强度;a point cloud data acquisition module for acquiring point cloud data obtained by scanning the lidar; the point cloud data includes reflected light intensity;

障碍物识别模块,用于对所述点云数据进行识别确定各障碍物;an obstacle identification module, used for identifying the point cloud data to determine each obstacle;

可疑遮挡物确定模块,用于将各障碍物中位于所述激光雷达的视窗位置的预设距离范围内的障碍物确定为可疑遮挡物;a suspicious occluder determination module, configured to determine the obstacles located within the preset distance range of the window position of the lidar among the obstacles as suspicious occluders;

遮挡物确定模块,用于在若各所述可疑遮挡物中存在至少一个的反射光强度大于第一预设光强度,则确定所述激光雷达的视窗上存在遮挡物。A blocker determination module, configured to determine that there is a blocker on the window of the lidar if the reflected light intensity of at least one of the suspicious blockers is greater than the first preset light intensity.

第三方面,本发明实施例提供一种激光雷达清洗系统,包括:In a third aspect, an embodiment of the present invention provides a laser radar cleaning system, including:

激光雷达清洗机构,用于对激光雷达的视窗进行清洗;以及A lidar cleaning mechanism for cleaning the lidar window; and

清洗控制设备,与所述激光雷达清洗机构连接,所述清洗控制设备包括处理器和存储器;所述存储器中存储有计算机程序,以使得所述处理器执行所述计算机程序时实现第一方面所述的方法。A cleaning control device is connected to the lidar cleaning mechanism, and the cleaning control device includes a processor and a memory; a computer program is stored in the memory, so that when the processor executes the computer program, the first aspect is realized. method described.

第四方面,本发明实施例提供一种计算机存储介质,其上存储有计算机程序,该程序被处理器执行时实现如第一方面所述的方法。In a fourth aspect, an embodiment of the present invention provides a computer storage medium on which a computer program is stored, and when the program is executed by a processor, implements the method described in the first aspect.

本发明实施例提供的激光雷达视窗污物的检测方法中,根据获取的激光雷达扫描得到的点云数据获取各个障碍物,并将各障碍物中位于所述激光雷达的视窗位置的预设距离范围内的障碍物确定为可疑遮挡物,然后根据反射光强度来判断各个可疑遮挡物中是否存在遮挡物,在至少一个可疑遮挡物的反射光强度大于第一预设光强度,确定存在遮挡物,实现了对雷达视窗污染的判断。In the method for detecting dirt on a lidar window provided by the embodiment of the present invention, each obstacle is acquired according to the point cloud data scanned by the lidar, and the preset distance of each obstacle located at the window position of the lidar is calculated. Obstacles within the range are determined as suspicious occluders, and then according to the intensity of reflected light to determine whether there are occluders in each suspicious occluder, when the reflected light intensity of at least one suspicious occluder is greater than the first preset light intensity, it is determined that there is an occluder , to realize the judgment of radar window pollution.

附图说明Description of drawings

图1是本发明实施例一中的一种激光雷达视窗污物的检测方法的流程图;1 is a flowchart of a method for detecting dirt on a lidar window in Embodiment 1 of the present invention;

图2是本发明实施例二中的一种激光雷达视窗污物的检测方法的流程图;2 is a flowchart of a method for detecting dirt on a lidar window in Embodiment 2 of the present invention;

图3是本发明实施例三中的一种激光雷达视窗污物的检测方法的流程图;3 is a flowchart of a method for detecting dirt on a lidar window according to Embodiment 3 of the present invention;

图4是本发明实施例四中的一种激光雷达视窗污物的检测方法的流程图;4 is a flowchart of a method for detecting dirt on a lidar window according to Embodiment 4 of the present invention;

图5是本发明实施例五中的一种激光雷达视窗污物的检测装置的结构示意图;5 is a schematic structural diagram of a device for detecting dirt on a lidar window according to Embodiment 5 of the present invention;

图6A为本发明实施例六提供的一种激光雷达的清洗系统的结构示意图;6A is a schematic structural diagram of a laser radar cleaning system according to Embodiment 6 of the present invention;

图6B是本发明实施例六中的一种激光雷达的清洗系统中清洗控制设备的结构示意图。6B is a schematic structural diagram of a cleaning control device in a laser radar cleaning system according to Embodiment 6 of the present invention.

具体实施方式Detailed ways

下面结合附图和实施例对本发明作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, the drawings only show some but not all structures related to the present invention.

实施例一Example 1

图1是本发明实施例一中的一种激光雷达视窗污物的检测方法的流程图,本实施例适用于激光雷达采集的点云数据,对激光雷达视窗污物进行检测的情况。该方法可以由本发明实施例的激光雷达的清洗系统中清洗控制设备执行,该处理设备可采用软件和/或硬件的方式实现。如图1所示,该方法具体包括如下步骤:1 is a flowchart of a method for detecting dirt on a lidar window according to Embodiment 1 of the present invention. This embodiment is applicable to the case of detecting dirt on a lidar window from point cloud data collected by lidar. The method may be executed by the cleaning control device in the laser radar cleaning system according to the embodiment of the present invention, and the processing device may be implemented by software and/or hardware. As shown in Figure 1, the method specifically includes the following steps:

S101、获取激光雷达扫描得到的点云数据;点云数据包括反射光强度。S101. Acquire point cloud data scanned by a lidar; the point cloud data includes reflected light intensity.

其中,点云数据可以是激光雷达扫描其所处场景时,以点云的形式记录的三维坐标向量的集合,每一个三维坐标向量可以用(x,y,z)表示。点云数据可以包括多个数据点,点云数据中还可以包含每一个数据点的反射光强度值。The point cloud data may be a collection of three-dimensional coordinate vectors recorded in the form of point clouds when the lidar scans the scene in which it is located, and each three-dimensional coordinate vector may be represented by (x, y, z). The point cloud data may include multiple data points, and the point cloud data may also include the reflected light intensity value of each data point.

S102、对点云数据进行识别确定各障碍物。S102: Identify and determine each obstacle based on the point cloud data.

可选地,对点云数据进行识别的方法可以有很多,对此本实施例不进行限定。可以是采用聚类的方法,对当前帧点云数据进行聚类处理,确定出当前点云数据中的至少一个障碍物。还可以是基于预先训练好的深度学习模型,将当前帧点云数据输入该目标检测模型,运行该深度学习模型即可得到当前帧点云数据对应的至少一个障碍物。障碍物例如可以是道路中的行人、车辆、动物等动态障碍物,还可以是道路中的路灯、指示牌、垃圾桶等静态障碍物,也可以是激光雷达视窗上的遮挡物。其中,激光雷达视窗上的遮挡物即为污物。Optionally, there may be many methods for identifying point cloud data, which are not limited in this embodiment. The clustering method may be used to perform clustering processing on the point cloud data of the current frame to determine at least one obstacle in the current point cloud data. It is also possible to input the point cloud data of the current frame into the target detection model based on a pre-trained deep learning model, and run the deep learning model to obtain at least one obstacle corresponding to the point cloud data of the current frame. Obstacles can be, for example, dynamic obstacles such as pedestrians, vehicles, and animals on the road, static obstacles such as street lights, signs, and trash cans on the road, or occluders on the lidar window. Among them, the obstruction on the lidar window is the dirt.

S103、将各障碍物中位于激光雷达的视窗位置的预设距离范围内的障碍物确定为可疑遮挡物。S103: Determine the obstacles located within the preset distance range of the window position of the lidar among the obstacles as suspicious occluders.

其中,各个障碍物可以具有不同的距离,这里的距离指的是,障碍物距离激光雷达的中心点(也即激光雷达坐标系的原点)的距离。激光雷达的视窗在激光雷达的位置是固定不变的,因此其视窗相对于激光雷达的中心点的距离是已知的。因此,可以通过判断障碍物的距离是否跟视窗距离相同或者接近,即可大致确定障碍物是否位于视窗上,还是属于独立于视窗外的环境障碍物。可以理解,当障碍物的距离在视窗位置的预设距离范围内,也可以初步判断其为可疑遮挡物,从而避免由于测量误差导致的漏检问题,提高检测的精准度。比如,如果视窗位置为60mm,则可以将在其±0.5mm的距离范围内的障碍物均初步认定为位于视窗上,也即距离在59.5mm~60.5mm的障碍物均可以初步认定为位于视窗上,从而确定其为可疑遮挡物。可以理解,预设距离偏差可以根据激光雷达的尺寸以及需要达到的精度等要求来进行设定,并不限于上述举例。Wherein, each obstacle may have different distances, and the distance here refers to the distance between the obstacle and the center point of the lidar (that is, the origin of the lidar coordinate system). The window of the lidar is fixed at the position of the lidar, so the distance of the window relative to the center of the lidar is known. Therefore, by judging whether the distance of the obstacle is the same as or close to the distance of the window, it can be roughly determined whether the obstacle is located on the window or is an environmental obstacle independent of the window. It can be understood that when the distance of the obstacle is within the preset distance range of the window position, it can also be preliminarily determined to be a suspicious obstacle, thereby avoiding the problem of missed detection caused by measurement errors and improving the accuracy of detection. For example, if the position of the viewing window is 60mm, the obstacles within a distance of ±0.5mm can be preliminarily identified as being located on the viewing window, that is, obstacles with a distance of 59.5mm~60.5mm can be preliminarily identified as being located in the viewing window. , so that it is determined to be a suspicious occluder. It can be understood that the preset distance deviation can be set according to requirements such as the size of the lidar and the required accuracy, and is not limited to the above examples.

示例性地,获取障碍物的距离的方法可以有很多,对此本实施例不进行限定。例如可以采用飞行时间法、相位法、频差法或者三角法等。Exemplarily, there may be many methods for obtaining the distance of the obstacle, which is not limited in this embodiment. For example, a time-of-flight method, a phase method, a frequency difference method, or a trigonometry method can be used.

S104、若各可疑遮挡物中存在至少一个的反射光强度大于第一预设光强度,则确定激光雷达的视窗上存在遮挡物。S104. If the reflected light intensity of at least one of the suspicious blocking objects is greater than the first preset light intensity, it is determined that there is a blocking object on the window of the lidar.

可以理解的是,激光雷达视窗上没有被遮挡物遮挡的部分,激光雷达发射的激光光束可以透过视窗出射出去,被视窗反射回的光强度较小;雷达视窗上被遮挡物遮挡的部分,激光雷达发射的激光光束被视窗反射回的光强度较大。It is understandable that for the part of the lidar window that is not blocked by the obstruction, the laser beam emitted by the lidar can be emitted through the window, and the light intensity reflected by the window is small; the part of the radar window that is blocked by the obstruction, The laser beam emitted by the lidar is reflected back by the viewing window with a high intensity.

本步骤中,若存在一个可疑遮挡物的反射光强度大于第一预设光强度,则确定激光雷达的视窗上存在遮挡物。可选地,在确定是否存在遮挡物的同时,还可以确定出遮挡物的数量,也即统计确定出来的遮挡物数量。比如若存在N个可疑遮挡物的反射光强度大于第一预设光强度,则可以确定激光雷达的视窗上存在N个遮挡物。N为大于或等于1的整数。In this step, if the reflected light intensity of a suspicious blocking object is greater than the first preset light intensity, it is determined that there is a blocking object on the window of the lidar. Optionally, while determining whether there are obstructions, the number of obstructions may also be determined, that is, the number of obstructions determined by statistics. For example, if the reflected light intensity of N suspicious obstructions is greater than the first preset light intensity, it may be determined that there are N obstructions on the window of the lidar. N is an integer greater than or equal to 1.

可选地,若各可疑遮挡物中的任意一个的反射光强度均小于或者等于第一预设光强度,则确定激光雷达的视窗上不存在遮挡物。Optionally, if the reflected light intensity of any one of the suspicious obstructions is less than or equal to the first preset light intensity, it is determined that there is no obstruction on the window of the lidar.

示例性地,第一预设光强度为1uw。第一预设光强度可以根据视窗上没有遮挡物时所形成的反射光强度来进行设定。该反射光强度可以预先进行测试得到。在其他的实施例中,也可以根据激光雷达的应用环境来确定可能存在的污物情况,进而根据污物在视窗时所能够形成的反射光强度范围来进行设定。Exemplarily, the first preset light intensity is 1uw. The first preset light intensity can be set according to the reflected light intensity formed when there is no obstruction on the viewing window. The reflected light intensity can be obtained by testing in advance. In other embodiments, possible contaminants may also be determined according to the application environment of the lidar, and then set according to the reflected light intensity range that can be formed when the contaminants are on the window.

示例性地,本步骤中,可疑遮挡物是由多个数据点聚类形成的,可疑遮挡物的反射光强度对应于该可疑遮挡物的多个数据点的反射光强度的平均值。在其他实施方式中,还可以将对应于该可疑遮挡物的多个数据点的反射光强度的最大值、最小值或者中值作为该可疑遮挡物的反射光强度。可以理解的是,相对于采用最大值、最小值或者中值来说,采用平均值的方式更能体现可疑遮挡物的整体反光情况。Exemplarily, in this step, the suspicious occluder is formed by clustering a plurality of data points, and the reflected light intensity of the suspicious occluder corresponds to the average value of the reflected light intensities of the multiple data points of the suspicious occluder. In other embodiments, the maximum value, the minimum value or the median value of the reflected light intensities of a plurality of data points corresponding to the suspicious occluder may also be used as the reflected light intensity of the suspicious occluder. It can be understood that, compared with using the maximum value, the minimum value or the median value, the method of using the average value can better reflect the overall reflection situation of the suspicious occluder.

本发明实施例提供的激光雷达视窗污物的检测方法中,根据获取的激光雷达扫描得到的点云数据获取各个障碍物,并将各障碍物中位于所述激光雷达的视窗位置的预设距离范围内的障碍物确定为可疑遮挡物,然后根据反射光强度来判断各个可疑遮挡物中是否存在遮挡物,在至少一个可疑遮挡物的反射光强度大于第一预设光强度时,确定激光雷达的视窗上存在遮挡物。本发明实施例提供的激光雷达视窗污物的检测方法,直接利用激光雷达工作过程中所采集的点云数据来进行污物检测,无需人工进行检测,也无需借助专门的污物检测设备,实现了对激光雷达视窗污物的判断,成本低且有利于实现激光雷达的小型化。In the method for detecting dirt on a lidar window provided by the embodiment of the present invention, each obstacle is acquired according to the point cloud data scanned by the lidar, and the preset distance of each obstacle located at the window position of the lidar is calculated. Obstacles within the range are determined as suspicious occluders, and then according to the intensity of reflected light to determine whether there are occluders in each suspicious occluder, and when the reflected light intensity of at least one suspicious occluder is greater than the first preset light intensity, determine the lidar There is an obstruction on the window. The method for detecting dirt on a lidar window provided by the embodiment of the present invention directly utilizes the point cloud data collected during the working process of the lidar to perform dirt detection without manual detection or special dirt detection equipment. It can judge the dirt of the lidar window, the cost is low, and it is beneficial to realize the miniaturization of the lidar.

可选地,在步骤S104之后,若遮挡物的数据点在点云数据中的比例大于预设比例,则生成清洗指令,以控制清洗机构对视窗进行清洗。其中,清洗机构指的是激光雷达的清洗机构,清洗机构用于清洗并去除激光雷达视窗上的污物。所以本步骤还可以在上述可实施方式的基础上,不仅可以探测到激光雷达视窗上是否存在污物,且在遮挡物的数据点在点云数据中的比例大于预设比例时,还可以自动启动清洗机构对激光雷达的视窗进行清洗,以去除视窗上的遮挡物,无需依托人力进行清理,节约了人力,且保证了激光雷达视窗上遮挡物清理的及时性。通过对遮挡物的数据点在整个点云中的占比来确定遮挡物的大小,从而在其大于一定比例时控制清洗机构进行清洗,可以避免由于视窗上的杂点的存在导致系统频繁的触发清洗机构、干扰激光雷达的正常工作。Optionally, after step S104, if the ratio of the data points of the occluders in the point cloud data is greater than the preset ratio, a cleaning instruction is generated to control the cleaning mechanism to clean the window. Among them, the cleaning mechanism refers to the cleaning mechanism of the lidar, and the cleaning mechanism is used to clean and remove the dirt on the lidar window. Therefore, this step can also be based on the above-mentioned implementable manner, not only can detect whether there is dirt on the lidar window, but also can automatically detect whether the ratio of the data points of the occluder in the point cloud data is greater than the preset ratio. Start the cleaning mechanism to clean the lidar window to remove the obstructions on the window, without relying on manpower for cleaning, saving manpower, and ensuring the timeliness of cleaning the lidar windows. The size of the occluder is determined by the proportion of the data points of the occluder in the entire point cloud, so that when it is larger than a certain proportion, the cleaning mechanism is controlled to clean, which can avoid the frequent triggering of the system due to the existence of clutter on the window. Clean the mechanism and interfere with the normal operation of the lidar.

示例性地,遮挡物的数据点在点云数据中的比例大于30%,遮挡物在激光雷达视窗上比较多,对激光雷达的工作影响比较大,需要对遮挡物进行清理,此时可以生成清洗指令,以控制清洗机构对视窗进行清洗。遮挡物的数据点在点云数据中的比例小于或者等于30%,遮挡物在激光雷达视窗上比较少,对激光雷达的工作影响比较小,无需对遮挡物进行清理,则不生成清洗指令。Exemplarily, the proportion of the data points of the occluders in the point cloud data is greater than 30%, and there are many occluders on the lidar window, which has a great impact on the work of the lidar, and the occluders need to be cleaned up. The cleaning command is used to control the cleaning mechanism to clean the window. The proportion of the data points of the occluder in the point cloud data is less than or equal to 30%, and the occluder is relatively small on the lidar window, which has little impact on the work of the lidar. It is not necessary to clean the occluder, and no cleaning command is generated.

可选地,在本发明实施例中,将各障碍物中位于激光雷达的视窗位置的预设距离范围内的障碍物确定为可疑遮挡物的方法有很多,对此本实施例不进行限定。Optionally, in the embodiment of the present invention, there are many methods for determining obstacles located within a preset distance range of the window position of the lidar as suspicious occluders, which are not limited in this embodiment.

一种可实施方式可以是:获取激光雷达多次扫描采集到的多帧点云数据。将各障碍物中位于激光雷达的视窗位置的预设距离范围内且在至少两帧相邻点云数据中的位置分布相似的障碍物确定为可疑遮挡物。由于激光雷达视窗上的遮挡物在视窗上的位置是固定的,因此在各障碍物中位于激光雷达的视窗位置的预设距离范围的基础上,结合同一个障碍物在至少两帧相邻点云数据中具有相似的位置分布的特征,可以提高可疑遮挡物判断的准确性,因此可以提高遮挡物判断的准确性。这样也可以避免将那些瞬间处于视窗上随后并脱落的障碍物确定为可疑遮挡物,进而被确认为遮挡物导致触发清洗机构进行清洗的问题发生。A possible implementation manner may be: acquiring multi-frame point cloud data collected by the lidar scanning multiple times. Obstacles with similar position distributions in at least two frames of adjacent point cloud data within the preset distance range of the lidar window position among the obstacles are determined as suspicious occluders. Since the position of the occluder on the lidar window is fixed, on the basis of the preset distance range of each obstacle located in the lidar window position, the same obstacle is combined with adjacent points in at least two frames. The cloud data has similar location distribution features, which can improve the accuracy of suspicious occluder judgment, and thus can improve the accuracy of occluder judgment. In this way, it is also possible to avoid the problem of triggering the cleaning mechanism to perform cleaning by determining those obstacles that are momentarily on the window and then fall off as suspicious obstructions, which are then confirmed as obstructions.

示例性地,第一帧点云数据中,障碍物A位于激光雷达的视窗位置的预设距离范围,障碍物A位于点云的左上角的位置1处。第二帧点云数据中,障碍物A位于激光雷达的视窗位置的预设距离范围,障碍物A位于点云的左上角的位置1处。可以理解,所谓的位于位置1处,可以是完全与位置1相同,也可以允许存在一定的偏差,只要在偏差允许范围内,均可以认定为障碍物处于位置1处,则障碍物A确定为可疑遮挡物。第一帧点云数据中,障碍物B位于激光雷达的视窗位置的预设距离范围,障碍物B位于点云的左上角的位置1处。第二帧点云数据中,障碍物B超出激光雷达的视窗位置的预设距离范围,障碍物B位于点云的左上角的位置1处。可以理解的是,障碍物B可能原本为视窗上的遮挡物但是后来自动脱落,或者,障碍物B为动态障碍物,所以障碍物B不是可疑遮挡物。第一帧点云数据中,障碍物C位于激光雷达的视窗位置的预设距离范围,障碍物C位于点云的左上角的位置1处。第二帧点云数据中,障碍物C位于激光雷达的视窗位置的预设距离范围,障碍物C位于点云的右上角的位置2处,则障碍物C不是可疑遮挡物。Exemplarily, in the first frame of point cloud data, the obstacle A is located within the preset distance range of the window position of the lidar, and the obstacle A is located at position 1 in the upper left corner of the point cloud. In the second frame of point cloud data, obstacle A is located within the preset distance range of the lidar window position, and obstacle A is located at position 1 in the upper left corner of the point cloud. It can be understood that the so-called position 1 can be completely the same as the position 1, or a certain deviation can be allowed. As long as the deviation is within the allowable range, it can be determined that the obstacle is located at position 1, then the obstacle A is determined as Suspicious obstruction. In the first frame of point cloud data, obstacle B is located within the preset distance range of the lidar window position, and obstacle B is located at position 1 in the upper left corner of the point cloud. In the second frame of point cloud data, the obstacle B is beyond the preset distance range of the window position of the lidar, and the obstacle B is located at position 1 in the upper left corner of the point cloud. It is understandable that the obstacle B may originally be an obstacle on the window but it falls off automatically, or the obstacle B is a dynamic obstacle, so the obstacle B is not a suspicious obstacle. In the first frame of point cloud data, the obstacle C is located in the preset distance range of the window position of the lidar, and the obstacle C is located at position 1 in the upper left corner of the point cloud. In the second frame of point cloud data, obstacle C is located within the preset distance range of the lidar window position, and obstacle C is located at position 2 in the upper right corner of the point cloud, then obstacle C is not a suspicious occluder.

另一种可实施方式可以是:将各障碍物中位于激光雷达的视窗位置的预设距离范围内且在至少连续两帧点云数据中的距离偏差小于第一距离,则将障碍物确定可疑遮挡物。由于激光雷达视窗上的遮挡物在视窗上,其位置是固定的,因此在各障碍物中位于激光雷达的视窗位置的预设距离范围的基础上,结合同一个障碍物在至少两帧相邻点云数据中距离偏差小于第一距离的特征,可以提高可疑遮挡物判断的准确性,因此可以提高遮挡物判断的准确性。Another possible implementation may be: if each obstacle is located within a preset distance range of the window position of the lidar and the distance deviation in at least two consecutive frames of point cloud data is less than the first distance, the obstacle is determined to be suspicious cover. Since the occluder on the lidar window is on the window and its position is fixed, based on the preset distance range of each obstacle located on the lidar window position, combine the same obstacle in at least two adjacent frames. The feature that the distance deviation in the point cloud data is smaller than the first distance can improve the accuracy of judging suspicious occluders, and therefore can improve the accuracy of judging occluders.

示例性地,第一帧点云数据中,障碍物D位于激光雷达的视窗位置的预设距离范围,障碍物D位于视窗位置的距离1处。第二帧点云数据中,障碍物A位于激光雷达的视窗位置的预设距离范围,障碍物D位于视窗位置的距离2处。距离1和距离2之间的差值即为障碍物D在第一帧点云数据和第二帧点云数据中的距离偏差,该距离偏差小于第一距离时,将障碍物确定可疑遮挡物。该距离偏差大于或者等于第一距离时,障碍物不是可疑遮挡物。示例性地,第一距离为1cm。Exemplarily, in the first frame of point cloud data, the obstacle D is located within a preset distance range of the window position of the lidar, and the obstacle D is located at a distance 1 from the window position. In the second frame of point cloud data, obstacle A is located within the preset distance range of the window position of the lidar, and obstacle D is located at distance 2 from the window position. The difference between distance 1 and distance 2 is the distance deviation of obstacle D in the first frame of point cloud data and the second frame of point cloud data. When the distance deviation is less than the first distance, the obstacle is determined as a suspicious occluder. . When the distance deviation is greater than or equal to the first distance, the obstacle is not a suspicious occluder. Exemplarily, the first distance is 1 cm.

可选地,步骤S103还可以同时采用上述两种可实施方式介绍的方法,进一步提高判断的准确性。Optionally, in step S103, the methods described in the above two possible embodiments may be used simultaneously to further improve the accuracy of the judgment.

实施例二Embodiment 2

图2是本发明实施例二中的一种激光雷达视窗污物的检测方法的流程图,本实施例以上述实施例为基础,进行了进一步的优化,具体给出了如何根据遮挡物的反射光强度判断遮挡物类型的情况介绍。如图2所示,该操作过程包括如下步骤:FIG. 2 is a flowchart of a method for detecting dirt on a lidar window in Embodiment 2 of the present invention. This embodiment is based on the above-mentioned embodiment, and further optimization is carried out, and it is specifically given how to use the reflection of the occluder. The introduction of light intensity to judge the type of occluder. As shown in Figure 2, the operation process includes the following steps:

S201、获取激光雷达扫描得到的点云数据;点云数据包括反射光强度。S201. Acquire point cloud data scanned by the lidar; the point cloud data includes reflected light intensity.

S202、对点云数据进行识别确定各障碍物。S202. Identify and determine each obstacle on the point cloud data.

S203、将各障碍物中位于激光雷达的视窗位置的预设距离范围内的障碍物确定为可疑遮挡物。S203: Determine the obstacles located within the preset distance range of the window position of the lidar among the obstacles as suspicious occluders.

S204、若各可疑遮挡物中存在至少一个的反射光强度大于第一预设光强度,则确定激光雷达的视窗上存在遮挡物。S204. If the reflected light intensity of at least one of the suspicious blocking objects is greater than the first preset light intensity, it is determined that there is a blocking object on the window of the lidar.

S205、若遮挡物的反射光强度大于第一预设光强度且小于或者等于第二预设光强度,则遮挡物为部分透明遮挡物,若遮挡物的反射光强度大于第二预设光强度,则遮挡物为不透光遮挡物;其中,第二预设光强度大于第一预设光强度。S205. If the reflected light intensity of the shielding object is greater than the first preset light intensity and less than or equal to the second preset light intensity, the shielding object is a partially transparent shielding object, and if the reflected light intensity of the shielding object is greater than the second preset light intensity , the shielding object is an opaque shielding object; wherein, the second preset light intensity is greater than the first preset light intensity.

其中,遮挡物的反射光强度为步骤S204中被确定为遮挡物的可疑遮挡物的反射光强度。部分透明遮挡物的透光率大于不透光遮挡物的透光率,部分透明遮挡物的反射率小于不透光遮挡物的反射率。Wherein, the reflected light intensity of the blocking object is the reflected light intensity of the suspicious blocking object determined as the blocking object in step S204. The light transmittance of the partially transparent shade is greater than the light transmittance of the opaque shade, and the reflectivity of the partially transparent shade is lower than that of the opaque shade.

示例性地,部分透明遮挡物指的是透过率大于30%且小于60%的遮挡物。部分透明遮挡物例如可以为雨、雪等。不透光遮挡物指的是透过率小于或者等于30%的遮挡物。不透光遮挡物例如可以为灰尘、杂物等。Exemplarily, a partially transparent shield refers to a shield with a transmittance greater than 30% and less than 60%. The partially transparent cover can be, for example, rain, snow, or the like. An opaque shade refers to a shade with a transmittance of less than or equal to 30%. For example, the opaque shield can be dust, sundries and the like.

示例性地,第二预设光强度为3uw。第二预设光强度可以根据激光雷达实际使用的环境中可能存在的污物的反射强度等来进行确定。Exemplarily, the second preset light intensity is 3uw. The second preset light intensity may be determined according to the reflection intensity of dirt that may exist in the environment where the lidar is actually used, and the like.

本发明实施例中,在步骤S204确定遮挡物后,还可以根据各个遮挡物的反射光强度的大小实现遮挡物类型的判断,具体地,反射光强度大于第一预设光强度且小于或者等于第二预设光强度的遮挡物为部分透明遮挡物,反射光强度大于第二预设光强度的遮挡物为不透光遮挡物。本发明实施例中由于可以对遮挡物类型进行判断,因此可以根据对应类型的遮挡物进行相应类型的清理,例如针对于灰尘(不透光遮挡物)进行相应地除灰清理,针对水珠(部分透明遮挡物)进行相应地除水清理。In this embodiment of the present invention, after the blocking objects are determined in step S204, the type of blocking objects can also be judged according to the reflected light intensity of each blocking object. Specifically, the reflected light intensity is greater than the first preset light intensity and less than or equal to The shielding object with the second preset light intensity is a partially transparent shielding object, and the shielding object with the reflected light intensity greater than the second preset light intensity is an opaque shielding object. In the embodiment of the present invention, since the type of the obstruction can be judged, the corresponding type of cleaning can be carried out according to the corresponding type of obstruction, for example, dust (opaque obstruction) is cleaned accordingly, and water droplets ( Partially transparent coverings) are dewatered and cleaned accordingly.

可选地,步骤S205中,若遮挡物的反射光强度大于第一预设光强度且小于或者等于第二预设光强度,则遮挡物为部分透明遮挡物包括:若遮挡物的反射光强度大于第一预设光强度且小于或者等于第二预设光强度,且各个遮挡物在点云数据中均匀分布,则遮挡物为部分透明遮挡物。由于雨、雪等部分透明遮挡物往往均匀分布于激光雷达视窗的全部位置,因此在遮挡物的反射光强度大于第一预设光强度且小于或者等于第二预设光强度的基础上,结合部分透明遮挡物均匀分布的特征,可以进一步增加判断的准确性。Optionally, in step S205, if the reflected light intensity of the shielding object is greater than the first preset light intensity and less than or equal to the second preset light intensity, the shielding object is a partially transparent shielding object, including: if the reflected light intensity of the shielding object is If it is greater than the first preset light intensity and less than or equal to the second preset light intensity, and each occluder is evenly distributed in the point cloud data, the occluder is a partially transparent occluder. Since some transparent obstructions such as rain and snow are often evenly distributed in all positions of the lidar window, on the basis that the reflected light intensity of the obstructions is greater than the first preset light intensity and less than or equal to the second preset light intensity, combined with The uniform distribution of some transparent occluders can further increase the accuracy of judgment.

可选地,在步骤S205之后,若遮挡物的数据点在点云数据中的比例大于预设比例,则生成清洗指令,以控制清洗机构对视窗进行清洗。其中,清洗机构指的是激光雷达的清洗机构,清洗机构用于清洗并去除激光雷达视窗上的污物。所以本步骤还可以在上述可实施方式的基础上,不仅可以探测到激光雷达视窗上是否存在污物,且在遮挡物的数据点在点云数据中的比例大于预设比例时,还可以自动启动清洗机构对激光雷达的视窗进行清洗,以去除视窗上的遮挡物,无需依托人力进行清理,节约了人力,且保证了激光雷达视窗上遮挡物清理的及时性。Optionally, after step S205, if the ratio of the data points of the occluders in the point cloud data is greater than the preset ratio, a cleaning instruction is generated to control the cleaning mechanism to clean the window. Among them, the cleaning mechanism refers to the cleaning mechanism of the lidar, and the cleaning mechanism is used to clean and remove the dirt on the lidar window. Therefore, this step can also be based on the above-mentioned implementable manner, not only can detect whether there is dirt on the lidar window, but also can automatically detect whether the ratio of the data points of the occluder in the point cloud data is greater than the preset ratio. Start the cleaning mechanism to clean the lidar window to remove the obstructions on the window, without relying on manpower for cleaning, saving manpower, and ensuring the timeliness of cleaning the lidar windows.

实施例三Embodiment 3

图3是本发明实施例三中的一种激光雷达视窗污物的检测方法的流程图,本实施例以上述实施例为基础,进行了进一步的优化,具体给出了如何根据激光雷达视窗的温度自动对遮挡物加热清理的情况介绍。如图3所示,该操作过程包括如下步骤:FIG. 3 is a flowchart of a method for detecting dirt on a lidar window in Embodiment 3 of the present invention. This embodiment is based on the above-mentioned embodiment and further optimized, and specifically provides how to detect the dirt on the lidar window according to the An introduction to the situation that the temperature automatically heats and cleans the shelter. As shown in Figure 3, the operation process includes the following steps:

S301、获取激光雷达扫描得到的点云数据;点云数据包括反射光强度。S301. Acquire point cloud data scanned by the lidar; the point cloud data includes reflected light intensity.

S302、对点云数据进行识别确定各障碍物。S302. Identify and determine each obstacle based on the point cloud data.

S303、将各障碍物中位于激光雷达的视窗位置的预设距离范围内的障碍物确定为可疑遮挡物。S303 , determining an obstacle located within a preset distance range of a window position of the lidar among the obstacles as a suspicious occluder.

S304、若各可疑遮挡物中存在至少一个的反射光强度大于第一预设光强度,则确定激光雷达的视窗上存在遮挡物。S304 , if the reflected light intensity of at least one of the suspicious blocking objects is greater than the first preset light intensity, determine that there is a blocking object on the window of the lidar.

S305、获取激光雷达的视窗的温度。S305. Acquire the temperature of the window of the lidar.

示例性地,可以通过安装在视窗附近的温度传感器获取激光雷达的视窗的温度。Exemplarily, the temperature of the window of the lidar can be acquired by a temperature sensor installed near the window.

S306、在激光雷达的视窗的温度小于第一预设温度值时,对激光雷达的视窗进行加热。S306. When the temperature of the window of the lidar is less than the first preset temperature value, heat the window of the lidar.

可选地,本步骤中,在激光雷达的视窗的温度小于第一预设温度时,启动加热指令,对激光雷达的视窗进行加热。在激光雷达的视窗的温度大于或者等于第一预设温度时,不启动加热指令。对视窗加热的方法可以有很多,本发明实施例对此不作限定。具体的,例如可以采用热传导的方式或者热对流的方式对激光雷达的视窗进行加热。Optionally, in this step, when the temperature of the window of the lidar is lower than the first preset temperature, a heating instruction is activated to heat the window of the lidar. When the temperature of the window of the lidar is greater than or equal to the first preset temperature, the heating command is not activated. There may be many methods for heating the window, which are not limited in this embodiment of the present invention. Specifically, for example, the window of the lidar can be heated by means of heat conduction or heat convection.

示例性地,第一预设温度为4摄氏度。在温度小于4摄氏度时,水汽容易在激光雷达的视窗上凝结形成水珠。故而,在激光雷达的视窗的温度小于4摄氏度时,对激光雷达的视窗进行加热,以使得水汽不容易在视窗上形成水汽。另一方面,对激光雷达的视窗进行加热还可以使已经形成的水珠受热蒸发,从而去除形成在视窗上的水珠。如果视窗上覆盖了雪,对激光雷达的视窗进行加热还可以使雪融化形成水珠,并最终受热蒸发,从而去除视窗上的雪。Exemplarily, the first preset temperature is 4 degrees Celsius. When the temperature is less than 4 degrees Celsius, water vapor is easy to condense on the lidar window to form water droplets. Therefore, when the temperature of the window of the lidar is less than 4 degrees Celsius, the window of the lidar is heated, so that water vapor does not easily form water vapor on the window. On the other hand, heating the lidar window can also heat and evaporate the water droplets that have formed, thereby removing the water droplets formed on the window. If the window is covered with snow, heating the lidar window can also melt the snow to form water droplets that eventually evaporate, removing the snow from the window.

S307、在激光雷达的视窗的温度大于第二预设温度值时,停止对激光雷达的视窗进行加热;第二预设温度值大于第一预设温度值。S307. When the temperature of the window of the lidar is greater than the second preset temperature value, stop heating the window of the lidar; the second preset temperature value is greater than the first preset temperature value.

可选地,本步骤中,在激光雷达的视窗的温度大于第二预设温度时,启动关闭加热的指令,停止对激光雷达的视窗进行加热。在激光雷达的视窗的温度大于或者等第一预设温度且小于或者等于第二预设温度时,不启动关闭加热的指令,继续对激光雷达的视窗进行加热。Optionally, in this step, when the temperature of the window of the lidar is greater than the second preset temperature, an instruction to turn off the heating is started to stop heating the window of the lidar. When the temperature of the lidar window is greater than or equal to the first preset temperature and less than or equal to the second preset temperature, the instruction to turn off the heating is not started, and the lidar window continues to be heated.

示例性地,第二预设温度为5摄氏度。在温度大于5摄氏度时,停止对激光雷达的视窗进行加热。Exemplarily, the second preset temperature is 5 degrees Celsius. When the temperature is greater than 5 degrees Celsius, stop heating the lidar window.

可选地,在步骤S305(获取激光雷达的视窗的温度)之前,激光雷达视窗污物的检测方法还可以包括:若遮挡物的反射光强度大于第一预设光强度且小于或者等于第二预设光强度,则遮挡物为部分透明遮挡物,若遮挡物的反射光强度大于第二预设光强度,则遮挡物为不透光遮挡物;其中,第二预设光强度大于第一预设光强度。若遮挡物为部分透明遮挡物,执行步骤S305。需要说明的是,若遮挡物为不透光遮挡物,也可以执行步骤S305,只不过采用加热清理遮挡物的效果没有遮挡物为部分透明遮挡物时好。Optionally, before step S305 (obtaining the temperature of the lidar window), the method for detecting dirt on the lidar window may further include: if the reflected light intensity of the obstruction is greater than the first preset light intensity and less than or equal to the second If the light intensity is preset, the blocking object is a partially transparent blocking object, and if the reflected light intensity of the blocking object is greater than the second preset light intensity, the blocking object is an opaque blocking object; wherein, the second preset light intensity is greater than the first Preset light intensity. If the blocking object is a partially transparent blocking object, step S305 is performed. It should be noted that, if the shielding object is an opaque shielding object, step S305 may also be performed, but the effect of using heating to clean the shielding object is not as good as when the shielding object is a partially transparent shielding object.

本发明实施例中,在激光雷达视窗的温度小于第一预设温度时,自动对视窗加热,使视窗的温度升高,以通过加热的方式自动对遮挡物加热清理,这种通过加热方式去除视窗上遮挡物的方法尤其适用于雨雪等部分透明遮挡物。In the embodiment of the present invention, when the temperature of the lidar window is lower than the first preset temperature, the window is automatically heated to increase the temperature of the window, and the obstructions are automatically heated and cleaned by heating. This is removed by heating. The method of covering the windows is especially suitable for partially transparent coverings such as rain and snow.

实施例四Embodiment 4

图4是本发明实施例四中的一种激光雷达视窗污物的检测方法的流程图,本实施例以上述实施例为基础,进行了进一步的优化,具体给出了如何根据遮挡物的大小以及视窗的特定位置进行清洗的情况介绍。如图4所示,该操作过程包括如下步骤:FIG. 4 is a flowchart of a method for detecting dirt on a lidar window in Embodiment 4 of the present invention. This embodiment is based on the above-mentioned embodiment, and further optimization is carried out. Specifically, how to determine the size of the obstruction according to the size of the obstruction is given. As well as briefings on cleaning specific locations of the windows. As shown in Figure 4, the operation process includes the following steps:

S401、获取激光雷达扫描得到的点云数据;点云数据包括反射光强度。S401. Acquire point cloud data scanned by the lidar; the point cloud data includes reflected light intensity.

S402、对点云数据进行识别确定各障碍物。S402. Identify and determine each obstacle based on the point cloud data.

S403、将各障碍物中位于激光雷达的视窗位置的预设距离范围内的障碍物确定为可疑遮挡物。S403: Determine the obstacles located within the preset distance range of the window position of the lidar among the obstacles as suspicious occluders.

S404、若各可疑遮挡物中存在至少一个的反射光强度大于第一预设光强度,则确定激光雷达的视窗上存在遮挡物。S404. If the reflected light intensity of at least one of the suspicious blocking objects is greater than the first preset light intensity, determine that there is a blocking object on the window of the lidar.

S405、根据遮挡物的数据点确定遮挡物的大小和在视窗的位置。S405. Determine the size of the occluder and the position of the occluder according to the data points of the occluder.

示例性地,遮挡物的大小可以由该遮挡物对应的数据点的数量确定,遮挡物对应的数据点的数量越多,遮挡物越大;遮挡物对应的数据点的数量越少,遮挡物越小。遮挡物的大小指的是遮挡物的面积。遮挡物在视窗的位置,可以由遮挡物对应数据点在点云中所形成形状的外边缘所确定,和/或,可以由遮挡物对应数据点在点云中所形成形状的几何中心确定。Exemplarily, the size of the occluder may be determined by the number of data points corresponding to the occluder. The greater the number of data points corresponding to the occluder, the larger the occluder; the smaller the number of data points corresponding to the occluder, the larger the occluder. smaller. The size of the occluder refers to the area of the occluder. The position of the occluder in the viewport may be determined by the outer edge of the shape formed by the corresponding data point of the occluder in the point cloud, and/or may be determined by the geometric center of the shape formed by the corresponding data point of the occluder in the point cloud.

S406、在遮挡物的面积大于预设值时,生成清洗指令以控制清洗机构对视窗进行清洗。S406 , when the area of the obstruction is greater than the preset value, generate a cleaning instruction to control the cleaning mechanism to clean the window.

本步骤中,当遮挡物的面积大于预设值时,可以生成清洗指令以控制清洗机构对视窗进行清洗。In this step, when the area of the obstruction is larger than the preset value, a cleaning instruction may be generated to control the cleaning mechanism to clean the window.

在另一实施例中,步骤S406也可以为,当遮挡物位于视窗的工作区域时,可以生成清洗指令以控制清洗机构对视窗进行清洗。其中,视窗的工作区域为激光雷达出射的激光所经过的区域,以及激光雷达接收激光回波所经过的区域。当遮挡物位于该工作区域时,会对激光的收发产生干扰,从而需要清洗机构对其进行清除。In another embodiment, step S406 may also be, when the blocking object is located in the working area of the window, a cleaning instruction may be generated to control the cleaning mechanism to clean the window. Among them, the working area of the window is the area where the laser emitted by the lidar passes, and the area where the lidar receives laser echoes. When the obstruction is located in the working area, it will interfere with the transmission and reception of the laser light, so a cleaning mechanism is required to remove it.

在另一实施例中,步骤S406也可以是,当遮挡物的面积大于预设值且当遮挡物位于视窗的工作区域时,可以生成清洗指令以控制清洗机构对视窗进行清洗。也即,为了避免清洗机构被频繁的触动,只有在遮挡物位于工作区域且满足一定大小才会触发清洗机构进行清洗。In another embodiment, step S406 may also be, when the area of the blocking object is larger than the preset value and when the blocking object is located in the working area of the window, a cleaning instruction may be generated to control the cleaning mechanism to clean the window. That is, in order to prevent the cleaning mechanism from being frequently activated, the cleaning mechanism is triggered to perform cleaning only when the shield is located in the working area and meets a certain size.

在又一实施例中,步骤S406也可以是根据位置获取对应于该位置的清洗标准,在遮挡物的大小超过清洗标准时,生成清洗指令。在本实施例中,会人为的将视窗划区,为激光雷达视窗的不同位置区域配置不同的清洗标准,例如激光雷达视窗的中心区域具有较低的清洗标准,激光雷达视窗除中心区域外的区域具有较高的清洗标准。在本案中,清洗标准是指触发清洗机构进行清洗的标准,该标准可以是大小标准,也可以是反射强度等标准。故而,在该种情况下,可以根据不同区域的清洗标准进行对应于特定区域的判断,并在位于该区域中的遮挡物的大小超过该区域的清洗标准时,生成清洗指令对该区域进行清洗,或者对整个激光雷达的视窗进行清洗。In yet another embodiment, step S406 may also be to acquire a cleaning standard corresponding to the location according to the location, and generate a cleaning instruction when the size of the obstruction exceeds the cleaning standard. In this embodiment, the windows are artificially divided, and different cleaning standards are configured for different locations of the lidar window. For example, the central area of the lidar window has a lower cleaning standard, and the lidar window except the central area has a lower cleaning standard Areas have high cleaning standards. In this case, the cleaning standard refers to the standard that triggers the cleaning mechanism to clean, and the standard can be a size standard or a standard such as reflection intensity. Therefore, in this case, the judgment corresponding to a specific area can be made according to the cleaning standards of different areas, and when the size of the obstruction located in the area exceeds the cleaning standard of the area, a cleaning instruction is generated to clean the area, Or clean the entire lidar window.

示例性地,对激光雷达视窗的清洗适用于任意类型的遮挡物,既适用于部分透明遮挡物,又适用于不透光遮挡物。对激光雷达视窗的清洗例如可以采用液体的方式进行,液体中可以包括易挥发的有机物。一种可选的清洗视窗的液体可以是玻璃水,玻璃水包括水、酒精、乙二醇、缓蚀剂及多种表面活性剂。在其的实施例中,清洗剂也可以是高压的气液混合物,或者辅助以激光对污物进行烧灼。Exemplarily, the cleaning of the lidar window is applicable to any type of shields, both for partially transparent shields and for opaque shields. For example, the cleaning of the lidar window can be performed by using a liquid, and the liquid can include volatile organic substances. An optional liquid for cleaning the window can be glass water, and the glass water includes water, alcohol, glycol, corrosion inhibitor and various surfactants. In its embodiment, the cleaning agent can also be a high-pressure gas-liquid mixture, or cauterize the dirt with the aid of a laser.

本发明实施例中,当遮挡物的面积大于预设值时,可以生成清洗指令以控制清洗机构对视窗进行清洗;和/或,当遮挡物位于视窗的工作区域时,可以生成清洗指令以控制清洗机构对视窗进行清洗。另外,也可以根据不同区域的清洗标准,当位于该区域中的遮挡物的大小超过清洗标准时,生成清洗指令。In this embodiment of the present invention, when the area of the obstruction is larger than the preset value, a cleaning instruction may be generated to control the cleaning mechanism to clean the window; and/or, when the obstruction is located in the working area of the window, a cleaning instruction may be generated to control The cleaning mechanism cleans the window. In addition, according to the cleaning standards of different areas, when the size of the obstructions located in the area exceeds the cleaning standard, a cleaning instruction can be generated.

实施例五Embodiment 5

图5是本发明实施例五中的一种激光雷达视窗污物的检测装置的结构示意图,该装置可执行本发明任意实施例所提供的激光雷达视窗污物的检测方法,具备执行方法相应的功能模块和有益效果。如图5所示,该装置具体包括:FIG. 5 is a schematic structural diagram of an apparatus for detecting dirt on a lidar window according to Embodiment 5 of the present invention. The apparatus can execute the method for detecting dirt on a lidar window provided by any embodiment of the present invention, and has the corresponding method for executing the method. Functional modules and beneficial effects. As shown in Figure 5, the device specifically includes:

点云数据获取模块501,用于获取激光雷达扫描得到的点云数据;点云数据包括反射光强度。The point cloud data acquisition module 501 is used for acquiring point cloud data obtained by laser radar scanning; the point cloud data includes reflected light intensity.

障碍物识别模块502,用于对点云数据进行识别确定各障碍物。The obstacle identification module 502 is used for identifying the point cloud data to determine each obstacle.

可疑遮挡物确定模块503,用于将各障碍物中位于激光雷达的视窗位置的预设距离范围内的障碍物确定为可疑遮挡物。The suspicious occluder determination module 503 is configured to determine, among the obstacles, obstacles located within a preset distance range of the window position of the lidar as suspicious occluders.

遮挡物确定模块504,用于在若各可疑遮挡物中存在至少一个的反射光强度大于第一预设光强度,则确定激光雷达的视窗上存在遮挡物。The blocking object determination module 504 is configured to determine that there is a blocking object on the window of the lidar if the reflected light intensity of at least one of the suspicious blocking objects is greater than the first preset light intensity.

进一步地,该装置还包括:遮挡物类型判断模块,用于若遮挡物的反射光强度大于第一预设光强度且小于或者等于第二预设光强度,则遮挡物为部分透明遮挡物,若遮挡物的反射光强度大于第二预设光强度,则遮挡物为不透光遮挡物;其中,第二预设光强度大于第一预设光强度。Further, the device further includes: a blocker type judgment module, which is used to determine that the blocker is a partially transparent blocker if the reflected light intensity of the blocker is greater than the first preset light intensity and less than or equal to the second preset light intensity, If the reflected light intensity of the shielding object is greater than the second preset light intensity, the shielding object is an opaque shielding object; wherein the second preset light intensity is greater than the first preset light intensity.

进一步地,该装置还包括:清洗控制模块,用于若遮挡物的数据点在点云数据中的比例大于预设比例,则生成清洗指令,以控制清洗机构对视窗进行清洗。Further, the device further includes: a cleaning control module, configured to generate a cleaning instruction to control the cleaning mechanism to clean the window if the ratio of the data points of the obstruction in the point cloud data is greater than a preset ratio.

进一步地,该装置还包括:加热控制模块,用于获取激光雷达的视窗的温度;Further, the device further includes: a heating control module for acquiring the temperature of the window of the lidar;

在激光雷达的视窗的温度小于第一预设温度值时,对激光雷达的视窗进行加热;heating the window of the lidar when the temperature of the window of the lidar is less than the first preset temperature value;

在激光雷达的视窗的温度大于第二预设温度值时,停止对激光雷达的视窗进行加热;第二预设温度值大于第一预设温度值。When the temperature of the window of the lidar is greater than the second preset temperature value, the heating of the window of the lidar is stopped; the second preset temperature value is greater than the first preset temperature value.

进一步地,可疑遮挡物确定模块503,还用于将各障碍物中位于激光雷达的视窗位置的预设距离范围内且在至少两帧相邻点云数据中的位置分布相似的障碍物确定为可疑遮挡物。Further, the suspicious occluder determination module 503 is also used to determine obstacles that are located within the preset distance range of the lidar window position and have similar position distributions in at least two frames of adjacent point cloud data as Suspicious obstruction.

进一步地,可疑遮挡物确定模块503,还用于将各障碍物中位于激光雷达的视窗位置的预设距离范围内且在至少连续两帧点云数据中的距离偏差小于第一距离,则将障碍物确定可疑遮挡物。Further, the suspicious occluder determination module 503 is also used to determine that each obstacle is located within the preset distance range of the window position of the lidar and the distance deviation in at least two consecutive frames of point cloud data is less than the first distance, then Obstacles Identify suspicious obstructions.

进一步地,清洗控制模块,还用于根据遮挡物的数据点确定遮挡物的大小和在视窗的位置;Further, the cleaning control module is also used to determine the size of the occluder and the position on the window according to the data points of the occluder;

在遮挡物的面积大于预设值和/或遮挡物位于视窗的工作区域时,生成清洗指令以控制清洗机构对视窗进行清洗;或者When the area of the obstruction is larger than the preset value and/or the obstruction is located in the working area of the window, a cleaning instruction is generated to control the cleaning mechanism to clean the window; or

根据位置获取对应于该位置的清洗标准,在遮挡物的大小超过清洗标准时,生成清洗指令。The cleaning standard corresponding to the location is obtained according to the location, and when the size of the obstruction exceeds the cleaning standard, a cleaning instruction is generated.

实施例六Embodiment 6

图6A为本发明实施例六提供的一种激光雷达的清洗系统的结构示意图,图6B是本发明实施例六中的一种激光雷达的清洗系统中清洗控制设备的结构示意图。图6A所示的清洗系统包括激光雷达清洗机构61和清洗控制设备60。激光雷达清洗机构61用于对激光雷达的视窗进行清洗。清洗控制设备60,与激光雷达清洗机构61连接。清洗控制设备60包括处理器601和存储器602。存储器602中存储有计算机程序,以使得处理器601执行计算机程序时实现上述实施例中激光雷达视窗污物的检测方法。图6B示出了适于用来实现本发明实施方式的示例性处理设备60的框图。图6B显示的处理设备60仅仅是一个示例,不应对本发明实施例的功能和使用范围带来任何限制。如图6B所示,该处理设备60以通用计算设备的形式表现。该处理设备60的组件可以包括但不限于:一个或者多个处理器601,系统存储器602,连接不同系统组件(包括系统存储器602和处理器601)的总线603。6A is a schematic structural diagram of a laser radar cleaning system according to Embodiment 6 of the present invention, and FIG. 6B is a structural schematic diagram of a cleaning control device in a laser radar cleaning system according to Embodiment 6 of the present invention. The cleaning system shown in FIG. 6A includes a laser radar cleaning mechanism 61 and a cleaning control device 60 . The lidar cleaning mechanism 61 is used for cleaning the window of the lidar. The cleaning control device 60 is connected to the laser radar cleaning mechanism 61 . The cleaning control device 60 includes a processor 601 and a memory 602 . A computer program is stored in the memory 602, so that when the processor 601 executes the computer program, the detection method of the lidar window contamination in the above-mentioned embodiment is implemented. Figure 6B shows a block diagram of an exemplary processing device 60 suitable for use in implementing embodiments of the present invention. The processing device 60 shown in FIG. 6B is only an example, and should not impose any limitation on the function and scope of use of the embodiments of the present invention. As shown in Figure 6B, the processing device 60 takes the form of a general purpose computing device. Components of the processing device 60 may include, but are not limited to, one or more processors 601 , a system memory 602 , and a bus 603 connecting different system components (including the system memory 602 and the processor 601 ).

总线603表示几类总线结构中的一种或多种,包括存储器总线或者存储器控制器,外围总线,图形加速端口,处理器或者使用多种总线结构中的任意总线结构的局域总线。举例来说,这些体系结构包括但不限于工业标准体系结构(ISA)总线,微通道体系结构(MAC)总线,增强型ISA总线、视频电子标准协会(VESA)局域总线以及外围组件互连(PCI)总线。Bus 603 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of a variety of bus structures. By way of example, these architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect ( PCI) bus.

处理设备60典型地包括多种计算机系统可读介质。这些介质可以是任何能够被处理设备60访问的可用介质,包括易失性和非易失性介质,可移动的和不可移动的介质。Processing device 60 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by processing device 60, including both volatile and non-volatile media, removable and non-removable media.

系统存储器602可以包括易失性存储器形式的计算机系统可读介质,例如随机存取存储器(RAM)604和/或高速缓存存储器605。处理设备60可以进一步包括其它可移动/不可移动的、易失性/非易失性计算机系统存储介质。仅作为举例,存储系统606可以用于读写不可移动的、非易失性磁介质(图6B未显示,通常称为“硬盘驱动器”)。尽管图6B中未示出,可以提供用于对可移动非易失性磁盘(例如“软盘”)读写的磁盘驱动器,以及对可移动非易失性光盘(例如CD-ROM,DVD-ROM或者其它光介质)读写的光盘驱动器。在这些情况下,每个驱动器可以通过一个或者多个数据介质接口与总线603相连。系统存储器602可以包括至少一个程序产品,该程序产品具有一组(例如至少一个)程序模块,这些程序模块被配置以执行本发明各实施例的功能。System memory 602 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 604 and/or cache memory 605 . Processing device 60 may further include other removable/non-removable, volatile/non-volatile computer system storage media. For example only, storage system 606 may be used to read and write to non-removable, non-volatile magnetic media (not shown in FIG. 6B, commonly referred to as a "hard drive"). Although not shown in Figure 6B, a disk drive may be provided for reading and writing to removable non-volatile magnetic disks (eg "floppy disks"), as well as removable non-volatile optical disks (eg CD-ROM, DVD-ROM) or other optical media) to read and write optical drives. In these cases, each drive may be connected to bus 603 through one or more data media interfaces. System memory 602 may include at least one program product having a set (eg, at least one) of program modules configured to perform the functions of various embodiments of the present invention.

具有一组(至少一个)程序模块607的程序/实用工具608,可以存储在例如系统存储器602中,这样的程序模块607包括但不限于操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。程序模块607通常执行本发明所描述的实施例中的功能和/或方法。A program/utility 608 having a set (at least one) of program modules 607, which may be stored, for example, in system memory 602, such program modules 607 including, but not limited to, an operating system, one or more application programs, other program modules, and programs Data, each or some combination of these examples may include an implementation of a network environment. Program modules 607 generally perform the functions and/or methods in the described embodiments of the present invention.

处理设备60也可以与一个或多个外部设备609(例如键盘、指向设备、显示器610等)通信,还可与一个或者多个使得用户能与该设备交互的设备通信,和/或与使得该处理设备60能与一个或多个其它计算设备进行通信的任何设备(例如网卡,调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口611进行。并且,处理设备60还可以通过网络适配器612与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图6B所示,网络适配器612通过总线603与处理设备60的其它模块通信。应当明白,尽管图中未示出,可以结合处理设备60使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。The processing device 60 may also communicate with one or more external devices 609 (eg, keyboard, pointing device, display 610, etc.), may also communicate with one or more devices that enable a user to interact with the device, and/or communicate with the device that enables the user to interact with the device. Processing device 60 can communicate with any device (eg, network card, modem, etc.) that communicates with one or more other computing devices. Such communication may take place through input/output (I/O) interface 611 . Also, processing device 60 may communicate with one or more networks (eg, a local area network (LAN), a wide area network (WAN), and/or a public network such as the Internet) through a network adapter 612 . As shown in FIG. 6B , network adapter 612 communicates with other modules of processing device 60 via bus 603 . It should be understood that, although not shown, other hardware and/or software modules may be used in conjunction with processing device 60, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives and data backup storage systems.

处理器601通过运行存储在系统存储器602中的程序,从而执行各种功能应用以及数据处理,例如针对每个激光雷达实现本发明实施例所提供的基于激光雷达的地图构建方法。The processor 601 executes various functional applications and data processing by running programs stored in the system memory 602 , for example, implementing the lidar-based map construction method provided by the embodiments of the present invention for each lidar.

实施例七Embodiment 7

本发明实施例七还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时可实现上述实施例所述的激光雷达视窗污物的检测方法。Embodiment 7 of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the method for detecting dirt on a lidar window described in the foregoing embodiments can be implemented.

本发明实施例的计算机存储介质,可以采用一个或多个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质例如可以是但不限于:电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本文件中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。The computer storage medium in the embodiments of the present invention may adopt any combination of one or more computer-readable mediums. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or any combination of the above. More specific examples (a non-exhaustive list) of computer readable storage media include: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), Erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.

计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。A computer-readable signal medium may include a propagated data signal in baseband or as part of a carrier wave, with computer-readable program code embodied thereon. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device .

计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:无线、电线、光缆、RF等等,或者上述的任意合适的组合。Program code embodied on a computer readable medium may be transmitted using any suitable medium including, but not limited to, wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

可以以一种或多种程序设计语言或其组合来编写用于执行本发明操作的计算机程序代码,所述程序设计语言包括面向对象的程序设计语言,诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络,包括局域网(LAN)或广域网(WAN),连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for carrying out operations of the present invention may be written in one or more programming languages, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional Procedural programming language - such as the "C" language or similar programming language. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a local area network (LAN) or wide area network (WAN), or may be connected to an external computer (eg, through the Internet using an Internet service provider) connect).

注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整、相互结合和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。Note that the above are only preferred embodiments of the present invention and applied technical principles. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and various obvious changes, readjustments, combinations and substitutions can be made by those skilled in the art without departing from the protection scope of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and can also include more other equivalent embodiments without departing from the concept of the present invention. The scope is determined by the scope of the appended claims.

Claims (10)

1.一种激光雷达视窗污物的检测方法,其特征在于,包括:1. a detection method of lidar window dirt, is characterized in that, comprises: 获取所述激光雷达扫描得到的点云数据;所述点云数据包括反射光强度;acquiring point cloud data obtained by scanning the lidar; the point cloud data includes reflected light intensity; 对所述点云数据进行识别确定各障碍物;Identifying the point cloud data to determine each obstacle; 将各障碍物中位于所述激光雷达的视窗位置的预设距离范围内的障碍物确定为可疑遮挡物;Determining the obstacles located within the preset distance range of the window position of the lidar among the obstacles as suspicious occluders; 若各所述可疑遮挡物中存在至少一个的反射光强度大于第一预设光强度,则确定所述激光雷达的视窗上存在遮挡物。If the reflected light intensity of at least one of the suspicious blocking objects is greater than the first preset light intensity, it is determined that there is a blocking object on the window of the lidar. 2.根据权利要求1所述的方法,其特征在于,还包括:2. The method of claim 1, further comprising: 若所述遮挡物的反射光强度大于第一预设光强度且小于或者等于第二预设光强度,则所述遮挡物为部分透明遮挡物,若所述遮挡物的反射光强度大于所述第二预设光强度,则所述遮挡物为不透光遮挡物;其中,所述第二预设光强度大于所述第一预设光强度。If the reflected light intensity of the shield is greater than the first preset light intensity and less than or equal to the second preset light intensity, the shield is a partially transparent shield, and if the reflected light intensity of the shield is greater than the With the second preset light intensity, the shielding object is an opaque shielding object; wherein, the second preset light intensity is greater than the first preset light intensity. 3.根据权利要求1或2所述的方法,其特征在于,还包括:3. The method according to claim 1 or 2, characterized in that, further comprising: 若所述遮挡物的数据点在所述点云数据中的比例大于预设比例,则生成清洗指令,以控制清洗机构对所述视窗进行清洗。If the ratio of the data points of the occluder in the point cloud data is greater than a preset ratio, a cleaning instruction is generated to control the cleaning mechanism to clean the window. 4.根据权利要求1所述的方法,其特征在于,还包括:4. The method of claim 1, further comprising: 获取所述激光雷达的视窗的温度;obtain the temperature of the lidar's window; 在所述激光雷达的视窗的温度小于第一预设温度值时,对所述激光雷达的视窗进行加热;heating the window of the lidar when the temperature of the window of the lidar is less than a first preset temperature value; 在所述激光雷达的视窗的温度大于第二预设温度值时,停止对所述激光雷达的视窗进行加热;所述第二预设温度值大于所述第一预设温度值。When the temperature of the window of the lidar is greater than a second preset temperature value, the heating of the window of the lidar is stopped; the second preset temperature value is greater than the first preset temperature value. 5.根据权利要求1所述的方法,其特征在于,所述方法还包括,获取所述激光雷达多次扫描采集到的多帧点云数据;5 . The method according to claim 1 , wherein the method further comprises: acquiring multi-frame point cloud data collected by the lidar by scanning multiple times; 5 . 所述将各障碍物中位于所述激光雷达的视窗位置的预设距离范围内的障碍物确定为可疑遮挡物,包括:将各障碍物中位于所述激光雷达的视窗位置的预设距离范围内且在至少两帧相邻点云数据中的位置分布相似的障碍物确定为可疑遮挡物。Determining the obstacles located within the preset distance range of the window position of the lidar among the obstacles as suspicious obstructions includes: determining the obstacles located within the preset distance range of the window position of the lidar among the obstacles Obstacles with similar location distribution within at least two frames of adjacent point cloud data are determined as suspicious occluders. 6.根据权利要求1所述的方法,其特征在于,所述将各障碍物中位于所述激光雷达的视窗位置的预设距离范围内的障碍物确定为可疑遮挡物,包括:6 . The method according to claim 1 , wherein the determining of obstacles located within a preset distance range of the window position of the lidar as suspicious occluders in each obstacle comprises: 6 . 将各障碍物中位于所述激光雷达的视窗位置的预设距离范围内且在至少连续两帧所述点云数据中的距离偏差小于第一距离,则将所述障碍物确定可疑遮挡物。If each obstacle is located within a preset distance range of the window position of the lidar and the distance deviation in at least two consecutive frames of the point cloud data is less than the first distance, the obstacle is determined as a suspicious occluder. 7.根据权利要求1所述的方法,其特征在于,还包括:7. The method of claim 1, further comprising: 根据所述遮挡物的数据点确定所述遮挡物的大小和在所述视窗的位置;Determine the size of the occluder and the position on the window according to the data points of the occluder; 在所述遮挡物的面积大于预设值和/或所述遮挡物位于所述视窗的工作区域时,生成清洗指令以控制清洗机构对所述视窗进行清洗;或者When the area of the shield is larger than a preset value and/or the shield is located in the working area of the window, a cleaning instruction is generated to control the cleaning mechanism to clean the window; or 根据所述位置获取对应于该位置的清洗标准,在所述遮挡物的大小超过所述清洗标准时,生成清洗指令。The cleaning standard corresponding to the position is acquired according to the position, and when the size of the obstruction exceeds the cleaning standard, a cleaning instruction is generated. 8.一种激光雷达视窗污物的检测装置,其特征在于,包括:8. A device for detecting dirt on a lidar window, comprising: 点云数据获取模块,用于获取所述激光雷达扫描得到的点云数据;所述点云数据包括反射光强度;a point cloud data acquisition module for acquiring point cloud data obtained by scanning the lidar; the point cloud data includes reflected light intensity; 障碍物识别模块,用于对所述点云数据进行识别确定各障碍物;an obstacle identification module, used for identifying the point cloud data to determine each obstacle; 可疑遮挡物确定模块,用于将各障碍物中位于所述激光雷达的视窗位置的预设距离范围内的障碍物确定为可疑遮挡物;a suspicious occluder determination module, configured to determine the obstacles located within the preset distance range of the window position of the lidar among the obstacles as suspicious occluders; 遮挡物确定模块,用于在若各所述可疑遮挡物中存在至少一个的反射光强度大于第一预设光强度,则确定所述激光雷达的视窗上存在遮挡物。A blocker determination module, configured to determine that there is a blocker on the window of the lidar if the reflected light intensity of at least one of the suspicious blockers is greater than the first preset light intensity. 9.一种激光雷达清洗系统,其特征在于,包括:9. A laser radar cleaning system, comprising: 激光雷达清洗机构,用于对激光雷达的视窗进行清洗;以及A lidar cleaning mechanism for cleaning the lidar window; and 清洗控制设备,与所述激光雷达清洗机构连接,所述清洗控制设备包括处理器和存储器;所述存储器中存储有计算机程序,以使得所述处理器执行所述计算机程序时实现如权利要求1~7任一项所述的方法。A cleaning control device, connected to the lidar cleaning mechanism, the cleaning control device includes a processor and a memory; a computer program is stored in the memory, so that when the processor executes the computer program, the process as claimed in claim 1 is realized The method of any one of ~7. 10.一种计算机存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如权利要求1~7任一所述的方法。10 . A computer storage medium on which a computer program is stored, characterized in that, when the program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
CN202010106656.7A 2020-02-21 2020-02-21 A method, device, system and medium for detecting dirt on a lidar window Active CN111429400B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010106656.7A CN111429400B (en) 2020-02-21 2020-02-21 A method, device, system and medium for detecting dirt on a lidar window

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010106656.7A CN111429400B (en) 2020-02-21 2020-02-21 A method, device, system and medium for detecting dirt on a lidar window

Publications (2)

Publication Number Publication Date
CN111429400A true CN111429400A (en) 2020-07-17
CN111429400B CN111429400B (en) 2021-04-20

Family

ID=71547077

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010106656.7A Active CN111429400B (en) 2020-02-21 2020-02-21 A method, device, system and medium for detecting dirt on a lidar window

Country Status (1)

Country Link
CN (1) CN111429400B (en)

Cited By (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112731412A (en) * 2020-12-28 2021-04-30 南京苏美达智能技术有限公司 Ultrasonic obstacle avoidance method and automatic walking equipment
WO2021169717A1 (en) * 2020-02-25 2021-09-02 华为技术有限公司 Radar shielding object detection method and apparatus
CN113409279A (en) * 2021-06-24 2021-09-17 北京车和家信息技术有限公司 Effect evaluation method, device, equipment and medium of laser radar cleaning system
CN113635864A (en) * 2021-07-27 2021-11-12 际络科技(上海)有限公司 Cleaning method and device for vehicle-mounted laser radar, electronic equipment and storage medium
CN114012783A (en) * 2021-10-12 2022-02-08 深圳优地科技有限公司 Robot fault detection method, robot and storage medium
CN114488173A (en) * 2021-12-28 2022-05-13 深圳市灵明光子科技有限公司 Distance detection method and system based on flight time
CN114550080A (en) * 2021-12-17 2022-05-27 浙江高信技术股份有限公司 Lighting barrier detection system and method for street lamp and cleaning system
CN114755642A (en) * 2022-03-23 2022-07-15 广州文远知行科技有限公司 Radar line detection method and device, vehicle and storage medium
CN114839161A (en) * 2022-03-31 2022-08-02 广州小鹏自动驾驶科技有限公司 Dirt detection method and device, vehicle and storage medium
CN114895322A (en) * 2022-05-26 2022-08-12 上海擎朗智能科技有限公司 Laser radar stain detection method and robot
CN114966714A (en) * 2021-02-26 2022-08-30 华为技术有限公司 Window occlusion detection method and device
CN115144836A (en) * 2022-06-16 2022-10-04 杭州海康机器人技术有限公司 A method and device for detecting dust on a lidar surface
CN115359121A (en) * 2022-08-17 2022-11-18 湖南大学无锡智能控制研究院 Method and device for lidar occlusion judgment and cleaning
WO2022252057A1 (en) * 2021-05-31 2022-12-08 华为技术有限公司 Detection method and apparatus
CN115675496A (en) * 2022-09-27 2023-02-03 嬴彻星创智能科技(上海)有限公司 Laser radar cleaning control method and system, electronic device and storage medium
CN115728734A (en) * 2021-08-31 2023-03-03 深圳市速腾聚创科技有限公司 Laser radar occlusion detection method, device, storage medium and laser radar
CN115792870A (en) * 2023-02-09 2023-03-14 图达通智能科技(苏州)有限公司 Window occlusion detection method and device for laser radar
CN116047540A (en) * 2023-02-07 2023-05-02 湖南大学无锡智能控制研究院 Method and device for lidar self-occlusion judgment based on point cloud intensity information
WO2023070583A1 (en) * 2021-10-29 2023-05-04 华为技术有限公司 Laser radar device, cleaning method, and vehicle
CN116125437A (en) * 2023-04-19 2023-05-16 山东鼎瞰智能科技发展有限公司 Safety laser scanner and optical window detection method thereof
DE102022000235A1 (en) 2022-01-24 2023-07-27 Mercedes-Benz Group AG Method for cleaning a viewing window of a lidar
CN116626653A (en) * 2022-02-10 2023-08-22 广州汽车集团股份有限公司 Laser radar cleaning method, device, vehicle and storage medium
CN117572458A (en) * 2023-11-08 2024-02-20 探维科技(苏州)有限公司 Dirt shielding detection method for laser radar window and related equipment thereof
EP4386431A1 (en) 2022-12-15 2024-06-19 Mettler-Toledo GmbH Method for diagnosing erroneous distance measurement of a laser rangefinder unit, laser rangefinder unit and computer program
WO2024131976A1 (en) * 2022-12-22 2024-06-27 Hesai Technology Co., Ltd. Obstruction detection methods and obstruction detection devices for lidars, and lidars
CN118965285A (en) * 2024-10-17 2024-11-15 福建飞通通讯科技股份有限公司 A fusion system and method for marine radar targets and AIS targets
WO2025060994A1 (en) * 2023-09-19 2025-03-27 中国三峡新能源(集团)股份有限公司 Crack early warning method and apparatus for glass panel of photovoltaic module, electronic device, and medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5745050A (en) * 1994-10-21 1998-04-28 Mitsubishi Denki Kabushiki Kaisha Obstacle detection apparatus for vehicles
JPH10142335A (en) * 1996-11-07 1998-05-29 Omron Corp Object information detection device
JP2000035479A (en) * 1998-07-16 2000-02-02 Nec Corp Inter-vehicle distance detecting device
JP2001318146A (en) * 2000-05-11 2001-11-16 Omron Corp Object information detection device
US20050184259A1 (en) * 2004-02-19 2005-08-25 Takekazu Terui Object detection apparatus for a vehicle
US20080158555A1 (en) * 2006-12-28 2008-07-03 Hokuyo Automatic Co., Ltd. Optical window contamination detecting device for optical apparatus
JP2018151286A (en) * 2017-03-14 2018-09-27 オムロンオートモーティブエレクトロニクス株式会社 Object detector
CN110208772A (en) * 2019-05-27 2019-09-06 驭势科技(北京)有限公司 Laser radar protective cover and laser radar apparatus
WO2019233919A1 (en) * 2018-06-07 2019-12-12 Robert Bosch Gmbh Apparatus for recognizing soiling of a transmitting window and/or a receiving window of a lidar device and corresponding method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5745050A (en) * 1994-10-21 1998-04-28 Mitsubishi Denki Kabushiki Kaisha Obstacle detection apparatus for vehicles
JPH10142335A (en) * 1996-11-07 1998-05-29 Omron Corp Object information detection device
JP2000035479A (en) * 1998-07-16 2000-02-02 Nec Corp Inter-vehicle distance detecting device
JP2001318146A (en) * 2000-05-11 2001-11-16 Omron Corp Object information detection device
US20050184259A1 (en) * 2004-02-19 2005-08-25 Takekazu Terui Object detection apparatus for a vehicle
US20080158555A1 (en) * 2006-12-28 2008-07-03 Hokuyo Automatic Co., Ltd. Optical window contamination detecting device for optical apparatus
JP2018151286A (en) * 2017-03-14 2018-09-27 オムロンオートモーティブエレクトロニクス株式会社 Object detector
WO2019233919A1 (en) * 2018-06-07 2019-12-12 Robert Bosch Gmbh Apparatus for recognizing soiling of a transmitting window and/or a receiving window of a lidar device and corresponding method
CN110208772A (en) * 2019-05-27 2019-09-06 驭势科技(北京)有限公司 Laser radar protective cover and laser radar apparatus

Cited By (41)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021169717A1 (en) * 2020-02-25 2021-09-02 华为技术有限公司 Radar shielding object detection method and apparatus
CN112731412A (en) * 2020-12-28 2021-04-30 南京苏美达智能技术有限公司 Ultrasonic obstacle avoidance method and automatic walking equipment
CN112731412B (en) * 2020-12-28 2023-09-15 南京苏美达智能技术有限公司 Ultrasonic obstacle avoidance method and automatic walking equipment
CN114966714B (en) * 2021-02-26 2025-09-12 深圳引望智能技术有限公司 Window occlusion detection method and device
CN114966714A (en) * 2021-02-26 2022-08-30 华为技术有限公司 Window occlusion detection method and device
WO2022252057A1 (en) * 2021-05-31 2022-12-08 华为技术有限公司 Detection method and apparatus
CN113409279A (en) * 2021-06-24 2021-09-17 北京车和家信息技术有限公司 Effect evaluation method, device, equipment and medium of laser radar cleaning system
CN113635864A (en) * 2021-07-27 2021-11-12 际络科技(上海)有限公司 Cleaning method and device for vehicle-mounted laser radar, electronic equipment and storage medium
CN113635864B (en) * 2021-07-27 2023-08-15 际络科技(上海)有限公司 Vehicle-mounted laser radar cleaning method and device, electronic equipment and storage medium
CN115728734B (en) * 2021-08-31 2024-05-31 深圳市速腾聚创科技有限公司 Laser radar occlusion detection method, device, storage medium and laser radar
CN115728734A (en) * 2021-08-31 2023-03-03 深圳市速腾聚创科技有限公司 Laser radar occlusion detection method, device, storage medium and laser radar
CN114012783A (en) * 2021-10-12 2022-02-08 深圳优地科技有限公司 Robot fault detection method, robot and storage medium
CN117295967A (en) * 2021-10-29 2023-12-26 华为技术有限公司 Lidar equipment, cleaning methods, and vehicles
WO2023070583A1 (en) * 2021-10-29 2023-05-04 华为技术有限公司 Laser radar device, cleaning method, and vehicle
CN114550080A (en) * 2021-12-17 2022-05-27 浙江高信技术股份有限公司 Lighting barrier detection system and method for street lamp and cleaning system
CN114488173B (en) * 2021-12-28 2025-11-07 深圳市灵明光子科技有限公司 Distance detection method and system based on flight time
CN114488173A (en) * 2021-12-28 2022-05-13 深圳市灵明光子科技有限公司 Distance detection method and system based on flight time
DE102022000235B4 (en) 2022-01-24 2024-05-29 Mercedes-Benz Group AG Method for cleaning a viewing window of a lidar
DE102022000235A1 (en) 2022-01-24 2023-07-27 Mercedes-Benz Group AG Method for cleaning a viewing window of a lidar
CN116626653A (en) * 2022-02-10 2023-08-22 广州汽车集团股份有限公司 Laser radar cleaning method, device, vehicle and storage medium
CN114755642B (en) * 2022-03-23 2023-03-10 广州文远知行科技有限公司 Radar line detection method and device, vehicle and storage medium
CN114755642A (en) * 2022-03-23 2022-07-15 广州文远知行科技有限公司 Radar line detection method and device, vehicle and storage medium
CN114839161A (en) * 2022-03-31 2022-08-02 广州小鹏自动驾驶科技有限公司 Dirt detection method and device, vehicle and storage medium
CN114895322A (en) * 2022-05-26 2022-08-12 上海擎朗智能科技有限公司 Laser radar stain detection method and robot
CN115144836B (en) * 2022-06-16 2025-05-27 杭州海康机器人股份有限公司 A laser radar surface dust detection method and device
CN115144836A (en) * 2022-06-16 2022-10-04 杭州海康机器人技术有限公司 A method and device for detecting dust on a lidar surface
CN115359121B (en) * 2022-08-17 2023-05-12 湖南大学无锡智能控制研究院 Laser radar shielding judging and cleaning method and device
CN115359121A (en) * 2022-08-17 2022-11-18 湖南大学无锡智能控制研究院 Method and device for lidar occlusion judgment and cleaning
WO2024037144A1 (en) * 2022-08-17 2024-02-22 湖南大学无锡智能控制研究院 Laser radar occlusion determination and cleaning method and apparatus
CN115675496A (en) * 2022-09-27 2023-02-03 嬴彻星创智能科技(上海)有限公司 Laser radar cleaning control method and system, electronic device and storage medium
EP4386431A1 (en) 2022-12-15 2024-06-19 Mettler-Toledo GmbH Method for diagnosing erroneous distance measurement of a laser rangefinder unit, laser rangefinder unit and computer program
WO2024131976A1 (en) * 2022-12-22 2024-06-27 Hesai Technology Co., Ltd. Obstruction detection methods and obstruction detection devices for lidars, and lidars
CN116047540B (en) * 2023-02-07 2024-03-22 湖南大学无锡智能控制研究院 Laser radar self-shielding judging method and device based on point cloud intensity information
CN116047540A (en) * 2023-02-07 2023-05-02 湖南大学无锡智能控制研究院 Method and device for lidar self-occlusion judgment based on point cloud intensity information
CN115792870A (en) * 2023-02-09 2023-03-14 图达通智能科技(苏州)有限公司 Window occlusion detection method and device for laser radar
CN116125437A (en) * 2023-04-19 2023-05-16 山东鼎瞰智能科技发展有限公司 Safety laser scanner and optical window detection method thereof
CN116125437B (en) * 2023-04-19 2023-07-14 山东鼎瞰智能科技发展有限公司 Safety laser scanner and optical window detection method thereof
WO2025060994A1 (en) * 2023-09-19 2025-03-27 中国三峡新能源(集团)股份有限公司 Crack early warning method and apparatus for glass panel of photovoltaic module, electronic device, and medium
CN117572458B (en) * 2023-11-08 2024-05-31 探维科技(苏州)有限公司 Dirt shielding detection method for laser radar window and related equipment thereof
CN117572458A (en) * 2023-11-08 2024-02-20 探维科技(苏州)有限公司 Dirt shielding detection method for laser radar window and related equipment thereof
CN118965285A (en) * 2024-10-17 2024-11-15 福建飞通通讯科技股份有限公司 A fusion system and method for marine radar targets and AIS targets

Also Published As

Publication number Publication date
CN111429400B (en) 2021-04-20

Similar Documents

Publication Publication Date Title
CN111429400A (en) A method, device, system and medium for detecting dirt on a lidar window
CN112513679B (en) Target identification method and device
JP6866439B2 (en) Position detection method and its devices, equipment, storage media and vehicles
CN102027389A (en) Obstacle detection method and system
CN113963330A (en) Obstacle detection method, device, electronic device and storage medium
CN111402160B (en) A point cloud data denoising method, device, equipment and storage medium
WO2023216555A1 (en) Obstacle avoidance method and apparatus based on binocular vision, and robot and medium
JP2021514457A (en) Rain filtering techniques for autonomous vehicles
CN114549467A (en) Single-line laser glass noise filtering method, device, detection device and storage medium
CN110346825B (en) Vehicle positioning method and device, vehicle and storage medium
CN113776520A (en) Map construction method, map use method, map construction device, map use device, robot and medium
WO2022227877A1 (en) Obstacle avoidance method and apparatus for automatic walking device, medium, and electronic device
CN110430361B (en) A kind of window cleaning method and device
CN120089020A (en) Curve warning method, system and terminal based on target detection
CN118210312A (en) Control method and device of mobile equipment, equipment, medium and program product
CN113763260B (en) Water drop noise-based noise filtering method, device, equipment and storage medium
CN112776800B (en) Early warning method, device, equipment and storage medium
CN116098522A (en) Carpet area detection method and device and cleaning robot
CN115755097A (en) Weather condition detection method, device, equipment and storage medium
CN111383457A (en) Parking space status detection method and device, equipment and storage medium
CN114200935A (en) A kind of robot anti-fall method, device, electronic device and storage medium
CN115902915B (en) LiDAR-based methods, devices, and electronic equipment for identifying specular reflective objects.
CN118521996A (en) Parking space identification method and device, computer equipment and storage medium
US20240161517A1 (en) Detection method and system for a mobile object
CN115457505A (en) Small obstacle detection method, device and equipment for camera and storage medium

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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20260130

Address after: 401346 Chongqing City, Badong District, Jieshi Town, Shigui Avenue No. 16, Building 4, 2nd Floor, Room 1

Patentee after: Chongqing Lashen Intelligent System Technology Co.,Ltd.

Country or region after: China

Address before: 518106 Guangdong Province Shenzhen City Guangming New District Yulu Seventh Industrial Zone Building 2 8th Floor Area C

Patentee before: LEISHEN INTELLIGENT SYSTEM Co.,Ltd.

Country or region before: China