Method and system for improving calculation precision of vehicle road departure

By generating connections and filtering excess points according to the included angle, the problem of low road deviation detection efficiency in the prior art is solved, and more efficient deviation detection and accurate route driving are achieved.

CN119058707APending Publication Date: 2024-12-03XIAN XINTU DIGITAL TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411112592.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-14
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

In the prior art, when detecting road deviations of vehicles during dangerous goods transportation, a large number of trajectory points need to be stored and compared, resulting in complex and inefficient calculations. Especially when the road is long, the standard trajectory is complex and difficult to store, which increases the calculation amount.

Method used

By generating connections and filtering according to the angles, the excess points on a straight line are removed, only key turning points are retained, the number of effective points on the standard trajectory is reduced, and the calculation accuracy is improved.

Benefits of technology

It effectively improves the accuracy and efficiency of vehicle road departure detection, reduces the complexity of storage and calculation, and ensures the accuracy of vehicle driving according to the required route.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119058707A_ABST
    Figure CN119058707A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of automatic driving, and discloses a vehicle road deviation calculation precision improving method and system, and the method comprises the steps: S1, taking a trajectory point as a starting point, setting the trajectory point as a first point, generating a connection line with a second point, and generating a second connection line with a third point; s2, if the included angle between the two connecting lines is smaller than a certain threshold value, it is considered that the three points are located on the same straight line, the second point is removed, and the third point serves as the second point to continue calculation in sequence; s3, if the direct included angle of the two connecting lines is larger than a certain threshold value, considering that the three points are not in the same straight line, changing the second point into the first point, and then sequentially calculating; and S4, if all the points are circulated, filtering out the points which are basically positioned on the same straight line, so that effective points on the standard track are greatly reduced, and the accuracy is not influenced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of autonomous driving, and in particular relates to a method and system for improving the calculation accuracy of vehicle road deviation. Background Art

[0002] In the management of dangerous goods transport vehicles, it is necessary to use Beidou positioning technology to strictly control the vehicle's driving trajectory to ensure safe driving.

[0003] Dangerous goods transportation functions mainly include safety monitoring, compliance management, real-time positioning, route planning, temperature tracking, cargo classification, driver qualification review, and emergency plan setting. The system ensures the safety of dangerous goods during transportation through strict operating procedures and advanced technologies, complies with regulatory requirements, and provides full-process visualization services to ensure the safety of personnel and the environment.

[0004] Dangerous goods transportation is subject to special regulations, such as the "Dangerous Goods Road Transport Rules". When planning routes, consider traffic restrictions, avoid densely populated areas, emergency evacuation routes, and query permits through professional systems. Use GPS tracking and safe route planning software to ensure full monitoring and avoid flammable and explosive risk areas. At the same time, reserve enough emergency space and time to deal with emergencies.

[0005] In the logistics transportation of dangerous goods, it is necessary to strictly follow the planned roads. When deviating from the planned roads, an alarm is required. How to judge whether the vehicle deviates from the road is a key technology.

[0006] The traditional method is to save all the track points that the vehicle has traveled, and use the line connecting each point as the standard path for other vehicles to travel. If other vehicles deviate from this path, a path deviation alarm will be generated.

[0007] Through the above analysis, the problems and defects of the prior art are as follows:

[0008] The existing method requires storing the latitude and longitude points of the trajectory data of the first trip in a database for comparison. This requires storing a large number of points, making the comparison complex and inefficient.

[0009] If all the points are connected as the standard trajectory, when the driving road is long, such as 100 kilometers, the huge number of trajectory points will make the standard trajectory complicated and difficult to store, increasing the amount of calculation. Summary of the invention

[0010] In view of the problems existing in the prior art, the present invention provides a method and system for improving the calculation accuracy of vehicle road deviation.

[0011] The present invention is implemented in this way: a method for improving the calculation accuracy of vehicle road deviation comprises:

[0012] S1, take a trajectory point as the starting point, set it as the first point, generate a line with the second point, and then generate a second line with the third point;

[0013] S2, if the angle between the two connecting lines is less than a certain threshold, the three points are considered to be on a straight line, then the second point is removed, and the third point is treated as the second point and the calculation continues;

