원시데이터 수집 시스템
선정목록으로

Measuring Vehicle Profile Size: Lidar-Based System and K-Frame-Based Methodology

관련 필름·전자재료 · (13) 프리즘 필름

기본 정보

저자
  1. Zhang Qiang — College of Computer Science and Technology, Zhejiang University of Technology, Hangzhou 310023, China
  2. Zihao Wang — Institute of Transportation and Acoustical Metrology, Zhejiang Institute of Metrology, Hangzhou 310018, China
  3. Jianwen Shao — Institute of Transportation and Acoustical Metrology, Zhejiang Institute of Metrology, Hangzhou 310018, China
  4. Libo Weng — College of Computer Science and Technology, Zhejiang University of Technology, Hangzhou 310023, China
  5. Fei Gao — College of Computer Science and Technology, Zhejiang University of Technology, Hangzhou 310023, China
DOI
10.3390/s21186206
저널
Sensors
발행년도
2021
발행기관
Multidisciplinary Digital Publishing Institute
피인용수
2
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.3390/s21186206
토픽
Surface Roughness and Optical Measurements
OpenAlex ID
W3201381664

평가 내용

관련도
관련
사업분야
필름·전자재료 · (13) 프리즘 필름
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '필름·전자재료 > 프리즘 필름' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

At present, light curtain is a widely-used method to measure the vehicle profile size. However, it is sensitive to temperature, humidity, dust and other weather factors. In this paper, a lidar-based system with a K-frame-based algorithm is proposed for measuring vehicle profile size. The system is composed of left lidar, right lidar, front lidar, control box and industry controlling computer. Within the system, a K-frame-based methodology is investigated, which include several probable algorithm combinations. Three groups of experiments are conducted. An optimal algorithm combination, A16, is determined through the first group experiments. In the second group experiments, various types of vehicles are chosen to verify the generality and repeatability of the proposed system and methodology. The third group experiments are implemented to compare with vision-based methods and other lidar-based methods. The experimental results show that the proposed K-frame-based methodology is far more accurate than the comparative methods.

본문 48,742자

