WO2023240805A1 - Connected vehicle overspeed early warning method and system based on filtering correction - Google Patents
Connected vehicle overspeed early warning method and system based on filtering correction Download PDFInfo
- Publication number
- WO2023240805A1 WO2023240805A1 PCT/CN2022/116972 CN2022116972W WO2023240805A1 WO 2023240805 A1 WO2023240805 A1 WO 2023240805A1 CN 2022116972 W CN2022116972 W CN 2022116972W WO 2023240805 A1 WO2023240805 A1 WO 2023240805A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- connected vehicle
- image
- point cloud
- point
- coordinates
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08G—TRAFFIC CONTROL SYSTEMS
- G08G1/00—Traffic control systems for road vehicles
- G08G1/01—Detecting movement of traffic to be counted or controlled
- G08G1/0104—Measuring and analyzing of parameters relative to traffic conditions
- G08G1/0125—Traffic data processing
-
- G—PHYSICS
- G08—SIGNALLING
- G08G—TRAFFIC CONTROL SYSTEMS
- G08G1/00—Traffic control systems for road vehicles
- G08G1/01—Detecting movement of traffic to be counted or controlled
- G08G1/0104—Measuring and analyzing of parameters relative to traffic conditions
- G08G1/0137—Measuring and analyzing of parameters relative to traffic conditions for specific applications
-
- G—PHYSICS
- G08—SIGNALLING
- G08G—TRAFFIC CONTROL SYSTEMS
- G08G1/00—Traffic control systems for road vehicles
- G08G1/01—Detecting movement of traffic to be counted or controlled
- G08G1/017—Detecting movement of traffic to be counted or controlled identifying vehicles
- G08G1/0175—Detecting movement of traffic to be counted or controlled identifying vehicles by photographing vehicles, e.g. when violating traffic rules
-
- G—PHYSICS
- G08—SIGNALLING
- G08G—TRAFFIC CONTROL SYSTEMS
- G08G1/00—Traffic control systems for road vehicles
- G08G1/01—Detecting movement of traffic to be counted or controlled
- G08G1/04—Detecting movement of traffic to be counted or controlled using optical or ultrasonic detectors
-
- G—PHYSICS
- G08—SIGNALLING
- G08G—TRAFFIC CONTROL SYSTEMS
- G08G1/00—Traffic control systems for road vehicles
- G08G1/01—Detecting movement of traffic to be counted or controlled
- G08G1/052—Detecting movement of traffic to be counted or controlled with provision for determining speed or overspeed
-
- G—PHYSICS
- G08—SIGNALLING
- G08G—TRAFFIC CONTROL SYSTEMS
- G08G1/00—Traffic control systems for road vehicles
- G08G1/01—Detecting movement of traffic to be counted or controlled
- G08G1/052—Detecting movement of traffic to be counted or controlled with provision for determining speed or overspeed
- G08G1/054—Detecting movement of traffic to be counted or controlled with provision for determining speed or overspeed photographing overspeeding vehicles
Definitions
- the present invention relates to the field of intelligent transportation technology, and in particular to a network-connected vehicle speed warning method and system based on filter correction.
- Connected vehicles are an important part of the construction of smart parks and are also the main application of C-V2X (vehicle-to-road collaboration) technology.
- Safe driving of intelligent connected vehicles is an important topic, involving many aspects such as perception, coordination, decision-making, control, etc.
- Accurately sensing the surrounding environment and controlling the vehicle speed are the basic safe driving principles.
- Vehicle-road collaboration technology senses vehicle speed through roadside sensing equipment to further control the safe driving of connected vehicles.
- the method of monitoring vehicle speed through millimeter-wave radar was gradually abandoned due to the inability to accurately distinguish vehicles. It was replaced by a method of monitoring vehicle speed through fusion perception of lidar and cameras.
- the present invention proposes a method to improve the point cloud and image fusion alignment accuracy by estimating the time deviation of the same target generation in the lidar and camera sensing data, and using the estimated time deviation distribution to filter and correct the point cloud target position. , realize vehicle speeding recognition and early warning based on high-precision fusion of point clouds and images, and provide reliable technical support for connected vehicle safety monitoring based on multi-sensor fusion.
- the purpose of this invention is to address the shortcomings of the existing technology and provide a network-connected vehicle overspeed warning method and system based on filter correction to solve the problem that the existing lidar and camera cannot match and align to the same target due to time deviation, resulting in problems based on lidar.
- the problem of low detection accuracy of the Internet-connected vehicle speed warning system that integrates multi-sensors with cameras.
- This invention marks the center point coordinates of the reference connected vehicle in the point cloud and image data during continuous driving, and uses an affine transformation matrix to map the center point of the reference connected vehicle in the point cloud to the image.
- a network-connected vehicle speed warning method based on filter correction which method includes the following steps:
- Step 1 Select a reference connected car, collect several frames of point cloud and image data of the reference connected car during continuous driving through the lidar and camera with data frame time synchronization, and mark the point where the reference connected car is For the center point coordinates in the cloud and image data, use the affine transformation matrix to map the center point of the reference connected vehicle in the point cloud to the image, and measure the mapping point on the image and the coordinates of the center point of the reference connected vehicle on the image. Position deviation, estimate the generation time deviation of the reference connected vehicle target in the point cloud and image, and calculate the time deviation distribution parameters;
- Step 2 Acquire point cloud and image data in real time during the continuous driving of the road connected vehicle, and use the confidence filtering method to filter and correct the position of the point cloud center point for the point cloud connected vehicle target detected in any point cloud frame; specifically Calculate the confidence gain using the confidence score and time deviation distribution parameters of the point cloud network target detected by the detection algorithm, and re-filter to estimate the optimal position of the point cloud network target based on the confidence gain;
- Step 3 Map the filtered and corrected point cloud connected vehicle targets to the corresponding image frames one by one, and calculate the mapping point coordinates of the center point of each point cloud connected vehicle target in the image and any connected vehicle in the image. The distance difference between the target center point coordinates. The one with the smallest distance difference and less than the threshold is the corresponding matching target in the image. In this way, the mapping, matching and alignment of all point clouds and connected vehicle targets in the image is completed;
- Step 4 Fusion of the sensed information of the matched and aligned connected vehicle targets in point clouds and images to obtain the license plate number and instantaneous speed of the connected vehicle, and report the license plate number of the connected vehicle whose instantaneous speed exceeds the maximum speed limit to
- the connected vehicle cloud control platform also issues speeding warnings and remotely controls the connected vehicle to slow down to a safe speed.
- step one hardware wired control is used to control the lidar and camera data frame time synchronization.
- step one it is assumed that the generation time deviation of the reference connected vehicle target in the point cloud to be estimated and the image is t, and the coordinates of the marked center point of the reference connected vehicle in the point cloud are (x, y, z) , the coordinates of the center point in the image are (u′, v′), the orientation angle is ⁇ , the calculated instantaneous speed is v_t, the coordinates of the mapping point mapped from the center point of the point cloud to the image are (u, v), and the measurement
- the position deviation between the reference connected vehicle mapped to the mapping point coordinates (u, v) on the image and the center point coordinates (u′, v′) of the reference connected vehicle in the image is d;
- H is the affine transformation matrix from point cloud to image.
- the dimension of H matrix is 3*4, which is obtained by the joint external parameter calibration of lidar and camera and the internal parameter calibration of camera. It is expressed as follows: where h rs is the element in the H matrix, All are real numbers, 1 ⁇ r ⁇ 4, 1 ⁇ s ⁇ 4;
- the coordinates x′, y′, and z′ of the reference connected vehicle’s position in the point cloud after moving within the time deviation t are obtained:
- v_t is the instantaneous speed of the reference connected vehicle
- (x′, y′, z′) is the position coordinate of the reference connected vehicle after movement
- time deviation t is a value related to the known affine transformation matrix, point cloud center point coordinates, heading angle, instantaneous speed, and position deviation, expressed as follows:
- the instantaneous driving speed of the reference connected vehicle is calculated by the moving distance of the center point of the reference connected vehicle target in the two frames before and after the nearest neighbor and the frame interval time ratio.
- step two includes the following steps:
- the center point position coordinates detected by the deep learning detection algorithm are (x k , y k , z k ), the orientation angle is ⁇ k , and the confidence score is c,
- the calculated instantaneous speed is v k ;
- the horizontal and vertical coordinates x k ′ and y k ′ of the point cloud center point of the connected vehicle target are estimated as:
- x k ′ x k * ⁇ +(x k +v k *u t *cos ⁇ k )(1- ⁇ )
- y k ′ y k * ⁇ +(y k +v k *u t *sin ⁇ k )(1- ⁇ )
- the horizontal and vertical coordinates x k ′ and y k ′ of the point cloud center point of the connected vehicle target are re-estimated as:
- step three includes the following steps:
- the connected vehicle target in the corresponding image is the matching target
- steps (1)-(3) complete the mapping, matching and alignment of all point cloud connected vehicle targets and image network connected vehicle targets.
- step four the OCR license plate number recognition method is used based on the image data to identify the license plate number of the connected vehicle target in the image.
- the present invention also provides a network-connected vehicle speed warning system based on filter correction.
- the system includes a time deviation distribution parameter determination module, a filter correction module, a matching alignment module and a perception information fusion module;
- the time deviation distribution parameter determination module is used to select a reference connected vehicle, collect several frames of point cloud and image data of the reference connected vehicle during continuous driving through the laser radar and camera with data frame time synchronization, and mark them Determine the coordinates of the center point of the reference connected vehicle in the point cloud and image data, use the affine transformation matrix to map the center point of the reference connected vehicle in the point cloud to the image, and measure the mapping points on the image and the reference connected vehicle. Based on the position deviation of the center point coordinates on the image, estimate the generation time deviation of the reference connected vehicle target in the point cloud and image, and calculate the time deviation distribution parameters;
- the filter correction module is used to obtain point cloud and image data in real time during the continuous driving of road Internet-connected vehicles, and use the confidence filtering method to determine the position of the point cloud center point for the point cloud Internet-connected vehicle target detected in any point cloud frame.
- Filter correction specifically: use the confidence score of the point cloud network vehicle target detected by the detection algorithm and the time deviation distribution parameter obtained by the time deviation distribution parameter determination module to calculate the confidence gain, and re-filter the estimated point cloud network connection based on the confidence gain The optimal position of the car target;
- the matching and alignment module is used to map the point cloud network vehicle targets corrected by the filter correction module to the corresponding image frames one by one, and calculate the mapping point coordinates and image coordinates of the center point of each point cloud network vehicle target in the image.
- the one with the smallest distance difference and less than the threshold is its corresponding matching target in the image. In this way, the mapping, matching and alignment of all point clouds and connected vehicle targets in the image is completed. ;
- the perceptual information fusion module is used to fuse the perceptual information of the connected vehicle target in the point cloud and image after matching and alignment by the matching alignment module, so as to obtain the license plate number and instantaneous speed of the connected vehicle. If the instantaneous speed exceeds the maximum speed limit, The license plate number information of the connected vehicle is reported to the connected vehicle cloud control platform, and an overspeed warning is issued, and the connected vehicle is remotely controlled to slow down to a safe speed.
- the beneficial effect of the present invention is that the present invention proposes a network-connected vehicle overspeed warning method and system based on filter correction, and uses a deep learning target detection method to detect connected vehicle targets in moving point clouds and image data.
- the position of the moving network vehicle in the continuous video frame is filtered and corrected to achieve fusion matching and alignment of the same moving target, which significantly reduces the problem of low accuracy of speeding detection methods based on lidar and camera fusion due to time deviation.
- Its implementation method is simple and efficient, and can be effectively applied to the safety monitoring of speeding driving of connected vehicles based on multi-sensor fusion, providing reliable technical support for accurate decision-making in safe driving management of intelligent connected vehicles.
- Figure 1 is a flow chart of a speed warning method for connected vehicles based on filter correction according to the present invention.
- Figure 2 is a schematic diagram of the position deviation of the reference connected vehicle point cloud detection frame mapped to the mapping frame on the image and the image detection frame under different time deviations.
- Figure 3 is a schematic diagram of the pseudo 3D frame mapping the position-corrected point cloud reference connected vehicle to the image.
- Figure 4 is a schematic structural diagram of a network-connected vehicle speed warning system based on filter correction according to the present invention.
- Figure 5 is a schematic structural diagram of a network-connected vehicle speed warning device based on filter correction according to the present invention.
- the present invention proposes a network-connected vehicle speed warning method based on filter correction, which is used to solve the network-connected vehicle speed warning process based on the fusion of lidar and camera. Since the moving target is in the point cloud and image data, The problem of low detection accuracy caused by incomplete fusion alignment.
- the fusion method is a decision-level fusion method, that is, by separately detecting the position and speed information of the connected vehicle target in the point cloud and the license plate number information in the image, and then matching and aligning the connected vehicle targets in the two data sources. Fusion target information in two data sources to achieve the purpose of fusion using the sensing characteristics of multi-source heterogeneous data.
- the method includes the following steps:
- Step 1 Install solid-state lidar and cameras at the park's road network vehicle speed monitoring points, and use hardware line control to control lidar and camera data frame time synchronization.
- the product model of the above-mentioned solid-state lidar is DJI AVIA, which uses a non-repetitive scanning method, with a horizontal FOV of 70.4° and a vertical FOV of 77.2°.
- One frame of point cloud data contains 48,000 reflection points.
- the camera is a webcam. The two are installed in the same direction on the vertical pole of the park's networked vehicle speed monitoring point. The camera and lidar are controlled to be exposed simultaneously through hardware wire control.
- the data collection frequency is 10HZ.
- Ethernet transmission delay, data encoding and decoding and other uncertain factors cause the content of the data frames collected by the two sensor devices to be not completely synchronized, resulting in a certain range of deviation in the generation time of the moving target, resulting in the same target not being completely fused when the two data are fused. Alignment, so the time offset of the data frame needs to be estimated first.
- the target generation time deviation to be estimated is t
- the center point coordinates of the marked reference connected car in the point cloud data are (x, y, z)
- the center point coordinates in the image data are (u′, v ′)
- the heading angle is ⁇
- the calculated instantaneous speed is v_t
- the point cloud center point is mapped to the mapping point coordinates on the image is (u, v)
- the measured reference connected vehicle is mapped to the mapping point coordinates on the image
- the position deviation between (u, v) and the center point coordinates (u′, v′) of the reference connected vehicle in the image is d.
- H is the affine transformation matrix from point cloud to image.
- the dimension of H matrix is 3*4. It can be obtained by joint external parameter calibration of lidar and camera and internal parameter calibration of camera. It can be expressed as follows, where h rs are the elements in the H matrix. , all are real numbers, 1 ⁇ r ⁇ 4, 1 ⁇ s ⁇ 4.
- v_t is the instantaneous speed of the reference connected vehicle, which can be calculated by the moving distance of the center point of the connected vehicle target in the two frames before and after the nearest neighbor and the frame interval time ratio
- (x′, y′, z′) is the reference The position coordinates of the connected vehicle after it moves. Since the connected vehicle is a rigid object, its vertical coordinate, that is, the value of the z-axis, does not change with the movement of the vehicle's position.
- center point coordinates (x′, y′, z′) of the position point cloud of the reference connected vehicle after movement and the center point coordinates (u′, v′) in the image data satisfy the following relationship:
- time deviation t is a value related to the known affine transformation parameters, point cloud center point coordinates, heading angle, instantaneous speed, and position deviation.
- the reference connected vehicle target in the point cloud has not been position corrected.
- the reference connected vehicle point cloud detection frame is mapped to the mapping frame on the image and the reference connected vehicle detection frame in the image.
- the time deviation is small, the overlap between the mapping frame and the detection frame in the image is high.
- the time deviation is large, the position deviation between the mapping frame and the detection frame in the image is large, and there is almost no overlap.
- the estimated time deviations are N groups.
- the above Kolmogorov-Smirnov test method is often used to detect whether a certain data distribution conforms to a certain distribution, here it is a normal distribution. By estimating the P value of a certain data distribution, it is determined whether the assumption that the data conforms to a normal distribution is true. If P If the value is greater than the significance level, the hypothesis is considered to be true, otherwise it is not true.
- the specific process is as follows:
- Step 2 Obtain point cloud and image data in real time during the continuous driving of the connected vehicle on the park road, and detect the center point, heading angle, confidence score, instantaneous speed, and image connected vehicle target of the point cloud connected vehicle target. license plate number.
- the CenterPoint three-dimensional target detection algorithm based on the point cloud data is used to detect the center point, orientation angle, and confidence score of the connected vehicle target, and based on the center point movement distance and frame of the connected vehicle target in the two frames before and after the nearest neighbor.
- the interval time ratio calculates the instantaneous speed of the connected vehicle; the OCR recognition method is used to identify the connected vehicle target in the image data and identify the license plate number of the connected vehicle.
- the above three-dimensional target detection algorithms include image-based generation, point cloud-based generation, and image-point cloud fusion generation.
- the target detection algorithm based on the CenterPoint network model is used, which is only based on point cloud generation and labels a large amount of collected point cloud data.
- the annotated data is divided into a training set, a verification set, and a test set.
- the model trained on the training set has an accuracy mAP value of up to 91% on the test set, within a 50m (unit: meter) range of the point cloud data center.
- the detection rate of targets within is 95%.
- the detection accuracy of the OCR recognition method reaches 99%.
- the orientation angle value range is (- ⁇ , ⁇ ), and the confidence score value range is (0, 1).
- the detected center point position of the point cloud network vehicle target is filtered and corrected. That is, the confidence score and time deviation distribution parameters of the connected vehicle target detected by the detection algorithm are used to calculate the confidence gain, and the optimal position of the connected vehicle target is estimated by re-filtering based on the confidence gain.
- the specific process is as follows:
- the horizontal and vertical coordinates x k ′ and y k ′ of the point cloud center point of the connected vehicle target are estimated as:
- x k ′ x k * ⁇ +(x k +v k *u t *cos ⁇ k )(1- ⁇ )
- y k ′ y k * ⁇ +(y k +v k *u t *sin ⁇ k )(1- ⁇ )
- the horizontal and vertical coordinates x k ′ and y k ′ of the point cloud center point of the connected vehicle target are re-estimated as:
- Step 3 Map the filtered and corrected point cloud connected vehicle targets to the corresponding image frames one by one, and calculate the mapping point coordinates of the center point of each point cloud connected vehicle target in the image and any connected vehicle in the image.
- the distance difference between the coordinates of the target center point is the smallest and less than the threshold, which is the corresponding matching target in the image.
- the mapping, matching and alignment of all point clouds and connected vehicle targets in the image is completed.
- Figure 3 it is a schematic diagram of the pseudo 3D frame mapped from the position-corrected point cloud reference connected vehicle to the image. The specific process of this step is as follows:
- mapping point coordinates and the point cloud center point coordinates satisfy the following relationship:
- H is the affine transformation matrix from point cloud to image.
- the dimension of H matrix is 3*4. It can be obtained by joint external parameter calibration of lidar and camera and internal parameter calibration of camera. It can be expressed as follows, where h rs are the elements in the H matrix. , all are real numbers, 1 ⁇ r ⁇ 4, 1 ⁇ s ⁇ 4:
- the center point coordinates of the i-th connected vehicle target in the image are (mi , n i ), and 1 ⁇ i ⁇ N img_obj , N img_obj is the total number of connected vehicle targets in the image. Then the distance difference between the coordinates of the mapping point and the coordinates of the center point of the i-th connected vehicle target in the image is:
- the minimum distance difference is:
- the connected vehicle target in the corresponding image is the matching target.
- steps (1)-(3) complete the mapping, matching and alignment of all point cloud connected vehicle targets and image network connected vehicle targets.
- Step 4 Fusion of the sensed information of the matched and aligned connected vehicle targets in point clouds and images to obtain the license plate number and instantaneous speed information of the same target connected vehicle, and identify the license plate of the connected vehicle whose instantaneous speed exceeds the maximum speed limit.
- the information is reported to the connected vehicle cloud control platform and an overspeed warning is issued, and the connected vehicle is remotely controlled to slow down to a normal speed.
- the maximum speed limit is the maximum speed limit for connected vehicles specified in the park, which is 30km/h, and the regular speed is 25km/h.
- the connected vehicle cloud control platform is based on a cloud server, provides connected vehicle management and control functions, contains information about each connected vehicle and can remotely control specific connected vehicles.
- the present invention also provides a network-connected vehicle speed warning system based on filter correction.
- the system includes a time deviation distribution parameter determination module, a filter correction module, a matching alignment module and a perception information fusion module. ;
- the time deviation distribution parameter determination module is used to select a reference connected vehicle, and obtain the center of the point cloud and image data of several frames of the reference connected vehicle during continuous driving through the laser radar and camera with data frame time synchronization.
- Point coordinates use the affine transformation matrix to map the center point of the reference connected vehicle in the point cloud to the image, measure the position deviation between the mapping point on the image and the coordinates of the center point of the reference connected vehicle on the image, and estimate the reference Generate time deviations of connected vehicle targets in point clouds and images, and calculate time deviation distribution parameters; for the specific implementation process of the time deviation distribution parameter determination module, refer to a speed warning method for connected vehicles based on filter correction provided by the present invention Detailed description of step one.
- the filter correction module is used to obtain point cloud and image data in real time during the continuous driving of road Internet-connected vehicles, and use the confidence filtering method to determine the position of the point cloud center point for the point cloud Internet-connected vehicle target detected in any point cloud frame.
- Filter correction specifically: use the confidence score of the point cloud network vehicle target detected by the detection algorithm and the time deviation distribution parameter obtained by the time deviation distribution parameter determination module to calculate the confidence gain, and re-filter the estimated point cloud network connection based on the confidence gain
- the optimal position of the vehicle target for the specific implementation process of the filter correction module, refer to the detailed description of step 2 in the speed warning method for connected vehicles based on filter correction provided by the present invention.
- the matching and alignment module is used to map the point cloud network vehicle targets corrected by the filter correction module to the corresponding image frames one by one, and calculate the mapping point coordinates and image coordinates of the center point of each point cloud network vehicle target in the image.
- the one with the smallest distance difference and less than the threshold is its corresponding matching target in the image. In this way, the mapping, matching and alignment of all point clouds and connected vehicle targets in the image is completed. ;
- the matching and alignment module refer to the detailed description of step three in the network-connected vehicle speed warning method based on filter correction provided by the present invention.
- the perceptual information fusion module is used to fuse the perceptual information of the connected vehicle target in the point cloud and image after matching and alignment by the matching alignment module, so as to obtain the license plate number and instantaneous speed of the connected vehicle. If the instantaneous speed exceeds the maximum speed limit, The license plate number information of the connected vehicle is reported to the connected vehicle cloud control platform, and an overspeed warning is issued, and the connected vehicle is remotely controlled to slow down to a safe speed.
- the perceptual information fusion module refer to the detailed description of step 4 in the network-connected vehicle speed warning method based on filter correction provided by the present invention.
- the present invention also provides embodiments of an overspeed warning device for connected vehicles based on filter correction.
- an embodiment of the present invention provides a network-connected vehicle speed warning device based on filter correction, including a memory and one or more processors.
- the memory stores executable code
- the processor executes the When the code is executable, it is used to implement the network-connected vehicle speed warning method based on filter correction in the above embodiment.
- the embodiments of the network-connected vehicle speed warning device based on filter correction of the present invention can be applied to any device with data processing capabilities, and any device with data processing capabilities can be a device or device such as a computer.
- the device embodiments may be implemented by software, or may be implemented by hardware or a combination of software and hardware. Taking software implementation as an example, as a logical device, it is formed by reading the corresponding computer program instructions in the non-volatile memory into the memory and running them through the processor of any device with data processing capabilities. From the hardware level, as shown in Figure 5, it is a hardware structure diagram of any device with data processing capabilities where the networked vehicle speed warning device based on filter correction of the present invention is located.
- any device with data processing capabilities where the device in the embodiment is located may also include other hardware based on the actual functions of any device with data processing capabilities. This will not be discussed here. Repeat.
- the device embodiment since it basically corresponds to the method embodiment, please refer to the partial description of the method embodiment for relevant details.
- the device embodiments described above are only illustrative.
- the units described as separate components may or may not be physically separated.
- the components shown as units may or may not be physical units, that is, they may be located in One location, or it can be distributed across multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of the present invention. Persons of ordinary skill in the art can understand and implement the method without any creative effort.
- Embodiments of the present invention also provide a computer-readable storage medium on which a program is stored.
- the program is executed by a processor, the speed warning method for connected vehicles based on filter correction in the above embodiments is implemented.
- the computer-readable storage medium may be an internal storage unit of any device with data processing capabilities as described in any of the foregoing embodiments, such as a hard disk or a memory.
- the computer-readable storage medium can also be an external storage device of any device with data processing capabilities, such as a plug-in hard disk, smart memory card (Smart Media Card, SMC), SD card, flash memory card equipped on the device (Flash Card) etc.
- the computer-readable storage medium may also include both an internal storage unit and an external storage device of any device with data processing capabilities.
- the computer-readable storage medium is used to store the computer program and other programs and data required by any device with data processing capabilities, and can also be used to temporarily store data that has been output or is to be output.
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Chemical & Material Sciences (AREA)
- Analytical Chemistry (AREA)
- Traffic Control Systems (AREA)
Abstract
Description
本发明涉及智能交通技术领域,尤其涉及一种基于滤波校正的网联车超速预警方法及系统。The present invention relates to the field of intelligent transportation technology, and in particular to a network-connected vehicle speed warning method and system based on filter correction.
随着智慧交通建设的高速发展,智慧网联车相关技术逐渐发展兴起,网联车是智慧园区建设的重要部分,也是C-V2X(车路协同)技术的主要落地应用。智能网联车的安全驾驶是一个重要课题,涉及到感知、协调、决策、控制等多个方面,准确感知周围环境,控制车辆行驶速度是基本安全驾驶准则。车路协同技术通过路侧感知设备感知车辆行驶速度,进一步控制网联车安全驾驶。过去,通过毫米波雷达监测车辆行驶速度的方式,由于不能准确区分车辆而逐渐被废弃,取而代之的是通过激光雷达和摄像头融合感知的车辆行驶速度监测方法。With the rapid development of smart transportation construction, smart connected vehicle-related technologies are gradually developing and emerging. Connected vehicles are an important part of the construction of smart parks and are also the main application of C-V2X (vehicle-to-road collaboration) technology. Safe driving of intelligent connected vehicles is an important topic, involving many aspects such as perception, coordination, decision-making, control, etc. Accurately sensing the surrounding environment and controlling the vehicle speed are the basic safe driving principles. Vehicle-road collaboration technology senses vehicle speed through roadside sensing equipment to further control the safe driving of connected vehicles. In the past, the method of monitoring vehicle speed through millimeter-wave radar was gradually abandoned due to the inability to accurately distinguish vehicles. It was replaced by a method of monitoring vehicle speed through fusion perception of lidar and cameras.
目前采用硬件线控触发激光雷达和摄像头的硬件时间同步,由于激光雷达、摄像头传感器曝光机制、目标运动、以太网传输时延、数据编解码等不确定因素造成两个传感器设备采集的数据帧内容并非完全同步,运动目标生成时间存在一定范围内的偏差,造成两者数据融合时同一目标不能完全对齐,由于不能准确关联同一目标,导致基于这两种感知数据融合的车辆超速检测方法检测准确率较低。因此,本发明提出一种通过对激光雷达和摄像头感知数据中同一目标生成时间偏差进行估计,并利用估计的时间偏差分布,对点云目标位置进行滤波校正,提高点云和图像融合对齐准确率,实现基于点云和图像高精度融合的车辆超速识别预警,为基于多传感器融合的网联车安全监控提供可靠的技术支撑。Currently, hardware line control is used to trigger the hardware time synchronization of lidar and camera. Due to uncertain factors such as lidar, camera sensor exposure mechanism, target movement, Ethernet transmission delay, data encoding and decoding, etc., the contents of the data frames collected by the two sensor devices are affected. They are not completely synchronized, and there is a certain range of deviation in the generation time of moving targets. As a result, the same target cannot be completely aligned when the two data are fused. Since the same target cannot be accurately associated, the detection accuracy of the vehicle speeding detection method based on the fusion of these two sensory data is reduced. lower. Therefore, the present invention proposes a method to improve the point cloud and image fusion alignment accuracy by estimating the time deviation of the same target generation in the lidar and camera sensing data, and using the estimated time deviation distribution to filter and correct the point cloud target position. , realize vehicle speeding recognition and early warning based on high-precision fusion of point clouds and images, and provide reliable technical support for connected vehicle safety monitoring based on multi-sensor fusion.
发明内容Contents of the invention
本发明的目的在于针对现有技术的不足,提供一种基于滤波校正的网联车超速预警方法及系统,解决现有的激光雷达和摄像头由于存在时间偏差同一目标不能匹配对齐,造成基于激光雷达和摄像头的多传感器融合的网联车超速预警系统检测准确度较低的问题。本发明通过标记出参考网联车在连续行驶过程中,分别在点云和图像数据中的中心点坐标,并利用仿射变换矩阵将参考网联车在点云中的中心点映射至图像,利用映射点和在图像中的中心点的距离差,推导出目标的生成时间偏差,并根据时间偏差分布重新滤波估计点云网联车目标中心点最优位置,实现基于点云和图像高精度融合。The purpose of this invention is to address the shortcomings of the existing technology and provide a network-connected vehicle overspeed warning method and system based on filter correction to solve the problem that the existing lidar and camera cannot match and align to the same target due to time deviation, resulting in problems based on lidar. The problem of low detection accuracy of the Internet-connected vehicle speed warning system that integrates multi-sensors with cameras. This invention marks the center point coordinates of the reference connected vehicle in the point cloud and image data during continuous driving, and uses an affine transformation matrix to map the center point of the reference connected vehicle in the point cloud to the image. Use the distance difference between the mapping point and the center point in the image to derive the generation time deviation of the target, and re-filter according to the time deviation distribution to estimate the optimal position of the center point of the point cloud network vehicle target, achieving high accuracy based on point cloud and image Fusion.
本发明的目的是通过以下技术方案来实现的:一种基于滤波校正的网联车超速预警方法,该方法包括以下步骤:The object of the present invention is achieved through the following technical solution: a network-connected vehicle speed warning method based on filter correction, which method includes the following steps:
步骤一:选定一辆参考网联车,通过数据帧时间同步的激光雷达和摄像头采集若干帧参 考网联车在连续行驶过程中的点云和图像数据,并标记出参考网联车在点云和图像数据中的中心点坐标,利用仿射变换矩阵将参考网联车在点云中的中心点映射至图像,测量出图像上的映射点和参考网联车在图像上的中心点坐标的位置偏差,估计出参考网联车目标在点云和图像中的生成时间偏差,并计算时间偏差分布参数;Step 1: Select a reference connected car, collect several frames of point cloud and image data of the reference connected car during continuous driving through the lidar and camera with data frame time synchronization, and mark the point where the reference connected car is For the center point coordinates in the cloud and image data, use the affine transformation matrix to map the center point of the reference connected vehicle in the point cloud to the image, and measure the mapping point on the image and the coordinates of the center point of the reference connected vehicle on the image. Position deviation, estimate the generation time deviation of the reference connected vehicle target in the point cloud and image, and calculate the time deviation distribution parameters;
步骤二:实时获取道路上网联车连续行驶过程中的点云和图像数据,对任一点云帧中检测出的点云网联车目标通过置信滤波方法对点云中心点位置进行滤波校正;具体为:利用检测算法检测出的点云网联车目标的置信度分数和时间偏差分布参数计算置信增益,并基于置信增益重新滤波估计点云网联车目标的最优位置;Step 2: Acquire point cloud and image data in real time during the continuous driving of the road connected vehicle, and use the confidence filtering method to filter and correct the position of the point cloud center point for the point cloud connected vehicle target detected in any point cloud frame; specifically Calculate the confidence gain using the confidence score and time deviation distribution parameters of the point cloud network target detected by the detection algorithm, and re-filter to estimate the optimal position of the point cloud network target based on the confidence gain;
步骤三:将滤波校正后的点云网联车目标一一映射至对应的图像帧,计算每一个点云网联车目标的中心点在图像中的映射点坐标和图像中任一网联车目标中心点坐标的距离差,距离差最小且小于阈值的即为其在图像中相应的匹配目标,按此方式完成所有点云和图像中网联车目标的映射匹配对齐;Step 3: Map the filtered and corrected point cloud connected vehicle targets to the corresponding image frames one by one, and calculate the mapping point coordinates of the center point of each point cloud connected vehicle target in the image and any connected vehicle in the image. The distance difference between the target center point coordinates. The one with the smallest distance difference and less than the threshold is the corresponding matching target in the image. In this way, the mapping, matching and alignment of all point clouds and connected vehicle targets in the image is completed;
步骤四:将匹配对齐后的网联车目标在点云和图像中的感知信息融合,以获取网联车的车牌号和瞬时速度,对瞬时速度超过最大限速的网联车车牌号上报至网联车云控平台同时做出超速预警,并远程控制网联车减速至安全车速。Step 4: Fusion of the sensed information of the matched and aligned connected vehicle targets in point clouds and images to obtain the license plate number and instantaneous speed of the connected vehicle, and report the license plate number of the connected vehicle whose instantaneous speed exceeds the maximum speed limit to The connected vehicle cloud control platform also issues speeding warnings and remotely controls the connected vehicle to slow down to a safe speed.
进一步地,步骤一中,采用硬件线控方式控制激光雷达和摄像头数据帧时间同步。Furthermore, in step one, hardware wired control is used to control the lidar and camera data frame time synchronization.
进一步地,步骤一中,假设要估计的点云和图像中参考网联车目标生成时间偏差为t,标记出的参考网联车在点云中的中心点坐标为(x,y,z)、在图像中的中心点坐标为(u′,v′)、朝向角为γ,计算出的瞬时速度为v_t,点云中心点映射至图像上的映射点坐标为(u,v),测量出的参考网联车映射至图像上的映射点坐标(u,v)和参考网联车在图像中的中心点坐标(u′,v′)的位置偏差为d;Further, in step one, it is assumed that the generation time deviation of the reference connected vehicle target in the point cloud to be estimated and the image is t, and the coordinates of the marked center point of the reference connected vehicle in the point cloud are (x, y, z) , the coordinates of the center point in the image are (u′, v′), the orientation angle is γ, the calculated instantaneous speed is v_t, the coordinates of the mapping point mapped from the center point of the point cloud to the image are (u, v), and the measurement The position deviation between the reference connected vehicle mapped to the mapping point coordinates (u, v) on the image and the center point coordinates (u′, v′) of the reference connected vehicle in the image is d;
则参考网联车在点云中的中心点坐标(x,y,z)和映射至图像上的映射点坐标(u,v)满足如下关系:Then the center point coordinates (x, y, z) of the reference connected car in the point cloud and the mapped point coordinates (u, v) mapped to the image satisfy the following relationship:
其中H为点云到图像的仿射变换矩阵,H矩阵维度大小为3*4,由激光雷达和摄像头联合外参标定和摄像头内参标定得到;表示如下:其中h rs为H矩阵中的元素,均为实数,1≤r≤4,1≤s≤4; Among them, H is the affine transformation matrix from point cloud to image. The dimension of H matrix is 3*4, which is obtained by the joint external parameter calibration of lidar and camera and the internal parameter calibration of camera. It is expressed as follows: where h rs is the element in the H matrix, All are real numbers, 1≤r≤4, 1≤s≤4;
根据参考网联车瞬时行驶速度,得出参考网联车在时间偏差t内发生移动后的位置在点云中的坐标x′、y′,z′分别为:According to the instantaneous driving speed of the reference connected vehicle, the coordinates x′, y′, and z′ of the reference connected vehicle’s position in the point cloud after moving within the time deviation t are obtained:
x′=x+v_t*t*cosγx′=x+v_t*t*cosγ
y′=y+v_t*t*cosγy′=y+v_t*t*cosγ
z′=zz′=z
其中v_t为参考网联车的瞬时速度,(x′,y′,z′)为参考网联车发生移动后的位置坐标;where v_t is the instantaneous speed of the reference connected vehicle, (x′, y′, z′) is the position coordinate of the reference connected vehicle after movement;
则参考网联车发生移动后的位置坐标(x′,y′,z′)和在图像中的中心点坐标(u′,v′)满足如下关系:Then the position coordinates (x′, y′, z′) of the reference connected vehicle after movement and the center point coordinates (u′, v′) in the image satisfy the following relationship:
因此,根据测量出的参考网联车映射至图像上的映射点坐标(u,v)和参考网联车在图像中的中心点坐标(u′,v′)的位置偏差d,列出如下等式:Therefore, according to the measured position deviation d of the reference connected car mapped to the mapping point coordinates (u, v) on the image and the reference connected car’s center point coordinates (u′, v′) in the image, it is listed as follows Equation:
则可推导出时间偏差t是一个和已知的仿射变换矩阵、点云中心点坐标、朝向角、瞬时速度、位置偏差相关的数值,表示如下:It can be deduced that the time deviation t is a value related to the known affine transformation matrix, point cloud center point coordinates, heading angle, instantaneous speed, and position deviation, expressed as follows:
其中,大写字母A,B分别为:Among them, the capital letters A and B are:
进一步地,参考网联车的瞬时行驶速度通过参考网联车目标在最近邻前后两帧中的中心点移动距离和帧间隔时间比值计算得出。Further, the instantaneous driving speed of the reference connected vehicle is calculated by the moving distance of the center point of the reference connected vehicle target in the two frames before and after the nearest neighbor and the frame interval time ratio.
进一步地,计算时间偏差分布参数具体过程如下:Further, the specific process of calculating the time deviation distribution parameters is as follows:
(1)利用Kolmogorov-Smirnov检验方法检测时间偏差是否符合正态分布;假设估计出的时间偏差数据为N组,计算出数据的均值为μ,方差为σ 2,设置检测显著性水平为α;利用Kolmogorov-Smirnov检验方法检测数据不服从正态分布的概率,即P值,若P值小于等于显著性水平,则时间偏差不符合正态分布,若P值大于显著性水平,则时间偏差符合正态分布; (1) Use the Kolmogorov-Smirnov test method to detect whether the time deviation conforms to the normal distribution; assuming that the estimated time deviation data is N groups, calculate the mean of the data as μ, the variance as σ 2 , and set the detection significance level as α; Use the Kolmogorov-Smirnov test method to detect the probability that the data does not obey the normal distribution, that is, the P value. If the P value is less than or equal to the significance level, the time deviation does not conform to the normal distribution. If the P value is greater than the significance level, the time deviation conforms to the normal distribution. normal distribution;
(2)若时间偏差符合正态分布,则其正态分布表达式记为X~N(μ,σ 2);其中X表示这N组时间偏差数据; ( 2 ) If the time deviation conforms to the normal distribution, its normal distribution expression is recorded as
(3)若时间偏差不符合正态分布,则按数值大小从小到大对时间偏差数据进行排序,对数值大小处于第二四分位数和第三四分位数的之间的所有数据,计算出中位数和方差。(3) If the time deviation does not conform to the normal distribution, sort the time deviation data according to the numerical size from small to large, and for all data whose numerical size is between the second quartile and the third quartile, Calculate the median and variance.
进一步地,步骤二中,包括以下步骤:Further, step two includes the following steps:
(1)对第k个点云网联车目标,利用深度学习检测算法检测出的中心点位置坐标为(x k,y k,z k),朝向角为γ k,置信度分数为c,计算出的瞬时速度为v k; (1) For the k-th point cloud network connected vehicle target, the center point position coordinates detected by the deep learning detection algorithm are (x k , y k , z k ), the orientation angle is γ k , and the confidence score is c, The calculated instantaneous speed is v k ;
(2)根据时间偏差分布参数计算置信增益,具体为:(2) Calculate the confidence gain based on the time deviation distribution parameters, specifically:
(2.1)若时间偏差符合正态分布,假设其正态分布表达式中的参数均值为u t,方差为σ t 2;则置信增益ε为: (2.1) If the time deviation conforms to the normal distribution, assuming that the parameter mean in the normal distribution expression is u t and the variance is σ t 2 ; then the confidence gain ε is:
则基于置信增益重新滤波估计出网联车目标的点云中心点横纵坐标x k′,y k′分别为: Then based on the confidence gain re-filtering, the horizontal and vertical coordinates x k ′ and y k ′ of the point cloud center point of the connected vehicle target are estimated as:
x k′=x k*ε+(x k+v k*u t*cosγ k)(1-ε) x k ′=x k *ε+(x k +v k *u t *cosγ k )(1-ε)
y k′=y k*ε+(y k+v k*u t*sinγ k)(1-ε) y k ′=y k *ε+(y k +v k *u t *sinγ k )(1-ε)
(2.2)若时间偏差不符合正态分布,假设时间偏差按数值大小从小到大排序后的第二四分位数和第三四分位数之间的数据的中位数为 方差为τ t 2,则置信增益ε′为: (2.2) If the time deviation does not conform to the normal distribution, assuming that the time deviation is sorted from small to large, the median of the data between the second quartile and the third quartile is The variance is τ t 2 , then the confidence gain ε′ is:
则基于置信增益滤波重新估计出网联车目标的点云中心点横纵坐标x k′,y k′分别为: Then based on the confidence gain filter, the horizontal and vertical coordinates x k ′ and y k ′ of the point cloud center point of the connected vehicle target are re-estimated as:
(3)由于网联车为刚性物体,其位置移动并不会改变其在竖坐标即z轴的值的大小,即基于置信增益滤波重新估计的竖坐标z k′=z k,则重新滤波估计后的网联车目标的最优位置中心点坐标为(x k′,y k′,z k′)。 (3) Since the connected car is a rigid object, its position movement will not change its value on the vertical coordinate, that is, the z-axis. That is, the vertical coordinate z k ′ = z k re-estimated based on the confidence gain filter, then re-filtering The estimated optimal position center point coordinates of the connected vehicle target are (x k ′, y k ′, z k ′).
进一步地,步骤三中,包括以下步骤:Further, step three includes the following steps:
(1)对任一位置滤波校正后的点云网联车目标,利用仿射变换矩阵,将点云中心点坐标映射至图像;(1) For the filtered and corrected point cloud connected vehicle target at any position, use the affine transformation matrix to map the coordinates of the point cloud center point to the image;
(2)计算每一个点云网联车目标的中心点在图像中的映射点坐标和图像中任一网联车目标中心点坐标的距离差;(2) Calculate the distance difference between the mapping point coordinates of the center point of each point cloud connected vehicle target in the image and the coordinates of the center point of any connected vehicle target in the image;
假设校正后的点云中心点映射至图像上的映射点坐标为(p,q),图像中第i网联车目标的中心点坐标为(m i,n i),且1≤i≤N img_obj,N img_obj为图像中网联车目标总数; Assume that the coordinates of the corrected point cloud center point mapped to the mapped point on the image are (p, q), and the coordinates of the center point of the i-th connected vehicle target in the image are (mi , n i ), and 1≤i≤N img_obj , N img_obj is the total number of connected vehicle targets in the image;
则映射点坐标和图像中第i个网联车目标的中心点坐标的距离差d i为: Then the distance difference d i between the coordinates of the mapping point and the coordinates of the center point of the i-th connected vehicle target in the image is:
(3)计算最小距离差,并判断最小距离差是否小于设定阈值Δ;其中最小距离差为:(3) Calculate the minimum distance difference and determine whether the minimum distance difference is less than the set threshold Δ; where the minimum distance difference is:
若最小距离差d min小于阈值Δ,则对应的图像中网联车目标即为匹配目标; If the minimum distance difference d min is less than the threshold Δ, then the connected vehicle target in the corresponding image is the matching target;
(4)依据步骤(1)-(3),完成所有点云网联车目标和图像网联车目标的映射匹配对齐。(4) According to steps (1)-(3), complete the mapping, matching and alignment of all point cloud connected vehicle targets and image network connected vehicle targets.
进一步地,步骤四中,基于图像数据利用OCR车牌号识别方法识别网联车目标在图像中的车牌号。Further, in step four, the OCR license plate number recognition method is used based on the image data to identify the license plate number of the connected vehicle target in the image.
另一方面,本发明还提供了一种基于滤波校正的网联车超速预警系统,该系统包括时间偏差分布参数确定模块、滤波校正模块、匹配对齐模块和感知信息融合模块;On the other hand, the present invention also provides a network-connected vehicle speed warning system based on filter correction. The system includes a time deviation distribution parameter determination module, a filter correction module, a matching alignment module and a perception information fusion module;
所述时间偏差分布参数确定模块用于选定一辆参考网联车,通过数据帧时间同步的激光雷达和摄像头采集若干帧参考网联车在连续行驶过程中的点云和图像数据,并标记出参考网联车在点云和图像数据中的中心点坐标,利用仿射变换矩阵将参考网联车在点云中的中心点映射至图像,测量出图像上的映射点和参考网联车在图像上的中心点坐标的位置偏差,估计出参考网联车目标在点云和图像中的生成时间偏差,并计算时间偏差分布参数;The time deviation distribution parameter determination module is used to select a reference connected vehicle, collect several frames of point cloud and image data of the reference connected vehicle during continuous driving through the laser radar and camera with data frame time synchronization, and mark them Determine the coordinates of the center point of the reference connected vehicle in the point cloud and image data, use the affine transformation matrix to map the center point of the reference connected vehicle in the point cloud to the image, and measure the mapping points on the image and the reference connected vehicle. Based on the position deviation of the center point coordinates on the image, estimate the generation time deviation of the reference connected vehicle target in the point cloud and image, and calculate the time deviation distribution parameters;
所述滤波校正模块用于实时获取道路上网联车连续行驶过程中的点云和图像数据,对任 一点云帧中检测出的点云网联车目标通过置信滤波方法对点云中心点位置进行滤波校正;具体为:利用检测算法检测出的点云网联车目标的置信度分数和时间偏差分布参数确定模块得到的时间偏差分布参数计算置信增益,并基于置信增益重新滤波估计点云网联车目标的最优位置;The filter correction module is used to obtain point cloud and image data in real time during the continuous driving of road Internet-connected vehicles, and use the confidence filtering method to determine the position of the point cloud center point for the point cloud Internet-connected vehicle target detected in any point cloud frame. Filter correction; specifically: use the confidence score of the point cloud network vehicle target detected by the detection algorithm and the time deviation distribution parameter obtained by the time deviation distribution parameter determination module to calculate the confidence gain, and re-filter the estimated point cloud network connection based on the confidence gain The optimal position of the car target;
所述匹配对齐模块用于将滤波校正模块校正后的点云网联车目标一一映射至对应的图像帧,计算每一个点云网联车目标的中心点在图像中的映射点坐标和图像中任一网联车目标中心点坐标的距离差,距离差最小且小于阈值的即为其在图像中相应的匹配目标,按此方式完成所有点云和图像中网联车目标的映射匹配对齐;The matching and alignment module is used to map the point cloud network vehicle targets corrected by the filter correction module to the corresponding image frames one by one, and calculate the mapping point coordinates and image coordinates of the center point of each point cloud network vehicle target in the image. The distance difference between the coordinates of the center point of any connected vehicle target. The one with the smallest distance difference and less than the threshold is its corresponding matching target in the image. In this way, the mapping, matching and alignment of all point clouds and connected vehicle targets in the image is completed. ;
所述感知信息融合模块用于将匹配对齐模块匹配对齐后的网联车目标在点云和图像中的感知信息融合,以获取网联车的车牌号和瞬时速度,对瞬时速度超过最大限速的网联车车牌号信息上报至网联车云控平台同时做出超速预警,并远程控制网联车减速至安全车速。The perceptual information fusion module is used to fuse the perceptual information of the connected vehicle target in the point cloud and image after matching and alignment by the matching alignment module, so as to obtain the license plate number and instantaneous speed of the connected vehicle. If the instantaneous speed exceeds the maximum speed limit, The license plate number information of the connected vehicle is reported to the connected vehicle cloud control platform, and an overspeed warning is issued, and the connected vehicle is remotely controlled to slow down to a safe speed.
本发明的有益效果是,本发明提出一种基于滤波校正的网联车超速预警方法及系统,采用深度学习的目标检测方法对运动的点云和图像数据中的网联车目标进行检测,通过对连续视频帧中的运动网联车位置进行滤波校正,实现对同一运动目标的融合匹配对齐,显著减少由于时间偏差造成的基于激光雷达和摄像头融合的超速检测方法准确率低的问题。其实现方法简单高效,能有效的运用于基于多传感器融合的网联车超速驾驶的安全监测,为智能网联车安全驾驶管理精准决策提供可靠技术支撑。The beneficial effect of the present invention is that the present invention proposes a network-connected vehicle overspeed warning method and system based on filter correction, and uses a deep learning target detection method to detect connected vehicle targets in moving point clouds and image data. The position of the moving network vehicle in the continuous video frame is filtered and corrected to achieve fusion matching and alignment of the same moving target, which significantly reduces the problem of low accuracy of speeding detection methods based on lidar and camera fusion due to time deviation. Its implementation method is simple and efficient, and can be effectively applied to the safety monitoring of speeding driving of connected vehicles based on multi-sensor fusion, providing reliable technical support for accurate decision-making in safe driving management of intelligent connected vehicles.
图1是本发明一种基于滤波校正的网联车超速预警方法流程图。Figure 1 is a flow chart of a speed warning method for connected vehicles based on filter correction according to the present invention.
图2是不同时间偏差下,参考网联车点云检测框映射至图像上的映射框和图像检测框的位置偏差示意图。Figure 2 is a schematic diagram of the position deviation of the reference connected vehicle point cloud detection frame mapped to the mapping frame on the image and the image detection frame under different time deviations.
图3是位置校正后的点云参考网联车映射至图像的伪3D框示意图。Figure 3 is a schematic diagram of the pseudo 3D frame mapping the position-corrected point cloud reference connected vehicle to the image.
图4是本发明一种基于滤波校正的网联车超速预警系统结构示意图。Figure 4 is a schematic structural diagram of a network-connected vehicle speed warning system based on filter correction according to the present invention.
图5是本发明一种基于滤波校正的网联车超速预警装置结构示意图。Figure 5 is a schematic structural diagram of a network-connected vehicle speed warning device based on filter correction according to the present invention.
下面根据附图详细说明本发明,本发明的目的和效果将变得更加明白。应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。The present invention will be described in detail below based on the accompanying drawings, and the purpose and effects of the present invention will become clearer. It should be understood that the specific embodiments described here are only used to explain the present invention and are not intended to limit the present invention.
如图1所示,本发明提出了一种基于滤波校正的网联车超速预警方法,用于解决基于激光雷达和摄像头融合的网联车超速预警过程,由于运动目标在点云和图像数据中融合不完全对齐导致的检测准确率低的问题。融合方法为决策级融合方法,即通过分别检测出网联车目标在点云中的位置速度信息和在图像中的车牌号信息,再将两种数据源中的网联车目标进行 匹配对齐,融合目标在两种数据源中的信息,以达到利用多源异构数据感知特点进行融合的目的。该方法包括以下步骤:As shown in Figure 1, the present invention proposes a network-connected vehicle speed warning method based on filter correction, which is used to solve the network-connected vehicle speed warning process based on the fusion of lidar and camera. Since the moving target is in the point cloud and image data, The problem of low detection accuracy caused by incomplete fusion alignment. The fusion method is a decision-level fusion method, that is, by separately detecting the position and speed information of the connected vehicle target in the point cloud and the license plate number information in the image, and then matching and aligning the connected vehicle targets in the two data sources. Fusion target information in two data sources to achieve the purpose of fusion using the sensing characteristics of multi-source heterogeneous data. The method includes the following steps:
步骤一:在园区道路网联车速度监测点安装固态激光雷达和摄像头,采用硬件线控方式控制激光雷达和摄像头数据帧时间同步。Step 1: Install solid-state lidar and cameras at the park's road network vehicle speed monitoring points, and use hardware line control to control lidar and camera data frame time synchronization.
上述固态激光雷达的产品型号为大疆览沃AVIA傲览,采用非重复扫描方式,水平FOV为70.4°,竖直FOV为77.2°,一帧点云数据包含4.8万个反射点。摄像头为网络摄像头。两者同向安装在园区网联车速度监测点的竖杆上,通过硬件线控的方式控制摄像头和激光雷达同步曝光,数据采集频率均为10HZ,但是由于两个传感器的曝光机制、目标运动、以太网传输时延、数据编解码等不确定因素造成两个传感器设备采集的数据帧内容并非完全同步,导致运动目标生成时间存在一定范围内的偏差,造成两者数据融合时同一目标不能完全对齐,因此首先需估计出数据帧的时间偏差。The product model of the above-mentioned solid-state lidar is DJI AVIA, which uses a non-repetitive scanning method, with a horizontal FOV of 70.4° and a vertical FOV of 77.2°. One frame of point cloud data contains 48,000 reflection points. The camera is a webcam. The two are installed in the same direction on the vertical pole of the park's networked vehicle speed monitoring point. The camera and lidar are controlled to be exposed simultaneously through hardware wire control. The data collection frequency is 10HZ. However, due to the exposure mechanism of the two sensors and the target movement , Ethernet transmission delay, data encoding and decoding and other uncertain factors cause the content of the data frames collected by the two sensor devices to be not completely synchronized, resulting in a certain range of deviation in the generation time of the moving target, resulting in the same target not being completely fused when the two data are fused. Alignment, so the time offset of the data frame needs to be estimated first.
选定一辆参考网联车多次行驶进入固态激光雷达和摄像头的监测点,并标记出参考网联车在连续行驶过程中,分别在点云和图像数据中的中心点坐标,利用仿射变换矩阵将参考网联车在点云数据中的中心点映射至图像,测量出映射点和参考网联车在图像上的中心点坐标的位置偏差,估计出目标生成时间偏差。具体过程如下:Select a reference connected vehicle to drive multiple times into the monitoring points of solid-state lidar and cameras, and mark the center point coordinates of the reference connected vehicle in the point cloud and image data during the continuous driving process, using affine The transformation matrix maps the center point of the reference connected vehicle in the point cloud data to the image, measures the position deviation between the mapping point and the coordinates of the center point of the reference connected vehicle on the image, and estimates the target generation time deviation. The specific process is as follows:
(1)选定一辆参考网联车多次行驶进入监测点,并采集若干帧参考网联车在连续行驶过程中的点云和图像数据,标记出参考网联车在每一帧点云和图像数据中的中心点坐标。(1) Select a reference connected vehicle to drive into the monitoring point multiple times, collect several frames of point cloud and image data of the reference connected vehicle during continuous driving, and mark the point cloud of the reference connected vehicle in each frame. and the coordinates of the center point in the image data.
(2)对任一对同步数据帧,测量参考网联车点云中心点映射至图像中的映射点坐标和在图像数据中的中心点坐标的位置偏差,并基于位置偏差,估计出点云和图像数据中的目标生成时间偏差。(2) For any pair of synchronized data frames, measure the position deviation between the center point of the reference networked vehicle point cloud mapped to the mapped point coordinates in the image and the center point coordinates in the image data, and estimate the point cloud based on the position deviation and target generation time bias in image data.
假设要估计的目标生成时间偏差为t,标记出的参考网联车在点云数据中的中心点坐标为(x,y,z),在图像数据中的中心点坐标为(u′,v′),朝向角为γ,计算出的瞬时速度为v_t,点云中心点映射至图像上的映射点坐标为(u,v),测量出的参考网联车映射至图像上的映射点坐标(u,v)和参考网联车在图像中的中心点坐标(u′,v′)的位置偏差为d。Assume that the target generation time deviation to be estimated is t, the center point coordinates of the marked reference connected car in the point cloud data are (x, y, z), and the center point coordinates in the image data are (u′, v ′), the heading angle is γ, the calculated instantaneous speed is v_t, the point cloud center point is mapped to the mapping point coordinates on the image is (u, v), the measured reference connected vehicle is mapped to the mapping point coordinates on the image The position deviation between (u, v) and the center point coordinates (u′, v′) of the reference connected vehicle in the image is d.
则参考网联车在点云数据中的中心点坐标(x,y,z)和映射至图像上的映射点坐标(u,v)满足如下关系:Then the center point coordinates (x, y, z) of the reference connected car in the point cloud data and the mapped point coordinates (u, v) mapped to the image satisfy the following relationship:
其中H为点云到图像的仿射变换矩阵,H矩阵维度大小为3*4,可由激光雷达和摄像头 联合外参标定和摄像头内参标定得到,可表示如下,其中h rs为H矩阵中的元素,均为实数,1≤r≤4,1≤s≤4。 Among them, H is the affine transformation matrix from point cloud to image. The dimension of H matrix is 3*4. It can be obtained by joint external parameter calibration of lidar and camera and internal parameter calibration of camera. It can be expressed as follows, where h rs are the elements in the H matrix. , all are real numbers, 1≤r≤4, 1≤s≤4.
根据网联车瞬时行驶速度,可得出参考网联车在时间偏差t内发生移动后的位置在点云中心点的坐标x′、y′,z′分别为:According to the instantaneous driving speed of the connected vehicle, it can be obtained that the coordinates x′, y′, and z′ of the center point of the point cloud after the reference connected vehicle moves within the time deviation t are:
x′=x+v-t*t*cosγx′=x+v-t*t*cosγ
y′=y+v-t*t*cosγy′=y+v-t*t*cosγ
z′=zz′=z
其中v_t为参考网联车的瞬时速度,可通过网联车目标在最近邻前后两帧中的中心点移动距离和帧间隔时间比值计算得出,(x′,y′,z′)为参考网联车发生移动后的位置坐标,由于网联车为刚性物体,因此其竖坐标即z轴的值的大小不随车辆位置移动而改变。where v_t is the instantaneous speed of the reference connected vehicle, which can be calculated by the moving distance of the center point of the connected vehicle target in the two frames before and after the nearest neighbor and the frame interval time ratio, (x′, y′, z′) is the reference The position coordinates of the connected vehicle after it moves. Since the connected vehicle is a rigid object, its vertical coordinate, that is, the value of the z-axis, does not change with the movement of the vehicle's position.
则参考网联车发生移动后的位置点云中心点坐标(x′,y′,z′)和在图像数据中的中心点坐标(u′,v′)满足如下关系:Then the center point coordinates (x′, y′, z′) of the position point cloud of the reference connected vehicle after movement and the center point coordinates (u′, v′) in the image data satisfy the following relationship:
因此,根据测量得到的参考网联车映射至图像上的映射点坐标(u,v)和参考网联车在图像数据中的中心点坐标(u′,v′)的位置偏差d,可列出如下等式:Therefore, according to the measured position deviation d of the reference connected vehicle mapped to the mapping point coordinates (u, v) on the image and the reference connected vehicle's center point coordinates (u′, v′) in the image data, it can be listed Get the following equation:
根据公式(1),(2),(3)可推导出,时间偏差t是一个和已知的仿射变换参数、点云中心点坐标、朝向角、瞬时速度、位置偏差相关的数值,可表示如下:According to formulas (1), (2), and (3), it can be deduced that the time deviation t is a value related to the known affine transformation parameters, point cloud center point coordinates, heading angle, instantaneous speed, and position deviation. Expressed as follows:
其中,大写字母A,B分别为:Among them, the capital letters A and B are:
如图2所示,是点云中参考网联车目标未进行位置校正,不同时间偏差下,参考网联车点云检测框映射至图像上的映射框和参考网联车在图像中检测框的位置偏差,时间偏差较小时映射框和图像中检测框的重叠度较高,时间偏差较大时映射框和图像中检测框的位置偏差较大,几乎无重叠。As shown in Figure 2, the reference connected vehicle target in the point cloud has not been position corrected. Under different time deviations, the reference connected vehicle point cloud detection frame is mapped to the mapping frame on the image and the reference connected vehicle detection frame in the image. When the time deviation is small, the overlap between the mapping frame and the detection frame in the image is high. When the time deviation is large, the position deviation between the mapping frame and the detection frame in the image is large, and there is almost no overlap.
假设估计出的时间偏差为N组,利用Kolmogorov-Smirnov检验方法,检测时间偏差是否符合正态分布。若时间偏差符合正态分布,则求出其正态分布表达式,若不符合正态分布,则计算出按数值大小排序后的时间偏差的第二四分位数和第三四分位数之间的数据的中位数和方差。Assuming that the estimated time deviations are N groups, use the Kolmogorov-Smirnov test method to detect whether the time deviations conform to the normal distribution. If the time deviation conforms to the normal distribution, find its normal distribution expression. If it does not conform to the normal distribution, calculate the second quartile and third quartile of the time deviation sorted by numerical value. The median and variance of the data.
上述Kolmogorov-Smirnov检验方法常被用于检测某数据分布是否符合某分布,此处是正态分布,通过估计出某数据分布的P值,来确定数据符合正态分布的假设是否成立,若P值大于显著性水平则认为假设成立,否则不成立。具体过程如下:The above Kolmogorov-Smirnov test method is often used to detect whether a certain data distribution conforms to a certain distribution, here it is a normal distribution. By estimating the P value of a certain data distribution, it is determined whether the assumption that the data conforms to a normal distribution is true. If P If the value is greater than the significance level, the hypothesis is considered to be true, otherwise it is not true. The specific process is as follows:
(1)利用Kolmogorov-Smirnov检验方法检测时间偏差是否符合正太分布。对N组时间偏差数据,计算出数据的均值为μ,方差为σ 2,设置检测显著性水平为α。利用Kolmogorov-Smirnov检验方法检测该组数据不服从正态分布的概率,即P值,若P值小于等于显著性水平,则时间偏差不符合正态分布,若P值大于显著性水平,则时间偏差符合正态分布。其中,N值大于等于100。 (1) Use the Kolmogorov-Smirnov test method to detect whether the time deviation conforms to the normal distribution. For N groups of time deviation data, calculate the mean value of the data as μ, the variance as σ 2 , and set the detection significance level as α. Use the Kolmogorov-Smirnov test method to detect the probability that the set of data does not obey the normal distribution, that is, the P value. If the P value is less than or equal to the significance level, then the time deviation does not conform to the normal distribution. If the P value is greater than the significance level, then the time deviation Deviations fit a normal distribution. Among them, the N value is greater than or equal to 100.
(2)若时间偏差符合正态分布,则其正态分布表达式可记为X~N(μ,σ 2)。其中X表示这N组时间偏差数据。 (2) If the time deviation conforms to the normal distribution, its normal distribution expression can be recorded as X~N(μ, σ 2 ). Among them, X represents these N sets of time deviation data.
(3)若时间偏差不符合正态分布,则按数值大小从小到大对时间偏差数据进行排序,对数值大小处于第二四分位数和第三四分位数的之间的所有数据,计算出中位数和方差。(3) If the time deviation does not conform to the normal distribution, sort the time deviation data according to the numerical size from small to large, and for all data whose numerical size is between the second quartile and the third quartile, Calculate the median and variance.
步骤二:实时获取园区道路上网联车连续行驶过程中的点云和图像数据,并检测出点云网联车目标的中心点、朝向角、置信度分数、瞬时速度,和图像网联车目标的车牌号。Step 2: Obtain point cloud and image data in real time during the continuous driving of the connected vehicle on the park road, and detect the center point, heading angle, confidence score, instantaneous speed, and image connected vehicle target of the point cloud connected vehicle target. license plate number.
具体的,对点云数据采用基于CenterPoint三维目标检测算法检测出网联车目标中心点、朝向角、置信度分数,并基于网联车目标在最近邻前后两帧中的中心点移动距离和帧间隔时间比值计算网联车的瞬时速度;采用OCR识别方法识别出图像数据中的网联车目标,并识别出网联车的车牌号。Specifically, the CenterPoint three-dimensional target detection algorithm based on the point cloud data is used to detect the center point, orientation angle, and confidence score of the connected vehicle target, and based on the center point movement distance and frame of the connected vehicle target in the two frames before and after the nearest neighbor. The interval time ratio calculates the instantaneous speed of the connected vehicle; the OCR recognition method is used to identify the connected vehicle target in the image data and identify the license plate number of the connected vehicle.
上述三维目标检测算法包括基于图像生成、基于点云生成、基于图像点云融合生成,此处采用基于CenterPoint网络模型的目标检测算法,仅基于点云生成,将采集的大量点云数据 进行标注,并将标注后的数据分为训练集、验证集、测试集,在训练集上训练后的模型在测试集上的准确率mAP值高达91%,在点云数据中心50m(单位:米)范围内的目标的检出率达95%。所述的OCR识别方法检测准确率达99%。所述朝向角值范围为(-π,π),所述置信度分数值范围为(0,1)。The above three-dimensional target detection algorithms include image-based generation, point cloud-based generation, and image-point cloud fusion generation. Here, the target detection algorithm based on the CenterPoint network model is used, which is only based on point cloud generation and labels a large amount of collected point cloud data. The annotated data is divided into a training set, a verification set, and a test set. The model trained on the training set has an accuracy mAP value of up to 91% on the test set, within a 50m (unit: meter) range of the point cloud data center. The detection rate of targets within is 95%. The detection accuracy of the OCR recognition method reaches 99%. The orientation angle value range is (-π, π), and the confidence score value range is (0, 1).
基于置信滤波方法对检测出的点云网联车目标中心点位置进行滤波校正。即利用检测算法检测出的网联车目标的置信度分数和时间偏差分布参数计算置信增益,并基于置信增益重新滤波估计网联车目标的最优位置。具体过程如下:Based on the confidence filtering method, the detected center point position of the point cloud network vehicle target is filtered and corrected. That is, the confidence score and time deviation distribution parameters of the connected vehicle target detected by the detection algorithm are used to calculate the confidence gain, and the optimal position of the connected vehicle target is estimated by re-filtering based on the confidence gain. The specific process is as follows:
(1)对第k个点云网联车目标,假设利用深度学习检测算法检测出的中心点位置坐标为(x k,y k,z k),朝向角为γ k,置信度分数为c,计算出的瞬时速度为v k。 (1) For the kth point cloud network connected vehicle target, assume that the center point position coordinates detected using the deep learning detection algorithm are (x k , y k , z k ), the orientation angle is γ k , and the confidence score is c , the calculated instantaneous speed is v k .
(2)根据时间偏差分布参数计算置信增益,具体为:(2) Calculate the confidence gain based on the time deviation distribution parameters, specifically:
(2.1)若时间偏差符合正态分布,假设其正态分布表达式中的参数均值为u t,方差为σ t 2。则置信增益ε为: (2.1) If the time deviation conforms to the normal distribution, assume that the parameter mean in the normal distribution expression is u t and the variance is σ t 2 . Then the confidence gain ε is:
则基于置信增益重新滤波估计出网联车目标的点云中心点横纵坐标x k′,y k′分别为: Then based on the confidence gain re-filtering, the horizontal and vertical coordinates x k ′ and y k ′ of the point cloud center point of the connected vehicle target are estimated as:
x k′=x k*ε+(x k+v k*u t*cosγ k)(1-ε) x k ′=x k *ε+(x k +v k *u t *cosγ k )(1-ε)
y k′=y k*ε+(y k+v k*u t*sinγ k)(1-ε) y k ′=y k *ε+(y k +v k *u t *sinγ k )(1-ε)
(2.2)若时间偏差不符合正态分布,假设时间偏差按数值大小从小到大排序后的第二四分位数和第三四分位数之间的数据的中位数为 方差为τ t 2,则置信增益ε′为: (2.2) If the time deviation does not conform to the normal distribution, assuming that the time deviation is sorted from small to large, the median of the data between the second quartile and the third quartile is The variance is τ t 2 , then the confidence gain ε′ is:
则基于置信增益滤波重新估计出网联车目标的点云中心点横纵坐标x k′,y k′分别为: Then based on the confidence gain filter, the horizontal and vertical coordinates x k ′ and y k ′ of the point cloud center point of the connected vehicle target are re-estimated as:
(3)由于网联车为刚性物体,其位置移动并不会改变其在竖坐标即z轴的值的大小,即z k′=z k,则重新滤波估计后的网联车目标的最优位置中心点坐标为(x k′,y k′,z k′)。 (3) Since the connected vehicle is a rigid object, its position movement will not change its value on the vertical coordinate, that is, the z-axis, that is, z k ′ = z k , then the estimated maximum value of the connected vehicle target after re-filtering will not be changed. The coordinates of the optimal location center point are (x k ′, y k ′, z k ′).
步骤三:将滤波校正后的点云网联车目标一一映射至对应的图像帧,计算每一个点云网联车目标的中心点在图像中的映射点坐标和图像中任一网联车目标中心点坐标的距离差,距离差最小且小于阈值的即为其在图像中相应的匹配目标,按此方式完成所有点云和图像中的网联车目标的映射匹配对齐。如图3所示,是位置校正后的点云参考网联车映射至图像的伪3D框示意图。该步骤的具体过程如下:Step 3: Map the filtered and corrected point cloud connected vehicle targets to the corresponding image frames one by one, and calculate the mapping point coordinates of the center point of each point cloud connected vehicle target in the image and any connected vehicle in the image. The distance difference between the coordinates of the target center point is the smallest and less than the threshold, which is the corresponding matching target in the image. In this way, the mapping, matching and alignment of all point clouds and connected vehicle targets in the image is completed. As shown in Figure 3, it is a schematic diagram of the pseudo 3D frame mapped from the position-corrected point cloud reference connected vehicle to the image. The specific process of this step is as follows:
(1)对任一位置滤波校正后的点云网联车目标,利用仿射变换矩阵,将点云中心点坐标映射至图像。(1) For the filtered and corrected point cloud connected vehicle target at any position, use the affine transformation matrix to map the coordinates of the point cloud center point to the image.
(2)计算每一个点云网联车目标的中心点在图像中的映射点坐标和图像中任一网联车目标中心点坐标的距离差。(2) Calculate the distance difference between the coordinates of the mapping point of each point cloud connected vehicle target in the image and the coordinates of the center point of any connected vehicle target in the image.
假设其校正后的点云中心点坐标为(x′,y′,z),映射至图像上的映射点坐标为(p,q),则映射点坐标和点云中心点坐标满足如下关系:Assume that the corrected point cloud center point coordinates are (x′, y′, z), and the mapping point coordinates mapped to the image are (p, q), then the mapping point coordinates and the point cloud center point coordinates satisfy the following relationship:
其中H为点云到图像的仿射变换矩阵,H矩阵维度大小为3*4,可由激光雷达和摄像头联合外参标定和摄像头内参标定得到,可表示如下,其中h rs为H矩阵中的元素,均为实数,1≤r≤4,1≤s≤4: Among them, H is the affine transformation matrix from point cloud to image. The dimension of H matrix is 3*4. It can be obtained by joint external parameter calibration of lidar and camera and internal parameter calibration of camera. It can be expressed as follows, where h rs are the elements in the H matrix. , all are real numbers, 1≤r≤4, 1≤s≤4:
假设图像中第i个网联车目标的中心点坐标为(m i,n i),且1≤i≤N img_obj,N img_obj为图像中网联车目标总数。则映射点坐标和图像中第i个网联车目标的中心点坐标的距离差为: Assume that the center point coordinates of the i-th connected vehicle target in the image are (mi , n i ), and 1≤i≤N img_obj , N img_obj is the total number of connected vehicle targets in the image. Then the distance difference between the coordinates of the mapping point and the coordinates of the center point of the i-th connected vehicle target in the image is:
(3)计算最小距离差,并判断最小距离差是否小于设定阈值Δ。其中最小距离差为:(3) Calculate the minimum distance difference and determine whether the minimum distance difference is less than the set threshold Δ. The minimum distance difference is:
若最小距离差d min小于阈值Δ,则相应的图像中网联车目标即为匹配目标。 If the minimum distance difference d min is less than the threshold Δ, then the connected vehicle target in the corresponding image is the matching target.
(4)依据步骤(1)-(3),完成所有点云网联车目标和图像网联车目标的映射匹配对齐。(4) According to steps (1)-(3), complete the mapping, matching and alignment of all point cloud connected vehicle targets and image network connected vehicle targets.
步骤四:将匹配对齐后的网联车目标在点云和图像中的感知信息融合,以获取同一目标 网联车的车牌号和瞬时速度信息,将瞬时速度超过最大限速的网联车车牌号信息进行上报至网联车云控平台同时做出超速预警,并远程控制网联车减速至常规车速。最大限速为园区内规定的网联车的最大限速,为30km/h,常规车速为25km/h。Step 4: Fusion of the sensed information of the matched and aligned connected vehicle targets in point clouds and images to obtain the license plate number and instantaneous speed information of the same target connected vehicle, and identify the license plate of the connected vehicle whose instantaneous speed exceeds the maximum speed limit. The information is reported to the connected vehicle cloud control platform and an overspeed warning is issued, and the connected vehicle is remotely controlled to slow down to a normal speed. The maximum speed limit is the maximum speed limit for connected vehicles specified in the park, which is 30km/h, and the regular speed is 25km/h.
所述网联车云控平台是基于云服务器,提供网联车管理控制功能,包含每辆网联车信息并可以对具体的网联车做出远程控制。The connected vehicle cloud control platform is based on a cloud server, provides connected vehicle management and control functions, contains information about each connected vehicle and can remotely control specific connected vehicles.
另一方面,如图4所示,本发明还提供了一种基于滤波校正的网联车超速预警系统,该系统包括时间偏差分布参数确定模块、滤波校正模块、匹配对齐模块和感知信息融合模块;On the other hand, as shown in Figure 4, the present invention also provides a network-connected vehicle speed warning system based on filter correction. The system includes a time deviation distribution parameter determination module, a filter correction module, a matching alignment module and a perception information fusion module. ;
所述时间偏差分布参数确定模块用于选定一辆参考网联车,通过数据帧时间同步的激光雷达和摄像头获取若干帧参考网联车在连续行驶过程中的点云和图像数据中的中心点坐标,利用仿射变换矩阵将参考网联车在点云中的中心点映射至图像,测量出图像上的映射点和参考网联车在图像上的中心点坐标的位置偏差,估计出参考网联车目标在点云和图像中的生成时间偏差,并计算时间偏差分布参数;时间偏差分布参数确定模块的具体实现过程参考本发明提供的一种基于滤波校正的网联车超速预警方法中步骤一的细节描述。The time deviation distribution parameter determination module is used to select a reference connected vehicle, and obtain the center of the point cloud and image data of several frames of the reference connected vehicle during continuous driving through the laser radar and camera with data frame time synchronization. Point coordinates, use the affine transformation matrix to map the center point of the reference connected vehicle in the point cloud to the image, measure the position deviation between the mapping point on the image and the coordinates of the center point of the reference connected vehicle on the image, and estimate the reference Generate time deviations of connected vehicle targets in point clouds and images, and calculate time deviation distribution parameters; for the specific implementation process of the time deviation distribution parameter determination module, refer to a speed warning method for connected vehicles based on filter correction provided by the present invention Detailed description of step one.
所述滤波校正模块用于实时获取道路上网联车连续行驶过程中的点云和图像数据,对任一点云帧中检测出的点云网联车目标通过置信滤波方法对点云中心点位置进行滤波校正;具体为:利用检测算法检测出的点云网联车目标的置信度分数和时间偏差分布参数确定模块得到的时间偏差分布参数计算置信增益,并基于置信增益重新滤波估计点云网联车目标的最优位置;滤波校正模块的具体实现过程参考本发明提供的一种基于滤波校正的网联车超速预警方法中步骤二的细节描述。The filter correction module is used to obtain point cloud and image data in real time during the continuous driving of road Internet-connected vehicles, and use the confidence filtering method to determine the position of the point cloud center point for the point cloud Internet-connected vehicle target detected in any point cloud frame. Filter correction; specifically: use the confidence score of the point cloud network vehicle target detected by the detection algorithm and the time deviation distribution parameter obtained by the time deviation distribution parameter determination module to calculate the confidence gain, and re-filter the estimated point cloud network connection based on the confidence gain The optimal position of the vehicle target; for the specific implementation process of the filter correction module, refer to the detailed description of step 2 in the speed warning method for connected vehicles based on filter correction provided by the present invention.
所述匹配对齐模块用于将滤波校正模块校正后的点云网联车目标一一映射至对应的图像帧,计算每一个点云网联车目标的中心点在图像中的映射点坐标和图像中任一网联车目标中心点坐标的距离差,距离差最小且小于阈值的即为其在图像中相应的匹配目标,按此方式完成所有点云和图像中网联车目标的映射匹配对齐;匹配对齐模块的具体实现过程参考本发明提供的一种基于滤波校正的网联车超速预警方法中步骤三的细节描述。The matching and alignment module is used to map the point cloud network vehicle targets corrected by the filter correction module to the corresponding image frames one by one, and calculate the mapping point coordinates and image coordinates of the center point of each point cloud network vehicle target in the image. The distance difference between the coordinates of the center point of any connected vehicle target. The one with the smallest distance difference and less than the threshold is its corresponding matching target in the image. In this way, the mapping, matching and alignment of all point clouds and connected vehicle targets in the image is completed. ; For the specific implementation process of the matching and alignment module, refer to the detailed description of step three in the network-connected vehicle speed warning method based on filter correction provided by the present invention.
所述感知信息融合模块用于将匹配对齐模块匹配对齐后的网联车目标在点云和图像中的感知信息融合,以获取网联车的车牌号和瞬时速度,对瞬时速度超过最大限速的网联车车牌号信息上报至网联车云控平台同时做出超速预警,并远程控制网联车减速至安全车速。感知信息融合模块的具体实现过程参考本发明提供的一种基于滤波校正的网联车超速预警方法中步骤四的细节描述。The perceptual information fusion module is used to fuse the perceptual information of the connected vehicle target in the point cloud and image after matching and alignment by the matching alignment module, so as to obtain the license plate number and instantaneous speed of the connected vehicle. If the instantaneous speed exceeds the maximum speed limit, The license plate number information of the connected vehicle is reported to the connected vehicle cloud control platform, and an overspeed warning is issued, and the connected vehicle is remotely controlled to slow down to a safe speed. For the specific implementation process of the perceptual information fusion module, refer to the detailed description of step 4 in the network-connected vehicle speed warning method based on filter correction provided by the present invention.
与前述基于滤波校正的网联车超速预警方法的实施例相对应,本发明还提供了基于滤波校正的网联车超速预警装置的实施例。Corresponding to the aforementioned embodiments of the overspeed warning method for connected vehicles based on filter correction, the present invention also provides embodiments of an overspeed warning device for connected vehicles based on filter correction.
参见图5,本发明实施例提供的一种基于滤波校正的网联车超速预警装置,包括存储器和一个或多个处理器,所述存储器中存储有可执行代码,所述处理器执行所述可执行代码时,用于实现上述实施例中的基于滤波校正的网联车超速预警方法。Referring to Figure 5, an embodiment of the present invention provides a network-connected vehicle speed warning device based on filter correction, including a memory and one or more processors. The memory stores executable code, and the processor executes the When the code is executable, it is used to implement the network-connected vehicle speed warning method based on filter correction in the above embodiment.
本发明基于滤波校正的网联车超速预警装置的实施例可以应用在任意具备数据处理能力的设备上,该任意具备数据处理能力的设备可以为诸如计算机等设备或装置。装置实施例可以通过软件实现,也可以通过硬件或者软硬件结合的方式实现。以软件实现为例,作为一个逻辑意义上的装置,是通过其所在任意具备数据处理能力的设备的处理器将非易失性存储器中对应的计算机程序指令读取到内存中运行形成的。从硬件层面而言,如图5所示,为本发明基于滤波校正的网联车超速预警装置所在任意具备数据处理能力的设备的一种硬件结构图,除了图5所示的处理器、内存、网络接口、以及非易失性存储器之外,实施例中装置所在的任意具备数据处理能力的设备通常根据该任意具备数据处理能力的设备的实际功能,还可以包括其他硬件,对此不再赘述。The embodiments of the network-connected vehicle speed warning device based on filter correction of the present invention can be applied to any device with data processing capabilities, and any device with data processing capabilities can be a device or device such as a computer. The device embodiments may be implemented by software, or may be implemented by hardware or a combination of software and hardware. Taking software implementation as an example, as a logical device, it is formed by reading the corresponding computer program instructions in the non-volatile memory into the memory and running them through the processor of any device with data processing capabilities. From the hardware level, as shown in Figure 5, it is a hardware structure diagram of any device with data processing capabilities where the networked vehicle speed warning device based on filter correction of the present invention is located. In addition to the processor and memory shown in Figure 5 , network interfaces, and non-volatile memory, any device with data processing capabilities where the device in the embodiment is located may also include other hardware based on the actual functions of any device with data processing capabilities. This will not be discussed here. Repeat.
上述装置中各个单元的功能和作用的实现过程具体详见上述方法中对应步骤的实现过程,在此不再赘述。For details on the implementation process of the functions and effects of each unit in the above device, please refer to the implementation process of the corresponding steps in the above method, and will not be described again here.
对于装置实施例而言,由于其基本对应于方法实施例,所以相关之处参见方法实施例的部分说明即可。以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本发明方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。As for the device embodiment, since it basically corresponds to the method embodiment, please refer to the partial description of the method embodiment for relevant details. The device embodiments described above are only illustrative. The units described as separate components may or may not be physically separated. The components shown as units may or may not be physical units, that is, they may be located in One location, or it can be distributed across multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of the present invention. Persons of ordinary skill in the art can understand and implement the method without any creative effort.
本发明实施例还提供一种计算机可读存储介质,其上存储有程序,该程序被处理器执行时,实现上述实施例中的基于滤波校正的网联车超速预警方法。Embodiments of the present invention also provide a computer-readable storage medium on which a program is stored. When the program is executed by a processor, the speed warning method for connected vehicles based on filter correction in the above embodiments is implemented.
所述计算机可读存储介质可以是前述任一实施例所述的任意具备数据处理能力的设备的内部存储单元,例如硬盘或内存。所述计算机可读存储介质也可以是任意具备数据处理能力的设备的外部存储设备,例如所述设备上配备的插接式硬盘、智能存储卡(Smart Media Card,SMC)、SD卡、闪存卡(Flash Card)等。进一步的,所述计算机可读存储介质还可以既包括任意具备数据处理能力的设备的内部存储单元也包括外部存储设备。所述计算机可读存储介质用于存储所述计算机程序以及所述任意具备数据处理能力的设备所需的其他程序和数据,还可以用于暂时地存储已经输出或者将要输出的数据。The computer-readable storage medium may be an internal storage unit of any device with data processing capabilities as described in any of the foregoing embodiments, such as a hard disk or a memory. The computer-readable storage medium can also be an external storage device of any device with data processing capabilities, such as a plug-in hard disk, smart memory card (Smart Media Card, SMC), SD card, flash memory card equipped on the device (Flash Card) etc. Furthermore, the computer-readable storage medium may also include both an internal storage unit and an external storage device of any device with data processing capabilities. The computer-readable storage medium is used to store the computer program and other programs and data required by any device with data processing capabilities, and can also be used to temporarily store data that has been output or is to be output.
上述实施例用来解释说明本发明,而不是对本发明进行限制,在本发明的精神和权利要求的保护范围内,对本发明作出的任何修改和改变,都落入本发明的保护范围。The above embodiments are used to illustrate the present invention, rather than to limit the present invention. Within the spirit of the present invention and the protection scope of the claims, any modifications and changes made to the present invention fall within the protection scope of the present invention.
Claims (9)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210661541.3 | 2022-06-13 | ||
| CN202210661541.3A CN114758504B (en) | 2022-06-13 | 2022-06-13 | Online vehicle overspeed early warning method and system based on filtering correction |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2023240805A1 true WO2023240805A1 (en) | 2023-12-21 |
Family
ID=82337228
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2022/116972 Ceased WO2023240805A1 (en) | 2022-06-13 | 2022-09-05 | Connected vehicle overspeed early warning method and system based on filtering correction |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN114758504B (en) |
| WO (1) | WO2023240805A1 (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118124536A (en) * | 2024-05-06 | 2024-06-04 | 江苏大块头智驾科技有限公司 | Unmanned vehicle braking device and road side environment sensing system |
| CN118781817A (en) * | 2024-09-06 | 2024-10-15 | 杭州交创科技发展有限公司 | Three-in-one digital data acquisition and processing equipment |
| CN119167310A (en) * | 2024-11-19 | 2024-12-20 | 江苏大块头智驾科技有限公司 | A multi-target recognition and segmentation system for autonomous vehicles |
| CN121438581A (en) * | 2026-01-04 | 2026-01-30 | 湖南车路协同智能科技有限公司 | A road segment early warning method and related device based on information analysis |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114758504B (en) * | 2022-06-13 | 2022-10-21 | 之江实验室 | Online vehicle overspeed early warning method and system based on filtering correction |
| CN114937081B (en) * | 2022-07-20 | 2022-11-18 | 之江实验室 | Internet vehicle position estimation method and device based on independent non-uniform incremental sampling |
| CN115272493B (en) * | 2022-09-20 | 2022-12-27 | 之江实验室 | Abnormal target detection method and device based on continuous time sequence point cloud superposition |
| CN116758166A (en) * | 2023-06-30 | 2023-09-15 | 重庆长安汽车股份有限公司 | Parameter calibration methods, devices, equipment, vehicles and media for vehicle sensors |
Citations (13)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20040248589A1 (en) * | 2003-06-05 | 2004-12-09 | Docomo Communications Laboratories Usa, Inc. | Method and apparatus for location estimation using region of confidence filtering |
| CN105549050A (en) * | 2015-12-04 | 2016-05-04 | 合肥工业大学 | Beidou deformation monitoring and positioning method based on fuzzy confidence filtering |
| CN106228570A (en) * | 2016-07-08 | 2016-12-14 | 百度在线网络技术(北京)有限公司 | A kind of Truth data determines method and apparatus |
| CN107564069A (en) * | 2017-09-04 | 2018-01-09 | 北京京东尚科信息技术有限公司 | The determination method, apparatus and computer-readable recording medium of calibrating parameters |
| CN108932736A (en) * | 2018-05-30 | 2018-12-04 | 南昌大学 | Two-dimensional laser radar Processing Method of Point-clouds and dynamic robot pose calibration method |
| CN109872370A (en) * | 2017-12-04 | 2019-06-11 | 通用汽车环球科技运作有限责任公司 | Camera chain is detected and recalibrated using laser radar data |
| CN110243358A (en) * | 2019-04-29 | 2019-09-17 | 武汉理工大学 | The unmanned vehicle indoor and outdoor localization method and system of multi-source fusion |
| CN110850403A (en) * | 2019-11-18 | 2020-02-28 | 中国船舶重工集团公司第七0七研究所 | Multi-sensor decision-level fused intelligent ship water surface target feeling knowledge identification method |
| CN112085801A (en) * | 2020-09-08 | 2020-12-15 | 清华大学苏州汽车研究院(吴江) | Calibration method for fusion of 3D point cloud and 2D image based on neural network |
| CN114078145A (en) * | 2020-08-19 | 2022-02-22 | 北京万集科技股份有限公司 | Blind zone data processing method, device, computer equipment and storage medium |
| CN114545434A (en) * | 2022-01-13 | 2022-05-27 | 燕山大学 | Road side visual angle speed measurement method and system, electronic equipment and storage medium |
| CN114612795A (en) * | 2022-03-02 | 2022-06-10 | 南京理工大学 | Target recognition method in road scene based on lidar point cloud |
| CN114758504A (en) * | 2022-06-13 | 2022-07-15 | 之江实验室 | Online vehicle overspeed early warning method and system based on filtering correction |
Family Cites Families (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| DE102016013028A1 (en) * | 2016-11-02 | 2018-05-03 | Friedrich-Schiller-Universität Jena | Method and device for precise position determination of arrow-like objects relative to surfaces |
| CN108983248A (en) * | 2018-06-26 | 2018-12-11 | 长安大学 | It is a kind of that vehicle localization method is joined based on the net of 3D laser radar and V2X |
| CN109147370A (en) * | 2018-08-31 | 2019-01-04 | 南京锦和佳鑫信息科技有限公司 | A kind of freeway control system and particular path method of servicing of intelligent network connection vehicle |
| CN110942449B (en) * | 2019-10-30 | 2023-05-23 | 华南理工大学 | Vehicle detection method based on laser and vision fusion |
| CN114076918A (en) * | 2020-08-20 | 2022-02-22 | 北京万集科技股份有限公司 | Millimeter wave radar, laser radar and camera combined calibration method and device |
| CN113112817A (en) * | 2021-04-13 | 2021-07-13 | 天津职业技术师范大学(中国职业培训指导教师进修中心) | Tunnel vehicle positioning and early warning system and method based on Internet of vehicles and following behaviors |
| CN113092807B (en) * | 2021-04-21 | 2024-05-14 | 上海浦江桥隧运营管理有限公司 | Urban overhead road vehicle speed measuring method based on multi-target tracking algorithm |
| CN114359181B (en) * | 2021-12-17 | 2024-01-26 | 上海应用技术大学 | Intelligent traffic target fusion detection method and system based on image and point cloud |
-
2022
- 2022-06-13 CN CN202210661541.3A patent/CN114758504B/en active Active
- 2022-09-05 WO PCT/CN2022/116972 patent/WO2023240805A1/en not_active Ceased
Patent Citations (13)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20040248589A1 (en) * | 2003-06-05 | 2004-12-09 | Docomo Communications Laboratories Usa, Inc. | Method and apparatus for location estimation using region of confidence filtering |
| CN105549050A (en) * | 2015-12-04 | 2016-05-04 | 合肥工业大学 | Beidou deformation monitoring and positioning method based on fuzzy confidence filtering |
| CN106228570A (en) * | 2016-07-08 | 2016-12-14 | 百度在线网络技术(北京)有限公司 | A kind of Truth data determines method and apparatus |
| CN107564069A (en) * | 2017-09-04 | 2018-01-09 | 北京京东尚科信息技术有限公司 | The determination method, apparatus and computer-readable recording medium of calibrating parameters |
| CN109872370A (en) * | 2017-12-04 | 2019-06-11 | 通用汽车环球科技运作有限责任公司 | Camera chain is detected and recalibrated using laser radar data |
| CN108932736A (en) * | 2018-05-30 | 2018-12-04 | 南昌大学 | Two-dimensional laser radar Processing Method of Point-clouds and dynamic robot pose calibration method |
| CN110243358A (en) * | 2019-04-29 | 2019-09-17 | 武汉理工大学 | The unmanned vehicle indoor and outdoor localization method and system of multi-source fusion |
| CN110850403A (en) * | 2019-11-18 | 2020-02-28 | 中国船舶重工集团公司第七0七研究所 | Multi-sensor decision-level fused intelligent ship water surface target feeling knowledge identification method |
| CN114078145A (en) * | 2020-08-19 | 2022-02-22 | 北京万集科技股份有限公司 | Blind zone data processing method, device, computer equipment and storage medium |
| CN112085801A (en) * | 2020-09-08 | 2020-12-15 | 清华大学苏州汽车研究院(吴江) | Calibration method for fusion of 3D point cloud and 2D image based on neural network |
| CN114545434A (en) * | 2022-01-13 | 2022-05-27 | 燕山大学 | Road side visual angle speed measurement method and system, electronic equipment and storage medium |
| CN114612795A (en) * | 2022-03-02 | 2022-06-10 | 南京理工大学 | Target recognition method in road scene based on lidar point cloud |
| CN114758504A (en) * | 2022-06-13 | 2022-07-15 | 之江实验室 | Online vehicle overspeed early warning method and system based on filtering correction |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118124536A (en) * | 2024-05-06 | 2024-06-04 | 江苏大块头智驾科技有限公司 | Unmanned vehicle braking device and road side environment sensing system |
| CN118124536B (en) * | 2024-05-06 | 2024-08-16 | 江苏大块头智驾科技有限公司 | Unmanned vehicle braking device |
| CN118781817A (en) * | 2024-09-06 | 2024-10-15 | 杭州交创科技发展有限公司 | Three-in-one digital data acquisition and processing equipment |
| CN119167310A (en) * | 2024-11-19 | 2024-12-20 | 江苏大块头智驾科技有限公司 | A multi-target recognition and segmentation system for autonomous vehicles |
| CN121438581A (en) * | 2026-01-04 | 2026-01-30 | 湖南车路协同智能科技有限公司 | A road segment early warning method and related device based on information analysis |
Also Published As
| Publication number | Publication date |
|---|---|
| CN114758504B (en) | 2022-10-21 |
| CN114758504A (en) | 2022-07-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2023240805A1 (en) | Connected vehicle overspeed early warning method and system based on filtering correction | |
| CN114359181B (en) | Intelligent traffic target fusion detection method and system based on image and point cloud | |
| CN104021676B (en) | Vehicle location based on vehicle dynamic video features and vehicle speed measurement method | |
| CN109583415B (en) | Traffic light detection and identification method based on fusion of laser radar and camera | |
| CN106767853B (en) | Unmanned vehicle high-precision positioning method based on multi-information fusion | |
| WO2022206978A1 (en) | Roadside millimeter-wave radar calibration method based on vehicle-mounted positioning apparatus | |
| CN111753797B (en) | Vehicle speed measuring method based on video analysis | |
| CN110909711A (en) | Method, device, electronic equipment and storage medium for detecting lane line position change | |
| CN109949594A (en) | Real-time traffic light recognition method | |
| WO2021253245A1 (en) | Method and device for identifying vehicle lane changing tendency | |
| CN106096525A (en) | A kind of compound lane recognition system and method | |
| JP2022514891A (en) | Systems and methods for automatic image labeling for supervised machine learning | |
| CN105976402A (en) | Real scale obtaining method of monocular vision odometer | |
| CN112150448B (en) | Image processing methods, devices and equipment, storage media | |
| CN117782072A (en) | A multi-source information fusion train positioning method, device and equipment | |
| CN115273005A (en) | An Environment Perception Method for Visual Navigation Vehicles Based on Improved YOLO Algorithm | |
| US20220404170A1 (en) | Apparatus, method, and computer program for updating map | |
| CN114037969A (en) | Automatic driving lane information detection method based on radar point cloud and image fusion | |
| CN113587940A (en) | Lane line checking method and system based on vehicle turning radius and vehicle | |
| CN112446234B (en) | Position determining method and device based on data association | |
| CN120672869A (en) | Vehicle self-calibration method and system based on natural scene data | |
| CN118196215A (en) | Camera calibration method, device, electronic device and readable storage medium | |
| CN119199777A (en) | A roadside millimeter-wave radar calibration method and system based on Internet of Vehicles | |
| CN114581884B (en) | Vehicle identification method based on multi-sensor data fusion | |
| CN105447496A (en) | Docking airplane model identification and verification method and system based on machine vision |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22946478 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 22946478 Country of ref document: EP Kind code of ref document: A1 |
|
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 12/06/2025) |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 22946478 Country of ref document: EP Kind code of ref document: A1 |




