[0014] S3, if the angle between the two connecting lines is greater than a certain threshold, it is considered that the three points are not in a straight line, and the second point is changed to the first point, and then calculated in sequence;

[0015] S4, if all points are looped, the points that are basically on a straight line will be filtered out, which will greatly reduce the effective points on this standard trajectory without affecting the accuracy.

[0016] Further, the processing method of the trajectory point is as follows:

[0017] Initial trajectory point connection and judgment;

[0018] Filtering of points on a straight line;

[0019] Processing of non-straight points;

[0020] Loop processing and effective point retention.

[0021] Further, the initial trajectory point connection and judgment:

[0022] First, take a trajectory point as the starting point, set it as the first point P1, then select the next point P2 and generate a line L1; next, select the next point P3 and generate the second line L2; the system determines whether the three points P1, P2, and P3 are on a straight line by calculating the angle between the two lines; if the angle is less than the preset threshold, it means that the three points are basically on a straight line.

[0023] Further, the points on the straight line are filtered:

[0024] After determining whether the three points are on a straight line, if it is confirmed that the three points are on a straight line, the system will remove the middle point P2 and retain P1 and P3; at this time, set P3 as the new second point, namely P2, and continue to select the next point P4, and repeat the above steps; in this way, the system can effectively filter out the middle points on a straight line and only retain the key turning points.

[0025] Further, the processing of the non-straight line points:

[0026] If the system finds that the angle between two lines is greater than the preset threshold when calculating it, it means that the three points P1, P2, and P3 are not on a straight line; at this time, the system will set the current second point P2 as the new first point P1, and the original third point P3 as the new second point P2, and then continue to select the next point P4 and recalculate the new line and angle.

[0027] Further, the loop processing and effective point retention:

[0028] The system processes the trajectory points one by one by continuously looping the above steps; for each new point combination, the system will perform angle judgment and point filtering operations; after this series of filtering and retention operations, the system can remove redundant points on a straight line and only retain the key turning points in the trajectory.

[0029] Another object of the present invention is to provide a vehicle road deviation calculation accuracy improvement system comprising:

[0030] The line generation module takes a trajectory point as the starting point, sets it as the first point, generates a line with the second point, and then generates a second line with the third point;

[0031] Invalid point removal module: if the angle between two connecting lines is less than a certain threshold, the three points are considered to be on a straight line, and the second point is removed, and the third point is treated as the second point and the calculation continues in sequence;

[0032] In the effective point retention module, if the angle between two connecting lines is greater than a certain threshold, it is considered that the three points are not in a straight line, and the second point is changed to the first point, and then calculated in sequence;

[0033] The effective point extraction module, if looping through all points, will filter out the points that are basically on a straight line, which will greatly reduce the effective points on this standard trajectory without affecting the accuracy.

[0034] Another object of the present invention is to provide a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the method for improving the calculation accuracy of vehicle road deviation.

[0035] Another object of the present invention is to provide a computer-readable storage medium storing a computer program, which, when executed by a processor, causes the processor to execute the steps of the method for improving the calculation accuracy of vehicle road deviation.

[0036] Another object of the present invention is to provide an information data processing terminal, which is used to implement the vehicle road deviation calculation accuracy improvement system.

[0037] In combination with the above technical solutions and the technical problems solved, the advantages and positive effects of the technical solutions to be protected by the present invention are as follows:

[0038] First, the present invention effectively grasps the overall operation of the road transport industry by collecting and analyzing operator platform data, transport enterprise data, and operating vehicle data. Through the aggregation and analysis of multi-dimensional regulatory data such as vehicle dynamic driving information, driver behavior, daily operation of transport enterprises, and operator platform access, various safety risks and accidents are reported and rectification opinions and punishment supervision are proposed. The region, operator, enterprise, and vehicle are assessed and the results are announced, making industry supervision and services more accurate and efficient. All basic data such as vehicle information, transport enterprise information, and operator information are centralized and managed in a unified manner. All vehicles are monitored in real time, and the platform terminal data is uniformly connected to the superior supervision platform. Analyze the illegal driving vehicles and transport enterprises and operators with insufficient capabilities, analyze the administrative regional work rankings, and analyze the industry operation status. Supervise and guide transport enterprises and operator platforms, and regularly forward and report relevant data to the transportation management department according to the agreement standards to ensure the safe, standardized, stable, and orderly development of the road transport industry. Realize the sharing and service of dynamic information of key operating vehicles, and realize the information-based intelligent management of people, vehicles, and enterprises, and the visual supervision that combines key monitoring and safety inspections. By combining automatic supervision with manual supervision, and utilizing alarm analysis, operational analysis, and periodic reports, we can effectively grasp the overall operation status of road transport in the region and strengthen the construction of dynamic safety supervision capabilities in the road transport industry.