본문 펼치기
At present, light curtain is a widely-used method to measure the vehicle profile size. However, it is sensitive to temperature, humidity, dust and other weather factors. In this paper, a lidar-based system with a K-frame-based algorithm is proposed for measuring vehicle profile size. The system is composed of left lidar, right lidar, front lidar, control box and industry controlling computer. Within the system, a K-frame-based methodology is investigated, which include several probable algorithm combinations. Three groups of experiments are conducted. An optimal algorithm combination, A16, is determined through the first group experiments. In the second group experiments, various types of vehicles are chosen to verify the generality and repeatability of the proposed system and methodology. The third group experiments are implemented to compare with vision-based methods and other lidar-based methods. The experimental results show that the proposed K-frame-based methodology is far more accurate than the comparative methods. Sensors 2021, 21, 6206. https://doi.org/10.3390/s21186206 https://www.mdpi.com/journal/sensors Sensors 2021, 21, 6206 2 of 17installs three 2D lidars on fixed brackets to collect point cloud data of vehicles. The point cloud data is used to calculate the profile size of a vehicle through a proposed K-framebased methodology. The scheme in this paper can better adapt to complex real scenarios with high reliability and measurement accuracy. The main contributions are as follows:1.A novel solution of lidar-based system for automated measuring vehicle profile size is designed. A method is also investigated to calibrate the parameters of lidar selves and the whole system, which can improve the accuracy and efficiency of system parameter calibration and ensure the accuracy of original point cloud data; 2.An original point cloud data filtering method and a vehicle profile size measurement method are put forward, which can overcome the slight deflection and incline of vehicles and reduce the interference of vibration, smoke and noise in real measuring scenarios; 3.A K-frame-based methodology is proposed to eliminate the measurement error caused by the deviation angle between driving track and central axis.Related WorkThe CMM-based method [1] can reach a high measurement accuracy while the limitations are obvious such as severe working condition, high cost and time-consuming. The light curtain-based method [2] is a usual method since the advantages are relatively convincing, for instances, simple measurement principle, less requirement for vehicle color and surroundings and so on. Similarly, disadvantages including complex installation process and harsh lighting requirements are also obvious.Vision-based methods include measurement method based on digital photography and coded mark points [3], binocular stereo-based method [4], structured light and color coding based on method [6], etc. Jia et al.[7]proposed an effective field measurement method for large objects based on a multi-view stereo vision system, the method is effective at measuring the height of a large hot forging. Pu et al.[8]proposed a new method for measuring object size using an ordinary digital camera. Rong et al. [9] proposed a measurement method based on the dual camera vision system and the relative measurement principle and achieved high precision measurement of bayonet size of large automobile brake pads. Zhang et al.[10]proposed a method of sheep body size measurement based on visual image analysis, which can be actually applied in farm environment without disturbing animals. Wang et al.[11]proposed a new portable automatic pig body size measurement system. These methods are of lower costs but depend heavily on good lighting. In addition, vision-based method is of low measurement accuracy and not robust.In contrast to afore-mentioned methods, lidar-based method [12] has many advantages, such as higher accuracy, stronger anti-jamming ability, lower environmental requirements and higher reliability. The key of lidar-based method lies in lidar parameter calibration, point cloud data analysis and processing, etc. Many lidar-based methods and systems were developed and applied on object size measurement. Li et al.[12]proposed a non-contact laser scanning based 3D measurement system to obtain the structure of vegetation canopy, which is based on the flying point scanning triangulation. Yin et al. [13] introduced the measurement principle of 3D lidar sensor and analyzed the relationship between projection points, measurement distance and object size. Xu et al.[14]proposed an automatic untouched measurement based on terrestrial 3D lidar (FARO Photon120), which facilitated plane scattered data point convex hull algorithm and slice segmentation and accumulation algorithm to calculate the tree crown projection area. Yang et al.[15]used 3D lidar to obtain point data, analyze point data, obtain plane information, combine plane information with position information and establish 3D model. Wu et al. [16] studied the morphological characteristics of ravines by using 3D lidar. All the above-mentioned methods employed 3D lidar to measure or model a specific object. 3D lidar can rotate scanning plane to realize 3D scanning and acquire the 3D information of environment more quickly and directly, which brings many applications in the field of engineering Introduction In recent years, researches about intelligent transportation system has been developing rapidly and various research results have been widely applied, which are changing and affecting our life day by day. With the continuous improvement of various performances of automobiles, higher and higher requirements have been put forward for automobile performance detection technology. With the increasing of performance parameters, more and more kinds of testing instruments and equipment are needed and they are developing towards miniaturization, full-automatic and intelligent direction. These instruments and equipment can be used to the vehicle handling performance, safety and reliability, emission environmental protection and other performance indicators for a full range of testing and evaluation. Introduction Since the vehicles are produced according to some standard, many people are not satisfied with the monotonous style, color, or size. So, some vehicles will be modified to satisfy their individual requirements, e.g., adding some parts to enlarge the size to load more materials, etc., which may bring safety hazards like permanent damage to the road, accident and influence on normal driving. To avoid hidden dangers caused by illegal modification, all kinds of vehicles especially trucks need to be regularly measured at the inspection station. Nowadays, several methods such as Coordinate Measuring Machine (CMM) based method [1], light curtain-based method [2], vision-based method [3,4] and lidar-based method [5] were presented to measure the vehicle profile size. There are several limitations about the afore-mentioned methods such complex installation, harsh lighting requirements, sensitive to illuminations, high cost, etc. In this paper, a 2D lidar-based measurement system for vehicle profile size is proposed and a K-frame-based methodology is also investigated. In contrast to most afore-mentioned solutions, the proposed system measurement, complex terrain robot navigation and so on. However, 3D lidar has the disadvantages of complex installation and high cost. Introduction Among lidar-based methods, 2D lidar also can be used to measure or model the object through cooperating with a movable mechanical device or a specific installation method. Gong et al. [17] proposed a 3D ice shape measurement technique through laser light sheet scanning. Yan et al. [18] detected 3D objects with a 2D laser scanning sensor and proposed specially designed algorithm to collect data and construction three-dimensional images. Sanz-Cortiella et al. [19] installed 2D lidar on the retractable bracket to scan the plant and build a 3D model of the plant and measure its size. Rosell et al. [20] employed remote 2D terrestrial lidars to obtain the 3D profile size of tree orchards. Keightley et al. [21] designed a system composed of linear laser sensors and other devices. The system could be moved by a rotating mechanical arm and be used to calculate the biomass of Agronomy. Dias et al. [22] proposed a 3D reconstruction technology based on the real world environment, which was based on the modification of traditional 2D lidar to simulate 3D lidar. Xu et al. [23] developed mechanical devices and motors to rotate the lidar around fixed points, of which three dimensional space data was obtained by single line lidar and 2D data was transformed into three-dimensional data. Li et al. [24] proposed a whole waveform echo decomposition method to improve the ranging accuracy of the whole waveform lidar. Niola et al. [25] showed a robot with two-dimensional lidar that could be used to reverse engineer objects. Fang et al. [26] proposed a real-time low-cost 3D sensing and reconstruction system, which was suitable for autonomous navigation and large-scale environment reconstruction. Choi et al. [27] investigated a sensing model of building structural deformation, which confirmed that the deformation measurement model based on 2D lidar may be a promising alternative. Ringdahlet al. [28] evaluated several existing diameter estimation algorithms using 2D lidar. An enhancement algorithm for compensating beam width and using multiple scans was also developed and evaluated by Bretschneider et al. [29]. Yamada et al. [30] used a 2D lidar to obtain road shape information. According to the road information, the road damage area was detected automatically. Most above-mentioned methods employed single or multi 2D lidars to obtain three-dimensional information of an object, which were usually installed on a movable mechanism and could reduce the equipment cost. However, the reliability and measurement accuracy were also reduced since the moving mechanical mechanism could not ensure a stable measurement system. So, lidar-mechanism-based solution is not suitable for the scene of measuring vehicle profile size since it is more complex and may include smoke, noise and vibration. Structure and Principle As shown in Figure 1, the lidar-based measurement system is composed of left lidar, right lidar, front lidar, control box and industry controlling computer. The left lidar and the right lidar are arranged in the upper left and right corner of the gantry at the entrance of the channel and the front lidar is arranged in the middle of the gantry at the exit of the channel. Structure and Principle The basic principle of the automated measurement system is as follows: when the head of a vehicle is detected to be entering the measurement region, lidars start collecting point cloud data of the vehicle; when the tail of the vehicle is detected to be leaving the measurement region, lidars stop collecting data. The measurement algorithm processes and analyzes the point cloud data and, finally, obtains the vehicle profile size. The workflow chart of the measurement process is depicted as Figure 2. Structure and Principle The installation locations of these devices are shown in Figure 3. The point cloud data collected by left, right and front lidars are transformed from TCP/IP protocol data by Ethernet switch in control box and entered into the measurement software installed in the industry controlling computer, which further calculates the length, width and height of the vehicle. The installation locations of these devices are shown in Figure 3. The point cloud data collected by left, right and front lidars are transformed from TCP/IP protocol data by Ethernet switch in control box and entered into the measurement software installed in the industry controlling computer, which further calculates the length, width and height of the vehicle. Automated Calibration of Lidars The working principle of lidar is to send a laser beam to an object and then compare the received signal (object echo) reflecting back from the object with the transmitting signal. After proper processing, the distance between the lidar and object can be obtained. To measure the 3D size, the obtained original data needs to be converted into point cloud data in a coordinate system. As shown in Figure 4, a 2D rectangular coordinate system according to each lidar is set up, where the lidar is the origin, vertical downward direction of the lidar is the Y-axis and the direction parallel to the ground in the scanning plane of the lidar is the X-axis. The coordinate transformation can be obtained according to Equation (1): Automated Calibration of Lidars where, i represents the serial number of a laser beam in the scanning plane, Di means the distance between the point on the object that is hit by i-th laser beam and the lidar (origin of the coordinate system), βi is the angle between the i-th laser beam and Y-axis, (xi, yi) is the coordinate point under the coordinate system according to the reflected point on the object as shown in Figure 4. Automated Calibration of Lidars The working principle of lidar is to send a laser beam to an object and then compare the received signal (object echo) reflecting back from the object with the transmitting signal. After proper processing, the distance between the lidar and object can be obtained. To measure the 3D size, the obtained original data needs to be converted into point cloud data in a coordinate system. As shown in Figure 4, a 2D rectangular coordinate system according to each lidar is set up, where the lidar is the origin, vertical downward direction of the lidar is the Y-axis and the direction parallel to the ground in the scanning plane of the lidar is the X-axis. The coordinate transformation can be obtained according to Equation (1): Automated Calibration of Lidars where, i represents the serial number of a laser beam in the scanning plane, D i means the distance between the point on the object that is hit by i-th laser beam and the lidar (origin of the coordinate system), β i is the angle between the i-th laser beam and Y-axis, (x i , y i ) is the coordinate point under the coordinate system according to the reflected point on the object as shown in Figure 4. The installation locations of these devices are shown in Figure 3. The point cloud data collected by left, right and front lidars are transformed from TCP/IP protocol data by Ethernet switch in control box and entered into the measurement software installed in the industry controlling computer, which further calculates the length, width and height of the vehicle. Automated Calibration of Lidars The working principle of lidar is to send a laser beam to an object and then compare the received signal (object echo) reflecting back from the object with the transmitting signal. After proper processing, the distance between the lidar and object can be obtained. To measure the 3D size, the obtained original data needs to be converted into point cloud data in a coordinate system. As shown in Figure 4, a 2D rectangular coordinate system according to each lidar is set up, where the lidar is the origin, vertical downward direction of the lidar is the Y-axis and the direction parallel to the ground in the scanning plane of the lidar is the X-axis. The coordinate transformation can be obtained according to Equation (1): Automated Calibration of Lidars where, i represents the serial number of a laser beam in the scanning plane, Di means the distance between the point on the object that is hit by i-th laser beam and the lidar (origin of the coordinate system), βi is the angle between the i-th laser beam and Y-axis, (xi, yi) is the coordinate point under the coordinate system according to the reflected point on the object as shown in Figure 4. According to the working principle, laser beam scans cyclically from the position of start laser beam to that of the end laser beam with a certain frequency clockwise within a period. As shown in Figure 5, the maximal scanning angle is marked as α. According to Equation (1), (x i , y i ) can be calculated if and only if β i is known. To calculate β i , it is necessary to calculate γ that is the angle from the position of start laser beam to Y-axis, which is called the central angle, then, the installation height of the lidar, h, can be calculated. Automated Calibration of Lidars According to the working principle, laser beam scans cyclically from the position of start laser beam to that of the end laser beam with a certain frequency clockwise within a period. As shown in Figure 5, the maximal scanning angle is marked as α. According to Equation (1), (xi, yi) can be calculated if and only if βi is known. To calculate βi, it is necessary to calculate γ that is the angle from the position of start laser beam to Y-axis, which is called the central angle, then, the installation height of the lidar, h, can be calculated. βi and h are the basic parameters for the automated measurement system of vehicle profile size. How to get the two parameters? When a lidar is working, it continually emits laser beams to the object at regular intervals within a fixed scanning period. Suppose the distance detected by the i-th laser beam between the lidar and the reflection point on the object be Di and a set of the distances be {Di|i = 0, 1, 2, ..., K − 1}, K is the total number of emitted laser beams within the scanning plane angle α. Let the angle of any two adjacent laser beams be ψ, which is a constant. Then, βi and h of the lidar can be calculated according to Equation (2). The calibration process is shown in Figure 6. β i and h are the basic parameters for the automated measurement system of vehicle profile size. How to get the two parameters? When a lidar is working, it continually emits laser beams to the object at regular intervals within a fixed scanning period. Suppose the distance detected by the i-th laser beam between the lidar and the reflection point on the object be D i and a set of the distances be {D i |i = 0, 1, 2, ..., K − 1}, K is the total number of emitted laser beams within the scanning plane angle α. Let the angle of any two adjacent laser beams be ψ, which is a constant. Then, β i and h of the lidar can be calculated according to Equation (2). The calibration process is shown in Figure 6. According to the working principle, laser beam scans cyclically from the position of start laser beam to that of the end laser beam with a certain frequency clockwise within a period. As shown in Figure 5, the maximal scanning angle is marked as α. According to Equation (1), (xi, yi) can be calculated if and only if βi is known. To calculate βi, it is necessary to calculate γ that is the angle from the position of start laser beam to Y-axis, which is called the central angle, then, the installation height of the lidar, h, can be calculated. βi and h are the basic parameters for the automated measurement system of vehicle profile size. How to get the two parameters? When a lidar is working, it continually emits laser beams to the object at regular intervals within a fixed scanning period. Suppose the distance detected by the i-th laser beam between the lidar and the reflection point on the object be Di and a set of the distances be {Di|i = 0, 1, 2, ..., K − 1}, K is the total number of emitted laser beams within the scanning plane angle α. Let the angle of any two adjacent laser beams be ψ, which is a constant. Then, βi and h of the lidar can be calculated according to Equation (2). The calibration process is shown in Figure 6. Status Judgment of Vehicle and Frame Data Collection When the measurement system is started, no matter whether or not there is a vehicle that is moving into the measurement region, the three lidars will keep scanning and continuously transfer the original data frame to the measurement software. Among them, real effective ones are those collected from the time when the vehicle just enters the measurement region to that when it just leaves. So, how to determine when the vehicle enters and leaves the measurement region? Status Judgment of Vehicle and Frame Data Collection Let point cloud data frames collected by left lidar and right lidar at t moment be LP t = {(x i l,t , y i l,t )|i = 0, 1, . . . , F − 1} and RP t = {(x i r,t , y i r,t )|i = 0, 1, . . . , F − 1}, respectively. F presents the number of coordinate points in each frame, (x i l,t , y i l,t ) represents the converted reflection coordinate point of i-th laser beam collected by left lidar, (x i r,t , y i r,t ) Status Judgment of Vehicle and Frame Data Collection represents the converted reflection coordinate point of i-th laser beam collected by right lidar. (x i l,t , y i l,t ) and (x i r,t , y i r,t ) are obtained via Equations (1) and (2). LP t and RP t are unified into a new coordinate system, of which the right lidar is the origin, horizontal direction is the X-axis and vertical downward direction is the Y-axis. Then, the new LP t and RP t are merged into a uniform set named P t according to Equation (3). The minimal X coordinate value, x min and maximal X coordinate value, x max , can be found according to Equation (4). Then, the rule of determining when the vehicle enters and leaves the measurement region is as follows: if (x max − x min ) ≥ w 0 is just satisfied, the vehicle is judged to have just entered the measurement region; If (x max − x min ) ≥ w 0 is always satisfied after the vehicle is judged to have entered the measurement region, the vehicle is judged to be still in the measurement region; if it changes just from (x max − x min ) ≥ w 0 to (x max − x min ) < w 0 , the vehicle is judged to just have left the measurement region. Status Judgment of Vehicle and Frame Data Collection where h 0 represents the vehicle height threshold, w 0 represents the vehicle width threshold. When the vehicle is judged to have just entered the measurement region, the measurement software begins to record the data frames until the vehicle is judged to just leave the measurement region. Vehicle Width Measurement Let the unified point cloud data sets collected by left and right lidar be Vehicle Width Measurement n represents the quantity of data frames collected by left lidar and m represents the quantity of data frames collected by right lidar, (x ij , y ij ) represents the j-th point in the i-th frame, (x kv , y kv ) represents the v-th point in the k-th frame, F represents the quantity of coordinate points in each data frame. Since there may be some noise data due to the interference of dust, smoke, etc., the points near the ground or significantly higher than the vehicle must be preliminarily removed, i.e., those points in LP that meet the requirements of y ij > h 1 or y ij < h 2 will be removed. Similarly, the points in RP that meet the requirements of y kv > h 1 or y kv < h 2 are also removed. h 1 represents the upper threshold value in the Y-axis direction, which usually represents the ordinate Y-axis value near the top of the vehicle. h 2 represents the lower threshold value in the Y-axis direction, which usually represents the ordinate Y-axis value near the ground. Let the denoised point cloud dataset be L and R, respectively. Vehicle Width Measurement Theoretically, the vehicle width can be obtained easily by subtracting the minimum X-axis value R from the maximum X-axis value in L. However, considering that the data collections of left and right lidar are usually not synchronous, it is a problem that which two data frames in R and L should be chosen for subtraction. In addition, if the single frame subtraction method is adopted, it will bring random error. To overcome the random error caused by the asynchronous collections, a K-frame-based measurement algorithm is proposed. The principle of K-frame-based method is that point cloud data of left and right lidars is sub-grouped according to K 1 and K 2 frames, respectively, namely, each sub-group of point cloud data of left lidar includes K 1 frames and each sub-group of point cloud data of right lidar includes K 2 frames. The algorithm can be represented by Equations (5)- (7). where W represents the final result of vehicle width; L is divided into N 1 = n/K 1 sub-groups, each sub-group includes K 1 frames; N 1 = n/K 1 , K 1 is preset; similarly; R is divided into N 2 = m/K 2 sub-groups, each sub-group includes K 2 frames, K 2 is also preset; x ij represents the X coordinate of j-th point in the i-th frame in L; Θ may be a certain operation like max, min, or average, etc.; xl t represents the result value of the t-th sub-group of data frame set in XL Θ via Θ operation; XL Θ represents the result set of all N 1 sub-groups; x ks represents the X coordinate of s-th point in the k-th frame in R; Λ may be a certain operation like max, min, or average, etc.; xr t represents the result value of the t-th sub-group of data frame set in XR Λ via Λ operation; XR Λ represents the result set of all N 2 sub-groups; Γ represents a certain operation like Θ and Λ; min and max represent the minimum operation and the maximum operation, respectively. According to the above-mentioned model, different methods can be derived from different Θ, Λ and Γ, as shown in Table 1, Γ can be either Equations (8), (9), (10) or (11). In the actual measurement, it is difficult to keep the driving direction completely parallel to the lane axis. In this case, when Equations (8) and (9) are adopted for Γ, it will lead to a large error between the measured value of vehicle width and the actual one. So, Equations (10) or (11) is often employed for Γ in the actual measurement. The proposed K-frame-based method can effectively reduce the measurement error. Vehicle Length Measurement As shown in Figures 7 and 8, in the vehicle length measurement, the function of left and right lidar is to get the time t start when the vehicle enters the measurement region and the time t end when the vehicle leaves the measurement region. The length L 0 of the measurement region is already determined when the equipment is installed. At the moment of t start , the system collects a frame of point cloud data of the front lidar. After preliminary filtering, the X coordinate set {x start t } of point cloud data is obtained. At the moment of t end , the system also collects a frame of point cloud data of the front lidar. Similarly, after Sensors 2021, 21, 6206 9 of 17 preliminary filtering, the point cloud data X coordinate set x end t is obtained. Then, the vehicle length L can be calculated according to Equation (12). Vehicle Length Measurement As shown in Figures 7 and 8, in the vehicle length measurement, the function of left and right lidar is to get the time tstart when the vehicle enters the measurement region and the time tend when the vehicle leaves the measurement region. The length L0 of the measurement region is already determined when the equipment is installed. At the moment of tstart, the system collects a frame of point cloud data of the front lidar. After preliminary filtering, the X coordinate set { start } of point cloud data is obtained. At the moment of tend, the system also collects a frame of point cloud data of the front lidar. Similarly, after preliminary filtering, the point cloud data X coordinate set { end } is obtained. Then, the vehicle length L can be calculated according to Equation (12). Vehicle Height Measurement The algorithm of vehicle height measurement is similar to that of vehicle width measurement. Theoretically, the left or right lidar can measure the vehicle height separately, as shown in Figure 9; however, this may lead to a large error. To eliminate the measurement error, the point cloud data of both the two lidars are still fully fused and an algorithm similar to that of vehicle width measurement is advised. So, the vehicle height can be calculated according to Equation (13). Vehicle Length Measurement As shown in Figures 7 and 8, in the vehicle length measurement, the function of left and right lidar is to get the time tstart when the vehicle enters the measurement region and the time tend when the vehicle leaves the measurement region. The length L0 of the measurement region is already determined when the equipment is installed. At the moment of tstart, the system collects a frame of point cloud data of the front lidar. After preliminary filtering, the X coordinate set { start } of point cloud data is obtained. At the moment of tend, the system also collects a frame of point cloud data of the front lidar. Similarly, after preliminary filtering, the point cloud data X coordinate set { end } is obtained. Then, the vehicle length L can be calculated according to Equation (12). Vehicle Height Measurement The algorithm of vehicle height measurement is similar to that of vehicle width measurement. Theoretically, the left or right lidar can measure the vehicle height separately, as shown in Figure 9; however, this may lead to a large error. To eliminate the measurement error, the point cloud data of both the two lidars are still fully fused and an algorithm similar to that of vehicle width measurement is advised. So, the vehicle height can be calculated according to Equation (13). Vehicle Height Measurement The algorithm of vehicle height measurement is similar to that of vehicle width measurement. Theoretically, the left or right lidar can measure the vehicle height separately, as shown in Figure 9; however, this may lead to a large error. To eliminate the measurement error, the point cloud data of both the two lidars are still fully fused and an algorithm similar to that of vehicle width measurement is advised. So, the vehicle height can be calculated according to Equation (13). Vehicle Height Measurement where the calculation methods of YL Θ and YR Λ are similar to XL Θ and XR Λ . Vehicle Height Measurement where the calculation methods of YLΘ and YRΛ are similar to XLΘ and XRΛ. Figure 9. Illustration of how to measure vehicle height. Calibration Error Suppose the maximum angle of the lidar scanning plane be α and total number of Figure 9. Illustration of how to measure vehicle height. Calibration Error Suppose the maximum angle of the lidar scanning plane be α and total number of laser beams of each scanning cycle be K. Due to the limited number of laser beams, sometimes it is impossible to find a laser beam that coincides with the vertical direction as the Y-axis. In this case, the closest laser beam is chosen as the Y-axis, which absolutely will lead error. As shown in Figure 10, when the vertical line from lidar to ground is exactly in the middle of two laser beams, calibration error will be maximum. Under the situation, the angle value between the closest laser beam and the vertical line is α/2K. The influence of the calibration error on vehicle width measurement error is shown in Figure 11. The coordinate conversion relationship between the actually established coordinate system and the standard one with the vertical line as the Y-axis is shown in Equation (14). Calibration Error x 0 = x 0 cos(α/2n) + y 0 sin(α/2n) y 0 = −x 0 sin(α/2n) + y 0 cos(α/2n) (14) Figure 9. Illustration of how to measure vehicle height. Calibration Error Suppose the maximum angle of the lidar scanning plane be α and total number of laser beams of each scanning cycle be K. Due to the limited number of laser beams, sometimes it is impossible to find a laser beam that coincides with the vertical direction as the Y-axis. In this case, the closest laser beam is chosen as the Y-axis, which absolutely will lead error. As shown in Figure 10, when the vertical line from lidar to ground is exactly in the middle of two laser beams, calibration error will be maximum. Under the situation, the angle value between the closest laser beam and the vertical line is α/2K. The influence of the calibration error on vehicle width measurement error is shown in Figure 11. The coordinate conversion relationship between the actually established coordinate system and the standard one with the vertical line as the Y-axis is shown in Equation (14). If other factors that may cause errors are excluded and the vehicle drives strictly along with the middle of the lane and the horizontal width of the left and right lidars is W0, the theoretical vehicle width is calculated according to Equation (15). In consideration of calibration error, the actual measured value is shown in Equation (16). Then, the relative measurement error of vehicle width caused by calibration error is according to Equation (17). Calibration Error To eliminate the measurement error caused by calibration, a calibration object whose If other factors that may cause errors are excluded and the vehicle drives strictly along with the middle of the lane and the horizontal width of the left and right lidars is W 0 , the theoretical vehicle width is calculated according to Equation (15). In consideration of calibration error, the actual measured value is shown in Equation (16). Then, the relative measurement error of vehicle width caused by calibration error is according to Equation (17). Calibration Error To eliminate the measurement error caused by calibration, a calibration object whose profile size is known is used a fine-tuning strategy is facilitated as follows: Calibration Error 1. Calibration Error a calibration object, whose profile size is known, is measured by the proposed system; 2. Calibration Error the lidars are fine-tuned according to difference value between the measured value and actual value of the calibration object; 3. Calibration Error step 1 and 2 are repeated until the measured value is equal to the actual value. Deviation Error of Vehicle Moving As shown in Figure 12, in the basic algorithm combination of Table 1, if Equation (8) or Equation (9) is adopted for Γ and there is deflection angle between the track and the central axis when the vehicle is moving forward, the error will be relatively large. Suppose the angle between the vehicle driving direction and the central lane axis be θ, the actual value of the vehicle width be W, the measured value be W and the actual value of the vehicle length be L, the relative error of the vehicle width caused by the vehicle moving deviation is shown in Equation (18). Deviation Error of Vehicle Moving Then, expanding Equation (18) can be expanded to Equation (19). Usually, as for trucks, W is limited to 2.5 m, L is limited to 18 m. If the measurement error δ < 1% is required, θ < 0.08° must be satisfied; if L is limited to 13 m, θ < 0.12° must be satisfied, which means the high requirement for vehicle moving trajectory. Thus, a Kframe-based method is proposed, which can eliminate the measurement error caused by the deviation angle between the vehicle and the central axis and overcome the synchronization requirements of the left and right lidar through filtering noise data. Determination of the Optimal Algorithm Different combinations according to Table 1 are tested for about 800 vehicles to determine the exact measure algorithm that has the minimal measurement error profile size, where there are 102 vans, 36 barn trucks, 59 fence trucks, 20 crane trucks, 150 semi-trailer tractors and 77 buses. Average errors of vehicle width and height according to algorithm combination in Table 1 are shown in Figures 13 and 14, respectively. According to the experimental results, it can be found that the combination A16 in Table 1, i.e., Θ chooses mean method, Λ chooses mean method, Γ chooses Equation (11), can reach the minimal average error. Usually, as for trucks, W is limited to 2.5 m, L is limited to 18 m. If the measurement error δ < 1% is required, θ < 0.08 • must be satisfied; if L is limited to 13 m, θ < 0.12 • must be satisfied, which means the high requirement for vehicle moving trajectory. Thus, a K-framebased method is proposed, which can eliminate the measurement error caused by the deviation angle between the vehicle and the central axis and overcome the synchronization requirements of the left and right lidar through filtering noise data. Determination of the Optimal Algorithm Different combinations according to Table 1 are tested for about 800 vehicles to determine the exact measure algorithm that has the minimal measurement error profile size, where there are 102 vans, 36 barn trucks, 59 fence trucks, 20 crane trucks, 150 semi-trailer tractors and 77 buses. Average errors of vehicle width and height according to algorithm combination in Table 1 are shown in Figures 13 and 14, respectively. According to the experimental results, it can be found that the combination A16 in Table 1, i.e., Θ chooses mean method, Λ chooses mean method, Γ chooses Equation (11), can reach the minimal average error. Determination of the Optimal Algorithm Different combinations according to Table 1 are tested for about 800 vehicles to determine the exact measure algorithm that has the minimal measurement error profile size, where there are 102 vans, 36 barn trucks, 59 fence trucks, 20 crane trucks, 150 semi-trailer tractors and 77 buses. Average errors of vehicle width and height according to algorithm combination in Table 1 are shown in Figures 13 and 14, respectively. According to the experimental results, it can be found that the combination A16 in Table 1, i.e., Θ chooses mean method, Λ chooses mean method, Γ chooses Equation (11), can reach the minimal average error. Table 1. Table 1. Determination of the Optimal Algorithm However, decision about which algorithm combination should be chosen can't be made just according to the average error. Considering that the number of samples of different types of vehicles in the experiment varies greatly, it is very likely that the combination with smaller average error may have smaller error only when measuring the vehicle type with larger number of samples and the error may be too large when measuring the vehicle type with smaller number of samples. Then, the standard deviation of vehicle width and height is also calculated and is depicted in Figures 15 and 16, respectively. The experiment results of the standard deviation show that A16 still reaches the minimal value. On the whole, A16 is an algorithm combination with smaller error and stronger applicability compared with other algorithms, which is determined to be the exact algorithm for measuring the vehicle profile size. Table 1. However, decision about which algorithm combination should be chosen can't be made just according to the average error. Considering that the number of samples of different types of vehicles in the experiment varies greatly, it is very likely that the combination with smaller average error may have smaller error only when measuring the vehicle type with larger number of samples and the error may be too large when measuring the vehicle type with smaller number of samples. Then, the standard deviation of vehicle width and height is also calculated and is depicted in Figures 15 and 16, respectively. The experiment results of the standard deviation show that A16 still reaches the minimal value. On the whole, A16 is an algorithm combination with smaller error and stronger applicability compared with other algorithms, which is determined to be the exact algorithm for measuring the vehicle profile size. Table 1. Determination of the Optimal Algorithm However, decision about which algorithm combination should be chosen can't be made just according to the average error. Considering that the number of samples of different types of vehicles in the experiment varies greatly, it is very likely that the combination with smaller average error may have smaller error only when measuring the vehicle type with larger number of samples and the error may be too large when measuring the vehicle type with smaller number of samples. Then, the standard deviation of vehicle width and height is also calculated and is depicted in Figures 15 and 16, respectively. The experiment results of the standard deviation show that A16 still reaches the minimal value. On the whole, A16 is an algorithm combination with smaller error and stronger applicability compared with other algorithms, which is determined to be the exact algorithm for measuring the vehicle profile size. Table 1. Table 1. Experiments of the Optimal Algorithm Five specific vehicles from the above-mentioned five categories are chosen for the experiments to verify the applicability and repeatability of A16, which are semi-trailer tractor, van, barn truck, fence truck, crane truck and bus. The profile size of all the five vehicles is measured ten times and compared with the ground truth. The experimental results, i.e., profile size, max error, relative error and repeatability error, are shown in the Table 2. As shown in Figure 17, max errors of the experimental results are depicted as a line chart in ascending order of vehicle length. The measurement time increases according to the increasing of the vehicle length, where it is supposed that the vehicles move with similar speed. Then, errors caused slight deflection and moving deviation from central axis of the lane will be accumulated. Since it is completely different from the width and height measurement, K-frame-based method is not employed in the length measurement. In Figure 17, it can be clearly found that the max error of length also increases with the increasing of measurement time while that of width and height does not increase with the increasing of measurement time, which further proves that K-frame-based method can eliminate the error caused by moving deviation from central axis of the lane to a certain extent. Comparison Experiments Several comparison experiments with Li et al. [31], Robert et al. [32] and Robert et al. [33] are conducted to prove the measurement accuracy of the proposed method, where Li et al. [31] investigated a monocular-vision-based method of vehicle 3D size measurement, Robert et al. [32] designed a scheme to measure the length of moving vehicles by employing stereoscopic video analysis technology, Robert et al. [33] proposed a new method to estimate vehicle size based on active appearance model (AAM) and stereoscopic video analysis. Although most of the experimental measurement objects are passenger vehicles with only a few large vehicles, the above-mentioned three methods are still used in our comparison experiments since they behave well in the measurement of vehicle profile size. The experimental results are shown in Table 3. It can be found that the proposed Although Figure 17 shows that the max error of length will increase with the increasing of measurement time, it also can be found that the max relative error of length does not change significantly with the increasing of vehicle length. In fact, as shown in Figure 18, the max relative error of length fluctuates in a small range just similar to the max error of width and height, which shows that the proposed measurement method is of high applicability after facilitating the optimal algorithm combination A16. Comparison Experiments Several comparison experiments with Li et al. [31], Robert et al. [32] and Robert et al. [33] are conducted to prove the measurement accuracy of the proposed method, where Li et al. [31] investigated a monocular-vision-based method of vehicle 3D size measurement, Robert et al. [32] designed a scheme to measure the length of moving vehicles by employing stereoscopic video analysis technology, Robert et al. [33] proposed a new method to estimate vehicle size based on active appearance model (AAM) and stereoscopic video analysis. Although most of the experimental measurement objects are passenger vehicles with only a few large vehicles, the above-mentioned three methods are still used in our comparison experiments since they behave well in the measurement of vehicle profile size. The experimental results are shown in Table 3. It can be found that the proposed In terms of repeatability, it can be seen from Figure 19 that the repeatability error is confined to a small range and there is no repeatability error higher than 0.5%, which shows the proposed measurement is of good repeatability. Comparison Experiments Several comparison experiments with Li et al. [31], Robert et al. [32] and Robert et al. [33] are conducted to prove the measurement accuracy of the proposed method, where Li et al. [31] investigated a monocular-vision-based method of vehicle 3D size measurement, Robert et al. [32] designed a scheme to measure the length of moving vehicles by employing stereoscopic video analysis technology, Robert et al. [33] proposed a new method to Comparison Experiments Several comparison experiments with Li et al. [31], Robert et al. [32] and Robert et al. [33] are conducted to prove the measurement accuracy of the proposed method, where Li et al. [31] investigated a monocular-vision-based method of vehicle 3D size measurement, Robert et al. [32] designed a scheme to measure the length of moving vehicles by employing stereoscopic video analysis technology, Robert et al. [33] proposed a new method to estimate vehicle size based on active appearance model (AAM) and stereoscopic video analysis. Although most of the experimental measurement objects are passenger vehicles with only a few large vehicles, the above-mentioned three methods are still used in our comparison experiments since they behave well in the measurement of vehicle profile size. The experimental results are shown in Table 3. It can be found that the proposed method is far more accurate than the three methods. Since the principle of the proposed method is completely different from those of the three methods, the purpose of this comparison is to verify the high measurement accuracy in the similar scene. To further prove how good the K-frame-based method with the algorithm combination A16 is, additional comparison experiments with Xu et al. [34] and Xu et al. [35] are implemented. Xu et al. [34] developed a vehicle size measurement method based on monocular vision, Xu et al. [35] proposed a method of vehicle 3D dimension measurement based on laser ranging is proposed and developed a vehicle 3D dimension measurement system. Although only the experiment of dump truck is carried out [34], the application scene of is similar to that of the system in this paper. The hardware and installation scheme in [35] are very similar to ours. Those are why they are chosen for the comparison. Table 4 shows the experiment results. From Table 4, it can be found that in the similar application scenarios, the accuracy of the proposed method is higher than [34] in the similar application scenarios, which proves the correctness of lidar-based measurement equipment. According to the comparison experimental results with [35], it can be seen that the K-frame-based algorithm and the selected optimal algorithm combination A16 can greatly improve the measurement accuracy and prove the significance of K-frame-based algorithm and the selected optimal combination strategy. Overall, according to the above-mentioned experimental results, the proposed scheme and system has a high measurement accuracy in the application scenarios. Especially, the K-frame-based algorithm and the selected optimal algorithm combination A16 play important roles in improving the measurement accuracy in the system. Conclusions In this paper, a complete solution of lidar-based automated measurement system for vehicle profile size is developed and a method including lidar system calibration, vehicle status determination, original data processing and profile size calculation is proposed, which greatly reduces the influence of various interference factors on measurement accuracy. Especially, a K-frame-based algorithm is investigated can eliminate the measurement error caused by the deviation angle between the vehicle and the central axis when the vehicle is moving forward, at the same time, it can overcome the synchronization requirements of the left and right lidar and filter noise data. The experimental results show that, the proposed method makes a great improvement on the measurement accuracy with similar equipment under similar conditions. At the same time, the K-frame-based algorithm is not limited by hardware devices, which has a certain generality. How to facilitate the algorithm in light curtain and machine vision measurement systems is part of our ongoing work, which may reduce the influence of various interference factors on measurement accuracy and reduce measurement error.

