Dielectric layer thickness measurement method, storage medium and computer equipment
By acquiring the reflective point clouds and virtual refractive point clouds of the lidar and calculating the incident angle and refractive angle, the thickness measurement error of the lidar under the refractive phenomenon in the dielectric layer is solved, and high-precision dielectric layer thickness measurement is achieved.
Patent Information
- Application Number
- CN202411231574.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-04
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2044-09-04
AI Technical Summary
When lidar encounters a dielectric layer, due to refraction, the dielectric layer thickness measurement accuracy is reduced, and the position information of the dielectric layer cannot be accurately obtained.
By acquiring the reflective point clouds and virtual refractive point clouds of lidar, defining standard reflective point cloud data and virtual refractive point cloud data, calculating the incident angle and refractive angle, and using these data to calculate the thickness value of the medium layer.
High-precision measurement of the thickness of the dielectric layer is achieved, the measurement error problem of lidar under the refraction phenomenon in the dielectric layer is solved, and the detection accuracy is improved.
Smart Images

Figure CN118731969B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of laser radar, and in particular to a dielectric layer thickness measurement method, a storage medium and a computer device. Background Art
[0002] Compared with the color image of the camera, the laser radar can obtain the position information of the acquisition area, so it can form a point cloud image with position information. Therefore, the real contour information and position information of the acquisition area can be obtained based on the point cloud data of the laser radar, such as measuring the position and specific size of the vehicle in front. However, when the laser beam emitted by the laser radar encounters the dielectric layer, the laser beam will be refracted at the interface of the dielectric layer. The laser radar itself does not know the occurrence of the refraction phenomenon, but still calculates the position information of the laser beam according to normal rectilinear propagation, resulting in an incorrect dielectric layer thickness, which affects the detection function of the laser radar. Summary of the invention
[0003] The embodiments of the present application provide a dielectric layer thickness measurement method, a storage medium, and a computer device, which can meet the high-precision requirements for dielectric layer depth detection.
[0004] In a first aspect, an embodiment of the present application provides a method for measuring the thickness of a dielectric layer, comprising:
[0005] Obtain the laser radar reflection point cloud and virtual refraction point cloud about the current dielectric layer, wherein the reflection point cloud is the point cloud reflected by the laser radar when the laser beam reaches the dielectric layer interface, and the virtual refraction point cloud is the point cloud obtained by the laser radar reflecting the laser beam according to the bottom of the dielectric layer;
[0006] Define standard reflection point cloud data, standard virtual refraction point cloud data and standard radar position information, wherein the standard reflection point cloud data is point cloud data obtained by converting the reflection point cloud in the current coordinate system according to the standard coordinate system; the standard virtual refraction point cloud data is point cloud data obtained by converting the virtual refraction point cloud in the current coordinate system according to the standard coordinate system; the standard radar position information is the position information of the laser radar in the standard coordinate system; the standard coordinate system is a coordinate system in which the XY axis plane is parallel to the dielectric layer interface and the Z axis is perpendicular to the dielectric layer interface;
[0007] The incident angle α of the laser beam when it reaches the interface of the dielectric layer is obtained according to the standard radar position information and the standard reflection point cloud data;
[0008] According to the incident angle α and the dielectric layer, a refraction angle β of the laser radar in the dielectric layer is obtained;
[0009] The thickness value of the dielectric layer is obtained according to the incident angle α, the refraction angle β, the standard virtual refraction point cloud data and the standard reflection point cloud data.
[0010] Optionally, the incident angle α , refraction angle β, Standard virtual refraction point cloud data and standard reflection point cloud data are used to obtain the thickness value of the dielectric layer, including:
[0011] According to the standard virtual refraction point cloud data and the standard reflection point cloud data, the distance between the standard virtual refraction point cloud and the medium layer interface is obtained. d ;
[0012] According to the distance between the standard virtual refraction point cloud data and the medium layer interface d and the angle of incidence α , get the distance between the reflection point cloud and the virtual refraction point cloud l ;
[0013] According to the distance between the reflection point cloud and the virtual refraction point cloud l and refraction angle β , and obtain the thickness value D of the dielectric layer.
[0014] Optionally, the d Obtained by the following formula:
[0015] d =|Z 虚 -Z 反 ∣
[0016] In the formula, Z 虚 is the Z-axis coordinate value of the standard virtual refraction point cloud data, 反 is the Z-axis coordinate value of the standard reflection point cloud data. d It represents distance, so it takes the absolute value.
[0017] Optionally, the l Obtained by the following formula:
[0018] =d / cos α .
[0019] Optionally, D is obtained by the following formula:
[0020] D= l* cos β .
[0021] Optionally, the incident angle of the laser beam when it reaches the dielectric layer interface is obtained according to the standard radar position information and the standard reflection point cloud data. α ,include:
[0022] Obtain the relative differences on the XYZ axes according to the standard radar position information and the standard reflection point cloud data;
[0023] The incident angle of the laser beam when it reaches the interface of the dielectric layer is obtained based on the relative differences on the XYZ axis. α .
[0024] Optionally, the incident angle of the laser beam when it reaches the interface of the dielectric layer is obtained according to the relative differences on the XYZ axes. α ,include:
[0025]
[0026] In the formula, X 相 =|X 雷 -X 反 ∣, the X 雷 is the X-axis coordinate value in the standard radar position information, X 反 is the X-axis coordinate value of the standard reflection point cloud data;
[0027] Said Y 相 =|Y 雷 -Y 反 ∣, the Y 雷 is the Y-axis coordinate value in the standard radar position information, Y 反 is the Y-axis coordinate value of the standard reflection point cloud data;
[0028] Said Z 相 =|Z 雷 -Z 反 ∣, the Z 雷 is the Z-axis coordinate value in the standard radar position information, Z 反 It is the Z-axis coordinate value of the standard reflection point cloud data.
[0029] because X 相 , Y 相 and Z 相 They all represent distance, so the absolute value is taken.
[0030] Optionally, before obtaining the reflection point cloud and virtual refraction point cloud of the laser radar about the current medium layer, the method further includes:
[0031] According to the point cloud data currently received by the laser radar, a point cloud image is formed;
[0032] According to the point cloud image, it is determined whether there is an area parallel to the interface of the dielectric layer in the point cloud image, which is defined as the target area;
[0033] If there is a target area, it is determined whether the number of point clouds generated by each laser beam in the target area meets a preset condition. If the preset condition is met, it is determined that the target area is a dielectric layer.
[0034] Optionally, the preset condition is that the number of point clouds generated by each laser beam is 2N, where N is determined based on a receiving module of the laser radar and is a positive integer.
[0035] In a second aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed on a computer, the computer executes the dielectric layer thickness measurement method provided in the embodiment of the present application.
[0036] In a third aspect, an embodiment of the present application further provides a computer device, including a memory and a processor, wherein the processor is used to execute the dielectric layer thickness measurement method provided in the embodiment of the present application by calling a computer program stored in the memory.
[0037] In the embodiment of the present application, the reflection point cloud and virtual refraction point cloud of the current medium layer are obtained by the laser radar; standard reflection point cloud data, standard virtual refraction point cloud data and standard radar position information are defined; the incident angle of the laser beam when it reaches the interface of the medium layer is obtained according to the standard radar position information and the standard reflection point cloud data α According to the incident angle α and dielectric layer, and obtain the refraction angle of the laser radar in the dielectric layer β According to the incident angle α , refraction angle β, The standard virtual refraction point cloud data and the standard reflection point cloud data are used to obtain the thickness value of the dielectric layer. Thus, the incident angle is obtained based on the standard radar position information and the standard reflection point cloud data. α , and then according to the incident angle α Get the refraction angle β ; Based on the incident angle α , refraction angle β The standard virtual refraction point cloud data and the standard reflection point cloud data obtain accurate thickness values of the dielectric layer to meet the high-precision requirements for depth detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] The technical solution and beneficial effects of the present application will be made apparent by describing in detail the specific implementation methods of the present application in conjunction with the accompanying drawings.
[0039] Figure 1 This is an example diagram of the background technology of this application.
[0040] Figure 2 This is a schematic diagram of Example 1 of the present application.
[0041] Figure 3 This is a flow chart of Example 1 of the present application.
[0042] Figure 4This is a flow chart of Example 2 of the present application.
[0043] Figure 5 This is a flow chart of Example 3 of the present application.
[0044] Figure 6 This is the principle diagram of Example 3 of the present application.
[0045] Figure 7 This is a module diagram of Example 5 of the present application. DETAILED DESCRIPTION
[0046] It should be noted that the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device comprising a series of steps or modules is not limited to the listed steps or modules, but some embodiments also include steps or modules that are not listed, or some embodiments also include other steps or modules that are inherent to these processes, methods, products or devices.
[0047] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0048] For ease of understanding, the background technology is now explained in detail.
[0049] Taking TOF LiDAR as an example, the LiDAR transmits a detection signal (laser beam) to the scanning area, and then receives the signal (echo signal) reflected from the target in the scanning area. By comparing the time of the transmitted detection signal (laser beam) with the time of receiving the reflected signal (echo signal), the position information of the target in the scanning area is obtained. However, when the LiDAR scans the scanning area, there may be a new medium layer in some areas of the laser beam (for example, there is a small pond or glass curtain wall in the scanning area). When the laser beam enters the new medium layer (such as water or glass) from the air, the laser beam will be refracted during transmission in the new medium layer. The laser beam generated by the LiDAR encounters a new medium layer during the scanning process, and the laser beam is refracted in the new medium layer. However, since the laser beam propagates in a straight line, the LiDAR also obtains the position information of the laser beam after propagating in a straight line based on the time difference between the transmitted signal and the received signal. However, due to the phenomenon of light refraction, the position information obtained by the LiDAR is wrong. Figure 1For example, the laser beam will be refracted in the interface of the dielectric layer. At this time, the actual position reached by the refracted laser beam is point B. However, according to the echo signal of point B, based on the principle that the laser beam propagates in a straight line, the position information of point A is obtained. As a result, the laser radar detects the thickness of the dielectric layer incorrectly and the detection accuracy is reduced.
[0050] In order to solve the above problems, the embodiments of the present application provide a dielectric layer thickness measurement method, a storage medium and a computer device. The execution subject of the dielectric layer thickness measurement method can be the laser radar provided in the embodiments of the present application, or a computer device integrated with the laser radar. Among them, the computer device can be a device such as a terminal or a server. It is understandable that the method of this embodiment can be executed on a terminal, or on a server, or jointly by a terminal and a server. The above examples should not be understood as limitations on the present application.
[0051] It should be noted that the description order of the following embodiments is not intended to limit the preferred order of the embodiments.
[0052] Example 1
[0053] See also Figure 3 , Figure 3 : is a flow chart of the dielectric layer thickness measurement method provided in Example 1 of the present application, which may include the following steps:
[0054] S1: Obtain the laser radar reflection point cloud and virtual refraction point cloud about the current dielectric layer. The reflection point cloud is the point cloud reflected by the laser radar when the laser beam reaches the dielectric layer interface, and the virtual refraction point cloud is the point cloud obtained by the laser radar when the laser beam is reflected by the bottom of the dielectric layer.
[0055] For example, a laser radar mounted on a drone can be used to scan the water area, collect point cloud data of the water area, and obtain the depth of the water area; or a laser radar mounted on a motor vehicle can be used to scan the surrounding environment and collect point cloud data of the surrounding environment, such as the depth of accumulated water in the surrounding environment or the thickness of a glass curtain wall in the surrounding environment.
[0056] Specifically, the water medium layer is combined with Figure 1 For example, after the laser radar laser beam is emitted, it will generally propagate in the air medium layer. When it encounters the water medium layer, it will emit Figure 1The refraction phenomenon in the laser beam. At the same time, the laser beam will also be reflected at the interface between two dielectric layers (water and air) (i.e., the dielectric layer interface). Therefore, for the laser radar, a beam of laser light emitted will receive the echo signal of point C where the reflection occurs, and will also receive the echo signal of point B where the refraction occurs. Since the echo signal at point C is not refracted, the position information of point C (reflection point cloud) is accurate. However, since it is not known that refraction has occurred, according to the principle that light travels in a straight line, the position information of point A (virtual refraction point cloud) is obtained based on the echo signal of point B (real refraction point cloud).
[0057] S2: defines standard reflection point cloud data, standard virtual refraction point cloud data and standard radar position information. Standard reflection point cloud data is point cloud data obtained by transforming the reflection point cloud in the current coordinate system according to the standard coordinate system; standard virtual refraction point cloud data is point cloud data obtained by transforming the virtual refraction point cloud in the current coordinate system according to the standard coordinate system; standard radar position information is position information of the laser radar in the standard coordinate system; the standard coordinate system is a coordinate system in which the XY axis plane is parallel to the dielectric layer interface and the Z axis is perpendicular to the dielectric layer interface;
[0058] Specifically, at this time, the position information of the reflection point cloud and the virtual refraction point cloud is obtained. However, the determination of the position information needs to be in a clear coordinate system. In order to facilitate the subsequent measurement of the thickness of the dielectric layer, a standard coordinate system needs to be set up. The position information of the reflection point cloud and the virtual refraction point cloud is converted according to the standard coordinate system. The standard coordinate system is a three-axis coordinate system, which defines the XY axis plane parallel to the dielectric layer interface and the Z axis perpendicular to the dielectric layer interface. At this time, the position information of the reflection point cloud in the standard coordinate system (standard reflection point cloud data) and the position information of the virtual reflection point cloud in the standard coordinate system (i.e., standard virtual refraction point cloud data) are obtained.
[0059] S3: Obtain the incident angle of the laser beam when it reaches the interface of the dielectric layer based on the standard radar position information and the standard reflection point cloud data α ;
[0060] Specifically, the distance between the two points and the length of the three components (i.e., XYZ axis) in the standard coordinate system can be obtained through the standard radar position information and the standard reflection point cloud data. The incident angle of the laser beam when it reaches the interface of the dielectric layer can be obtained by combining the length of the three components with the inverse trigonometric function. α , the incident angle is the angle between the incident laser beam and the normal of the interface of the incident dielectric layer.
[0061] In a possible implementation, S3 includes:
[0062] S31: Obtaining respective relative differences on the XYZ axes according to the standard radar position information and the standard reflection point cloud data;
[0063] S32: The incident angle of the laser beam when it reaches the interface of the dielectric layer is obtained based on the relative differences on the XYZ axes. α .
[0064] In a possible implementation, S32 includes:
[0065]
[0066] In the formula, X 相 =|X 雷 -X 反 ∣, the X 雷 is the X-axis coordinate value in the standard radar position information, X 反 is the X-axis coordinate value of the standard reflection point cloud data;
[0067] Said Y 相 =|Y 雷 -Y 反 ∣, the Y 雷 is the Y-axis coordinate value in the standard radar position information, Y 反 is the Y-axis coordinate value of the standard reflection point cloud data;
[0068] Said Z 相 =|Z 雷 -Z 反 ∣, the Z 雷 is the Z-axis coordinate value in the standard radar position information, Z 反 It is the Z-axis coordinate value of the standard reflection point cloud data.
[0069] because X 相 , Y 相 and Z 相 They all represent distance, so the absolute value is taken.
[0070] It should be noted that X 相 , Y 相 and Z 相 That is, the length of the different components of the distance between the standard radar position information and the standard reflection point cloud data on the XYZ axis. In this embodiment, the length of the projection of the line connecting the laser radar and the reflection point on the XY plane (i.e. ). Then pass Z 相 And the inverse tangent function, the incident angle of the laser beam when it reaches the dielectric layer interface is obtained α In fact, in addition to using the inverse tangent function, other inverse trigonometric functions may also be used, and this application does not impose any limitation on this.
[0071] S4: According to the angle of incidence α and dielectric layer, and obtain the refraction angle of the laser radar in the dielectric layer β, The refraction angle is the angle between the refracted laser beam and the normal of the dielectric layer interface.
[0072] In a possible implementation, S4 includes:
[0073] β= arcsin(sin α*γ )
[0074] In the formula, γ is the relative refractive index corresponding to the dielectric layer.
[0075] It is understandable that for LiDAR, a laser beam is generally emitted in the air and then may pass through a new dielectric layer (such as water or glass). γ The value of is the ratio of the refractive index of the refracting medium layer (such as water or glass) to the refractive index of the incident medium layer (such as air). For example, if a laser beam is emitted in the air and reaches water, γ The possible value is 1.33.
[0076] S5: According to the angle of incidence α , refraction angle β, Standard virtual refraction point cloud data and standard reflection point cloud data are used to obtain the thickness value of the dielectric layer.
[0077] In a possible implementation, S5 includes:
[0078] S51: Obtain the distance between the standard virtual refraction point cloud and the interface of the dielectric layer according to the standard virtual refraction point cloud data and the standard reflection point cloud data d ;
[0079] In one possible implementation, d Obtained by the following formula:
[0080] d =|Z 虚 -Z 反 ∣
[0081] In the formula, Z 虚 is the Z-axis coordinate value of the standard virtual refraction point cloud data, Z 反 is the Z-axis coordinate value of the standard reflection point cloud data. d It represents distance, so it takes the absolute value.
[0082] It should be noted that since the interface of the dielectric layer is a horizontal plane, the value of any reflection point cloud on the horizontal plane on the Z axis is the same. Therefore, the distance between the standard virtual refraction point cloud and the dielectric layer interface can be obtained through the standard virtual refraction point cloud data and the standard reflection point cloud data. d ,like Figure 2 shown.
[0083] S52: Distance between standard virtual refraction point cloud data and the dielectric layer interface d and the angle of incidence α , get the distance between the reflection point cloud and the virtual refraction point cloud l ;
[0084] In one possible implementation, l Obtained by the following formula:
[0085] l=d / cos α .
[0086] It should be noted that Figure 2 For example, the incident angle α =∠ACE. Therefore, the distance between the reflection point cloud and the virtual refraction point cloud (ie CA) is l Can be l=d / cos α Calculated.
[0087] S53: Based on the distance between the reflection point cloud and the virtual refraction point cloud l and refraction angle β , and obtain the thickness value D of the dielectric layer.
[0088] In one possible implementation, D is obtained by the following formula:
[0089] D= l* cos β .
[0090] It should be noted that TOF laser radar Figure 2 For example, the position information of the virtual refraction point cloud A is obtained based on the data of the real point cloud B, so the time when point C reaches point A is the same as the time when point C reaches point B. Therefore, there will be an implicit constraint condition of CA=CB. By calculating CA= l At the same time, we get CB= l Based on the refraction angle β , the distance D (CE) from the real refraction point cloud B to the interface of the dielectric layer can be calculated by D= l* cos β Calculated.
[0091] In this embodiment 1, the incident angle is obtained based on the standard radar position information and the standard reflection point cloud data.α , and then according to the incident angle α Get the refraction angle β ; Based on the incident angle α , refraction angle β The standard virtual refraction point cloud data and the standard reflection point cloud data obtain accurate thickness values of the dielectric layer to meet the high-precision requirements for depth detection.
[0092] Example 2
[0093] Embodiment 2 expands the technical solution provided in Embodiment 1 of the present application from the perspective of specific applications. Specifically, in the actual application of laser radar, not the entire scanning area is a medium that undergoes refraction. Therefore, when scanning the scanning area, only part of the area will undergo refraction. However, for the laser radar / system, first, it is impossible to determine which areas in the current scanning area have undergone refraction. If the laser radar / system cannot determine which areas in the current scanning area have undergone refraction, and thus treats the entire scanning area as a medium layer for calculation, obvious errors will occur. Second, it is impossible to determine which point clouds in a received frame of point cloud are virtual refraction point clouds, and thus it is impossible to accurately measure the thickness of the medium layer. For the definition of nouns in Embodiment 2, unless otherwise specified, please refer to Embodiment 1. For the detailed content, technical effects, technical problems solved, and other related information of each step in Embodiment 2, unless otherwise specified, please refer to Embodiment 1. Without violating the design purpose and physical laws, some optional items or preferred items in Embodiment 1 are applicable to Embodiment 2.
[0094] See also Figure 4 , Figure 4 This is a flowchart provided in Example 2 of the present application, which may include the following steps:
[0095] S1: Form a point cloud image based on the point cloud data currently received by the laser radar;
[0096] S2: According to the point cloud image, determine whether there is an area parallel to the interface of the dielectric layer in the point cloud image, which is defined as the target area;
[0097] It should be noted that for the medium layer that undergoes refraction, the medium layer interface itself will reflect. Since the emission point cloud is located at the medium layer interface, and the medium layer interface of the liquid is parallel to the horizontal plane. Therefore, this characteristic can be used to preliminarily determine whether there is a medium layer. Analyze the received point cloud data, first determine whether there is an area parallel to the horizontal plane in the point cloud image, and if there is such an area, proceed to the next step of determination.
[0098] S3: If there is a target area, determine whether the number of point clouds generated by each laser beam in the target area meets the preset conditions. If the preset conditions are met, the target area is determined to be a dielectric layer.
[0099] It should be noted that when the laser beam enters a new dielectric layer, it will be reflected at the dielectric layer interface and refracted inside the dielectric layer. Both the reflected echo signal and the refracted echo signal will be received by the laser radar. Therefore, in simple terms, for every laser radar that emits a laser beam, two echo signals will be received. Therefore, this feature can be used to further judge the area in S2.
[0100] In a possible implementation, the preset condition is that the number of point clouds generated by each laser beam is 2N, where N is determined based on a receiving module of the laser radar and is a positive integer.
[0101] It should be noted that the number of point clouds that can be generated by each echo signal is determined based on the receiving module of the laser radar. For example, if the laser radar uses only one photoelectric receiving unit (such as APD) to sense the echo signal, one echo signal will generate one point cloud. Combined with the medium layer where refraction occurs, the laser radar will receive the characteristics of two echo signals for each laser beam emitted. At this time, each laser beam will generate 2 point clouds. However, if the laser radar uses four photoelectric receiving units to sense the echo signal, one echo signal will generate four point clouds. At this time, each laser beam will generate 8 point clouds. Therefore, the N value is determined by how many receiving units each echo signal in the laser radar is received, and then the area in S2 is further judged based on the characteristics that two echo signals are received for each laser beam emitted.
[0102] S4: Obtaining the reflection point cloud and virtual refraction point cloud of the laser radar about the current medium layer;
[0103] It should be noted that the point cloud of the current dielectric layer can basically be divided into reflection point cloud and virtual refraction point cloud. The reflection point cloud and virtual refraction point cloud can be divided according to the Z-axis value in the position information in the point cloud data. Since the reflection point clouds are all on the dielectric layer interface, and the dielectric layer interface is parallel to the horizontal plane. Therefore, the Z-axis values in the reflection point cloud data are basically consistent. Through the above-mentioned feature, point clouds with consistent Z-axis values (or a difference less than a preset threshold) can be divided into reflection point clouds. In addition, since the virtual refraction point cloud must be below the dielectric layer interface (such as Figure 1~Figure 2 Point A is below the interface of the dielectric layer), so the remaining point clouds below the reflection point cloud (such as Figure 1~Figure 2 Point A is below point C) is divided into a virtual refraction point cloud.
[0104] S5: defines standard reflection point cloud data, standard virtual refraction point cloud data and standard radar position information;
[0105] S6: Obtain the incident angle of the laser beam when it reaches the interface of the dielectric layer based on the standard radar position information and the standard reflection point cloud data α ;
[0106] S7: According to the angle of incidence α and dielectric layer, and obtain the refraction angle of the laser radar in the dielectric layer β ;
[0107] S8: According to the angle of incidence α , refraction angle β, Standard virtual refraction point cloud data and standard reflection point cloud data are used to obtain the thickness value of the dielectric layer.
[0108] In this embodiment 2, on the basis of embodiment 1, the point cloud is judged to identify the dielectric layer area where the refraction phenomenon exists in the scanning area, and then the point cloud of the dielectric layer area is divided to obtain the reflection point cloud and the virtual refraction point cloud, and then the accurate thickness value of the dielectric layer is obtained based on the reflection point cloud and the virtual refraction point cloud.
[0109] Example 3
[0110] Example 3 expands the technical solution provided in Example 1 of the present application from the perspective of specific applications. Specifically, in the actual application of LiDAR, for the medium layer with refraction, in addition to thickness detection, the area of the medium layer can also be identified and three-dimensionally modeled. At this time, it is not only necessary to obtain data on the thickness of the medium layer, but also to obtain the position parameters of the real refraction point cloud in the medium layer, so as to complete the identification of the medium layer area and three-dimensional modeling. For the definition of nouns in Example 3, unless otherwise specified, please refer to Example 1. For the detailed content of each step in Example 3, technical effects, technical problems solved and other related information, unless otherwise specified, please refer to Example 1. Without violating the design purpose and physical laws, some optional items or preferred items in Example 1 are applicable to Example 3.
[0111] See also Figure 5 , Figure 5 This is a flowchart provided in Example 3 of the present application, which may include the following steps:
[0112] S1: Obtain the laser radar reflection point cloud and virtual refraction point cloud about the current dielectric layer. The reflection point cloud is the point cloud reflected by the laser radar when the laser beam reaches the dielectric layer interface, and the virtual refraction point cloud is the point cloud obtained by the laser radar when the laser beam is reflected by the bottom of the dielectric layer.
[0113] S2: defines standard reflection point cloud data, standard virtual refraction point cloud data and standard radar position information. Standard reflection point cloud data is point cloud data obtained by transforming the reflection point cloud in the current coordinate system according to the standard coordinate system; standard virtual refraction point cloud data is point cloud data obtained by transforming the virtual refraction point cloud in the current coordinate system according to the standard coordinate system; standard radar position information is position information of the laser radar in the standard coordinate system; the standard coordinate system is a coordinate system in which the XY axis plane is parallel to the dielectric layer interface and the Z axis is perpendicular to the dielectric layer interface;
[0114] S3: Obtain the incident angle of the laser beam when it reaches the interface of the dielectric layer based on the standard radar position information and the standard reflection point cloud data α ;
[0115] Specifically, the distance between the two points and the length of the three components (i.e., XYZ axis) in the standard coordinate system can be obtained through the standard radar position information and the standard reflection point cloud data. The incident angle of the laser beam when it reaches the interface of the dielectric layer can be obtained by combining the length of the three components with the inverse trigonometric function. α , the incident angle is the angle between the incident laser beam and the normal of the interface of the incident dielectric layer.
[0116] In a possible implementation, S3 includes:
[0117] S31: Obtaining respective relative differences on the XYZ axes according to the standard radar position information and the standard reflection point cloud data;
[0118] S32: The incident angle of the laser beam when it reaches the interface of the dielectric layer is obtained based on the relative differences on the XYZ axes. α .
[0119] In a possible implementation, S32 includes:
[0120]
[0121] In the formula, X 相 =|X 雷 -X 反 ∣, the X 雷 is the X-axis coordinate value in the standard radar position information, X 反 is the X-axis coordinate value of the standard reflection point cloud data;
[0122] Said Y 相 =|Y 雷 -Y 反 ∣, the Y 雷 is the Y-axis coordinate value in the standard radar position information, Y 反 is the Y-axis coordinate value of the standard reflection point cloud data;
[0123] Said Z 相 =|Z 雷 -Z 反 ∣, the Z 雷 is the Z-axis coordinate value in the standard radar position information, Z 反 It is the Z-axis coordinate value of the standard reflection point cloud data.
[0124] because X 相 , Y 相 and Z 相 They all represent distance, so the absolute value is taken.
[0125] It should be noted that X 相 , Y 相 and Z 相 That is, the length of the different components of the distance between the standard radar position information and the standard reflection point cloud data on the XYZ axis. In this embodiment, the length of the projection of the laser radar reflection point on the XY plane (i.e. ). Then through Z 相 And the inverse tangent function, the incident angle of the laser beam when it reaches the dielectric layer interface is obtained α .
[0126] S4: According to the angle of incidence α and dielectric layer, and obtain the refraction angle of the laser radar in the dielectric layer β, The refraction angle is the angle between the refracted laser beam and the normal of the dielectric layer interface.
[0127] In a possible implementation, S4 includes:
[0128] β= arcsin(sin α*γ )
[0129] In the formula, γ is the relative refractive index corresponding to the dielectric layer.
[0130] It is understandable that for LiDAR, a laser beam is generally emitted in the air and then may pass through a new dielectric layer (such as water or glass). γ The value of is the ratio of the refractive index of the refracting medium layer (such as water or glass) to the refractive index of the incident side medium layer (such as air).
[0131] S5: According to the angle of incidence α , refraction angle β, Standard virtual refraction point cloud data and standard reflection point cloud data are used to obtain standard real refraction point cloud data.
[0132] In a possible implementation, S5 includes:
[0133] S51: According to the standard virtual refraction point cloud data and the standard reflection point cloud data, the distance value between the standard virtual refraction point cloud and the standard reflection point cloud on the XYZ axis is obtained, which is defined as , and ;
[0134] S52: According to the angle of incidence α , refraction angle β , , and , the change values of the standard true refraction point cloud and the standard reflection point cloud on the XYZ axis are obtained, which is defined as , and ;
[0135] 53: Standard reflection point cloud data, , and , and obtain the standard true refraction point cloud data.
[0136] Specifically, the three axes XYZ are used as examples for explanation.
[0137] Taking the Z axis as an example, S51: according to the standard virtual refraction point cloud data and the standard reflection point cloud data, obtain the distance value of the standard virtual refraction point cloud and the standard reflection point cloud on the Z axis d z ;
[0138] Obtained by the following formula:
[0139] =|Z 虚 -Z 反 ∣
[0140] In the formula, Z 虚 is the Z-axis coordinate value of the standard virtual refraction point cloud data, Z 反 is the Z-axis coordinate value of the standard reflection point cloud data. It represents distance, so it takes the absolute value.
[0141] S52: According to the angle of incidence α , refraction angle β and d z , get the change value of the standard true refraction point cloud and the standard reflection point cloud on the Z axis ;
[0142] Obtained by the following formula:
[0143]
[0144] It should be noted that Figure 6 For example, the incident angle α =∠ACE. Therefore, the distance between the reflection point cloud and the virtual refraction point cloud (i.e. CA) can be obtained by Calculated. Since there is an implicit constraint that CA=CB, (CE) can be passed Calculated.
[0145] S53: Z-axis coordinate value of standard reflection point cloud data and , get the Z-axis coordinate value of the standard real refraction point cloud data.
[0146] Taking the X axis as an example, S51: according to the standard virtual refraction point cloud data and the standard reflection point cloud data, obtain the distance value of the standard virtual refraction point cloud and the standard reflection point cloud on the X axis ;
[0147] Obtained by the following formula:
[0148] =|X 虚 -X 反 ∣
[0149] Where, X 虚 is the X-axis coordinate value of the standard virtual refraction point cloud data, X 反 is the X-axis coordinate value of the standard reflection point cloud data. It represents distance, so it takes the absolute value.
[0150] S52: According to the angle of incidence α , refraction angle β and , get the change value of the standard true refraction point cloud and the standard reflection point cloud on the X axis ;
[0151] Obtained by the following formula:
[0152]
[0153] It should be noted that Figure 6 For example, for the X axis, Figure 6 is the projection of the laser beam transmission process on the XZ plane (i.e. Figure 6In this case, since the position information of the virtual refraction point cloud is obtained based on the data of the real refraction point cloud, the time when the reflection point reaches the virtual refraction point cloud is the same as the time when the reflection point reaches the real refraction point cloud. Further deduction shows that the projections of the two on the XZ plane are also equal, that is, there is an implicit constraint condition of CA=CB, so (ie BE) can be achieved through Calculated.
[0154] S53: The value and value of the standard reflection point cloud data on the X-axis , get the value of the standard true refraction point cloud data on the X-axis.
[0155] Taking the Y axis as an example, S51: obtaining the distance value of the standard virtual refraction point cloud and the standard reflection point cloud on the Y axis according to the standard virtual refraction point cloud data and the standard reflection point cloud data ;
[0156] Obtained by the following formula:
[0157] =|Y 虚 -Y 反 ∣
[0158] Where Y 虚 is the Y-axis coordinate value of the standard virtual refraction point cloud data, Y 反 is the Y-axis coordinate value of the standard reflection point cloud data. It represents distance, so it takes the absolute value.
[0159] S52: According to the angle of incidence α , refraction angle β and , get the change value of the standard true refraction point cloud and the standard reflection point cloud on the Y axis ;
[0160] Obtained by the following formula:
[0161]
[0162] It should be noted that Figure 6 For example, for the Y axis, Figure 6 is the projection of the laser beam transmission process on the YZ plane (i.e. Figure 6In this case, since the position information of the virtual refraction point cloud is obtained based on the data of the real refraction point cloud, the time when the reflection point reaches the virtual refraction point cloud is the same as the time when the reflection point reaches the real refraction point cloud. Therefore, the projections of the two on the YZ plane are also equal, that is, there is an implicit constraint condition of CA=CB, so (ie BE) can be achieved through Calculated.
[0163] S53: The value and value of the standard reflection point cloud data on the Y axis , get the value of the standard true refraction point cloud data on the Y axis.
[0164] In this embodiment 3, based on the embodiment 1, the incident angle is obtained based on the standard radar position information and the standard reflection point cloud data. α , and then according to the incident angle α Get the refraction angle β ; Based on the incident angle α , refraction angle β , standard virtual refraction point cloud data and standard reflection point cloud data are used to obtain real refraction point cloud data, which realizes regional recognition and three-dimensional modeling of the entire dielectric layer area and expands the scope of application.
[0165] Example 4
[0166] Embodiment 4 provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed on a computer, the computer executes the dielectric layer thickness measurement method provided in this embodiment.
[0167] Example 5
[0168] Embodiment 5 further provides a computer device, including a memory and a processor, wherein the processor is used to execute the dielectric layer thickness measurement method provided in this embodiment by calling a computer program stored in the memory.
[0169] In addition, the computer device may be a terminal or a server, such as Figure 7 As shown, it shows a schematic diagram of the structure of the computer device involved in the embodiment of the present application, specifically:
[0170] The computer device may include components such as a processor 401 with one or more processing cores, a memory 402 with one or more storage media, a power supply 403, and an input unit 404. Those skilled in the art will appreciate that Figure 7 The computer device structure shown in the figure does not constitute a limitation on the computer device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. Among them:
[0171] The processor 401 is the control center of the computer device. It uses various interfaces and lines to connect various parts of the entire computer device. By running or executing software programs and / or modules stored in the memory 402 and calling data stored in the memory 402, it executes various functions of the computer device and processes data, thereby controlling the computer device as a whole. Optionally, the processor 401 may include one or more processing cores; preferably, the processor 401 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 401.
[0172] The memory 402 can be used to store software programs and modules. The processor 401 executes various functional applications and data processing by running the software programs and modules stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 402 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 with access to the memory 402.
[0173] The computer device also includes a power supply 403 for supplying power to various components. Preferably, the power supply 403 can be logically connected to the processor 401 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. The power supply 403 can also include any components such as one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, and power status indicators.
[0174] The computer device may further include an input unit 404, which may be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.
[0175] Although not shown, the computer device may further include a display unit, etc., which will not be described in detail herein. Specifically in this embodiment, the processor 401 in the computer device will load the executable files corresponding to the processes of one or more application programs into the memory 402 according to the following instructions, and the processor 401 will run the application programs stored in the memory 402 to implement various functions, and the application programs include at least one of the following:
[0176] A computer program that implements the functions of Example 1;
[0177] A computer program that implements the functions of Example 2;
[0178] Such as a computer program that implements the functions of Example 3.
[0179] The storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0180] Since the instructions stored in the storage medium can execute any step provided in Embodiments 1 to 3, the beneficial effects that can be achieved in Embodiments 1 to 3 can be achieved. For details, please refer to the previous embodiments and will not be repeated here.
[0181] According to one aspect of the present application, a computer program product or a computer program is provided, the computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the method provided in the above-mentioned invention content and embodiments.
[0182] In the above embodiments, the description of each embodiment has its own emphasis. For the part that is not described in detail in a certain embodiment, please refer to the detailed description of the method above, and will not be repeated here.
[0183] The execution order of each step in the above embodiment is only an example and is not intended to limit the present application. The steps may also be executed in other execution orders and are not specifically limited here.
[0184] The device provided in the embodiment of the present application and the method in the above embodiment belong to the same concept, and any method provided in the above embodiment can be run on the device. The specific implementation process is detailed in Examples 1 to 3, which will not be repeated here.
[0185] The above is a detailed introduction to the dielectric layer thickness measurement method, storage medium and computer device provided in the embodiments of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, according to the ideas of the present application, there will be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A method for measuring dielectric layer thickness, characterized in that: include: Obtain the laser radar reflection point cloud and virtual refraction point cloud about the current dielectric layer, wherein the reflection point cloud is the point cloud reflected by the laser radar when the laser beam reaches the dielectric layer interface, and the virtual refraction point cloud is the point cloud obtained by the laser radar reflecting the laser beam according to the bottom of the dielectric layer; Define standard reflection point cloud data, standard virtual refraction point cloud data and standard radar position information, wherein the standard reflection point cloud data is point cloud data obtained by converting the reflection point cloud in the current coordinate system according to the standard coordinate system; the standard virtual refraction point cloud data is point cloud data obtained by converting the virtual refraction point cloud in the current coordinate system according to the standard coordinate system; the standard radar position information is the position information of the laser radar in the standard coordinate system; the standard coordinate system is a coordinate system in which the XY axis plane is parallel to the dielectric layer interface and the Z axis is perpendicular to the dielectric layer interface; The incident angle of the laser beam when it reaches the interface of the dielectric layer is obtained based on the standard radar position information and the standard reflection point cloud data α ; According to the incident angle α and dielectric layer, and obtain the refraction angle of the laser radar in the dielectric layer β ; According to the incident angle α , refraction angle β, Standard virtual refraction point cloud data and standard reflection point cloud data are used to obtain the thickness value of the dielectric layer; The incident angle α , refraction angle β, Standard virtual refraction point cloud data and standard reflection point cloud data are used to obtain the thickness value of the dielectric layer, including: According to the standard virtual refraction point cloud data and the standard reflection point cloud data, the distance between the standard virtual refraction point cloud and the medium layer interface is obtained. d ; According to the distance between the standard virtual refraction point cloud data and the medium layer interface d and the angle of incidence α , get the distance between the reflection point cloud and the virtual refraction point cloud l ; According to the distance between the reflection point cloud and the virtual refraction point cloud l and refraction angle β , and obtain the thickness value D of the dielectric layer.
2. The dielectric layer thickness measurement method according to claim 1, characterized in that: Said d Obtained by the following formula: d =∣Z 虚 -WITH 反 ∣ In the formula, Z 虚 is the Z-axis coordinate value of the standard virtual refraction point cloud data, 反 It is the Z-axis coordinate value of the standard reflection point cloud data.
3. The dielectric layer thickness measurement method according to claim 1, characterized in that: Said l Obtained by the following formula: l=d / cos α 。 4. The dielectric layer thickness measurement method according to claim 1, characterized in that: The D is obtained by the following formula: D= l* cos β 。 5. The dielectric layer thickness measurement method according to any one of claims 1 to 4, characterized in that: The incident angle when the laser beam reaches the interface of the dielectric layer is obtained according to the standard radar position information and the standard reflection point cloud data α ,include: Obtain the relative differences on the XYZ axes according to the standard radar position information and the standard reflection point cloud data; The incident angle of the laser beam when it reaches the interface of the dielectric layer is obtained based on the relative differences on the XYZ axis. α .
6. The dielectric layer thickness measurement method according to claim 5, characterized in that: The incident angle when the laser beam reaches the interface of the dielectric layer is obtained according to the relative differences on the XYZ axes. α ,include: ; In the formula, X 相 =|X 雷 -X 反 ∣, the X 雷 is the X-axis coordinate value in the standard radar position information, X 反 is the X-axis coordinate value of the standard reflection point cloud data; Said Y 相 =|Y 雷 -Y 反 ∣, the Y 雷 is the Y-axis coordinate value in the standard radar position information, Y 反 is the Y-axis coordinate value of the standard reflection point cloud data; Said Z 相 =|Z 雷 -Z 反 ∣, the Z 雷 is the Z-axis coordinate value in the standard radar position information, Z 反 It is the Z-axis coordinate value of the standard reflection point cloud data.
7. The dielectric layer thickness measurement method according to claim 1, 2, 3, 4 or 6, before obtaining the reflection point cloud and virtual refraction point cloud of the laser radar about the current dielectric layer, further comprising: According to the point cloud data currently received by the laser radar, a point cloud image is formed; According to the point cloud image, it is determined whether there is an area parallel to the interface of the dielectric layer in the point cloud image, which is defined as the target area; If there is a target area, it is determined whether the number of point clouds generated by each laser beam in the target area meets a preset condition. If the preset condition is met, it is determined that the target area is a dielectric layer.
8. According to the dielectric layer thickness measurement method of claim 7, the preset condition is that the number of point clouds generated by each laser beam is 2N, wherein N is determined based on a receiving module of the laser radar, and N is a positive integer.
9. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is run on a computer, the computer is enabled to execute the dielectric layer thickness measurement method according to any one of claims 1 to 8.
10. A computer device, characterized in that: The computer device includes a processor and a memory, wherein a computer program is stored in the memory, and the processor is used to execute the dielectric layer thickness measurement method according to any one of claims 1 to 8 by calling the computer program stored in the memory.