[0039] Second, as auxiliary evidence of the inventiveness of the claims of the present invention, it is also reflected in the following important aspects:

[0040] (1) The expected benefits and commercial value of the technical solution of the present invention after transformation are:

[0041] It improves security, enhances the transparency and predictability of the logistics process, makes logistics operations more transparent and efficient, and enhances corporate competitiveness.

[0042] (2) The technical solution of the present invention fills the technical gap in the industry at home and abroad:

[0043] (3) Whether the technical solution of the present invention solves the technical problems that people have been eager to solve but have not been able to solve successfully:

[0044] It is difficult to improve transportation efficiency, in-transit risks are difficult to monitor, waybill charges are high and chaotic, and data analysis is incomplete.

[0045] (4) Whether the technical solution of the present invention overcomes technical prejudice:

[0046] The high cost and low efficiency of the logistics industry are due to the relatively backward and inefficient operating methods, which are prominently reflected in the chaotic waybill management, difficult to monitor in-transit risks, low cargo turnover efficiency, and high vehicle idle rate. It is urgent to establish a sound waybill management system to achieve cost reduction and efficiency improvement, and also provide effective data support for regulatory authorities. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 It is a flow chart of a method for improving vehicle road deviation calculation accuracy provided by an embodiment of the present invention.

[0048] Figure 2 It is a structural block diagram of a system for improving vehicle road deviation calculation accuracy provided by an embodiment of the present invention.

[0049] Figure 3 This is an interface diagram of an operating vehicle supervision platform provided by an embodiment of the present invention.

[0050] Figure 4 It is a trajectory point diagram before data processing provided by an embodiment of the present invention.

[0051] Figure 5 It is a trajectory point diagram after data processing provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0052] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0053] like Figure 1 As shown, a method for improving vehicle road deviation calculation accuracy provided by an embodiment of the present invention comprises the following steps:

[0054] S1, take a trajectory point as the starting point, set it as the first point, generate a line with the next point (the second point), and then generate a second line with the next point (the third point);

[0055] S2, if the angle between the two connecting lines is less than a certain threshold, the three points are considered to be on a straight line, then the second point is removed, and the third point is treated as the second point and the calculation continues;

[0056] S3, if the angle between the two connecting lines is greater than a certain threshold, it is considered that the three points are not in a straight line, and the second point is changed to the first point, and then calculated in sequence;

[0057] S4, if there are loop points, the points that are basically on a straight line will be filtered out, which will greatly reduce the effective points on this standard trajectory without affecting the accuracy.

[0058] Initial trajectory point connection and judgment:

[0059] First, take a trajectory point as the starting point, set it as the first point (P1), then select the next point (P2) and generate a line (L1). Next, select the next point (P3) and generate the second line (L2). The system determines whether the three points (P1, P2, P3) are on a straight line by calculating the angle between the two lines. If the angle is less than the preset threshold, it means that the three points are basically on a straight line.

[0060] Filtering points on a straight line:

[0061] After determining whether the three points are on a straight line, if it is confirmed that the three points are on a straight line, the system will remove the middle point (P2) and keep P1 and P3. At this time, set P3 as the new second point (i.e. P2), continue to select the next point (P4), and repeat the above steps. In this way, the system can effectively filter out the middle points on a straight line and only keep the key turning points.

[0062] Processing of non-straight line points:

[0063] If the system finds that the angle between two lines is greater than the preset threshold when calculating the angle between them, it means that the three points (P1, P2, P3) are not on a straight line. At this time, the system will set the current second point (P2) as the new first point (i.e. P1), and the original third point (P3) as the new second point (i.e. P2), and then continue to select the next point (P4) to recalculate the new line and angle.