섹션 본문 52문단 · 47,265자

(제목 없음)

1At present, light curtain is a widely-used method to measure the vehicle profile size. However, it is sensitive to temperature, humidity, dust and other weather factors. In this paper, a lidar-based system with a K-frame-based algorithm is proposed for measuring vehicle profile size. The system is composed of left lidar, right lidar, front lidar, control box and industry controlling computer. Within the system, a K-frame-based methodology is investigated, which include several probable algorithm combinations. Three groups of experiments are conducted. An optimal algorithm combination, A16, is determined through the first group experiments. In the second group experiments, various types of vehicles are chosen to verify the generality and repeatability of the proposed system and methodology. The third group experiments are implemented to compare with vision-based methods and other lidar-based methods. The experimental results show that the proposed K-frame-based methodology is far more accurate than the comparative methods. Sensors 2021, 21, 6206. https://doi.org/10.3390/s21186206 https://www.mdpi.com/journal/sensors Sensors 2021, 21, 6206 2 of 17installs three 2D lidars on fixed brackets to collect point cloud data of vehicles. The point cloud data is used to calculate the profile size of a vehicle through a proposed K-framebased methodology. The scheme in this paper can better adapt to complex real scenarios with high reliability and measurement accuracy. The main contributions are as follows:1.A novel solution of lidar-based system for automated measuring vehicle profile size is designed. A method is also investigated to calibrate the parameters of lidar selves and the whole system, which can improve the accuracy and efficiency of system parameter calibration and ensure the accuracy of original point cloud data; 2.An original point cloud data filtering method and a vehicle profile size measurement method are put forward, which can overcome the slight deflection and incline of vehicles and reduce the interference of vibration, smoke and noise in real measuring scenarios; 3.A K-frame-based methodology is proposed to eliminate the measurement error caused by the deviation angle between driving track and central axis.Related WorkThe CMM-based method [1] can reach a high measurement accuracy while the limitations are obvious such as severe working condition, high cost and time-consuming. The light curtain-based method [2] is a usual method since the advantages are relatively convincing, for instances, simple measurement principle, less requirement for vehicle color and surroundings and so on. Similarly, disadvantages including complex installation process and harsh lighting requirements are also obvious.Vision-based methods include measurement method based on digital photography and coded mark points [3], binocular stereo-based method [4], structured light and color coding based on method [6], etc. Jia et al.[7]proposed an effective field measurement method for large objects based on a multi-view stereo vision system, the method is effective at measuring the height of a large hot forging. Pu et al.[8]proposed a new method for measuring object size using an ordinary digital camera. Rong et al. [9] proposed a measurement method based on the dual camera vision system and the relative measurement principle and achieved high precision measurement of bayonet size of large automobile brake pads. Zhang et al.[10]proposed a method of sheep body size measurement based on visual image analysis, which can be actually applied in farm environment without disturbing animals. Wang et al.[11]proposed a new portable automatic pig body size measurement system. These methods are of lower costs but depend heavily on good lighting. In addition, vision-based method is of low measurement accuracy and not robust.In contrast to afore-mentioned methods, lidar-based method [12] has many advantages, such as higher accuracy, stronger anti-jamming ability, lower environmental requirements and higher reliability. The key of lidar-based method lies in lidar parameter calibration, point cloud data analysis and processing, etc. Many lidar-based methods and systems were developed and applied on object size measurement. Li et al.[12]proposed a non-contact laser scanning based 3D measurement system to obtain the structure of vegetation canopy, which is based on the flying point scanning triangulation. Yin et al. [13] introduced the measurement principle of 3D lidar sensor and analyzed the relationship between projection points, measurement distance and object size. Xu et al.[14]proposed an automatic untouched measurement based on terrestrial 3D lidar (FARO Photon120), which facilitated plane scattered data point convex hull algorithm and slice segmentation and accumulation algorithm to calculate the tree crown projection area. Yang et al.[15]used 3D lidar to obtain point data, analyze point data, obtain plane information, combine plane information with position information and establish 3D model. Wu et al. [16] studied the morphological characteristics of ravines by using 3D lidar. All the above-mentioned methods employed 3D lidar to measure or model a specific object. 3D lidar can rotate scanning plane to realize 3D scanning and acquire the 3D information of environment more quickly and directly, which brings many applications in the field of engineering

