Tunnel digital twin vehicle motion attitude calculation method and system
By calculating vehicle motion posture and performing data interpolation using multi-section holographic capture data inside the tunnel, the problem of vehicle model overlap and rendering pressure in congested scenarios by tunnel capture cameras is solved, and continuous display of vehicle trajectory and posture adjustment are realized.
Patent Information
- Application Number
- CN202411031935.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-30
- Publication Date
- 2024-11-26
AI Technical Summary
In congested scenarios, tunnel capture cameras cannot continuously extrapolate and correct vehicle digital twins, resulting in vehicle model overlap and clipping issues. Furthermore, frame interpolation processing consumes high CPU and GPU resources and cannot control the interpolated frame data.
The vehicle's motion posture is calculated by capturing holographic data from multiple sections inside the tunnel. Data interpolation technology is used for interpolation calculation to achieve continuous display of the vehicle's trajectory and to adjust the vehicle's posture when it collides or changes lanes.
It improved the smoothness of the dynamic display of digital twin vehicles, reduced the rendering pressure, and achieved smooth handover and matching of vehicle trajectories.
Smart Images

Figure CN119027449A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of digital twin technology, and in particular to a method for calculating the motion posture of a digital twin vehicle in a tunnel and a system for calculating the motion posture of a digital twin vehicle in a tunnel. Background Art
[0002] In congested scenarios, tunnel snapshot cameras are unable to continuously deduce and correct the snapshot results due to the limited effect of vehicle digital twins and factors such as vehicle occlusion and vehicle tracking loss.
[0003] The digital twin results are displayed on the display terminal for frame interpolation, which occupies a large amount of display host CPU and graphics card resources, and the data after frame interpolation cannot be controlled, and the frame interpolation data cannot be corrected.
[0004] The existing trajectory inference methods cannot achieve smooth transition and display for trajectory collision and deduced collision after lane change, resulting in vehicle model overlap and penetration. Summary of the invention
[0005] In response to the above problems, the present invention provides a method and system for calculating the motion posture of a digital twin vehicle in a tunnel. The motion posture of the vehicle under different conditions in the tunnel is calculated by using multi-section holographic capture data in the tunnel, and dynamic holographic display content of the digital twin vehicle that is close to the actual motion posture of the vehicle is obtained. By supplementing data frames, the dynamic display smoothness of the digital twin vehicle is improved, the display rendering pressure is reduced, and smooth handover and matching during the continuation of the vehicle trajectory is achieved.
[0006] To achieve the above object, the present invention provides a method for calculating the motion posture of a digital twin vehicle in a tunnel, comprising:
[0007] Obtain multi-section snapshot data of vehicles passing through the tunnel at a preset frequency by the holographic equipment pre-installed in the tunnel;
[0008] Transferring the identity feature information of the vehicle from the previous section to the current section according to the preset matching logic;
[0009] Perform vehicle tracking detection deduction and position correction on each vehicle according to the identity feature information of the vehicle;
[0010] According to the vehicle tracking detection and position correction results, interpolation calculation of data frame complementation is performed on the snapshot data frame of each vehicle, and the tunnel snapshot data frame is constructed according to the calculation results to realize the continuous display of the motion posture of the digital twin vehicle in the tunnel.
[0011] In the above technical solution, preferably, the method for calculating the motion posture of a tunnel digital twin vehicle further includes:
[0012] According to the vehicle tracking detection and position correction results, the current vehicle position is compared with the preceding vehicle position to determine whether a collision has occurred;
[0013] In the event of a vehicle collision, a credibility evaluation is performed based on the vehicle tracking detection deduction results and whether there are special vehicle status marks;
[0014] According to the credibility evaluation results, the digital twin vehicles of the current vehicle and the preceding vehicle are accelerated or decelerated respectively to stagger the motion postures of the current vehicle and the preceding vehicle.
[0015] In the above technical solution, preferably, the method for calculating the motion posture of a tunnel digital twin vehicle further includes:
[0016] Determine the lane-changing vehicle based on the vehicle tracking detection deduction result, obtain the preset frame historical snapshot data of the lane-changing vehicle before the lane change, and correct the vehicle position before and after the lane change;
[0017] Performing a simulated lane change evaluation on the historical frame data of the lane-changing vehicle in reverse chronological order to detect whether the lane-changing vehicle will cause a collision;
[0018] If a collision occurs, the collision frame is used as the lane change middle point and the lane change starting point is calculated, and the lane change is deduced based on the lane change starting point and the lane change middle point;
[0019] If no collision occurs, collision detection is performed on the previous frames until a collision frame is detected as the middle point of lane change or the first historical frame is used as the starting point of lane change, and lane change deduction is performed based on the lane change starting point or the middle point of lane change.
[0020] In the above technical solution, preferably, the interpolation calculation of data frame supplementation is performed on the snapshot data frame of each vehicle according to the vehicle tracking detection deduction result and the position correction result, and the specific process includes:
[0021] Extracting a current snapshot data frame and a historical snapshot data frame of the vehicle, and matching the identity feature information of the vehicle based on the previous and next two frames of data;
[0022] If the identity feature information matches successfully, it is determined whether the vehicle has exited the tunnel. If it has exited the tunnel, no interpolation calculation of the data frame is performed. If it has not exited the tunnel, it is determined whether the vehicle has changed lanes.
[0023] If a lane change occurs, the interpolation of the supplementary frames is calculated based on the percentage of the position line of the two frames before and after the vehicle changes lanes, and the position percentage is converted into longitude and latitude;
[0024] If no lane change occurs, the interpolation of the supplementary frames is calculated based on the longitude and latitude of the previous and next two frames;
[0025] If the identity feature information is not matched successfully, no interpolation calculation of the data frame is performed.
[0026] In the above technical solution, preferably, the method for calculating the motion posture of a tunnel digital twin vehicle further includes:
[0027] According to the vehicle tracking detection and deduction results, the vehicle driving status is detected and judged;
[0028] For vehicles that are parked, moving slowly with a speed lower than a preset value, and / or driving against the flow, a special vehicle status mark is performed.
[0029] The present invention also proposes a tunnel digital twin vehicle motion posture calculation system, which applies the tunnel digital twin vehicle motion posture calculation method disclosed in any one of the above technical solutions, including:
[0030] The tunnel data acquisition module is used to obtain the multi-section snapshot data of the passing vehicles taken by the holographic equipment pre-installed in the tunnel at a preset frequency;
[0031] A vehicle feature handover module, used to handover and transfer the identity feature information of the vehicle from the previous section to the current section according to a preset matching logic;
[0032] A vehicle tracking and deduction module is used to perform vehicle tracking detection and deduction and position correction on each vehicle according to the identity feature information of the vehicle;
[0033] The data frame complement calculation module is used to perform data frame complement interpolation calculation on the snapshot data frame of each vehicle according to the vehicle tracking detection deduction results and position correction results, and construct the tunnel snapshot data frame according to the calculation results to realize the continuous display of the motion posture of the digital twin vehicle in the tunnel.
[0034] In the above technical solution, preferably, the tunnel digital twin vehicle motion posture calculation system also includes a vehicle collision processing module, which is specifically used to:
[0035] According to the vehicle tracking detection and position correction results, the current vehicle position is compared with the preceding vehicle position to determine whether a collision has occurred;
[0036] In the event of a vehicle collision, a credibility evaluation is performed based on the vehicle tracking detection deduction results and whether there are special vehicle status marks;
[0037] According to the credibility evaluation results, the digital twin vehicles of the current vehicle and the preceding vehicle are accelerated or decelerated respectively to stagger the motion postures of the current vehicle and the preceding vehicle.
[0038] In the above technical solution, preferably, the tunnel digital twin vehicle motion posture calculation system also includes a lane change position correction module, which is specifically used to:
[0039] Determine the lane-changing vehicle based on the vehicle tracking detection deduction result, obtain the preset frame historical snapshot data of the lane-changing vehicle before the lane change, and correct the vehicle position before and after the lane change;
[0040] Performing a simulated lane change evaluation on the historical frame data of the lane-changing vehicle in reverse chronological order to detect whether the lane-changing vehicle will cause a collision;
[0041] If a collision occurs, the collision frame is used as the lane change middle point and the lane change starting point is calculated, and the lane change is deduced based on the lane change starting point and the lane change middle point;
[0042] If no collision occurs, collision detection is performed on the previous frames until a collision frame is detected as the middle point of lane change or the first historical frame is used as the starting point of lane change, and lane change deduction is performed based on the lane change starting point or the middle point of lane change.
[0043] In the above technical solution, preferably, the data frame supplementation calculation module is specifically used for:
[0044] Extracting a current snapshot data frame and a historical snapshot data frame of the vehicle, and matching the identity feature information of the vehicle based on the previous and next two frames of data;
[0045] If the identity feature information matches successfully, it is determined whether the vehicle has exited the tunnel. If it has exited the tunnel, no interpolation calculation of the data frame is performed. If it has not exited the tunnel, it is determined whether the vehicle has changed lanes.
[0046] If a lane change occurs, the interpolation of the supplementary frames is calculated based on the percentage of the position line of the two frames before and after the vehicle changes lanes, and the position percentage is converted into longitude and latitude;
[0047] If no lane change occurs, the interpolation of the supplementary frames is calculated based on the longitude and latitude of the previous and next two frames;
[0048] If the identity feature information is not matched successfully, no interpolation calculation of the data frame is performed.
[0049] In the above technical solution, preferably, the tunnel digital twin vehicle motion posture calculation system also includes a vehicle state marking module, which is specifically used to:
[0050] According to the vehicle tracking detection and deduction results, the vehicle driving status is detected and judged;
[0051] For vehicles that are parked, moving slowly with a speed lower than a preset value, and / or driving against the flow, a special vehicle status mark is performed.
[0052] Compared with the prior art, the beneficial effects of the present invention are as follows: the motion posture of the vehicle in different situations in the tunnel is calculated by using multi-section holographic capture data in the tunnel, and the dynamic holographic display content of the digital twin vehicle close to the real motion posture of the vehicle is obtained. By data frame supplementation, the dynamic display smoothness of the digital twin vehicle is improved, the display rendering pressure is reduced, and smooth handover and matching are achieved during the continuation of the vehicle trajectory. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] Figure 1 A schematic diagram of a flow chart of a method for calculating a motion posture of a digital twin vehicle in a tunnel disclosed in an embodiment of the present invention;
[0054] Figure 2 A schematic diagram of a process for handing over and transmitting vehicle identity features disclosed in an embodiment of the present invention;
[0055] Figure 3 A schematic diagram of a process of vehicle tracking detection deduction disclosed in an embodiment of the present invention;
[0056] Figure 4 A schematic diagram of a process flow of vehicle collision processing disclosed in an embodiment of the present invention;
[0057] Figure 5 A schematic diagram of a process for correcting a vehicle lane change position disclosed in an embodiment of the present invention;
[0058] Figure 6 A schematic diagram of an example of vehicle lane change position correction disclosed in an embodiment of the present invention;
[0059] Figure 7 A schematic diagram of a data frame filling process disclosed in an embodiment of the present invention;
[0060] Figure 8 A schematic diagram of a module of a tunnel digital twin vehicle motion posture calculation system disclosed in an embodiment of the present invention.
[0061] In the figure, the corresponding relationship between each component and the reference numeral is as follows:
[0062] 1. Tunnel data acquisition module, 2. Vehicle feature handover module, 3. Vehicle tracking and deduction module, 4. Data frame filling calculation module, 5. Vehicle collision processing module, 6. Lane change position correction module, 7. Vehicle status marking module. DETAILED DESCRIPTION
[0063] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0064] The present invention is further described in detail below in conjunction with the accompanying drawings:
[0065] like Figure 1 As shown, a method for calculating the motion posture of a tunnel digital twin vehicle provided by the present invention includes:
[0066] Obtain multi-section snapshot data of vehicles passing through the tunnel at a preset frequency by the holographic equipment pre-installed in the tunnel;
[0067] Transferring the vehicle's identity information from the previous section to the current section according to the preset matching logic;
[0068] Carry out vehicle tracking detection deduction and position correction for each vehicle based on the vehicle's identity feature information;
[0069] According to the vehicle tracking detection and position correction results, interpolation calculation of data frame complementation is performed on the snapshot data frame of each vehicle, and the tunnel snapshot data frame is constructed according to the calculation results to realize the continuous display of the motion posture of the digital twin vehicle in the tunnel.
[0070] In this implementation, the motion posture of the vehicle in different situations in the tunnel is calculated through multi-section holographic capture data in the tunnel, and a dynamic holographic display content of the digital twin vehicle that is close to the actual motion posture of the vehicle is obtained. By data frame supplementation, the dynamic display smoothness of the digital twin vehicle is improved, the display rendering pressure is reduced, and smooth handover and matching are achieved during the continuation of the vehicle trajectory.
[0071] Specifically, during the implementation process, holographic cameras, including long-range cameras and short-range cameras, are installed every 150 to 200 meters in the tunnel to capture vehicles passing through the tunnel at a frequency of 10 to 12 frames per second, and vehicle feature data, including vehicle identity and location, driving behavior, etc., are extracted. After the holographic equipment is installed, the equipment recognition area is measured, the longitude and latitude information of the equipment recognition range is calibrated, and the equipment upload information is configured. The calculation model method of the present invention is deployed on the central platform, and the relevant information of the tunnel equipment is configured, such as equipment IP, equipment SN, equipment type, equipment cross-section information, etc. After accessing the equipment capture data, the calculation model method outputs the calculation results to the web end, and the web end uses the digital twin vehicle to restore the vehicle motion posture on the tunnel map model.
[0072] The captured data from the holographic device is uploaded and input into the vehicle motion posture calculation model. First, the cross-sectional data is cleaned, compensated, and deduplicated to determine the identity characteristics of each vehicle. Then, the access data from multiple sections are sorted in time sequence and cached in the computing memory for fusion and extraction.
[0073] During the extraction and fusion process, the cache data of each section is extracted at a step interval of 80 to 100 milliseconds to perform multi-section data fusion, deduplication, and cleaning.
[0074] like Figure 2 As shown, according to the captured data of each section, the vehicle identity feature information is handed over and transmitted. The specific process includes:
[0075] a. The holographic fusion frame is grouped according to whether it has a license plate or not;
[0076] b. Cars with license plates are given priority according to the logic of matching the license plates;
[0077] c. Unlicensed vehicles are matched according to vehicle feature matching logic;
[0078] d. When the license plate of a licensed vehicle is not matched, the license plate fuzzy matching logic is used;
[0079] e. The licensed cars and unlicensed cars that have not been successfully matched are matched according to the mixed matching logic;
[0080] f. For vehicles that have successfully matched and completed section handover, the vehicle feature information is transferred from the previous section to the current section.
[0081] Based on the captured data after the handover of vehicle identity feature information, mark whether the tracked vehicle is lost, and fuse the large frame object according to the entity type and lane structure. Fuse, deduplicate and compensate multiple section data to obtain the fused frame data of the entire tunnel at the current moment.
[0082] like Figure 3 As shown, based on the fused frame data, the vehicle is tracked and detected. The specific process includes:
[0083] (1) Perform independent inference calculations on each vehicle in the fused large frame;
[0084] (2) Determine whether the vehicle is being tracked normally by the holographic device;
[0085] (3) The holographic device tracks the vehicle that has not been lost, and performs exponential smoothing calculation according to the vehicle position provided by the pre-installed holographic device to obtain the smoothed device position;
[0086] (4) The holographic device tracks the lost vehicle. If the holographic device fails to detect the lost vehicle in multiple consecutive sections, the vehicle deduction process is stopped;
[0087] (5) The holographic device tracks the lost vehicle. If the continuous lost section is smaller than the preset threshold of the system, the vehicle motion posture of the current frame is calculated based on the average speed of the section.
[0088] For the front and rear positions of the vehicle in the simulated fused large-frame data, the position of the vehicle is identified with reference to the holographic device, and the position of the digital twin vehicle in the tunnel model is corrected. The lane-changing vehicle position correction algorithm can achieve smooth lane changes in the dynamic display of the digital twin vehicle corresponding to the moving vehicle.
[0089] like Figure 4 As shown, in the above technical solution, preferably, the method for calculating the motion posture of a tunnel digital twin vehicle further includes:
[0090] Based on the vehicle tracking detection and position correction results, the current vehicle's position is compared with the position of the preceding vehicle from the tunnel entrance vehicle to the tunnel exit vehicle to determine whether a collision has occurred;
[0091] In the event of a vehicle collision, a credibility evaluation is performed based on the vehicle tracking detection deduction results and whether there are special vehicle status marks;
[0092] According to the credibility evaluation results, the digital twin vehicles of the current vehicle and the preceding vehicle are accelerated or decelerated respectively to stagger the motion postures of the current vehicle and the preceding vehicle.
[0093] Specifically, during the implementation process, if there is no collision at the position, the current deduced position is maintained. If there is a collision at the position, the credibility is evaluated based on the loss of the front and rear vehicles and whether there are special marks. For vehicles with low credibility, the current vehicle is accelerated and the positions of the two vehicles are staggered; for vehicles with the same credibility, the current vehicle is decelerated and the front vehicle is accelerated, and the positions of the two vehicles are staggered.
[0094] like Figure 5 and Figure 6 As shown, in the above technical solution, preferably, the method for calculating the motion posture of a tunnel digital twin vehicle further includes:
[0095] The lane-changing vehicle is determined based on the vehicle tracking detection deduction results, and the historical snapshot data of the preset frames (such as the first 10 frames) before the lane-changing vehicle is obtained to correct the vehicle position before and after the lane change;
[0096] In reverse chronological order, simulate lane change evaluation is performed on the historical frame data of the lane-changing vehicle to detect whether the lane-changing vehicle will cause a collision;
[0097] If a collision occurs, the collision frame is used as the middle point of the lane change and the lane change starting point is calculated, and the lane change is deduced based on the lane change starting point and the lane change middle point;
[0098] If no collision occurs, collision detection is performed on the previous frames until the collision frame is detected as the middle point of lane change or the first historical frame is used as the starting point of lane change, and lane change deduction is performed based on the starting point of lane change or the middle point of lane change.
[0099] like Figure 7 As shown, in the above technical solution, preferably, according to the vehicle tracking detection deduction result and the position correction result, the snapshot data frame of each vehicle is interpolated and calculated for data frame filling, and the specific process includes:
[0100] Extract the current snapshot data frame and the previous snapshot data frame of the vehicle, and match the identity feature information of the vehicle based on the previous and next two frames of data;
[0101] If the identity feature information matches successfully, it is determined whether the vehicle has exited the tunnel. If it has exited the tunnel, no interpolation calculation of the data frame is performed. If it has not exited the tunnel, it is determined whether the vehicle has changed lanes.
[0102] If a lane change occurs, the interpolation of the supplementary frames is calculated based on the percentage of the position line of the two frames before and after the vehicle changes lanes, and the position percentage is converted into longitude and latitude;
[0103] If no lane change occurs, the interpolation of the supplementary frames is calculated based on the longitude and latitude of the previous and next two frames;
[0104] If the identity feature information is not matched successfully, no interpolation calculation of the data frame is performed.
[0105] Specifically, the smooth interpolation algorithm can effectively interpolate frames for the digital twin vehicle corresponding to the moving vehicle, thereby improving the smoothness of the display.
[0106] After the above data frame filling, the calculation data results are extracted and the snapshot data frame of the entire tunnel is constructed. The display of the digital twin vehicle in the tunnel model can be displayed continuously and dynamically without interruption, reducing the hardware requirements and rendering pressure on the display end.
[0107] In the above technical solution, preferably, the method for calculating the motion posture of a tunnel digital twin vehicle further includes:
[0108] According to the vehicle tracking detection and deduction results, the vehicle driving status is detected and judged;
[0109] For vehicles that are parked, moving slowly with a speed lower than a preset value, and / or driving against the flow, a special vehicle status mark is performed.
[0110] like Figure 8 As shown, the present invention also proposes a tunnel digital twin vehicle motion posture calculation system, which applies the tunnel digital twin vehicle motion posture calculation method disclosed in any one of the above technical solutions, including:
[0111] Tunnel data acquisition module 1, used to acquire multi-section snapshot data of vehicles passing through the tunnel at a preset frequency by a holographic device pre-installed in the tunnel;
[0112] Vehicle feature handover module 2, used for handing over and transferring the identity feature information of the vehicle from the previous section to the current section according to the preset matching logic;
[0113] The vehicle tracking and deduction module 3 is used to perform vehicle tracking detection and deduction and position correction for each vehicle according to the identity feature information of the vehicle;
[0114] The data frame complement calculation module 4 is used to perform data frame complement interpolation calculation on the snapshot data frame of each vehicle according to the vehicle tracking detection deduction results and position correction results, and construct a tunnel snapshot data frame according to the calculation results to realize the continuous display of the motion posture of the digital twin vehicle in the tunnel.
[0115] In the above technical solution, preferably, the tunnel digital twin vehicle motion posture calculation system also includes a vehicle collision processing module 5, which is specifically used to:
[0116] According to the vehicle tracking detection and position correction results, the current vehicle position is compared with the preceding vehicle position to determine whether a collision has occurred;
[0117] In the event of a vehicle collision, a credibility evaluation is performed based on the vehicle tracking detection deduction results and whether there are special vehicle status marks;
[0118] According to the credibility evaluation results, the digital twin vehicles of the current vehicle and the preceding vehicle are accelerated or decelerated respectively to stagger the motion postures of the current vehicle and the preceding vehicle.
[0119] In the above technical solution, preferably, the tunnel digital twin vehicle motion posture calculation system also includes a lane change position correction module 6, which is specifically used to:
[0120] The lane-changing vehicle is determined based on the vehicle tracking detection deduction results, and the preset frame historical snapshot data of the lane-changing vehicle before the lane change is obtained to correct the vehicle position before and after the lane change;
[0121] In reverse chronological order, simulate lane change evaluation is performed on the historical frame data of the lane-changing vehicle to detect whether the lane-changing vehicle will cause a collision;
[0122] If a collision occurs, the collision frame is used as the middle point of the lane change and the lane change starting point is calculated, and the lane change is deduced based on the lane change starting point and the lane change middle point;
[0123] If no collision occurs, collision detection is performed on the previous frames until the collision frame is detected as the middle point of lane change or the first historical frame is used as the starting point of lane change, and lane change deduction is performed based on the starting point of lane change or the middle point of lane change.
[0124] In the above technical solution, preferably, the data frame supplementation calculation module 4 is specifically used for:
[0125] Extract the current snapshot data frame and the previous snapshot data frame of the vehicle, and match the identity feature information of the vehicle based on the previous and next two frames of data;
[0126] If the identity feature information matches successfully, it is determined whether the vehicle has exited the tunnel. If it has exited the tunnel, no interpolation calculation of the data frame is performed. If it has not exited the tunnel, it is determined whether the vehicle has changed lanes.
[0127] If a lane change occurs, the interpolation of the supplementary frames is calculated based on the percentage of the position line of the two frames before and after the vehicle changes lanes, and the position percentage is converted into longitude and latitude;
[0128] If no lane change occurs, the interpolation of the supplementary frames is calculated based on the longitude and latitude of the previous and next two frames;
[0129] If the identity feature information is not matched successfully, no interpolation calculation of the data frame is performed.
[0130] In the above technical solution, preferably, the tunnel digital twin vehicle motion posture calculation system also includes a vehicle state marking module 7, which is specifically used to:
[0131] According to the vehicle tracking detection and deduction results, the vehicle driving status is detected and judged;
[0132] For vehicles that are parked, moving slowly with a speed lower than a preset value, and / or driving against the flow, a special vehicle status mark is performed.
[0133] According to the tunnel digital twin vehicle motion posture calculation system disclosed in the above-mentioned implementation mode, the functions to be implemented by each module thereof correspond to the respective steps in the tunnel digital twin vehicle motion posture calculation method disclosed in the above-mentioned implementation mode. During the implementation process, the operations are performed with reference to the above-mentioned implementation mode, which will not be repeated here.
[0134] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for calculating the motion posture of a digital twin vehicle in a tunnel, characterized in that: include: Obtain multi-section snapshot data of vehicles passing through the tunnel at a preset frequency by the holographic equipment pre-installed in the tunnel; Transferring the identity feature information of the vehicle from the previous section to the current section according to the preset matching logic; Perform vehicle tracking detection deduction and position correction on each vehicle according to the identity feature information of the vehicle; According to the vehicle tracking detection and position correction results, interpolation calculation of data frame complementation is performed on the snapshot data frame of each vehicle, and the tunnel snapshot data frame is constructed according to the calculation results to realize the continuous display of the motion posture of the digital twin vehicle in the tunnel.
2. The method for calculating the motion posture of a tunnel digital twin vehicle according to claim 1, characterized in that: Also includes: According to the vehicle tracking detection and position correction results, the current vehicle position is compared with the preceding vehicle position to determine whether a collision has occurred; In the event of a vehicle collision, a credibility evaluation is performed based on the vehicle tracking detection deduction results and whether there are special vehicle status marks; According to the credibility evaluation results, the digital twin vehicles of the current vehicle and the preceding vehicle are accelerated or decelerated respectively to stagger the motion postures of the current vehicle and the preceding vehicle.
3. The method for calculating the motion posture of a tunnel digital twin vehicle according to claim 1 or 2, characterized in that: Also includes: Determine the lane-changing vehicle based on the vehicle tracking detection deduction result, obtain the preset frame historical snapshot data of the lane-changing vehicle before the lane change, and correct the vehicle position before and after the lane change; Performing a simulated lane change evaluation on the historical frame data of the lane-changing vehicle in reverse chronological order to detect whether the lane-changing vehicle will cause a collision; If a collision occurs, the collision frame is used as the lane change middle point and the lane change starting point is calculated, and the lane change is deduced based on the lane change starting point and the lane change middle point; If no collision occurs, collision detection is performed on the previous frames until a collision frame is detected as the middle point of lane change or the first historical frame is used as the starting point of lane change, and lane change deduction is performed based on the lane change starting point or the middle point of lane change.
4. The method for calculating the motion posture of a tunnel digital twin vehicle according to claim 1, characterized in that: According to the vehicle tracking detection deduction result and the position correction result, the interpolation calculation of the data frame supplementation is performed on the snapshot data frame of each vehicle. The specific process includes: Extracting a current snapshot data frame and a historical snapshot data frame of the vehicle, and matching the identity feature information of the vehicle based on the previous and next two frames of data; If the identity feature information matches successfully, it is determined whether the vehicle has exited the tunnel. If it has exited the tunnel, no interpolation calculation of the data frame is performed. If it has not exited the tunnel, it is determined whether the vehicle has changed lanes. If a lane change occurs, the interpolation of the supplementary frames is calculated based on the percentage of the position line of the two frames before and after the vehicle changes lanes, and the position percentage is converted into longitude and latitude; If no lane change occurs, the interpolation of the supplementary frames is calculated based on the longitude and latitude of the previous and next two frames; If the identity feature information is not matched successfully, no interpolation calculation of the data frame is performed.
5. The method for calculating the motion posture of a tunnel digital twin vehicle according to claim 2, characterized in that: Also includes: According to the vehicle tracking detection and deduction results, the vehicle driving status is detected and judged; For vehicles that are parked, moving slowly with a speed lower than a preset value, and / or driving against the flow, a special vehicle status mark is performed.
6. A tunnel digital twin vehicle motion posture calculation system, characterized in that: The method for calculating the motion posture of a tunnel digital twin vehicle according to any one of claims 1 to 5 comprises: The tunnel data acquisition module is used to obtain the multi-section snapshot data of the passing vehicles taken by the holographic equipment pre-installed in the tunnel at a preset frequency; A vehicle feature handover module, used to handover and transfer the identity feature information of the vehicle from the previous section to the current section according to a preset matching logic; A vehicle tracking and deduction module is used to perform vehicle tracking detection and deduction and position correction on each vehicle according to the identity feature information of the vehicle; The data frame complement calculation module is used to perform data frame complement interpolation calculation on the snapshot data frame of each vehicle according to the vehicle tracking detection deduction results and position correction results, and construct the tunnel snapshot data frame according to the calculation results to realize the continuous display of the motion posture of the digital twin vehicle in the tunnel.
7. The tunnel digital twin vehicle motion posture calculation system according to claim 6, characterized in that: It also includes a vehicle collision processing module, which is specifically used to: According to the vehicle tracking detection and position correction results, the current vehicle position is compared with the preceding vehicle position to determine whether a collision has occurred; In the event of a vehicle collision, a credibility evaluation is performed based on the vehicle tracking detection deduction results and whether there are special vehicle status marks; According to the credibility evaluation results, the digital twin vehicles of the current vehicle and the preceding vehicle are accelerated or decelerated respectively to stagger the motion postures of the current vehicle and the preceding vehicle.
8. The tunnel digital twin vehicle motion posture calculation system according to claim 6 or 7, characterized in that: It also includes a lane change position correction module, which is specifically used to: Determine the lane-changing vehicle based on the vehicle tracking detection deduction result, obtain the preset frame historical snapshot data of the lane-changing vehicle before the lane change, and correct the vehicle position before and after the lane change; Performing a simulated lane change evaluation on the historical frame data of the lane-changing vehicle in reverse chronological order to detect whether the lane-changing vehicle will cause a collision; If a collision occurs, the collision frame is used as the lane change middle point and the lane change starting point is calculated, and the lane change is deduced based on the lane change starting point and the lane change middle point; If no collision occurs, collision detection is performed on the previous frames until a collision frame is detected as the middle point of lane change or the first historical frame is used as the starting point of lane change, and lane change deduction is performed based on the lane change starting point or the middle point of lane change.
9. The tunnel digital twin vehicle motion posture calculation system according to claim 6, characterized in that: The data frame supplement calculation module is specifically used for: Extracting a current snapshot data frame and a historical snapshot data frame of the vehicle, and matching the identity feature information of the vehicle based on the previous and next two frames of data; If the identity feature information matches successfully, it is determined whether the vehicle has exited the tunnel. If it has exited the tunnel, no interpolation calculation of the data frame is performed. If it has not exited the tunnel, it is determined whether the vehicle has changed lanes. If a lane change occurs, the interpolation of the supplementary frames is calculated based on the percentage of the position line of the two frames before and after the vehicle changes lanes, and the position percentage is converted into longitude and latitude; If no lane change occurs, the interpolation of the supplementary frames is calculated based on the longitude and latitude of the previous and next two frames; If the identity feature information is not matched successfully, no interpolation calculation of the data frame is performed.
10. The tunnel digital twin vehicle motion posture calculation system according to claim 7, characterized in that: It also includes a vehicle status marking module, which is specifically used to: According to the vehicle tracking detection and deduction results, the vehicle driving status is detected and judged; For vehicles that are parked, moving slowly with a speed lower than a preset value, and / or driving against the flow, a special vehicle status mark is performed.
Citation Information
Cited By
Lane level management and control method and device based on tunnel vehicle continuing algorithm
CN121366497A
