Cargo-carrying vehicle path planning method and device, electronic equipment and storage medium
By equipping cargo vehicles with height measurement devices and CAN bus communication, the system can measure and plan routes in real time, solving the problem of mismatch between cargo height and route planning, and improving both safety and efficiency.
Patent Information
- Application Number
- CN202411065274.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-05
- Publication Date
- 2024-11-29
AI Technical Summary
In existing technologies, trucks cannot combine cargo height in real time when planning routes, resulting in a mismatch between the route and the vehicle's cargo height, which may cause safety hazards such as collisions with height restriction facilities.
A height measurement device is installed on the cargo vehicle, and the cargo height data is sent to the vehicle controller via CAN bus. The navigation system plans and recommends a driving route based on the cargo height, origin, destination and road height restriction information, and updates the route in real time.
It integrates real-time self-measurement of cargo vehicle loading height with a navigation system, dynamically plans height-restricted routes, reduces damage to road infrastructure, improves driving safety and freight efficiency, and lowers equipment maintenance costs, in line with the trend of intelligent and automated development.
Smart Images

Figure CN119043354A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of smart vehicle technology, and in particular to a cargo vehicle path planning method, device, electronic device and storage medium. Background Art
[0002] In my country, highways of different grades have corresponding clear height standards. Therefore, when a truck is driving, the driver and passengers need to control the height of the cargo and plan the route reasonably according to the range of the cargo height to avoid the vehicle hitting road signs, overpasses and other height-restricted facilities due to the cargo height exceeding the clear height requirements of the highway. If the cargo height of the vehicle is estimated incorrectly or the route planning is unreasonable, it may bring safety hazards such as casualties.
[0003] At present, the cargo height of trucks is mostly measured by visual or infrared facilities on the ground gantry when the vehicle passes. This measurement method is relatively primitive. In addition, these height detection facilities have some common problems, such as the equipment cannot be moved, cannot meet real-time measurement, cannot notify the driver's needs in time, and cannot combine the cargo height of the truck with the navigation route of the freight map navigation system in real time, and cannot dynamically adjust the navigation route. Summary of the invention
[0004] In view of this, the embodiments of the present application provide a method, device, electronic device and computer-readable storage medium for cargo vehicle path planning to solve the problem in the prior art that the cargo height cannot be taken into account in real time when planning the cargo vehicle path, resulting in the height limit regulations of the planned path may not match the vehicle cargo height.
[0005] According to a first aspect of an embodiment of the present application, a method for path planning of a cargo vehicle is provided. The method is executed by an onboard controller of the cargo vehicle, and includes:
[0006] Obtaining the vehicle cargo height from a height measuring device carried by the cargo vehicle;
[0007] Sending the vehicle cargo height to the navigation system so that the navigation system can obtain at least one recommended driving route based on the departure point, destination, road height limit information and vehicle cargo height planning;
[0008] receiving a recommended driving route sent by a navigation system, and determining a driving route of the cargo vehicle from the recommended driving route;
[0009] The height measuring device and the vehicle-mounted controller communicate via the control area network CAN bus.
[0010] A second aspect of the embodiments of the present application provides a cargo vehicle path planning device, comprising:
[0011] An acquisition module is configured to acquire the vehicle cargo height from a height measuring device carried by the cargo vehicle;
[0012] A sending module is configured to send the vehicle cargo height to the navigation system, so that the navigation system can obtain at least one recommended driving route based on the departure point, the destination, the road section height limit information and the vehicle cargo height planning;
[0013] a determination module configured to receive a recommended driving path sent by a navigation system and determine a driving path of the cargo vehicle from the recommended driving path;
[0014] The height measuring device and the cargo vehicle path planning device communicate via a control area network CAN bus.
[0015] According to a third aspect of an embodiment of the present application, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the computer program.
[0016] According to a fourth aspect of an embodiment of the present application, a computer-readable storage medium is provided, which stores a computer program, and when the computer program is executed by a processor, the steps of the above method are implemented.
[0017] Compared with the prior art, the embodiments of the present application have the following beneficial effects: the embodiments of the present application install a height measuring device on a cargo vehicle, measure the cargo height of the vehicle by the height measuring device, and then send it to the on-board controller through a Controller Area Network (CAN) bus, and then the on-board controller sends the cargo height of the vehicle to the navigation system, and the navigation system plans to obtain at least one recommended driving path based on the departure point, destination, height limit information of the road section and the cargo height of the vehicle, and finally the on-board controller receives the recommended driving path sent by the navigation system, and determines the target driving path of the cargo vehicle for this time, thereby realizing real-time self-test of the cargo height of the cargo vehicle, and combining the real-time measured cargo height with the navigation system, realizing dynamic and reasonable planning of height-limited routes, reducing the damage of cargo vehicles to facilities around the highway, and improving driving safety.
[0018] Furthermore, the technical solution provided in the embodiment of the present application reduces the parking time caused by cargo height detection through real-time cargo height monitoring and navigation system linkage, thereby improving freight efficiency. At the same time, since the dependence on ground height measuring equipment is reduced, the cost caused by equipment maintenance and replacement can be reduced. Allowing vehicles to perform cargo height detection without relying on fixed height measuring stations increases operational flexibility. Accidents and infrastructure damage caused by overheight are reduced, which helps to reduce the impact on the environment during maintenance and reconstruction. Helping drivers and freight companies comply with restrictions on vehicle overheight in traffic regulations, avoiding penalties and repair costs caused by overheight, can save costs for freight companies in the long run.
[0019] Furthermore, the technical solution provided in the embodiment of the present application adopts advanced image acquisition technology and artificial intelligence (AI) intelligent algorithm to improve the technical level of the entire industry. It can also provide an intuitive user interface and alarm system to improve the driver's user experience and make operation easier. Integrating cargo height data with the navigation system provides a data basis for possible data analysis and fleet management in the future. This method can be extended to different types of cargo vehicles, has broad application prospects, and promotes the development of freight vehicles towards intelligence and automation, which is in line with the development trend of future transportation. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0021] Figure 1 It is a scenario diagram of an application scenario of an embodiment of the present application.
[0022] Figure 2 It is a flow chart of a cargo vehicle path planning method provided in an embodiment of the present application.
[0023] Figure 3 It is a flow chart of a method for measuring the cargo height of a first vehicle by a height measuring device provided in an embodiment of the present application.
[0024] Figure 4 It is a flowchart of a method for training an image recognition algorithm provided in an embodiment of the present application.
[0025] Figure 5 It is a flow chart of a method for determining a vehicle cargo height based on a cargo image provided in an embodiment of the present application.
[0026] Figure 6 It is a flow chart of another cargo vehicle path planning method provided in an embodiment of the present application.
[0027] Figure 7 It is a flow chart of another cargo vehicle path planning method provided in an embodiment of the present application.
[0028] Figure 8 It is a structural diagram of a cargo vehicle path planning system provided in an embodiment of the present application.
[0029] Fig. 9 It is a schematic diagram of a cargo vehicle path planning device provided in an embodiment of the present application.
[0030] Fig.10 It is a schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0031] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0032] A method and device for cargo vehicle path planning according to an embodiment of the present application will be described in detail below with reference to the accompanying drawings.
[0033] Figure 1 : is a scene diagram of an application scenario of an embodiment of the present application. The application scenario may include a cargo vehicle 1 and a height measuring device 2. The height measuring device 2 is deployed on the top of the cargo vehicle and can be used to measure the cargo height of the cargo vehicle, so that the cargo vehicle can obtain its own cargo height information in real time, and then plan a height-restricted driving path based on the cargo height information. Furthermore, the height measuring device 2 may include a vertical telescopic rod 3 and an image acquisition device 4, wherein the image acquisition device 4 is installed at the top of the vertical telescopic rod 3 and faces the direction of the cargo compartment.
[0034] As mentioned above, the current cargo height of trucks is mostly measured by visual or infrared facilities on the ground gantry when the vehicle passes. This measurement method is relatively primitive. In addition, these height detection facilities have some common problems, such as the equipment cannot be moved, cannot meet real-time measurement, cannot notify the driver's needs in time, and cannot combine the cargo height of the truck with the navigation route of the freight map navigation system in real time, and cannot dynamically adjust the navigation route.
[0035] In view of this, an embodiment of the present application provides a method for path planning of a cargo vehicle, wherein a height measuring device is mounted on the cargo vehicle, the height of the cargo on the vehicle is measured by the height measuring device, and then sent to an on-board controller via a CAN bus, and then the on-board controller sends the height of the cargo on the vehicle to a navigation system, and the navigation system plans at least one recommended driving path based on the departure point, destination, height limit information of the road section and the cargo height of the vehicle, and finally the on-board controller receives the recommended driving path sent by the navigation system, and determines the target driving path of the cargo vehicle for this time, thereby realizing real-time self-test of the cargo height of the cargo vehicle, and combining the real-time measured cargo height with the navigation system, realizing dynamic and reasonable planning of height-restricted routes, reducing the damage of cargo vehicles to facilities around the highway, and improving driving safety.
[0036] Figure 2 Schematic diagram of a flow chart of a cargo vehicle path planning method provided in an embodiment of the present application. Figure 2 As shown, the method comprises the following steps:
[0037] In step S201, a first vehicle cargo height is obtained from a height measuring device mounted on a cargo vehicle.
[0038] In step S202, the first vehicle cargo height is sent to the navigation system, so that the navigation system plans at least one first recommended driving route based on the departure place, the destination, the road height limit information and the first vehicle cargo height.
[0039] In step S203, a first recommended driving path sent by the navigation system is received, and a first target driving path of the cargo vehicle is determined from the first recommended driving path.
[0040] The height measuring device and the vehicle-mounted controller communicate via the control area network CAN bus.
[0041] In the embodiment of the present application, the cargo vehicle path planning method can be executed by a vehicle-mounted controller of the cargo vehicle, wherein the vehicle-mounted controller of the cargo vehicle can be, for example, a smart cockpit domain controller (Cockpit Domain Controller, CDC) of the cargo vehicle, or other vehicle-mounted controllers, which are not limited here.
[0042] In an embodiment of the present application, the on-board controller can obtain the first vehicle cargo height from a height measuring device carried by the cargo vehicle. In other words, the cargo vehicle can be equipped with a height measuring device, which can measure the vehicle cargo height in real time and send the cargo height to the on-board controller of the vehicle. In one example, the height measuring device can communicate with the on-board controller via the CAN bus, so that information such as the cargo height can be efficiently and conveniently sent to the on-board controller.
[0043] In an embodiment of the present application, the on-board controller receives the cargo height from the height measuring device, and sends the cargo height to the navigation system, so that the navigation system obtains at least one first recommended driving path based on the departure point, destination, road height limit information and the vehicle's cargo height planning. Among them, the navigation system can be an on-board navigation system, in which case the navigation system also communicates with the on-board controller via the CAN bus. Alternatively, the navigation system can also be a third-party navigation system, and the on-board controller encapsulates the received cargo height into other communication protocol messages such as Ethernet messages, 4G / 5G messages, and then sends it to the third-party navigation system.
[0044] Furthermore, after receiving the cargo height, the navigation system obtains the departure and destination of the cargo vehicle and loads the height limit information of each road section. The height limit information of each road section may be the height limit information of all road sections from the departure to the destination. Afterwards, the navigation system plans and obtains at least one recommended driving route based on the departure, destination, road section height limit information and the cargo height obtained from the vehicle controller.
[0045] In an embodiment of the present application, the vehicle controller may receive the recommended driving path sent by the navigation system, and determine the target driving path of the cargo vehicle for this trip. In one example, the recommended driving path sent by the navigation system may include the fastest recommended driving path, the shortest recommended driving path, and the least expensive recommended path. The vehicle controller may determine the target driving path for this trip from the above recommended driving paths according to user needs or default settings.
[0046] In the embodiment of the present application, if the height limits of all driving paths from the departure point to the destination determined by the navigation system are all lower than the vehicle's cargo height, each recommended driving path, the height limit requirements of each recommended driving path, and the current vehicle cargo height super height difference in each recommended driving path can be sent to the vehicle controller, and then sent by the vehicle controller to the in-vehicle infotainment (IVI) system to be presented on the user interface to inform the user of the super height situation so that the user can unload the corresponding cargo height super height difference. Among them, the cargo height super height difference is the difference between the vehicle cargo height and the height limit of the lowest height limit section in the target recommended driving path.
[0047] According to the technical solution provided in the embodiment of the present application, a height measuring device is installed on a cargo vehicle, the vehicle cargo height is measured by the height measuring device, and then sent to the on-board controller via the CAN bus, and then the on-board controller sends the vehicle cargo height to the navigation system, and the navigation system obtains at least one recommended driving path based on the departure point, destination, road section height limit information and the vehicle cargo height planning, and finally the on-board controller receives the recommended driving path sent by the navigation system, and determines the target driving path of the cargo vehicle this time, thereby realizing real-time self-test of the cargo height of the cargo vehicle, and combining the real-time measured cargo height with the navigation system, realizing dynamic and reasonable planning of height-restricted routes, reducing the damage of cargo vehicles to surrounding facilities on the highway, and improving driving safety.
[0048] In the embodiment of the present application, the height measuring device includes a vertical telescopic rod and an image acquisition device, wherein the image acquisition device is located at the upper end of the vertical telescopic rod and faces the vehicle cargo compartment. Further, the height measuring device is deployed on the top of the cab of the cargo vehicle, and the distance from the rear side of the cab is less than a preset threshold, wherein the rear side of the cab is the side opposite to the front of the vehicle.
[0049] That is to say, a highly adaptive vertical telescopic rod can be pre-installed at the rear end of the vehicle cab, and a wide-angle camera is installed on the upper end of the telescopic rod. The camera adopts a 90° wide-angle range and is installed horizontally backward. The actual effect after installation is as follows Figure 1 shown.
[0050] Figure 3 1 is a flow chart of a method for measuring the cargo height of a first vehicle by a height measuring device provided in an embodiment of the present application. Figure 3 As shown, the method comprises the following steps:
[0051] In step S301, in response to receiving a height acquisition instruction, the image acquisition device is controlled to acquire an image of the target cargo.
[0052] In step S302, in response to determining that the collected target cargo image does not meet the matching requirements, the height of the telescopic rod is adjusted, and after the adjustment is completed, the image acquisition device is controlled again to acquire the target cargo image until it is determined that the collected target cargo image meets the matching requirements.
[0053] In step S303, in response to determining that the collected target cargo image meets the matching requirement, the trained image recognition algorithm is called to determine the cargo height of the first vehicle based on the target cargo image.
[0054] In the embodiment of the present application, when the height measurement device receives the height acquisition instruction, it can control the image acquisition device to acquire the image of the target cargo. The height acquisition instruction can be sent to the height measurement device by the vehicle controller before the vehicle travels, or can be sent to the height measurement device by the vehicle controller periodically or non-periodically during the vehicle travel, or can be autonomously generated by the height measurement device periodically or non-periodically during the vehicle travel.
[0055] In the embodiment of the present application, the height measurement device may have certain computing capabilities, for example, it may be equipped with an edge AI algorithm. The height measurement device may call the AI algorithm carried therein to detect whether the target cargo image collected by the image acquisition device meets the matching requirements, or may send the target cargo image collected by the image acquisition device to the cloud, which determines whether the target cargo image meets the matching requirements and sends the determination result back to the height measurement device.
[0056] In the embodiment of the present application, when it is determined that the target cargo image does not meet the matching requirements, the height measuring device can adjust the height of the telescopic rod, and after the adjustment is completed, re-control the image acquisition device to acquire the target cargo image until it is determined that the acquired target cargo image meets the matching requirements.
[0057] In the embodiment of the present application, when it is determined that the collected target cargo image meets the matching requirements, the height measurement device can call a trained image recognition algorithm to determine the cargo height of the first vehicle based on the target cargo image. The trained image recognition algorithm is deployed in the image collection device.
[0058] Figure 4 is a flow chart of a method for training an image recognition algorithm provided in an embodiment of the present application. Figure 4 As shown, the method comprises the following steps:
[0059] In step S401, the adaptive height range of the telescopic rod is determined.
[0060] In step S402, starting from the minimum adaptive height of the telescopic rod, goods are accumulated and stacked at a preset interval until the height of the goods reaches the maximum adaptive height of the telescopic rod.
[0061] In step S403, after each stacking is completed, the telescopic rod is controlled to adjust the height, and after the adjustment is completed, the image acquisition device is controlled to acquire the cargo image until it is determined that the acquired cargo image meets the matching requirement.
[0062] In step S404, the telescopic rod height, cargo height and cargo image when the collected cargo image meets the matching requirement are saved as a mapping data set, and multiple telescopic rod height, cargo height and cargo image mapping data sets are obtained.
[0063] In the embodiment of the present application, the adaptive height range of the telescopic rod can be determined first. Among them, the minimum value of the adaptive height of the telescopic rod can be the highest ground height hmin of the upper surface of the cockpit. Further, in order to ensure that the center of the image acquisition device is parallel to the cargo surface, the minimum value hmin can be increased by a redundancy. For example, if the redundancy is set to 1%, hmin*(1+1%) can be determined as the lower limit of the height of the center point of the image acquisition device.
[0064] In the embodiment of the present application, the maximum value of the adaptive height of the telescopic rod can be the maximum height limit in the current road height limit regulations plus the above-mentioned redundancy. According to the provisions of "Highway Engineering Technical Standard JTG B01-2014", the clear height standards of different grades of roads are shown in Table 1:
[0065] Table 1 Clearance standards for roads of different grades
[0066] Serial number Highway Class Net height (m) 1 Expressways, first-class highways, and second-class highways 5.00 2 Class III highway, Class IV highway 4.50 3 Sidewalks, bicycle lanes, maintenance roads 2.50
[0067] According to Table 1, the upper limit hmax of the distance from the top of the cargo carried by the cargo vehicle to the ground is 5.00 meters. In order to ensure that the image acquisition device can capture the upper surface of the cargo box at the specified limit height, the upper limit of the adjustable height of the telescopic rod can be increased by 1% redundancy, that is, to ensure that the upper limit hmax of the height from the center of the camera lens to the ground is 5.05 meters.
[0068] By using the above method, it can be determined that when the adaptive telescopic pole carries the camera, the lower limit to the upper limit of the camera lens center height hc is hmin*(1+1%) to 5.05 meters.
[0069] In the embodiment of the present application, when training the image recognition algorithm, the cargo height measurement device composed of a highly adaptive telescopic rod and a wide-angle camera can be used to calibrate the cargo box measurement height and train the telescopic rod height adaptive algorithm. During training, the adaptive telescopic rod can be controlled to start from the minimum height hmin, and accumulate and stack the cargo at a preset interval until the cargo height reaches the maximum adaptive height of the telescopic rod. At the same time, after each stacking is completed, the telescopic rod is controlled to adjust the height, and after the adjustment is completed, the image acquisition device is controlled to collect cargo images until it is determined that the collected cargo images meet the matching requirements.
[0070] In one example, starting from hmin, the goods can be stacked in a gradient of 5 cm until the height reaches 5.05 meters, and the height of the telescopic rod can be continuously adjusted and recorded so that the camera can fully capture the upper surface of the goods through images when the goods are at different heights.
[0071] In the embodiment of the present application, each time it is determined that the collected cargo image meets the matching requirements, the telescopic rod height, cargo height and cargo image at this time are saved as a mapping data group, and multiple telescopic rod height, cargo height and cargo image mapping data groups are obtained. That is, the cargo images in the range of hmin to hmax under different stacked cargo heights are collected by the camera to form mapping data groups of different cargo heights and telescopic rod heights and collected cargo upper surface images. At the same time, the image acquisition device is pre-installed with an edge AI algorithm, which can import, learn and match the mapping data group to obtain mapping data groups of different cargo heights, telescopic rod heights and collected cargo images, thereby completing the calibration under the cargo loading state, wherein the cargo loading image can be an image of the upper surface of the cargo.
[0072] Figure 5 is a flow chart of a method for determining a vehicle cargo height based on cargo images provided in an embodiment of the present application. Figure 5 As shown, the method comprises the following steps:
[0073] In step S501, in response to determining that the acquired target cargo image meets the matching requirement, a cargo image matching the target cargo image is obtained from each mapping data group of the trained image recognition algorithm.
[0074] In step S502, the cargo height in the mapping data set corresponding to the cargo image is determined to be the first vehicle cargo height.
[0075] In the embodiment of the present application, when it is determined that the collected target cargo image meets the matching requirements, a cargo image matching the target cargo image can be obtained from each mapping data group of the trained image recognition algorithm. Then, the cargo height in the mapping data group corresponding to the cargo image is determined to be the first vehicle cargo height.
[0076] That is to say, after the calibration is completed and the height measurement device is in normal working condition, when the owner is stacking the goods, if the height of the upper surface of the goods from the ground is higher than the camera, the camera is blocked by the goods and cannot fully capture the current upper surface of the goods, the AI algorithm can be used to determine that the height of the goods is higher than the center height of the current camera lens. At this time, the telescopic rod automatically raises the height until the camera can fully capture the upper surface of the goods; conversely, if the height of the upper surface of the goods from the ground is lower than the camera, the image collected by the camera determines that the goods are lower than the camera according to the AI algorithm, and the telescopic rod automatically lowers the height until the camera can fully capture the upper surface of the goods. At this time, the height of the goods from the ground, that is, the cargo height, can be calculated based on the current height of the telescopic rod.
[0077] In the embodiment of the present application, the cargo image or the target cargo image meets the matching requirement, which may be that the cargo image or the target cargo image meets at least one of the following: the proportion of the cargo in the image is within a preset proportion range; the position of the cargo in the image is within a preset area.
[0078] Among them, the preset proportion range and the preset area can be determined according to the installation position of the image acquisition device and the actual application scenario, and are not limited here.
[0079] Figure 6 It is a flow chart of another cargo vehicle path planning method provided in an embodiment of the present application.
[0080] in, Figure 6 Steps S601 to S603 in the embodiment shown are Figure 2 Steps S201 to S203 in the illustrated embodiment are substantially the same and are not limited here. Figure 6 As shown, the method also includes the following steps:
[0081] In step S604, in response to determining that the cargo vehicle is traveling according to the target driving path, the second vehicle cargo height is periodically obtained from the height measurement device.
[0082] In step S605, in response to determining that the acquired second vehicle cargo height is different from the first vehicle cargo height, the second vehicle cargo height is sent to the navigation system, so that the navigation system re-plans at least one second recommended driving route based on the departure point, destination, road height limit information and the second vehicle cargo height.
[0083] In step S606, a second recommended driving path sent by the navigation system is received, and a second target driving path for the cargo vehicle is determined from the second recommended driving path.
[0084] In an embodiment of the present application, when the cargo vehicle is traveling according to the driving route recommended by the navigation, the on-board controller can periodically obtain the second vehicle cargo height from the height measurement device to detect whether the vehicle cargo height has changed, that is, whether the cargo vehicle has performed operations such as replenishment and unloading. When it is determined that the obtained second vehicle cargo height is different from the first vehicle cargo height, the second vehicle cargo height can be sent to the navigation system, so that the navigation system re-plans at least one second recommended driving route based on the departure point, destination, road section height limit information and the second vehicle cargo height. The on-board controller receives the second recommended driving route sent by the navigation system and determines the second target driving route of the cargo vehicle from the second recommended driving route.
[0085] It is understandable that the second recommended driving route may be different from the first recommended driving route, or may be the same as the first recommended driving route.
[0086] Figure 7 It is a flow chart of another cargo vehicle path planning method provided in an embodiment of the present application.
[0087] in, Figure 7 Steps S701 to S703 in the embodiment shown are Figure 2 Steps S201 to S203 in the illustrated embodiment are substantially the same and are not limited here. Figure 7 As shown, the method also includes the following steps:
[0088] In step S704, in response to determining that the cargo vehicle does not travel according to the travel path provided by the navigation system, a third vehicle cargo height is periodically obtained from a height measurement device.
[0089] In step S705, the third vehicle cargo height is sent to the navigation system, so that the navigation system compares the third vehicle cargo height with a target height limit within a preset distance threshold ahead of the current driving path.
[0090] In step S706, a warning message sent by the navigation system is received, and the warning message is sent when the navigation system determines that the cargo height of the third vehicle is greater than or equal to the target height limit.
[0091] In step S707, the warning information is sent to the alarm device.
[0092] The alarm device communicates with the vehicle controller via the CAN bus.
[0093] In the embodiment of the present application, if the cargo vehicle does not travel according to the driving path provided by the navigation system, the on-board controller can also periodically obtain the third vehicle cargo height from the height measurement device, and send the third vehicle cargo height to the navigation system, so that the navigation system compares the third vehicle cargo height with the target height limit within the preset distance threshold ahead of the current driving path. The preset distance threshold ahead of the current driving path may include one or more sections, and when there are multiple sections, the target height limit is the height limit of the section with the smallest height limit value.
[0094] If the navigation system determines that the cargo height of the third vehicle is higher than the target height limit, a warning message may be generated. The vehicle controller receives the warning message sent by the navigation system and sends the warning message to the warning device. The warning device may be, for example, a vehicle sound system, which is connected to the vehicle controller via a CAN bus and plays the warning message by voice after receiving the warning message.
[0095] Figure 8 Schematic diagram of the structure of the cargo vehicle path planning system provided in the embodiment of the present application. Figure 8As shown, the system includes a cargo height detection system, a cockpit CDC domain controller, a navigation system and a sound system, wherein the cockpit CDC domain controller is a vehicle-mounted controller, and the navigation system and the sound system are both vehicle-mounted systems. The cargo height detection system can send messages to the cockpit CDC domain controller via the CAN bus. Both the cockpit CDC domain controller and the navigation system can send or receive messages via the CAN bus, that is, the cockpit CDC domain controller and the navigation system can communicate bidirectionally via the CAN bus. The sound system can receive messages sent by the cockpit CDC domain controller via the CAN bus.
[0096] That is to say, after the cargo vehicle is powered on, the height detection device can collect images and calculate the height of the cargo height at preset time intervals, such as 10s / time, and send the calculated cargo height to the on-board controller via the CAN bus. The on-board controller sends the received cargo height to the on-board navigation system via the CAN bus, or uses other communication methods to send the received cargo height to a third-party navigation system. The navigation system presets the height limit data of each section in the map. When the user turns on the navigation application, the navigation system obtains the cargo height in real time from the on-board controller and displays it in the navigation system interface. When the user sets the navigation departure and destination and performs navigation planning, the driving route recommended by the navigation system must be combined with the cargo height data to avoid over-high sections and recommend a driving route that is not over-high.
[0097] Furthermore, when the user unloads the cargo, the height detection system transmits the current cargo height data to the vehicle controller in real time. When the cargo height data changes, the navigation system obtains the latest current cargo height data in real time and refreshes the recommended route and height limit data.
[0098] At the same time, during the navigation process, if the user deviates from the established route and the navigation system re-plans the navigation path, the vehicle controller needs to obtain the cargo height value from the height detection device in real time, and then re-plan the height limit route, update it and provide prompts.
[0099] In the non-navigation state, the navigation system can also obtain the cargo height value measured by the height measuring device from the vehicle controller in real time. When the route of the vehicle has a tendency to pass through a height-restricted section, for example, when the vehicle is currently traveling along the road path and there is a height-restricted section within 500m ahead, and the current cargo height exceeds the height limit of the driving trend section, the navigation system can send an alarm signal to the vehicle controller, and the vehicle controller forwards the alarm signal to the sound system through the CAN bus, and the sound system sends a voice (Text-To-Speech, TTS) module to warn the driver of the risk, informing him that there is an over-height risk at the specific location ahead of the section.
[0100] The technical solution of the embodiment of the present application is to pre-install a vertical telescopic rod and a wide-angle camera with adaptive height adjustment at the front end above the cab of the vehicle, and the above devices together constitute a cargo height detection device. When the vehicle completes loading of cargo, the cargo height detection device uses a wide-angle camera to collect real-time images of the cargo box area, and uses the AI image processing and edge computing capabilities of the detection system itself to adjust the camera height in real time with the help of an adaptive telescopic rod, and calculate the cargo height. The cargo height detection device transmits the detected height data to the freight navigation system in the cockpit CDC domain controller through the CAN bus. The navigation system combines the cargo height, navigation departure point and destination to generate a navigation route that matches the height limit requirements and avoids height-restricted sections. When the vehicle's route deviates from the established planned route and the vehicle is at risk of driving on a road section that exceeds the height limit requirements, the cockpit CDC sends a signal to the sound system, which issues a voice warning to inform the driver of the relevant over-height risk, thereby achieving real-time self-inspection of the cargo height of the truck based on pure vision and image AI algorithms, and combining the cargo height data with the freight map navigation system to achieve dynamic and reasonable planning of height-restricted routes, reduce damage to surrounding highway facilities by trucks, and improve driving safety.
[0101] By adopting the technical solution of the embodiment of the present application, the risk of traffic accidents caused by overheight can be significantly reduced by real-time monitoring of the vehicle cargo height and dynamically planning the height-restricted route, thereby improving road safety. It can prevent vehicles from driving overheight and overlimit, reduce damage to facilities around the highway, and extend the service life of these infrastructures. Reducing accidents and infrastructure damage caused by overheight helps reduce the impact on the environment during maintenance and reconstruction.
[0102] Furthermore, the real-time cargo height monitoring and navigation system linkage can reduce the parking time caused by cargo height detection and improve freight efficiency. And because the dependence on ground height measurement equipment is reduced, the cost of equipment maintenance and replacement can be reduced. At the same time, the cargo height detection device allows the vehicle to perform cargo height detection without relying on fixed height measurement stations, which increases the flexibility of operation.
[0103] Furthermore, it can help drivers and freight companies comply with traffic regulations regarding vehicle overheight restrictions and avoid legal penalties for overheight. Reducing fines and repair costs caused by overheight can save costs for freight companies in the long run. Through an intuitive user interface and alarm system, the driver's user experience is improved and operation is easier. Timely alarms are issued when deviating from the planned route, providing drivers with emergency response time and reducing potential risks. Through technical means, drivers and companies are encouraged to better comply with relevant laws and regulations and improve the compliance level of the entire industry.
[0104] At the same time, the use of advanced image acquisition technology and AI intelligent algorithms has improved the technical level of the entire industry. The integration of cargo height data with the navigation system provides a data basis for possible data analysis and fleet management in the future. It has promoted the development of freight vehicles in the direction of intelligence and automation, which is in line with the development trend of future transportation. This technical solution can be extended to different types of cargo vehicles and has broad application prospects.
[0105] All the above optional technical solutions can be arbitrarily combined to form optional embodiments of the present application, which will not be described one by one here.
[0106] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.
[0107] Fig. 9 Schematic diagram of a cargo vehicle path planning device provided in an embodiment of the present application. Fig. 9 As shown, the device comprises:
[0108] The acquisition module 901 is configured to acquire the vehicle cargo height from a height measuring device carried by the cargo vehicle.
[0109] The sending module 902 is configured to send the vehicle cargo height to the navigation system, so that the navigation system can obtain at least one recommended driving route based on the departure point, destination, road height limit information and vehicle cargo height planning.
[0110] The determination module 903 is configured to receive the recommended driving path sent by the navigation system, and determine the driving path of the cargo vehicle from the recommended driving path.
[0111] The height measuring device and the cargo vehicle path planning device communicate via a control area network CAN bus.
[0112] According to the technical solution provided in the embodiment of the present application, a height measuring device is installed on a cargo vehicle, the vehicle cargo height is measured by the height measuring device, and then sent to the on-board controller via the CAN bus, and then the on-board controller sends the vehicle cargo height to the navigation system, and the navigation system obtains at least one recommended driving path based on the departure point, destination, road section height limit information and the vehicle cargo height planning, and finally the on-board controller receives the recommended driving path sent by the navigation system, and determines the target driving path of the cargo vehicle this time, thereby realizing real-time self-test of the cargo height of the cargo vehicle, and combining the real-time measured cargo height with the navigation system, realizing dynamic and reasonable planning of height-restricted routes, reducing the damage of cargo vehicles to surrounding facilities on the highway, and improving driving safety.
[0113] In an embodiment of the present application, the height measuring device includes a vertical telescopic rod and an image acquisition device, the image acquisition device is located at the upper end of the vertical telescopic rod and faces the vehicle cargo compartment; the height measuring device is deployed on the top of the cab of the cargo vehicle, and the distance from the rear side of the cab is less than a preset threshold, wherein the rear side of the cab is the side opposite to the front of the vehicle; the height measuring device measures the cargo height of the first vehicle in the following manner: in response to receiving a height acquisition instruction, controlling the image acquisition device to acquire a target cargo image; in response to determining that the acquired target cargo image does not meet the matching requirements, adjusting the height of the telescopic rod, and after the adjustment is completed, re-controlling the image acquisition device to acquire the target cargo image until it is determined that the acquired target cargo image meets the matching requirements; in response to determining that the acquired target cargo image meets the matching requirements, calling a trained image recognition algorithm to determine the cargo height of the first vehicle based on the target cargo image.
[0114] In an embodiment of the present application, a trained image recognition algorithm is deployed on an image acquisition device; the image recognition algorithm is trained in the following manner: determining an adaptive height range of the telescopic rod; starting from a minimum adaptive height of the telescopic rod, accumulating and stacking goods at a preset interval until the height of the goods reaches a maximum adaptive height of the telescopic rod; after each stacking is completed, controlling the telescopic rod to adjust its height, and after the adjustment is completed, controlling the image acquisition device to acquire an image of the goods until it is determined that the acquired image of the goods meets the matching requirements; saving the telescopic rod height, the goods height, and the goods image when the acquired goods image meets the matching requirements as a mapping data group, and obtaining multiple telescopic rod height, goods height, and goods image mapping data groups.
[0115] In an embodiment of the present application, in response to determining that the collected cargo image meets the matching requirements, calling a trained image recognition algorithm, and determining the vehicle cargo height based on the cargo image, including: in response to determining that the collected target cargo image meets the matching requirements, obtaining a cargo image that matches the target cargo image in each mapping data group of the trained image recognition algorithm; and determining that the cargo height in the mapping data group corresponding to the cargo image is the first vehicle cargo height.
[0116] In the embodiment of the present application, the cargo image or the target cargo image meets the matching requirement, which means that the cargo image or the target cargo image meets at least one of the following: the proportion of the cargo in the image is within a preset proportion range; the position of the cargo in the image is within a preset area.
[0117] In an embodiment of the present application, it also includes: in response to determining that the cargo vehicle is traveling according to the target driving path, periodically obtaining the second vehicle cargo height from the height measuring device; in response to determining that the obtained second vehicle cargo height is different from the first vehicle cargo height, sending the second vehicle cargo height to the navigation system, so that the navigation system re-plans at least one second recommended driving path based on the departure point, destination, road height limit information and the second vehicle cargo height; receiving the second recommended driving path sent by the navigation system, and determining the second target driving path of the cargo vehicle from the second recommended driving path.
[0118] In an embodiment of the present application, it also includes: in response to determining that the cargo vehicle is not traveling according to the driving path provided by the navigation system, periodically obtaining the cargo height of the third vehicle from the height measuring device; sending the cargo height of the third vehicle to the navigation system, so that the navigation system compares the cargo height of the third vehicle with a target height limit within a preset distance threshold ahead of the current driving path; receiving early warning information sent by the navigation system, the early warning information is sent when the navigation system determines that the cargo height of the third vehicle is greater than or equal to the target height limit; sending the early warning information to the alarm device; wherein the alarm device communicates with the vehicle-mounted controller via the CAN bus.
[0119] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0120] Fig.10 Schematic diagram of an electronic device provided in an embodiment of the present application. Fig.10 As shown, the electronic device 10 of this embodiment includes: a processor 1001, a memory 1002, and a computer program 1003 stored in the memory 1002 and executable on the processor 1001. When the processor 1001 executes the computer program 1003, the steps in the above-mentioned method embodiments are implemented. Alternatively, when the processor 1001 executes the computer program 1003, the functions of the modules / units in the above-mentioned device embodiments are implemented.
[0121] The electronic device 10 may be a desktop computer, a notebook, a PDA, a cloud server, or other electronic device. The electronic device 10 may include, but is not limited to, a processor 1001 and a memory 1002. Those skilled in the art will appreciate that Fig.10 The electronic device 10 is merely an example and does not limit the electronic device 10 . The electronic device 10 may include more or fewer components than shown in the figure, or different components.
[0122] Processor 1001 can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
[0123] The memory 1002 may be an internal storage unit of the electronic device 10, for example, a hard disk or memory of the electronic device 10. The memory 1002 may also be an external storage device of the electronic device 10, for example, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card (FlashCard), etc. equipped on the electronic device 10. The memory 1002 may also include both an internal storage unit of the electronic device 10 and an external storage device. The memory 1002 is used to store computer programs and other programs and data required by the electronic device.
[0124] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units.
[0125] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A cargo vehicle path planning method, characterized in that: The method is performed by an onboard controller of a cargo vehicle, and the method comprises: Obtaining a first vehicle cargo height from a height measuring device carried by the cargo vehicle; Sending the first vehicle cargo height to a navigation system, so that the navigation system plans at least one first recommended driving route based on a departure point, a destination, height restriction information of a road section, and the first vehicle cargo height; receiving a first recommended driving path sent by a navigation system, and determining a first target driving path for the cargo vehicle from the first recommended driving path; Wherein, the height measuring device and the vehicle-mounted controller communicate via a control area network CAN bus.
2. The method according to claim 1, characterized in that The height measuring device comprises a vertical telescopic rod and an image acquisition device, wherein the image acquisition device is located at the upper end of the vertical telescopic rod and faces the vehicle cargo compartment; The height measuring device is deployed on the top of the cab of the cargo vehicle, and the distance from the rear side of the cab is less than a preset threshold, wherein the rear side of the cab is the side opposite to the front of the vehicle; The height measuring device measures the cargo height of the first vehicle in the following manner: In response to receiving the height acquisition instruction, controlling the image acquisition device to acquire an image of the target cargo; In response to determining that the collected target cargo image does not meet the matching requirement, adjusting the height of the telescopic rod, and after the adjustment is completed, re-controlling the image acquisition device to acquire the target cargo image until determining that the collected target cargo image meets the matching requirement; In response to determining that the acquired target cargo image meets the matching requirement, a trained image recognition algorithm is called to determine the first vehicle cargo height based on the target cargo image.
3. The method according to claim 2, characterized in that The trained image recognition algorithm is deployed in the image acquisition device; The image recognition algorithm is trained in the following way: Determine the adaptive height range of the telescopic rod; Starting from the minimum adaptive height of the telescopic rod, stacking goods at a preset interval until the height of the goods reaches the maximum adaptive height of the telescopic rod; After each stacking is completed, the telescopic rod is controlled to adjust the height, and after the adjustment is completed, the image acquisition device is controlled to acquire the cargo image until it is determined that the acquired cargo image meets the matching requirements; The telescopic rod height, cargo height and cargo image when the collected cargo image meets the matching requirements are saved as a mapping data set to obtain multiple telescopic rod height, cargo height and cargo image mapping data sets.
4. The method according to claim 3, characterized in that In response to determining that the collected cargo image meets the matching requirement, calling a trained image recognition algorithm to determine the vehicle cargo height based on the cargo image includes: In response to determining that the acquired target cargo image meets the matching requirement, acquiring cargo images matching the target cargo image in each mapping data group of the trained image recognition algorithm; The cargo height in the mapping data set corresponding to the cargo image is determined as the first vehicle cargo height.
5. The method according to any one of claims 2 to 4, characterized in that The cargo image or the target cargo image meets the matching requirements, which means that the cargo image or the target cargo image meets at least one of the following: The proportion of goods in the image is within the preset proportion range; The location of the goods in the image is within the preset area.
6. The method according to claim 1, characterized in that The method further comprises: In response to determining that the cargo vehicle is traveling according to the target driving path, periodically acquiring the cargo height of the second vehicle from the height measuring device; In response to determining that the acquired second vehicle cargo height is different from the first vehicle cargo height, sending the second vehicle cargo height to the navigation system, so that the navigation system replans at least one second recommended driving route based on the departure place, the destination, the road height limit information and the second vehicle cargo height; A second recommended driving path sent by the navigation system is received, and a second target driving path of the cargo vehicle is determined from the second recommended driving path.
7. The method according to claim 1, characterized in that The method further comprises: In response to determining that the cargo vehicle is not traveling according to the driving path provided by the navigation system, periodically acquiring a third vehicle cargo height from the height measurement device; sending the third vehicle cargo height to the navigation system so that the navigation system compares the third vehicle cargo height with a target height limit within a preset distance threshold ahead of the current driving path; receiving a warning message sent by a navigation system, wherein the warning message is sent when the navigation system determines that the cargo height of the third vehicle is greater than or equal to the target height limit; Sending the warning information to an alarm device; Wherein, the alarm device communicates with the vehicle-mounted controller via a CAN bus.
8. A cargo vehicle path planning device, characterized in that: include: An acquisition module is configured to acquire the vehicle cargo height from a height measuring device carried by the cargo vehicle; A sending module is configured to send the vehicle cargo height to a navigation system, so that the navigation system plans to obtain at least one recommended driving route based on a departure point, a destination, height restriction information of a road section and the vehicle cargo height; a determination module configured to receive a recommended driving path sent by a navigation system, and determine a driving path of the cargo vehicle from the recommended driving path; Wherein, the height measuring device and the cargo vehicle path planning device communicate via a control area network CAN bus.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Logistics sorting method, system and device and storage medium
CN112561882A
Vehicle height measurement device based on binocular laser shooting, height measurement method, height measurement system, server and readable storage medium
CN113091625A
Height measurement device, height measurement method, height measurement system based on monocular laser shooting, server and readable storage medium
CN113108757A
Vehicle-mounted height-limiting traffic auxiliary intelligent camera and automobile
CN113799705A
Vehicle driving method and device, electronic equipment and storage medium
CN114322799A
Cited By
Automatic guided vehicle scheduling method, device and system
CN122198296A
Methods, devices and systems for scheduling automated guided vehicles
CN122198296B