Introduction

2In recent years, researches about intelligent transportation system has been developing rapidly and various research results have been widely applied, which are changing and affecting our life day by day. With the continuous improvement of various performances of automobiles, higher and higher requirements have been put forward for automobile performance detection technology. With the increasing of performance parameters, more and more kinds of testing instruments and equipment are needed and they are developing towards miniaturization, full-automatic and intelligent direction. These instruments and equipment can be used to the vehicle handling performance, safety and reliability, emission environmental protection and other performance indicators for a full range of testing and evaluation.

3Since the vehicles are produced according to some standard, many people are not satisfied with the monotonous style, color, or size. So, some vehicles will be modified to satisfy their individual requirements, e.g., adding some parts to enlarge the size to load more materials, etc., which may bring safety hazards like permanent damage to the road, accident and influence on normal driving. To avoid hidden dangers caused by illegal modification, all kinds of vehicles especially trucks need to be regularly measured at the inspection station. Nowadays, several methods such as Coordinate Measuring Machine (CMM) based method [1], light curtain-based method [2], vision-based method [3,4] and lidar-based method [5] were presented to measure the vehicle profile size. There are several limitations about the afore-mentioned methods such complex installation, harsh lighting requirements, sensitive to illuminations, high cost, etc. In this paper, a 2D lidar-based measurement system for vehicle profile size is proposed and a K-frame-based methodology is also investigated. In contrast to most afore-mentioned solutions, the proposed system measurement, complex terrain robot navigation and so on. However, 3D lidar has the disadvantages of complex installation and high cost.