[0064] Cyclic processing and effective point retention:

[0065] The system processes the trajectory points one by one by continuously looping the above steps. For each new point combination, the system will perform angle judgment and point filtering operations. After this series of filtering and retention operations, the system can remove redundant points on a straight line and only retain the key turning points in the trajectory. This not only reduces the number of valid points on the standard trajectory, but also does not affect the accuracy of the trajectory, allowing the vehicle to travel more efficiently along the required route.

[0066] like Figure 2 As shown, the system for improving the ability of a vehicle to travel along a required route provided by an embodiment of the present invention includes:

[0067] The line generation module takes a trajectory point as the starting point, sets it as the first point, generates a line with the next point (the second point), and then generates a second line with the next point (the third point);

[0068] Invalid point removal module: if the angle between two connecting lines is less than a certain threshold, the three points are considered to be on a straight line, and the second point is removed, and the third point is treated as the second point and the calculation continues in sequence;

[0069] In the effective point retention module, if the angle between two connecting lines is greater than a certain threshold, it is considered that the three points are not in a straight line, and the second point is changed to the first point, and then calculated in sequence;

[0070] The effective point extraction module, if all the points are mysterious, will filter out the points that are basically on a straight line, which will greatly reduce the effective points on this standard trajectory without affecting the accuracy.

[0071] An application embodiment of the present invention provides a computer device, which includes a memory and a processor. The memory stores a computer program. When the computer program is executed by the processor, the processor executes the steps of a method for improving the ability of a vehicle to travel along a required route.

[0072] An application embodiment of the present invention provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, the processor executes the steps of a method for improving the ability of a vehicle to travel along a required route.

[0073] An application embodiment of the present invention provides an information data processing terminal, which includes a system for improving the ability of vehicles to travel along a required route.

[0074] like Figure 3 The key operating vehicle supervision platform developed by Xi'an Xintu Digital Technology is shown in the figure. The platform effectively grasps the overall operation of the road transport industry by collecting and analyzing operator platform data, transport enterprise data, and operating vehicle data. Through the aggregation and analysis of multi-dimensional supervision data such as vehicle dynamic driving information, driver behavior, daily operation of transport enterprises, and operator platform access, various safety risks and accidents are reported, rectification opinions and punishment supervision are proposed, and regions, operators, enterprises, and vehicles are evaluated and the results are announced, making industry supervision and services more accurate and efficient.

[0075] It can monitor the real-time location of vehicles, vehicle driving trajectory, road grade speed limit, fatigue driving alarm, door switch status, tire pressure detection and passenger flow statistics. The platform has strong data interaction capabilities, supports data forwarding, electronic waybills and electronic post inspection under the Ministry Standard JT / T 809 protocol, and can issue a variety of data statistics reports or supervision reports. Rich interfaces and strong device compatibility meet the access conditions of Ministry Standard JT / T 1078 video and active safety equipment.

[0076] Figure 4 Trajectory points before data processing: 4272 points.

[0077] Figure 5 Trajectory points after data processing: 102 points.

[0078] It should be noted that the embodiments of the present invention can be implemented by hardware, software, or a combination of software and hardware. The hardware part can be implemented using dedicated logic; the software part can be stored in a memory and executed by an appropriate instruction execution system, such as a microprocessor or dedicated design hardware. It can be understood by a person of ordinary skill in the art that the above-mentioned devices and methods can be implemented using computer executable instructions and / or contained in a processor control code, such as a carrier medium such as a disk, CD or DVD-ROM, a programmable memory such as a read-only memory (firmware), or a data carrier such as an optical or electronic signal carrier. Such code is provided on the carrier medium. The device and its modules of the present invention can be implemented by hardware circuits such as very large-scale integrated circuits or gate arrays, semiconductors such as logic chips, transistors, etc., or programmable hardware devices such as field programmable gate arrays, programmable logic devices, etc., can also be implemented by software executed by various types of processors, and can also be implemented by a combination of the above-mentioned hardware circuits and software, such as firmware.

