Detection of distance measurement data
By converting LiDAR sensor distance measurement data into image format and applying machine learning classification methods, the difficulty in evaluating LiDAR sensor measurement data under environmental interference is solved, achieving robust classification and data identification, suitable for 2D-LiDAR data.
Patent Information
- Application Number
- CN202110336145.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-03-27
- Filing Date
- 2021-03-29
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2041-03-29
AI Technical Summary
It is difficult to evaluate the measurement data of existing LiDAR sensors under environmental interference (such as fog, water droplets, dust, rain or snow). Traditional filter methods cannot effectively identify and eliminate large-area interference, and methods such as deep neural networks are mainly targeted at 3D- LiDAR data is difficult to apply to 2D-LiDAR data.
Convert distance measurement data into image format, use angle and time as the dimensions of the image, apply machine learning methods for image classification, identify environmental effects and distinguish objects and interference, and use image classification methods such as deep neural networks for processing.
It achieves robust classification of environmental effects without in-depth expertise, improves the reliability and accuracy of measurement data, avoids the need for special selection and combination of filters, and is suitable for 2D-LiDAR data.
Smart Images

Figure CN113447940B_ABST
Abstract
Description
[0001] The invention relates to a photoelectric sensor and a method for detecting distance measurement data of an object in a surveillance area.
[0002] Laser scanners are a widely used type of sensor for distance measurement. In this case, a light beam generated by a laser is periodically scanned across the monitoring area by means of a rotating mirror. The light is diffusely reflected at objects in the monitoring area and evaluated in the laser scanner. The angular position of the object is inferred from the angular position of the deflection unit, and the distance of the object from the laser scanner is additionally inferred from the light flight time when the speed of light is used. Using the angle information and the distance information, the position of the object in the monitoring area is recorded in two-dimensional polar coordinates. It is thus possible to determine the position of the object or to determine its contour.
[0003] Recently, in addition to the widely used laser scanners with rotating mirrors, there have also been variants with rotatable measuring heads (in which the laser and the light receiver rotate together), multi-beam systems for extending the measuring area beyond a single scanning plane, and also increasingly so-called solid-state systems (in which the movable parts are replaced by microsystems or electronic manipulators). A common umbrella term for such sensors for detecting distance measurement data is LiDAR (Light Detection and Ranging).
[0004] In many applications, the measuring environment of the LiDAR sensor is disturbed. This applies to use in outdoor areas subject to environmental influences such as fog, spray, dust, rain or snow (for example, in traffic monitoring), but also to use in dusty environments in mining or machinery, such as sawmills or processing industries. Here, there is the challenge of suppressing environmental influences in the distance measurement data and at the same time continuing to generate reliable object measurement values.
[0005] Traditional methods for improving measurements under environmental influences are based on filters that identify and eliminate typical interferences. Examples of this are so-called particle filters, echo filters or fog filters. Particle filters identify individual measuring points in time and space. As a result, larger or static objects are retained, but large-area interferences caused by fog or water spray, for example, cannot be filtered out. Echo filters can be used in so-called multi-echo laser scanners, which measure the distances of multiple objects arranged in sequence along the line of sight. This is related to the heuristic method (Heuristik), for example, in fog, the first peak in the received signal originates from fog droplets, and the last peak originates from the actual target object behind it. Echo filters are insensitive to large-area interferences, but heuristic methods do not always match the actual target objects, such as the case of edge contact on the edge between two objects. The fog filter suppresses the measured value of the typical intensity of the fog at the measured distance with an intensity less than or equal to that of the fog. Regardless of the scope of the interference, the fog filter can identify low-intensity interference effects. However, it is difficult to correctly set a corresponding distance-dependent fog threshold taking into account the energy loss of the light signal through the fog, and some distant and particularly dark objects are erroneously suppressed.
[0006] Each filter always simulates only a specific sub-aspect of the possible environmental influences. There is no universal filter, and the design and parameterization of the filter as well as the selection of the appropriate filter combination weighing the advantages and disadvantages in the specific application case require in-depth expert knowledge. Despite this effort, great compromises are often required.
[0007] As an alternative to filtering out interference influences, it is also conceivable to create a model of the object to be detected (e.g. a vehicle in traffic classification or an excavator shovel in mining) in reverse. This approach is discussed, for example, in the paper "Determining and verifying object pose from LiDAR measurements to support the perception needs of an autonomous excavator" by TGPillips at the University of Queensland in 2016. In case there is sufficient agreement between model and measurement data, the object is considered to be recognized, while all measurement data not explained by the model are interpreted as interference. This of course applies to hard objects, and not just environmental influences. Again, manual modeling requires a lot of effort.
[0008] The use of learning methods on the measurement data of LiDAR systems is further discussed in the prior art. The paper "A comprehensive review of 3D point cloud descriptors" by X.-F. Hana, JS Jin, J. Xie, M.-J. Wang and W. Jiang, published in February 2018 and available online at: http: / / arxiv.org / pdf / 1802.02297v1, deals with feature-based learning methods for classification. In particular in the context of autonomous driving and with the advent of high-resolution 3D-LiDAR scanners, the possibilities of deep neural networks are increasingly being discussed. Here, the LiDAR data are provided as depth maps, i.e. images in which the measured distances (instead of the usual color information or gray value information) are encoded into pixels.
[0009] In “RangeNet++: Fast and Accurate LiDAR Semantic Segmentation” by A. Milioto, I. Vizzo, J. Behley and C. Stachniss, 2019, http: / / www.ipb.uni-Bonn.de / WP-content / papercite-data / pdf / milioto2019iros.pd f, point-wise classification is implemented. Object recognition or specifically pedestrian recognition is known from “CNN-LIDAR pedestrian classification: combining range and reflectance data” by G. Melotti, A. Asvadi and C. Premediba, IEEE International Conference on Vehicle Electronics and Safety (ICVES), Madrid, September 2018, pp. 1-6. Multi-channel images are used here, whose pixels contain, in addition to depth information, also information about the intensity of the light received at the corresponding position. "CNN for Very Fast Ground Segmentation in Velodyne LiDAR Data" by M. Velas, M. Spanel, M. Hradis and A. Herout, published in September 2017, available online at http: / / arxiv.org / pdf / 1709.02128v1, describes ground recognition. In "Deep Lidar CNN to Understand the Dynamics of Moving Vehicles" by V. Vaquero, A. Sanfeliu and F. Moreno-Noguer, published in the 2018 IEEE International Conference on Robotics and Automation (ICRA), Brisbane, Queensland, May 2018, pp. 4504-4509, a motion analysis is implemented in which two sequentially recorded laser scans are combined into one image with four channels, thereby obtaining motion information.
[0010] The vast majority of methods and networks proposed in the literature are optimized for 3D-LiDAR data and cannot be easily transferred to common 2D laser scanners with only one scanning plane.
[0011] In by In "Tracking People in a Mobile Robot From 2D LIDAR Scans Using Full Convolutional Neural Networks for Security in Cluttered Environments" by M. Guerrero-Higueras et al., Frontiers in Neurorobotics, Vol. 12, 2018, p. 85, the measured angle and distance data are directly input into the pixel grid for point-by-point classification of people. In this way, a sparse image is produced in which the pixel where the scanning point is located obtains the value 1 or the intensity value of the scanning point, while all other positions obtain the value 0.
[0012] Alternatively, the deep neural network itself can also be adapted so that it can process 2D scans instead of images as input data. This approach is used, for example, in "DROW: Real-Time Deep Learning based Wheelchair Detection in 2D Range Data" by L. Beyer, A. Hermans, and B. Leibe, March 2016 (available online at http: / / arxiv.org / pdf / 1603.02636v2) to identify people and wheelchairs.
[0013] In "PointNet: Deep Learning on Point Sets for 3D Classification and Segmentation" by CRQi, H.Su, K.Mo, and LJGuibas, published in the Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2017, instead of using images, unordered point clouds are used directly as input to deep neural networks. These methods work for both 2D-LiDAR data and 3D-LiDAR data, but require specially adapted neural networks.
[0014] All of these methods cannot be used to identify environmental effects. Since these methods deal with spatial information, their applicability for this also seems limited. However, for many disturbances (e.g., rain or snow), the temporal behavior is also of interest, which has traditionally gone largely unnoticed.
[0015] It is therefore an object of the present invention to improve the evaluation of distance measurement data of universal sensors.
[0016] This task is achieved by means of a photoelectric sensor and a method for detecting distance measurement data of objects in a monitoring area. Photoelectric sensors can also be referred to as LiDAR sensors in the sense explained at the beginning. The measuring unit emits light and generates a received signal from the returned light. In order to achieve spatial resolution in multiple directions or angles, any scanning method is used for scanning, ranging from physical rotational or pivoting movements via deflection microsystems to purely electronic control. In multi-beam systems, at least some angles can also be scanned simultaneously.
[0017] The control and evaluation unit generates the distance measurement data by evaluating the received signals using the light time-of-flight method. Here, for each measurement, first of all the angle is changed, which is also called a scan. By repeating the measurement, i.e. carrying out a plurality of scans at consecutive points in time, the distance measurement data can be resolved in terms of angle and time. The angle grid and the time grid do not have to be regular, but preferably at least the angle grid itself should not change during the repeated measurements. The control and evaluation unit can be arranged inside the housing of the sensor, but can also be arranged at least partially or completely outside the housing of the sensor, in particular in a connected computer, a network or a cloud. For example, the tasks can be distributed in such a way that the distance measurement data themselves are still generated internally by means of the light time-of-flight method, but further processing is then carried out externally.
[0018] The invention is based on the basic idea of arranging the distance measurement data into an image and thus making the image available for numerous machine learning methods for image processing. For this purpose, angle and time are used as dimensions or axes of the image. In 2D-LiDAR detection, a two-dimensional image is obtained, wherein, without restriction of generality, the X-axis is given by the angle and the Y-axis is given by the time. The value of the corresponding pixel corresponds to the distance measured for this angle and this time. In 3D-LiDAR detection, a further axis is added for the second angle, usually the elevation angle relative to the central scanning plane. For example, the measurement data of a multi-beam laser scanner can be selectively processed as an image from 3D-LiDAR data or as multiple images of 2D-LiDAR data per beam.
[0019] This image can now be used to evaluate the LiDAR data that changes over time using machine learning image classification methods. In this case, pixels are associated with a corresponding class, which is used in particular to identify environmental influences.
[0020] The advantage of the invention is that a particularly robust classification can be achieved, with which properties specific to certain applications can be taken into account. This can be achieved without extensive specialist knowledge using a data-based approach, since the properties are implicitly learned from the data. In contrast to the learning methods discussed at the outset, the classical images with spatial resolution are not classified in all axes, but rather the time component is included as an axis of the image. This allows historical records to be evaluated, which can play an important role, in particular with regard to environmental influences. A special selection, adaptation or combination of suitable filters is no longer necessary.
[0021] Preferably, the image classification method distinguishes objects from interferences due to environmental influences, in particular due to dust, water spray, fog, rain or snow. The purpose of the classification is therefore to assign additional attributes to pixels as interferences and stationary objects, preferably in a binary manner between these two categories. Downstream logic for object classification, collision avoidance or other applications can then use the class information of the pixels, for example, in order to provide more robust and reliable results or to make decisions.
[0022] Preferably, the control and evaluation unit is configured to discard distance measurement data at pixels that are classified as interfering. For example, the pixels to be discarded can be set to the corresponding value 0 or NIL. Instead of completely discarding interfering pixels, they can be evaluated differently later, for example with a lower magnitude in a subordinate object evaluation.
[0023] Preferably, the control and evaluation unit is configured to determine an intensity value for a pixel in addition to the distance value. The intensity corresponds to the level of the received signal, in particular the level of the received signal within the range of a pulse echo detected during the light flight time method, and is also referred to as diffuse reflection value, brightness value or RSSI (Received Signal Strength Indicator). A multimodal image or multichannel image with two measured values is thereby generated for each pixel. The intensity value can also be taken into account by generating a further image similar to the image with the distance value for the intensity value and feeding it simultaneously or sequentially to the image classification method.
[0024] Preferably, the control and evaluation unit is configured to determine a plurality of distances for a pixel. In the pulse-based light time-of-flight method, there may be a plurality of received pulses or echoes, from which the distances can be measured respectively. This applies, for example, to the case of measuring through a glass sheet or other (semi) transparent object to another object behind it, wherein the glass sheet and the object provide distances respectively. In the context of the present invention, a semi-transparent object is in particular a disturbance, i.e. a fog echo or an echo caused by raindrops, etc. A multi-channel image is generated by measuring a plurality of distances, the channels of which correspond to a plurality of distances, for example a three-channel image is generated when three echoes are considered. If another variable (e.g., intensity) is measured, the number of channels becomes doubled, so that, for example, a six-channel image is then generated. In this case, additional information also used in the classical method is included: a particle filter evaluates the distance, a fog filter evaluates the intensity, and an echo filter evaluates a plurality of echoes, and the multi-channel image contains all the basic information. A large number of existing learning methods generally also allow the analysis of multi-channel images, so known and proven classification methods or deep neural networks can also be used for this purpose. Instead of multi-channel images, it is conceivable to evaluate multiple images using information from some channels or a single channel.
[0025] Preferably, the control and evaluation unit is configured to interpolate the distance measurement data of the pixels to be arranged to form an image, so as to also give distance values for angles and / or times that were not originally measured. LiDAR systems, in particular laser scanners, generate measurement values which are usually not arranged in a regular manner but as a point cloud. In this case, the mutual angular distances can be completely irregular. According to this embodiment, for the image, the measured distances and, if relevant, the measured intensities are interpolated to a uniform angular resolution. More precisely, the measurement cycle and the time interval between two repeated measurements are constant, but can also be varied according to the invention. Even if the measurement cycle is constant, the time resolution of the distance measurement data does not have to be regular, for example, the history to be taken into account can be only every i-th scan or a selection that becomes increasingly sparse as the scans increase, instead of continuously including the last n measurements.
[0026] Preferably, the control and evaluation unit is configured to backcalculate the distance measurement data for the angle and / or time of the light flight time from the image and to assign the corresponding class from one or more pixels in the neighborhood located at the corresponding angle and / or at the corresponding time to the distance measurement data. It can be said that this is the inverse of the interpolation of the previous paragraph, in which the classification of pixels from the arrangement within the image is brought back to the classification of the original distance measurement data. Therefore, the format of the now classified distance measurement data corresponds to the original format again, and this can simplify subsequent evaluations or make already existing subsequent evaluations more accessible. Since the angles of the image and the distance measurement data can be shifted relative to each other, the class of the closest angle in the image is assigned, or, for example, a class determined by the majority of neighboring angles is assigned.
[0027] Preferably, the image classification method only assigns categories to pixels at a fixed time. Although the entire image with the history represents the input variable, only the classification limited to the fixed time is generated as the output variable. This fixed time is actually a row of the image (or according to convention, a column). It is usually not interesting to classify the entire history, but only a certain measurement at a certain time, for which the history ultimately only provides auxiliary data. By being limited to a fixed time, the image classification method can be simplified and accelerated. Preferably, the fixed time is the present, that is, the most recent measurement or the most recent scan, so as to therefore specifically meet real-time requirements or quasi-real-time requirements. In the absence of real-time requirements, it is also conceivable to choose different times. Thus, the classification is based partly on the history and partly on the future in an arbitrary proportion, including not taking into account the history or the future.
[0028] Preferably, the image classification method has a deep neural network. With this structure, even complex image classifications can be performed very reliably. Alternative machine learning image classification methods are support vector machines or decision trees, which use the distance value and the intensity value of the current point and its neighborhood under appropriate normalization conditions as features.
[0029] Preferably, the image classification method is trained beforehand with images whose pixel classes are known. Such labeled or annotated images specify what are relevant distractions and what are objects. The structure of the training images corresponds to the structure of the images that are subsequently fed to the image classification method from the distance measurement data. Thus, the training images have at least an angular axis and a temporal axis, and the pixels encode distance measurements and, if necessary, intensities.
[0030] Preferably, the known categories are pre-set by targeted interference in certain sub-areas of the monitoring area. In this way, training images can be generated, which specifically show certain aspects to be taught. In addition, the annotation of the image is simplified because the location of the interference is largely known. The classification obtained in this way can then be manually processed. It is also conceivable to classify the training images completely manually, which of course does not have to be done pixel by pixel, but for example by circling certain areas or automatically pre-segmenting and manually selecting segments belonging to objects or interferences. Another possibility for obtaining annotated training images is to apply the conventional methods with filters or object models mentioned at the beginning to images suitable for this. Through training, the image classification method can then be generally used for other applications and / or interference situations.
[0031] Preferably, the image classification method is optimized for small errors in certain categories. Thus, another advantage of at least some machine learning image classification methods is utilized, which are biased towards certain categories in a targeted manner and make the assignment to this category particularly accurate, which is accompanied by a larger error that is intentionally accepted for another category. For example, as many object pixels as possible are identified themselves, at the expense of some interferences also being identified as objects. For example, this makes sense in anti-collision applications, where interferences that are mistakenly regarded as objects may lead to a loss of availability, but will never cause safety problems. In the opposite case, some object points are also selected as interferences, but the remaining object points are also reliable for this. For example, this is sufficient for measuring or identifying vehicles in traffic monitoring, where interferences that are regarded as object points may lead to rough misjudgments.
[0032] Preferably, the photoelectric sensor is configured as a 2D laser scanner. If its measuring unit has in particular a movable deflection unit for periodically scanning the monitoring area, it is a classical laser scanner with a vibrating mirror or a rotating mirror or a corresponding movable measuring head. However, the scanning method for detecting 2D-LiDAR data only along one line can also be implemented in other ways, for example by a microsystem or an electronic manipulator. The known learning methods for LiDAR data discussed at the beginning use a depth map with two lateral spatial dimensions X, Y and a measured distance as the Z axis. Therefore, these methods cannot be used for 2D-LiDAR data. According to the invention, time forms an additional axis and creates a data structure that is not actually an image in the traditional sense, but can be processed as an image. Therefore, all knowledge and existing implementation methods of machine learning methods for image processing, in particular deep neural networks, can also be applied to 2D laser scanners.
[0033] The method according to the invention can be developed in a similar manner and exhibits similar advantages therein. Advantageous features are described by way of example, but not exhaustively, in the dependent claims following the independent claim. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] The following is a more detailed description of other features and advantages of the present invention based on embodiments and with reference to the accompanying drawings. In the accompanying drawings:
[0035] Figure 1 A schematic diagram of a laser scanner is shown;
[0036] Figure 2 An overview diagram of a classification model for LiDAR data, in particular LiDAR data from a laser scanner, is shown;
[0037] Figure 3 A diagram showing processing of LiDAR data into images;
[0038] Figure 4 A diagram showing the use of machine learning methods to classify images from LiDAR data pixel by pixel;
[0039] Figure 5 Another illustration of the pixel-by-pixel classification is shown, wherein the time range to which the pixel-by-pixel classification is restricted is illustrated;
[0040] Figure 6 A diagram showing classification associated with image rows traced back to LiDAR data;
[0041] Figure 7 An exemplary diagram of a multi-channel training image with distance information and intensity information and pre-set belonging categories is shown; and
[0042] Figure 8 A diagram showing the use of training images to teach a machine learning method.
[0043] Figure 1A schematic cross-sectional view of a 2D laser scanner 10 is shown as an example of an optoelectronic sensor for detecting LiDAR data or distance measurement data. In the laser scanner 10, a light transmitter 12 (for example, a light transmitter with a laser light source) generates a transmission light beam 16 by means of a transmission optical device 14, which is deflected at a deflection unit 18 into a monitoring area 20. If the transmission light beam 16 falls on an object in the monitoring area 20, the diffusely reflected light 22 returns to the laser scanner 10 again and is detected there via the deflection unit 18 and by means of a receiving optical device 24 by a light receiver 26, for example a photodiode, an APD (Avalanche Photo Diode) or a SPAD device (Single-Photon Avalanche Photo Diode).
[0044] In this embodiment, the deflection unit 18 is configured as a rotating mirror, which is continuously rotated by the drive of the motor 28. The corresponding angular position of the motor 28 or the deflection unit 18 is recognized via an encoder, which includes, for example, a code disc 30 and a fork-shaped grating 32. Therefore, the emission beam 16 generated by the light transmitter 12 sweeps the monitoring area 20 generated by the rotational movement. Instead of a rotating mirror, the deflection unit 18 can also be configured as a rotating optical device head, in which the light transmitter 12 and / or the light receiver 26 and possible other elements are placed. The configuration of the transmitting optical device 14 and the receiving optical device 24 can also be changed, for example, by changing a beam-forming mirror (strahlformender Spiegel) as a deflection unit, a different arrangement of lenses or an additional lens. In particular, laser scanners are also known in automatic collimation devices. In the embodiment shown, the light transmitter 12 and the light receiver 26 are arranged on a common circuit board (Leiterkarte) 34. This is also only an example, because other arrangements with their own circuit boards and, for example, with mutual height deviations can be provided.
[0045] If the diffusely reflected light 22 from the monitoring area 20 is now received by the light receiver 26, the angular position of the object in the monitoring area 20 can be inferred from the angular position of the deflection unit 18 measured by the encoders 30, 32. It is also preferred to determine the light flight time from the emission of the light signal to its reception after reflection at the object in the monitoring area 20 and, using the speed of light, infer the distance of the object from the laser scanner 10.
[0046] This distance or distance measurement according to the light time-of-flight method is implemented in a control and evaluation unit 36, which for this purpose is connected to the light transmitter 12, the light receiver 26, the motor 28 and the encoder 32. Thus, the two-dimensional polar coordinates of all objects in the monitoring area 20 can be provided by means of the angles and distances.
[0047] The control and evaluation unit 36 can be connected to a higher-level system (e.g., a dedicated evaluation computer, a higher-level controller, a local network or a cloud) via an interface 38. The evaluation described so far by means of the time-of-flight method, in particular the further evaluation of the distance measurement data still to be described, can actually be distributed arbitrarily on the internal control and evaluation unit 36 and the external computing unit. However, preferably, at least the distance measurement by means of the time-of-flight method is performed internally in the control and evaluation unit 36, and it is also conceivable to perform the entire evaluation internally. Preferably, the control and evaluation unit then includes not only one computing module, but multiple computing modules, such as an FPGA (Field-Programmable Gate Array), an ASIC (Application-Specific Integrated Circuit), a microprocessor or a GPU (Graphics Processing Unit). All the internal functional components mentioned are arranged in a housing 40, which has a front window plate 42 in the area of light exit and light entrance.
[0048] Each polar coordinate obtained by scanning corresponds to a scanning point. Each rotation of the deflection unit scans a scanning plane of the monitoring area 20 and generates a corresponding point cloud. This measurement is also called a scan. After multiple rotations and the repeated measurements accompanying them, multiple scans in chronological order are generated. In a 2D laser scanner, each scan is a 2D-LiDAR data, one dimension of which is the angle and the other dimension is the distance measured relative to the angle. There are also multi-beam laser scanners, in which multiple planes are scanned at different elevation angles, or there are laser scanners with variable orientation in elevation. As a result, 3D-LiDAR data are detected accordingly, which have two dimensions of rotation angle and elevation angle and one dimension of distance measured in association with a pair of angles. Of course, in each case, it is possible to convert from polar coordinates or spherical coordinates to Cartesian coordinates.
[0049] The present invention includes 2D-LiDAR data and 3D-LiDAR data. In addition, the scanning principle is not limited to the described mechanical rotation. Alternatively, microsystems, such as MEMS mirrors, or electronic manipulators or acousto-optic modulators, for example in phased optical arrays, can be used. In addition, arrays on the transmitting side, such as VCSEL rows or VSCEL matrices, and / or arrays on the receiving side, in particular SPAD rows or SPAD matrices, can also be envisaged, wherein the corresponding scanning direction is selected by activating the corresponding individual elements, preferably matching pairs on the transmitting side and the receiving side. Finally, it is conceivable to detect multiple scanning directions simultaneously. According to the present invention, the laser scanner 10 is preferably used in outdoor areas (Outdoor-LiDAR, outdoor LiDAR) or in particular in dusty environments, so that the interference detection to be described now can fully utilize its strengths.
[0050] Figure 2 An overview of a classification model is given, which associates a class with a corresponding scanning point, in particular binary associates one of the two classes "interfering influence" and "(hard) object" with a corresponding scanning point. As a preferred embodiment, an example of a deep neural network as a classifier will be described in detail. Other machine learning methods, such as decision trees or support vector machines, are also conceivable. The method consists of two stages:
[0051] For later reference Figure 7 and Figure 8 In a training phase described in more detail, an image classification method, here a deep neural network, is trained with LiDAR data whose desired classification is known in order to determine the parameters of the image classification method. The required determination (labeling, annotation) of the corresponding classes is usually carried out manually or with manual assistance.
[0052] exist Figure 2 In the application phase shown in , the trained image classification method is used to classify the LiDAR data. First, the individual steps are roughly described, and then referenced separately. Figures 3 to 6is explained in more detail. In this embodiment, the starting point is 2D-LiDAR data 44, i.e. the distances measured according to the corresponding angles, which exist as a point cloud of multiple scans (shown as layers in the figure) corresponding to the corresponding measurement times and therefore having a specific history. These scans are first arranged into images 46, here each into a distance image and an intensity image and alternatively into only one distance image, wherein the angle is plotted on one axis and the time is plotted on the other axis, and the pixels encode the measured distance or the measured intensity. One or more images are fed to an image classification method or a deep neural network 48, which determines a pixel-by-pixel classification 50 into interference and objects. It will be explained later that on the output side preferably only one image row is classified instead of the entire image. Finally, the classification 50 is transmitted again to the now classified 2D-LiDAR data 52. In Figure 2 In FIG. 5 , the circled part 54 of the scanning point is exemplarily classified as interference.
[0053] Figure 3 The processing of LiDAR data 44 into an image 46 is shown, namely Figure 2 This processing step can also be omitted or become meaningless, especially if the angular resolution and the temporal resolution are regular.
[0054] The LiDAR data 44 initially exists as a point cloud, which can be represented, for example, as a vector with distance d, intensity i and angle α. Time is also added as a fourth dimension, however in Figure 3 Alternatively, time is displayed by different layers. For the present invention, the specific representation of the point cloud is not important.
[0055] The angles α, from which the distances are measured, may generally be irregularly distributed and may vary from scan to scan. Figure 3 The vectors in the diagram of are distributed accordingly. The measurement period or interval between two scans on the time axis does not have to be regular. Preferably, at least the angles of each scan are distributed in a similar manner or even regularly. This simplifies interpolation and arrangement. However, even in the case of a uniform angle grid, interpolation may be required for resolution adaptation.
[0056] By reclassification and interpolation, the LiDAR data are arranged in a regular pixel grid of image 46. The angle index (Winkelindex) can now be seen in the image, because the angle intervals are now equidistant. The special thing about this image is that it is not just the polar coordinates that are converted into Cartesian coordinates. More precisely, one axis, here the Y axis, is the time axis corresponding to the scan at different points in time. This image is not a traditional depth map, but the completely different physical quantities of angle and time are selected as image dimensions. Through this data representation, spatial information and time information are taken into account in the classification, which achieves better classification results. At the same time, the format as an image enables the use of image classification methods without having to design a separate classifier for the point cloud.
[0057] according to Figure 3 , two images are generated, namely a range image and an intensity image (diffuse scattering, RSSI). The corresponding value of a pixel is the distance measured at that angle and that time or the intensity measured at that angle and that time, if necessary obtained by interpolation from the neighborhood. Instead of two images, it is also possible to generate a multi-channel image with a pair (distance, intensity) per pixel, or alternatively to ignore the intensity again. In turn, other measurement variables of multi-channel images or other images can be envisaged.
[0058] An example of an additional measurement variable is multi-echo system. The scanning light beam thereby determines not only the distance to one object, but also the distance to a plurality of objects which are located successively on the scanning light beam. Typically, this occurs when a portion of the transmitted light beam 16 is reflected from a translucent object (e.g., mist droplets or raindrops) and another portion is reflected from a more distant object. As a result, in the pulse-based light time-of-flight method, a plurality of received pulses, peaks or echoes are generated in the received signal, which respectively enable distance measurement. Thus, just like a pair (distance, intensity), a pair (first distance, second distance) can also be processed as a multi-channel image or image pair. If the intensity is added, two channels or images are doubled, and accordingly, a multi-echo system is more than a dual-echo system.
[0059] Figure 4 The actual classification of image 46 is shown, namely Figure 2 The deep neural network 48 is shown here as a general parameterized model to emphasize again that other machine learning methods can also be used. The image 46 with distance data and intensity data as input data for the deep neural network 48 can be restricted to certain rows to consider only a certain history of four scans as shown or other number of scans.
[0060] The deep neural network 48 predicts the classification 50 in a pixel-by-pixel manner. Here, purely by way of example, 1 represents interference and 0 represents an object. It has been shown that a preferred embodiment of a deep neural network is the U-Net for image segmentation, which is described in "U-Net: Convolutional Networks for Biomedical Image Segmentation" by O. Ronneberger, P. Fischer and T. Brox, published in May 2015, available online at: http: / / arxiv.org / pdf / 1505.04597v1.
[0061] Figure 5 The image 46 is shown again for illustrating a time range 56 to which the classification 50 can optionally be restricted. In the case of the selected representation of time on the Y axis, each image line represents a scan at a certain measurement time point. Classification is usually only necessary for the present, i.e. the current scan, and therefore for the topmost image line of the time range 56. Thus, the scans can be evaluated in real time or quasi-real time.
[0062] Unlike conventional image segmentation, the output is therefore preferably limited to one image row. However, the input variable is the entire image with a certain history of the current scan and other scans to be judged. This classification is performed for each measuring point or scan. Alternatively, interference judgment can also be performed periodically or randomly only at certain measuring time points. By limiting the output to only one image row, the number of free parameters can be reduced, and the quality of the classification model can be improved in terms of speed, amount of training data or accuracy. However, it is not excluded that all pixels of the image 46 are classified separately, and if necessary, only the readout or further processing is limited to the sub-region afterwards. Similarly, in this process, the classification results of pixels belonging to the same measuring time point can be combined from multiple images, for example, by majority formation (Mehrheitsbildung).
[0063] Figure 6 The classification 50 determined with respect to the format of the image 46 is shown traced back to the LiDAR data, namely Figure 2 This processing step is optional, depending on the format of the downstream data processing in which the information is to be processed. The advantage of tracing back to the LiDAR data is that the output format corresponds to the format of the original LiDAR data, so existing downstream evaluations can cope more easily in a familiar way and with fewer adjustments. For example, the classification result is additionally attached to the vector of the point cloud.
[0064] First, the classification 50 of the deep neural network 48 is presented in a uniform format for the image 46. As shown in FIG. Figure 3 As discussed, LiDAR data itself is typically measured as a point cloud at irregular angles. For retrospective, each point or vector scanned is assigned a classification result obtained from adjacent angles. Figure 6 denoted by arrows in the figure. One possibility is to search for the angle of the image that is closest to the angle of the vector and to copy the classification result from this pixel. Another possibility is to make a majority decision of the classification result for the desired angle of the vector in the vicinity of a certain angle of the image. Other types of interpolation are also conceivable.
[0065] Here, according to Figure 5 implementation method, Figure 6 The illustration in is limited to one image line or one scan at a fixed point in time. Therefore, the tracing back to the LiDAR data is carried out line by line or per scan or measurement just like the classification 50 itself. Alternatively, it is conceivable to back-calculate the classification 50 for the entire image 46 to the elementary scans, wherein however a different history is then effectively entered for each scan. Then preferably, a corresponding calculation is also performed in the time dimension. Figure 6 tracing.
[0066] Figure 7 An example of a labeled or annotated training image is shown, with the help of which a deep neural network 48 is trained. Such a training image contains a distance and intensity image 46 from LiDAR data and the corresponding classification 50. The distance and intensity image 46 is gray-coded, respectively, in which hard objects are shown as bright and interferences are shown as dark. A plurality of scans at different consecutive measuring times are plotted on the X-axis, and on the Y-axis, each scan distributes the distance value or the intensity value over the angle. Therefore, the X-axis and the Y-axis are swapped into the opposite illustration to the previous one, in order to arrange more scans for display. The training image shown can be understood as a plurality of training images in sections. However, in practice, a plurality of such images are usually required to robustly train a deep neural network 48.
[0067] The data collection of the training images also requires a certain amount of expert knowledge, but this is more relevant to the application than the design, selection, parameterization and combination of conventional suitable filters, in particular because specialized knowledge is required about the influence of environmental influences on the hardware and software of the LiDAR system. In addition, the deep neural network 48 is more robust to scenes that have not been observed in advance. Detecting the images 46 for training data and mainly marking and annotating them, i.e. presetting the desired classification 50, means a certain degree of expenditure. However, this expenditure can be limited, for example by selecting scenes with known structures or targeted interference in certain sub-areas. In addition, of course, it is not necessary to mark individual pixels, but preferably the entire area, and therefore classical filters and segmentation methods can at least perform supportive preselection.
[0068] Figure 8 The training phase is shown. Basically all modules have already been explained, the training phase only reverses the process. In the training, the model parameters, in particular the weights in the neural network 48, are unknown and are to be taught in an optimization method, while the classification 50 is predefined. In the application phase, the classification 50 is then searched, while the model parameters are known from the training.
[0069] The invention is particularly advantageous in applications where the surroundings are essentially known but are still partly flexible. An example is traffic classification. Here, training data for different vehicles on dry and wet (i.e. with water spray) roads can be recorded and classified manually. After the training process, the classification enables the separation of the measured values of the water spray from the measured values of the vehicle, thereby simplifying the classification of vehicle parameters (e.g. height, length, width, presence of trailers, etc.). Another example is dust detection in mining trucks or excavators. Here, in order to avoid collisions, dust clouds that can be driven through are distinguished from hard objects that may collide.
[0070] Many learning methods allow the false positive rate or false negative rate to be adapted, for example, by appropriately selecting thresholds. In this way, the quality of the classification results can be adapted to the application requirements. For example, in traffic classification, if a measurement value of a vehicle is classified as water spray, as few water spray measurements as possible are classified as vehicles. This is important to avoid overestimating the vehicle size. Conversely, in mining applications, the classification of measurements of hard objects as dust is avoided, while the classification of dust measurements as hard objects is more acceptable. This only reduces the availability of the system, but does not lead to conflicts.
[0071] It has been assumed so far that the image 46 extends over the entire angle range detected. In order to save memory for the image classification method, it is conceivable to define a plurality of angle ranges per scan that complement each other and possibly overlap at the edges. It is also preferred that the angle directly represents only the scan angle and generally a spatial dimension. It is therefore conceivable to convert the scan into Cartesian coordinates and to use different spatial axes in the image as a basis for the time axis, in particular the distance.
[0072] Instead of 2D LiDAR data, 3D-LiDAR data can also be processed. In this case, 3D images are processed where the two axes correspond to the angle and the elevation in the original scanning direction or after conversion in the corresponding Cartesian coordinates. In the pixels (more precisely, the voxels), the distance and (if necessary) the intensity are further encoded.
[0073] In addition to the measured variables distance and intensity, other variables can be evaluated, as long as sensors are available, such as the measured value quality or the ambient light level, or the above-mentioned multiple distances of a multi-echo system. For this purpose, further images 46 are generated in the multi-channel image with these variables or additional channels. Training and classification are performed in a similar manner. Data from other sources, such as data from radar devices or cameras after appropriate temporal and spatial registration, are also conceivable.
Claims
1. A photoelectric sensor (10) for detecting distance measurement data of an object in a monitoring area (20), the sensor comprising: a measuring unit having a light transmitter (12) for emitting emission light (16) into the monitoring area (20) at a plurality of angles and a light receiver (26) for generating a reception signal from reception light (22), the reception light being incident from a plurality of angles of the monitoring area (20); and a control and evaluation unit (36) configured to detect distance measurement data with angular resolution and time resolution from the reception signal at the plurality of angles and in a plurality of repeated measurements by determining the light flight time, in, The control and evaluation unit (36) is further configured to arrange the distance measurement data into an image (46), in which pixels having distance values in the angular dimension and the temporal dimension are arranged, and to evaluate the image (46) using a machine learning image classification method (48) in order to assign classes to the pixels respectively.
2. The sensor (10) according to claim 1, wherein: The sensor is a laser scanner.
3. The sensor (10) according to claim 1, wherein: The image classification method (48) distinguishes objects from disturbances caused by environmental influences.
4. The sensor (10) according to claim 2, wherein: The image classification method (48) distinguishes objects from disturbances caused by environmental influences.
5. The sensor (10) according to claim 3, wherein: The environmental influences include dust, water spray, fog, rain or snow.
6. The sensor (10) according to claim 4, wherein: The environmental influences include dust, water spray, fog, rain or snow.
7. The sensor (10) according to claim 3, wherein: The control and evaluation unit (36) is configured to discard distance measurement data of pixels which are classified as interference.
8. The sensor (10) according to claim 4, wherein: The control and evaluation unit (36) is configured to discard distance measurement data of pixels which are classified as interference.
9. The sensor (10) according to claim 5, wherein: The control and evaluation unit (36) is configured to discard distance measurement data of pixels which are classified as interference.
10. The sensor (10) according to claim 6, wherein: The control and evaluation unit (36) is configured to discard distance measurement data of pixels which are classified as interference.
11. The sensor (10) according to any one of claims 1 to 10, wherein: The control and evaluation unit (36) is configured to determine an intensity value for the pixel in addition to the distance value.
12. The sensor (10) according to any one of claims 1 to 10, wherein: The control and evaluation unit (36) is configured to determine a plurality of distances for the pixels.
13. The sensor (10) according to claim 11, wherein: The control and evaluation unit (36) is configured to determine a plurality of distances for the pixels.
14. The sensor (10) according to any one of claims 1 to 10 and 13, wherein: The control and evaluation unit (36) is configured to interpolate the distance measurement data of the pixels to form an image (46) in order to also output distance values at angles and / or times that were not originally measured.
15. The sensor (10) according to claim 11, wherein: The control and evaluation unit (36) is configured to interpolate the distance measurement data of the pixels to form an image (46) in order to also output distance values at angles and / or times that were not originally measured.
16. The sensor (10) according to claim 12, wherein: The control and evaluation unit (36) is configured to interpolate the distance measurement data of the pixels to form an image (46) in order to also output distance values at angles and / or times that were not originally measured.
17. The sensor (10) according to any one of claims 1-10, 13 and 15-16, wherein: The control and evaluation unit (36) is configured to back-calculate distance measurement data with respect to angle and / or time for determining the light flight time from the image (46) and to assign a corresponding class to a pixel or pixels located in the vicinity of the corresponding angle and / or the corresponding time to the distance measurement data.
18. The sensor (10) according to claim 11, wherein: The control and evaluation unit (36) is configured to back-calculate distance measurement data with respect to angle and / or time for determining the light flight time from the image (46) and to assign a corresponding class to a pixel or pixels located in the vicinity of the corresponding angle and / or the corresponding time to the distance measurement data.
19. The sensor (10) according to claim 12, wherein: The control and evaluation unit (36) is configured to back-calculate distance measurement data with respect to angle and / or time for determining the light flight time from the image (46) and to assign a corresponding class to a pixel or pixels located in the vicinity of the corresponding angle and / or the corresponding time to the distance measurement data.
20. The sensor (10) according to claim 14, wherein: The control and evaluation unit (36) is configured to back-calculate distance measurement data with respect to angle and / or time for determining the light flight time from the image (46) and to assign a corresponding class to a pixel or pixels located in the vicinity of the corresponding angle and / or the corresponding time to the distance measurement data.
21. The sensor (10) according to any one of claims 1-10, 13, 15-16 and 18-20, wherein: The image classification method (48) only assigns classes to pixels at a fixed time.
22. The sensor (10) according to claim 11, wherein: The image classification method (48) only assigns classes to pixels at a fixed time.
23. The sensor (10) according to claim 12, wherein: The image classification method (48) only assigns classes to pixels at a fixed time.
24. The sensor (10) according to claim 14, wherein: The image classification method (48) only assigns classes to pixels at a fixed time.
25. The sensor (10) according to claim 17, wherein: The image classification method (48) only assigns classes to pixels at a fixed time.
26. The sensor (10) according to any one of claims 1-10, 13, 15-16, 18-20 and 22-25, wherein The image classification method (48) has a deep neural network.
27. The sensor (10) according to claim 11, wherein: The image classification method (48) has a deep neural network.
28. The sensor (10) of claim 12, wherein: The image classification method (48) has a deep neural network.
29. The sensor (10) of claim 14, wherein: The image classification method (48) has a deep neural network.
30. The sensor (10) of claim 17, wherein: The image classification method (48) has a deep neural network.
31. The sensor (10) of claim 21, wherein: The image classification method (48) has a deep neural network.
32. The sensor (10) according to any one of claims 1-10, 13, 15-16, 18-20, 22-25 and 27-31, wherein The image classification method (48) is pre-trained using images (46) whose pixel categories are known.
33. The sensor (10) according to claim 11, wherein: The image classification method (48) is pre-trained using images (46) whose pixel categories are known.
34. The sensor (10) of claim 12, wherein: The image classification method (48) is pre-trained using images (46) whose pixel categories are known.
35. The sensor (10) of claim 14, wherein: The image classification method (48) is pre-trained using images (46) whose pixel categories are known.
36. The sensor (10) of claim 17, wherein: The image classification method (48) is pre-trained using images (46) whose pixel categories are known.
37. The sensor (10) of claim 21, wherein: The image classification method (48) is pre-trained using images (46) whose pixel categories are known.
38. The sensor (10) of claim 26, wherein: The image classification method (48) is pre-trained using images (46) whose pixel categories are known.
39. The sensor (10) of claim 32, wherein: The known categories are defined by targeted disturbances of certain sub-areas of the monitoring area (20).
40. The sensor (10) according to any one of claims 1-10, 13, 15-16, 18-20, 22-25, 27-31 and 33-39, wherein The image classification method (48) is optimized for a small error in a certain category.
41. A sensor (10) according to any one of claims 1-10, 13, 15-16, 18-20, 22-25, 27-31 and 33-39, wherein the sensor is configured as a 2D laser scanner, whose measuring unit has a movable deflection unit (18) for periodically scanning the monitoring area (20).
42. A method for detecting distance measurement data of an object in a monitoring area (20), wherein emission light (16) is emitted into the monitoring area (20) at a plurality of angles and a reception signal is generated from reception light (22), the reception light being incident from a plurality of angles of the monitoring area (20), wherein distance measurement data with angular resolution and time resolution are detected from the reception signal at the plurality of angles and in a plurality of repeated measurements by determining the light flight time, in, The distance measurement data are arranged into an image (46), in which pixels having distance values in the angular dimension and the temporal dimension are arranged, and the image (46) is evaluated using a machine learning image classification method (48) to assign classes to the pixels respectively.