4Among lidar-based methods, 2D lidar also can be used to measure or model the object through cooperating with a movable mechanical device or a specific installation method. Gong et al. [17] proposed a 3D ice shape measurement technique through laser light sheet scanning. Yan et al. [18] detected 3D objects with a 2D laser scanning sensor and proposed specially designed algorithm to collect data and construction three-dimensional images. Sanz-Cortiella et al. [19] installed 2D lidar on the retractable bracket to scan the plant and build a 3D model of the plant and measure its size. Rosell et al. [20] employed remote 2D terrestrial lidars to obtain the 3D profile size of tree orchards. Keightley et al. [21] designed a system composed of linear laser sensors and other devices. The system could be moved by a rotating mechanical arm and be used to calculate the biomass of Agronomy. Dias et al. [22] proposed a 3D reconstruction technology based on the real world environment, which was based on the modification of traditional 2D lidar to simulate 3D lidar. Xu et al. [23] developed mechanical devices and motors to rotate the lidar around fixed points, of which three dimensional space data was obtained by single line lidar and 2D data was transformed into three-dimensional data. Li et al. [24] proposed a whole waveform echo decomposition method to improve the ranging accuracy of the whole waveform lidar. Niola et al. [25] showed a robot with two-dimensional lidar that could be used to reverse engineer objects. Fang et al. [26] proposed a real-time low-cost 3D sensing and reconstruction system, which was suitable for autonomous navigation and large-scale environment reconstruction. Choi et al. [27] investigated a sensing model of building structural deformation, which confirmed that the deformation measurement model based on 2D lidar may be a promising alternative. Ringdahlet al. [28] evaluated several existing diameter estimation algorithms using 2D lidar. An enhancement algorithm for compensating beam width and using multiple scans was also developed and evaluated by Bretschneider et al. [29]. Yamada et al. [30] used a 2D lidar to obtain road shape information. According to the road information, the road damage area was detected automatically. Most above-mentioned methods employed single or multi 2D lidars to obtain three-dimensional information of an object, which were usually installed on a movable mechanism and could reduce the equipment cost. However, the reliability and measurement accuracy were also reduced since the moving mechanical mechanism could not ensure a stable measurement system. So, lidar-mechanism-based solution is not suitable for the scene of measuring vehicle profile size since it is more complex and may include smoke, noise and vibration.

Structure and Principle

5As shown in Figure 1, the lidar-based measurement system is composed of left lidar, right lidar, front lidar, control box and industry controlling computer. The left lidar and the right lidar are arranged in the upper left and right corner of the gantry at the entrance of the channel and the front lidar is arranged in the middle of the gantry at the exit of the channel.

6The basic principle of the automated measurement system is as follows: when the head of a vehicle is detected to be entering the measurement region, lidars start collecting point cloud data of the vehicle; when the tail of the vehicle is detected to be leaving the measurement region, lidars stop collecting data. The measurement algorithm processes and analyzes the point cloud data and, finally, obtains the vehicle profile size. The workflow chart of the measurement process is depicted as Figure 2.

7The installation locations of these devices are shown in Figure 3. The point cloud data collected by left, right and front lidars are transformed from TCP/IP protocol data by Ethernet switch in control box and entered into the measurement software installed in the industry controlling computer, which further calculates the length, width and height of the vehicle. The installation locations of these devices are shown in Figure 3. The point cloud data collected by left, right and front lidars are transformed from TCP/IP protocol data by Ethernet switch in control box and entered into the measurement software installed in the industry controlling computer, which further calculates the length, width and height of the vehicle.

Automated Calibration of Lidars

8The working principle of lidar is to send a laser beam to an object and then compare the received signal (object echo) reflecting back from the object with the transmitting signal. After proper processing, the distance between the lidar and object can be obtained. To measure the 3D size, the obtained original data needs to be converted into point cloud data in a coordinate system. As shown in Figure 4, a 2D rectangular coordinate system according to each lidar is set up, where the lidar is the origin, vertical downward direction of the lidar is the Y-axis and the direction parallel to the ground in the scanning plane of the lidar is the X-axis. The coordinate transformation can be obtained according to Equation (1):

9where, i represents the serial number of a laser beam in the scanning plane, Di means the distance between the point on the object that is hit by i-th laser beam and the lidar (origin of the coordinate system), βi is the angle between the i-th laser beam and Y-axis, (xi, yi) is the coordinate point under the coordinate system according to the reflected point on the object as shown in Figure 4.

10The working principle of lidar is to send a laser beam to an object and then compare the received signal (object echo) reflecting back from the object with the transmitting signal. After proper processing, the distance between the lidar and object can be obtained. To measure the 3D size, the obtained original data needs to be converted into point cloud data in a coordinate system. As shown in Figure 4, a 2D rectangular coordinate system according to each lidar is set up, where the lidar is the origin, vertical downward direction of the lidar is the Y-axis and the direction parallel to the ground in the scanning plane of the lidar is the X-axis. The coordinate transformation can be obtained according to Equation (1):

11where, i represents the serial number of a laser beam in the scanning plane, D i means the distance between the point on the object that is hit by i-th laser beam and the lidar (origin of the coordinate system), β i is the angle between the i-th laser beam and Y-axis, (x i , y i ) is the coordinate point under the coordinate system according to the reflected point on the object as shown in Figure 4. The installation locations of these devices are shown in Figure 3. The point cloud data collected by left, right and front lidars are transformed from TCP/IP protocol data by Ethernet switch in control box and entered into the measurement software installed in the industry controlling computer, which further calculates the length, width and height of the vehicle.

12The working principle of lidar is to send a laser beam to an object and then compare the received signal (object echo) reflecting back from the object with the transmitting signal. After proper processing, the distance between the lidar and object can be obtained. To measure the 3D size, the obtained original data needs to be converted into point cloud data in a coordinate system. As shown in Figure 4, a 2D rectangular coordinate system according to each lidar is set up, where the lidar is the origin, vertical downward direction of the lidar is the Y-axis and the direction parallel to the ground in the scanning plane of the lidar is the X-axis. The coordinate transformation can be obtained according to Equation (1):