[0079] The above description is only a specific implementation mode of the present invention, but the protection scope of the present invention is not limited thereto. Any modifications, equivalent substitutions and improvements made by any technician familiar with the technical field within the technical scope disclosed by the present invention and within the spirit and principle of the present invention should be covered by the protection scope of the present invention.

Claims

1. A method for improving the calculation accuracy of vehicle road deviation, characterized in that: The following steps are involved: S1, take a trajectory point as the starting point, set it as the first point, generate a line with the second point, and then generate a second line with the third point; S2, if the angle between the two connecting lines is less than a certain threshold, the three points are considered to be on a straight line, then the second point is removed, and the third point is treated as the second point and the calculation continues; S3, if the angle between the two connecting lines is greater than a certain threshold, it is considered that the three points are not in a straight line, and the second point is changed to the first point, and then calculated in sequence; S4, if all points are looped, the points that are basically on a straight line will be filtered out, which will greatly reduce the effective points on this standard trajectory without affecting the accuracy.

2. The method for improving vehicle road deviation calculation accuracy as claimed in claim 1, characterized in that: The processing method of the trajectory points is as follows: Initial trajectory point connection and judgment; Filtering of points on a straight line; Processing of non-straight points; Loop processing and effective point retention.

3. The method for improving vehicle road deviation calculation accuracy as claimed in claim 2, characterized in that: The initial trajectory point connection and judgment: First, take a trajectory point as the starting point, set it as the first point P1, then select the next point P2 and generate a line L1; next, select the next point P3 and generate the second line L2; the system determines whether the three points P1, P2, and P3 are on a straight line by calculating the angle between the two lines; if the angle is less than the preset threshold, it means that the three points are basically on a straight line.

4. The method for improving vehicle road deviation calculation accuracy as claimed in claim 2, characterized in that: Filtering of points on the straight line: After determining whether the three points are on a straight line, if it is confirmed that the three points are on a straight line, the system will remove the middle point P2 and retain P1 and P3; at this time, set P3 as the new second point, namely P2, and continue to select the next point P4, and repeat the above steps; in this way, the system can effectively filter out the middle points on a straight line and only retain the key turning points.

5. The method for improving vehicle road deviation calculation accuracy as claimed in claim 2, characterized in that: Processing of the non-straight line points: If the system finds that the angle between two lines is greater than the preset threshold when calculating it, it means that the three points P1, P2, and P3 are not on a straight line; at this time, the system will set the current second point P2 as the new first point P1, and the original third point P3 as the new second point P2, and then continue to select the next point P4 and recalculate the new line and angle.

6. The method for improving vehicle road deviation calculation accuracy as claimed in claim 2, characterized in that: The loop process and effective point retention: The system processes the trajectory points one by one by continuously looping the above steps; for each new point combination, the system will perform angle judgment and point filtering operations; after this series of filtering and retention operations, the system can remove redundant points on a straight line and only retain the key turning points in the trajectory.

7. A vehicle road deviation calculation accuracy improvement system implementing the vehicle road deviation calculation accuracy improvement method according to any one of claims 1 to 6, characterized in that: The vehicle road deviation calculation accuracy improvement system comprises: The line generation module takes a trajectory point as the starting point, sets it as the first point, generates a line with the second point, and then generates a second line with the third point; Invalid point removal module: if the angle between two connecting lines is less than a certain threshold, the three points are considered to be on a straight line, and the second point is removed, and the third point is treated as the second point and the calculation continues in sequence; In the effective point retention module, if the angle between two connecting lines is greater than a certain threshold, it is considered that the three points are not in a straight line, and the second point is changed to the first point, and then calculated in sequence; The effective point extraction module, if looping through all points, will filter out the points that are basically on a straight line, which will greatly reduce the effective points on this standard trajectory without affecting the accuracy.

8. A computer device, characterized in that: The computer device includes a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the method for improving the calculation accuracy of vehicle road deviation as claimed in any one of claims 1 to 6.

9. A computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the processor executes the steps of the method for improving the calculation accuracy of vehicle road deviation according to any one of claims 1 to 6.

10. An information data processing terminal, characterized in that: The information data processing terminal is used to implement the vehicle road deviation calculation accuracy improvement system as described in claim 7.