13where, i represents the serial number of a laser beam in the scanning plane, Di means the distance between the point on the object that is hit by i-th laser beam and the lidar (origin of the coordinate system), βi is the angle between the i-th laser beam and Y-axis, (xi, yi) is the coordinate point under the coordinate system according to the reflected point on the object as shown in Figure 4. According to the working principle, laser beam scans cyclically from the position of start laser beam to that of the end laser beam with a certain frequency clockwise within a period. As shown in Figure 5, the maximal scanning angle is marked as α. According to Equation (1), (x i , y i ) can be calculated if and only if β i is known. To calculate β i , it is necessary to calculate γ that is the angle from the position of start laser beam to Y-axis, which is called the central angle, then, the installation height of the lidar, h, can be calculated.

14According to the working principle, laser beam scans cyclically from the position of start laser beam to that of the end laser beam with a certain frequency clockwise within a period. As shown in Figure 5, the maximal scanning angle is marked as α. According to Equation (1), (xi, yi) can be calculated if and only if βi is known. To calculate βi, it is necessary to calculate γ that is the angle from the position of start laser beam to Y-axis, which is called the central angle, then, the installation height of the lidar, h, can be calculated. βi and h are the basic parameters for the automated measurement system of vehicle profile size. How to get the two parameters? When a lidar is working, it continually emits laser beams to the object at regular intervals within a fixed scanning period. Suppose the distance detected by the i-th laser beam between the lidar and the reflection point on the object be Di and a set of the distances be {Di|i = 0, 1, 2, ..., K − 1}, K is the total number of emitted laser beams within the scanning plane angle α. Let the angle of any two adjacent laser beams be ψ, which is a constant. Then, βi and h of the lidar can be calculated according to Equation (2). The calibration process is shown in Figure 6. β i and h are the basic parameters for the automated measurement system of vehicle profile size. How to get the two parameters? When a lidar is working, it continually emits laser beams to the object at regular intervals within a fixed scanning period. Suppose the distance detected by the i-th laser beam between the lidar and the reflection point on the object be D i and a set of the distances be {D i |i = 0, 1, 2, ..., K − 1}, K is the total number of emitted laser beams within the scanning plane angle α. Let the angle of any two adjacent laser beams be ψ, which is a constant. Then, β i and h of the lidar can be calculated according to Equation (2). The calibration process is shown in Figure 6. According to the working principle, laser beam scans cyclically from the position of start laser beam to that of the end laser beam with a certain frequency clockwise within a period. As shown in Figure 5, the maximal scanning angle is marked as α. According to Equation (1), (xi, yi) can be calculated if and only if βi is known. To calculate βi, it is necessary to calculate γ that is the angle from the position of start laser beam to Y-axis, which is called the central angle, then, the installation height of the lidar, h, can be calculated. βi and h are the basic parameters for the automated measurement system of vehicle profile size. How to get the two parameters? When a lidar is working, it continually emits laser beams to the object at regular intervals within a fixed scanning period. Suppose the distance detected by the i-th laser beam between the lidar and the reflection point on the object be Di and a set of the distances be {Di|i = 0, 1, 2, ..., K − 1}, K is the total number of emitted laser beams within the scanning plane angle α. Let the angle of any two adjacent laser beams be ψ, which is a constant. Then, βi and h of the lidar can be calculated according to Equation (2). The calibration process is shown in Figure 6.

Status Judgment of Vehicle and Frame Data Collection

15When the measurement system is started, no matter whether or not there is a vehicle that is moving into the measurement region, the three lidars will keep scanning and continuously transfer the original data frame to the measurement software. Among them, real effective ones are those collected from the time when the vehicle just enters the measurement region to that when it just leaves. So, how to determine when the vehicle enters and leaves the measurement region?

16Let point cloud data frames collected by left lidar and right lidar at t moment be LP t = {(x i l,t , y i l,t )|i = 0, 1, . . . , F − 1} and RP t = {(x i r,t , y i r,t )|i = 0, 1, . . . , F − 1}, respectively. F presents the number of coordinate points in each frame, (x i l,t , y i l,t ) represents the converted reflection coordinate point of i-th laser beam collected by left lidar, (x i r,t , y i r,t )

17represents the converted reflection coordinate point of i-th laser beam collected by right lidar. (x i l,t , y i l,t ) and (x i r,t , y i r,t ) are obtained via Equations (1) and (2). LP t and RP t are unified into a new coordinate system, of which the right lidar is the origin, horizontal direction is the X-axis and vertical downward direction is the Y-axis. Then, the new LP t and RP t are merged into a uniform set named P t according to Equation (3). The minimal X coordinate value, x min and maximal X coordinate value, x max , can be found according to Equation (4). Then, the rule of determining when the vehicle enters and leaves the measurement region is as follows: if (x max − x min ) ≥ w 0 is just satisfied, the vehicle is judged to have just entered the measurement region; If (x max − x min ) ≥ w 0 is always satisfied after the vehicle is judged to have entered the measurement region, the vehicle is judged to be still in the measurement region; if it changes just from (x max − x min ) ≥ w 0 to (x max − x min ) < w 0 , the vehicle is judged to just have left the measurement region.

18where h 0 represents the vehicle height threshold, w 0 represents the vehicle width threshold. When the vehicle is judged to have just entered the measurement region, the measurement software begins to record the data frames until the vehicle is judged to just leave the measurement region.

Vehicle Width Measurement

19Let the unified point cloud data sets collected by left and right lidar be

20n represents the quantity of data frames collected by left lidar and m represents the quantity of data frames collected by right lidar, (x ij , y ij ) represents the j-th point in the i-th frame, (x kv , y kv ) represents the v-th point in the k-th frame, F represents the quantity of coordinate points in each data frame. Since there may be some noise data due to the interference of dust, smoke, etc., the points near the ground or significantly higher than the vehicle must be preliminarily removed, i.e., those points in LP that meet the requirements of y ij > h 1 or y ij < h 2 will be removed. Similarly, the points in RP that meet the requirements of y kv > h 1 or y kv < h 2 are also removed. h 1 represents the upper threshold value in the Y-axis direction, which usually represents the ordinate Y-axis value near the top of the vehicle. h 2 represents the lower threshold value in the Y-axis direction, which usually represents the ordinate Y-axis value near the ground. Let the denoised point cloud dataset be L and R, respectively.

21Theoretically, the vehicle width can be obtained easily by subtracting the minimum X-axis value R from the maximum X-axis value in L. However, considering that the data collections of left and right lidar are usually not synchronous, it is a problem that which two data frames in R and L should be chosen for subtraction. In addition, if the single frame subtraction method is adopted, it will bring random error. To overcome the random error caused by the asynchronous collections, a K-frame-based measurement algorithm is proposed. The principle of K-frame-based method is that point cloud data of left and right lidars is sub-grouped according to K 1 and K 2 frames, respectively, namely, each sub-group of point cloud data of left lidar includes K 1 frames and each sub-group of point cloud data of right lidar includes K 2 frames. The algorithm can be represented by Equations (5)- (7). where W represents the final result of vehicle width; L is divided into N 1 = n/K 1 sub-groups, each sub-group includes K 1 frames; N 1 = n/K 1 , K 1 is preset; similarly; R is divided into N 2 = m/K 2 sub-groups, each sub-group includes K 2 frames, K 2 is also preset; x ij represents the X coordinate of j-th point in the i-th frame in L; Θ may be a certain operation like max, min, or average, etc.; xl t represents the result value of the t-th sub-group of data frame set in XL Θ via Θ operation; XL Θ represents the result set of all N 1 sub-groups; x ks represents the X coordinate of s-th point in the k-th frame in R; Λ may be a certain operation like max, min, or average, etc.; xr t represents the result value of the t-th sub-group of data frame set in XR Λ via Λ operation; XR Λ represents the result set of all N 2 sub-groups; Γ represents a certain operation like Θ and Λ; min and max represent the minimum operation and the maximum operation, respectively. According to the above-mentioned model, different methods can be derived from different Θ, Λ and Γ, as shown in Table 1, Γ can be either Equations (8), (9), (10) or (11). In the actual measurement, it is difficult to keep the driving direction completely parallel to the lane axis. In this case, when Equations (8) and (9) are adopted for Γ, it will lead to a large error between the measured value of vehicle width and the actual one. So, Equations (10) or (11) is often employed for Γ in the actual measurement. The proposed K-frame-based method can effectively reduce the measurement error.

Vehicle Length Measurement

22As shown in Figures 7 and 8, in the vehicle length measurement, the function of left and right lidar is to get the time t start when the vehicle enters the measurement region and the time t end when the vehicle leaves the measurement region. The length L 0 of the measurement region is already determined when the equipment is installed. At the moment of t start , the system collects a frame of point cloud data of the front lidar. After preliminary filtering, the X coordinate set {x start t } of point cloud data is obtained. At the moment of t end , the system also collects a frame of point cloud data of the front lidar. Similarly, after Sensors 2021, 21, 6206 9 of 17 preliminary filtering, the point cloud data X coordinate set x end t is obtained. Then, the vehicle length L can be calculated according to Equation (12).

23As shown in Figures 7 and 8, in the vehicle length measurement, the function of left and right lidar is to get the time tstart when the vehicle enters the measurement region and the time tend when the vehicle leaves the measurement region. The length L0 of the measurement region is already determined when the equipment is installed. At the moment of tstart, the system collects a frame of point cloud data of the front lidar. After preliminary filtering, the X coordinate set { start } of point cloud data is obtained. At the moment of tend, the system also collects a frame of point cloud data of the front lidar. Similarly, after preliminary filtering, the point cloud data X coordinate set { end } is obtained. Then, the vehicle length L can be calculated according to Equation (12).

Vehicle Height Measurement

24The algorithm of vehicle height measurement is similar to that of vehicle width measurement. Theoretically, the left or right lidar can measure the vehicle height separately, as shown in Figure 9; however, this may lead to a large error. To eliminate the measurement error, the point cloud data of both the two lidars are still fully fused and an algorithm similar to that of vehicle width measurement is advised. So, the vehicle height can be calculated according to Equation (13).

Vehicle Length Measurement

25As shown in Figures 7 and 8, in the vehicle length measurement, the function of left and right lidar is to get the time tstart when the vehicle enters the measurement region and the time tend when the vehicle leaves the measurement region. The length L0 of the measurement region is already determined when the equipment is installed. At the moment of tstart, the system collects a frame of point cloud data of the front lidar. After preliminary filtering, the X coordinate set { start } of point cloud data is obtained. At the moment of tend, the system also collects a frame of point cloud data of the front lidar. Similarly, after preliminary filtering, the point cloud data X coordinate set { end } is obtained. Then, the vehicle length L can be calculated according to Equation (12).

Vehicle Height Measurement

26The algorithm of vehicle height measurement is similar to that of vehicle width measurement. Theoretically, the left or right lidar can measure the vehicle height separately, as shown in Figure 9; however, this may lead to a large error. To eliminate the measurement error, the point cloud data of both the two lidars are still fully fused and an algorithm similar to that of vehicle width measurement is advised. So, the vehicle height can be calculated according to Equation (13).

27The algorithm of vehicle height measurement is similar to that of vehicle width measurement. Theoretically, the left or right lidar can measure the vehicle height separately, as shown in Figure 9; however, this may lead to a large error. To eliminate the measurement error, the point cloud data of both the two lidars are still fully fused and an algorithm similar to that of vehicle width measurement is advised. So, the vehicle height can be calculated according to Equation (13).

28where the calculation methods of YL Θ and YR Λ are similar to XL Θ and XR Λ .

29where the calculation methods of YLΘ and YRΛ are similar to XLΘ and XRΛ. Figure 9. Illustration of how to measure vehicle height.

Calibration Error

30Suppose the maximum angle of the lidar scanning plane be α and total number of Figure 9. Illustration of how to measure vehicle height.

31Suppose the maximum angle of the lidar scanning plane be α and total number of laser beams of each scanning cycle be K. Due to the limited number of laser beams, sometimes it is impossible to find a laser beam that coincides with the vertical direction as the Y-axis. In this case, the closest laser beam is chosen as the Y-axis, which absolutely will lead error. As shown in Figure 10, when the vertical line from lidar to ground is exactly in the middle of two laser beams, calibration error will be maximum. Under the situation, the angle value between the closest laser beam and the vertical line is α/2K. The influence of the calibration error on vehicle width measurement error is shown in Figure 11. The coordinate conversion relationship between the actually established coordinate system and the standard one with the vertical line as the Y-axis is shown in Equation (14).

32x 0 = x 0 cos(α/2n) + y 0 sin(α/2n) y 0 = −x 0 sin(α/2n) + y 0 cos(α/2n) (14) Figure 9. Illustration of how to measure vehicle height.

33Suppose the maximum angle of the lidar scanning plane be α and total number of laser beams of each scanning cycle be K. Due to the limited number of laser beams, sometimes it is impossible to find a laser beam that coincides with the vertical direction as the Y-axis. In this case, the closest laser beam is chosen as the Y-axis, which absolutely will lead error. As shown in Figure 10, when the vertical line from lidar to ground is exactly in the middle of two laser beams, calibration error will be maximum. Under the situation, the angle value between the closest laser beam and the vertical line is α/2K. The influence of the calibration error on vehicle width measurement error is shown in Figure 11. The coordinate conversion relationship between the actually established coordinate system and the standard one with the vertical line as the Y-axis is shown in Equation (14). If other factors that may cause errors are excluded and the vehicle drives strictly along with the middle of the lane and the horizontal width of the left and right lidars is W0, the theoretical vehicle width is calculated according to Equation (15). In consideration of calibration error, the actual measured value is shown in Equation (16). Then, the relative measurement error of vehicle width caused by calibration error is according to Equation (17).

34To eliminate the measurement error caused by calibration, a calibration object whose If other factors that may cause errors are excluded and the vehicle drives strictly along with the middle of the lane and the horizontal width of the left and right lidars is W 0 , the theoretical vehicle width is calculated according to Equation (15). In consideration of calibration error, the actual measured value is shown in Equation (16). Then, the relative measurement error of vehicle width caused by calibration error is according to Equation (17).

35To eliminate the measurement error caused by calibration, a calibration object whose profile size is known is used a fine-tuning strategy is facilitated as follows:

361.

37a calibration object, whose profile size is known, is measured by the proposed system; 2.

38the lidars are fine-tuned according to difference value between the measured value and actual value of the calibration object; 3.

39step 1 and 2 are repeated until the measured value is equal to the actual value.

Deviation Error of Vehicle Moving

40As shown in Figure 12, in the basic algorithm combination of Table 1, if Equation (8) or Equation (9) is adopted for Γ and there is deflection angle between the track and the central axis when the vehicle is moving forward, the error will be relatively large. Suppose the angle between the vehicle driving direction and the central lane axis be θ, the actual value of the vehicle width be W, the measured value be W and the actual value of the vehicle length be L, the relative error of the vehicle width caused by the vehicle moving deviation is shown in Equation (18).

41Then, expanding Equation (18) can be expanded to Equation (19). Usually, as for trucks, W is limited to 2.5 m, L is limited to 18 m. If the measurement error δ < 1% is required, θ < 0.08° must be satisfied; if L is limited to 13 m, θ < 0.12° must be satisfied, which means the high requirement for vehicle moving trajectory. Thus, a Kframe-based method is proposed, which can eliminate the measurement error caused by the deviation angle between the vehicle and the central axis and overcome the synchronization requirements of the left and right lidar through filtering noise data.

Determination of the Optimal Algorithm

42Different combinations according to Table 1 are tested for about 800 vehicles to determine the exact measure algorithm that has the minimal measurement error profile size, where there are 102 vans, 36 barn trucks, 59 fence trucks, 20 crane trucks, 150 semi-trailer tractors and 77 buses. Average errors of vehicle width and height according to algorithm combination in Table 1 are shown in Figures 13 and 14, respectively. According to the experimental results, it can be found that the combination A16 in Table 1, i.e., Θ chooses mean method, Λ chooses mean method, Γ chooses Equation (11), can reach the minimal average error. Usually, as for trucks, W is limited to 2.5 m, L is limited to 18 m. If the measurement error δ < 1% is required, θ < 0.08 • must be satisfied; if L is limited to 13 m, θ < 0.12 • must be satisfied, which means the high requirement for vehicle moving trajectory. Thus, a K-framebased method is proposed, which can eliminate the measurement error caused by the deviation angle between the vehicle and the central axis and overcome the synchronization requirements of the left and right lidar through filtering noise data.

43Different combinations according to Table 1 are tested for about 800 vehicles to determine the exact measure algorithm that has the minimal measurement error profile size, where there are 102 vans, 36 barn trucks, 59 fence trucks, 20 crane trucks, 150 semi-trailer tractors and 77 buses. Average errors of vehicle width and height according to algorithm combination in Table 1 are shown in Figures 13 and 14, respectively. According to the experimental results, it can be found that the combination A16 in Table 1, i.e., Θ chooses mean method, Λ chooses mean method, Γ chooses Equation (11), can reach the minimal average error.

44Different combinations according to Table 1 are tested for about 800 vehicles to determine the exact measure algorithm that has the minimal measurement error profile size, where there are 102 vans, 36 barn trucks, 59 fence trucks, 20 crane trucks, 150 semi-trailer tractors and 77 buses. Average errors of vehicle width and height according to algorithm combination in Table 1 are shown in Figures 13 and 14, respectively. According to the experimental results, it can be found that the combination A16 in Table 1, i.e., Θ chooses mean method, Λ chooses mean method, Γ chooses Equation (11), can reach the minimal average error. Table 1. Table 1.

45However, decision about which algorithm combination should be chosen can't be made just according to the average error. Considering that the number of samples of different types of vehicles in the experiment varies greatly, it is very likely that the combination with smaller average error may have smaller error only when measuring the vehicle type with larger number of samples and the error may be too large when measuring the vehicle type with smaller number of samples. Then, the standard deviation of vehicle width and height is also calculated and is depicted in Figures 15 and 16, respectively. The experiment results of the standard deviation show that A16 still reaches the minimal value. On the whole, A16 is an algorithm combination with smaller error and stronger applicability compared with other algorithms, which is determined to be the exact algorithm for measuring the vehicle profile size. Table 1. However, decision about which algorithm combination should be chosen can't be made just according to the average error. Considering that the number of samples of different types of vehicles in the experiment varies greatly, it is very likely that the combination with smaller average error may have smaller error only when measuring the vehicle type with larger number of samples and the error may be too large when measuring the vehicle type with smaller number of samples. Then, the standard deviation of vehicle width and height is also calculated and is depicted in Figures 15 and 16, respectively. The experiment results of the standard deviation show that A16 still reaches the minimal value. On the whole, A16 is an algorithm combination with smaller error and stronger applicability compared with other algorithms, which is determined to be the exact algorithm for measuring the vehicle profile size. Table 1.

46However, decision about which algorithm combination should be chosen can't be made just according to the average error. Considering that the number of samples of different types of vehicles in the experiment varies greatly, it is very likely that the combination with smaller average error may have smaller error only when measuring the vehicle type with larger number of samples and the error may be too large when measuring the vehicle type with smaller number of samples. Then, the standard deviation of vehicle width and height is also calculated and is depicted in Figures 15 and 16, respectively. The experiment results of the standard deviation show that A16 still reaches the minimal value. On the whole, A16 is an algorithm combination with smaller error and stronger applicability compared with other algorithms, which is determined to be the exact algorithm for measuring the vehicle profile size. Table 1. Table 1.

Experiments of the Optimal Algorithm

47Five specific vehicles from the above-mentioned five categories are chosen for the experiments to verify the applicability and repeatability of A16, which are semi-trailer tractor, van, barn truck, fence truck, crane truck and bus. The profile size of all the five vehicles is measured ten times and compared with the ground truth. The experimental results, i.e., profile size, max error, relative error and repeatability error, are shown in the Table 2. As shown in Figure 17, max errors of the experimental results are depicted as a line chart in ascending order of vehicle length. The measurement time increases according to the increasing of the vehicle length, where it is supposed that the vehicles move with similar speed. Then, errors caused slight deflection and moving deviation from central axis of the lane will be accumulated. Since it is completely different from the width and height measurement, K-frame-based method is not employed in the length measurement. In Figure 17, it can be clearly found that the max error of length also increases with the increasing of measurement time while that of width and height does not increase with the increasing of measurement time, which further proves that K-frame-based method can eliminate the error caused by moving deviation from central axis of the lane to a certain extent.

Comparison Experiments

48Several comparison experiments with Li et al. [31], Robert et al. [32] and Robert et al. [33] are conducted to prove the measurement accuracy of the proposed method, where Li et al. [31] investigated a monocular-vision-based method of vehicle 3D size measurement, Robert et al. [32] designed a scheme to measure the length of moving vehicles by employing stereoscopic video analysis technology, Robert et al. [33] proposed a new method to estimate vehicle size based on active appearance model (AAM) and stereoscopic video analysis. Although most of the experimental measurement objects are passenger vehicles with only a few large vehicles, the above-mentioned three methods are still used in our comparison experiments since they behave well in the measurement of vehicle profile size. The experimental results are shown in Table 3. It can be found that the proposed Although Figure 17 shows that the max error of length will increase with the increasing of measurement time, it also can be found that the max relative error of length does not change significantly with the increasing of vehicle length. In fact, as shown in Figure 18, the max relative error of length fluctuates in a small range just similar to the max error of width and height, which shows that the proposed measurement method is of high applicability after facilitating the optimal algorithm combination A16.

49Several comparison experiments with Li et al. [31], Robert et al. [32] and Robert et al. [33] are conducted to prove the measurement accuracy of the proposed method, where Li et al. [31] investigated a monocular-vision-based method of vehicle 3D size measurement, Robert et al. [32] designed a scheme to measure the length of moving vehicles by employing stereoscopic video analysis technology, Robert et al. [33] proposed a new method to estimate vehicle size based on active appearance model (AAM) and stereoscopic video analysis. Although most of the experimental measurement objects are passenger vehicles with only a few large vehicles, the above-mentioned three methods are still used in our comparison experiments since they behave well in the measurement of vehicle profile size. The experimental results are shown in Table 3. It can be found that the proposed In terms of repeatability, it can be seen from Figure 19 that the repeatability error is confined to a small range and there is no repeatability error higher than 0.5%, which shows the proposed measurement is of good repeatability.

50Several comparison experiments with Li et al. [31], Robert et al. [32] and Robert et al. [33] are conducted to prove the measurement accuracy of the proposed method, where Li et al. [31] investigated a monocular-vision-based method of vehicle 3D size measurement, Robert et al. [32] designed a scheme to measure the length of moving vehicles by employing stereoscopic video analysis technology, Robert et al. [33] proposed a new method to

51Several comparison experiments with Li et al. [31], Robert et al. [32] and Robert et al. [33] are conducted to prove the measurement accuracy of the proposed method, where Li et al. [31] investigated a monocular-vision-based method of vehicle 3D size measurement, Robert et al. [32] designed a scheme to measure the length of moving vehicles by employing stereoscopic video analysis technology, Robert et al. [33] proposed a new method to estimate vehicle size based on active appearance model (AAM) and stereoscopic video analysis. Although most of the experimental measurement objects are passenger vehicles with only a few large vehicles, the above-mentioned three methods are still used in our comparison experiments since they behave well in the measurement of vehicle profile size. The experimental results are shown in Table 3. It can be found that the proposed method is far more accurate than the three methods. Since the principle of the proposed method is completely different from those of the three methods, the purpose of this comparison is to verify the high measurement accuracy in the similar scene. To further prove how good the K-frame-based method with the algorithm combination A16 is, additional comparison experiments with Xu et al. [34] and Xu et al. [35] are implemented. Xu et al. [34] developed a vehicle size measurement method based on monocular vision, Xu et al. [35] proposed a method of vehicle 3D dimension measurement based on laser ranging is proposed and developed a vehicle 3D dimension measurement system. Although only the experiment of dump truck is carried out [34], the application scene of is similar to that of the system in this paper. The hardware and installation scheme in [35] are very similar to ours. Those are why they are chosen for the comparison. Table 4 shows the experiment results. From Table 4, it can be found that in the similar application scenarios, the accuracy of the proposed method is higher than [34] in the similar application scenarios, which proves the correctness of lidar-based measurement equipment. According to the comparison experimental results with [35], it can be seen that the K-frame-based algorithm and the selected optimal algorithm combination A16 can greatly improve the measurement accuracy and prove the significance of K-frame-based algorithm and the selected optimal combination strategy. Overall, according to the above-mentioned experimental results, the proposed scheme and system has a high measurement accuracy in the application scenarios. Especially, the K-frame-based algorithm and the selected optimal algorithm combination A16 play important roles in improving the measurement accuracy in the system.

Conclusions

52In this paper, a complete solution of lidar-based automated measurement system for vehicle profile size is developed and a method including lidar system calibration, vehicle status determination, original data processing and profile size calculation is proposed, which greatly reduces the influence of various interference factors on measurement accuracy. Especially, a K-frame-based algorithm is investigated can eliminate the measurement error caused by the deviation angle between the vehicle and the central axis when the vehicle is moving forward, at the same time, it can overcome the synchronization requirements of the left and right lidar and filter noise data. The experimental results show that, the proposed method makes a great improvement on the measurement accuracy with similar equipment under similar conditions. At the same time, the K-frame-based algorithm is not limited by hardware devices, which has a certain generality. How to facilitate the algorithm in light curtain and machine vision measurement systems is part of our ongoing work, which may reduce the influence of various interference factors on measurement accuracy and reduce measurement error.

참고문헌 33건

  1. A field measurement method for large objects based on a multi-view stereo vision system Sensors and Actuators A Physical · Elsevier BV · 2015 10.1016/j.sna.2015.08.024
  2. 3D Reconstruction of Real World Scenes Using a Low-Cost 3D Range Scanner Computer-Aided Civil and Infrastructure Engineering · Wiley · 2006 10.1111/j.1467-8667.2006.00453.x
  3. Vehicle dimensions estimation scheme using AAM on stereoscopic video 2013 10.1109/avss.2013.6636686
  4. Laser scanning applied for ice shape measurements Cold Regions Science and Technology · Elsevier BV · 2015 10.1016/j.coldregions.2015.03.010
  5. Validation of the body scanner as a measuring tool for a rapid quantification of body shape Skin Research and Technology · Wiley · 2009 10.1111/j.1600-0846.2009.00374.x
  6. Obtaining the three-dimensional structure of tree orchards from remote 2D terrestrial LIDAR scanning Agricultural and Forest Meteorology · Elsevier BV · 2009 10.1016/j.agrformet.2009.04.008
  7. 3D volumetric modeling of grapevine biomass using Tripod LiDAR Computers and Electronics in Agriculture · Elsevier BV · 2010 10.1016/j.compag.2010.09.005
  8. Enhanced Algorithms for Estimating Tree Trunk Diameter Using 2D Laser Scanner Remote Sensing · Multidisciplinary Digital Publishing Institute · 2013 10.3390/rs5104839
  9. A Deformed Shape Monitoring Model for Building Structures Based on a 2D Laser Scanner Sensors · Multidisciplinary Digital Publishing Institute · 2013 10.3390/s130506746
  10. Detection of road surface damage using mobile robot equipped with 2D laser scanner 2013 10.1109/sii.2013.6776679
  11. Application of Coordinate Measuring Machine in Reverse Engineering Advanced materials research · Trans Tech Publications · 2011 10.4028/www.scientific.net/amr.301-303.269
  12. Laser scanning based three dimensional measurement of vegetation canopy structure Optics and Lasers in Engineering · Elsevier BV · 2013 10.1016/j.optlaseng.2013.08.010
  13. A new real-time shape acquisition with a laser scanner: first test results Robotics and Computer-Integrated Manufacturing · Elsevier BV · 2010 10.1016/j.rcim.2010.06.026
  14. Innovative LIDAR 3D Dynamic Measurement System to Estimate Fruit-Tree Leaf Area Sensors · Multidisciplinary Digital Publishing Institute · 2011 10.3390/s110605769
  15. Colour-agnostic shape-based 3D fruit detection for crop harvesting robots Biosystems Engineering · Elsevier BV · 2016 10.1016/j.biosystemseng.2016.01.013
  16. [An automatic extraction algorithm for individual tree crown projection area and volume based on 3D point cloud data]. PubMed · National Institutes of Health · 2014
  17. An approach of pig weight estimation using binocular stereo system based on LabVIEW Computers and Electronics in Agriculture · Elsevier BV · 2016 10.1016/j.compag.2016.08.012
  18. Vehicle 3-dimension measurement by monocular camera based on license plate 2021 IEEE International Conference on Robotics and Biomimetics (ROBIO) · 2016 10.1109/robio.2016.7866421
  19. Object 3D surface reconstruction approach using portable laser scanner IOP Conference Series Earth and Environmental Science · IOP Publishing · 2017 10.1088/1755-1315/69/1/012119
  20. 3D Building Scene Reconstruction Based on 3D LiDAR Point Cloud 2017 10.1109/icce-china.2017.7991028
  21. A method of objects classification for intelligent vehicles based on number of projected points 2017 10.1109/icite.2017.8056882
  22. Global Data Registration Technology Based on Dynamic Coded Points IEEE Transactions on Instrumentation and Measurement · Institute of Electrical and Electronics Engineers · 2017 10.1109/tim.2017.2764279
  23. Gully morphological characteristics in the loess hilly‐gully region based on 3D laser scanning technique Earth Surface Processes and Landforms · Wiley · 2017 10.1002/esp.4332
  24. Size measurement based on a two-camera machine vision system for the bayonets of automobile brake pads Measurement · Elsevier BV · 2018 10.1016/j.measurement.2018.03.017
  25. A portable and automatic Xtion-based measurement system for pig body size Computers and Electronics in Agriculture · Elsevier BV · 2018 10.1016/j.compag.2018.03.018
  26. A Real-Time 3D Perception and Reconstruction System Based on a 2D Laser Scanner Journal of Sensors · Hindawi Publishing Corporation · 2018 10.1155/2018/2937694
  27. Detection of 3-D objects with a 2-D laser scanning sensor for greenhouse spray applications Computers and Electronics in Agriculture · Elsevier BV · 2018 10.1016/j.compag.2018.07.030
  28. Algorithm of sheep body dimension measurement and its applications based on image analysis Computers and Electronics in Agriculture · Elsevier BV · 2018 10.1016/j.compag.2018.07.033
  29. Co-path full-waveform LiDAR for detection of multiple along-path objects Optics and Lasers in Engineering · Elsevier BV · 2018 10.1016/j.optlaseng.2018.08.009
  30. On-Line 3D reconstruction based on laser scanning for robot machining of large complex components Journal of Physics Conference Series · IOP Publishing · 2018 10.1088/1742-6596/1074/1/012166
  31. Volume Measurement of Moving Irregular Objects Using Linear Laser and Camera 2018 10.1109/cyber.2018.8688302
  32. Truck Size Measurement System Based on Computer Vision Lecture notes in electrical engineering · Springer Science+Business Media · 2019 10.1007/978-981-32-9686-2_16
  33. An Automatic Extraction Algorithm for Individual Tree Crown Projection Area and Volume Based on 3D Point Cloud Data Guangpuxue yu guangpu fenxi · Science Press · 2014