Simulation test method and device for vehicle driving, terminal equipment and medium

By obtaining the driving parameters and environmental information of the virtual vehicle, generating control instructions, and simulated control of the exhaust braking system and hydraulic reduction device, the problem of low simulation testing efficiency of autonomous driving vehicles in the prior art is solved, and the test is improved Authenticity and accuracy.

CN119065341APending Publication Date: 2024-12-03GREAT WALL NEW ENERGY COMMERCIAL VEHICLE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310624000.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-30
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

The existing simulation testing methods for autonomous driving vehicles are inefficient, have long test cycles, and simple virtual vehicle models, resulting in low authenticity and accuracy.

Method used

By obtaining the driving parameters and environmental information of the virtual vehicle, generating control instructions, and simulated control of the exhaust brake system and hydraulic reduction device, improving the authenticity and accuracy of the simulation test.

Benefits of technology

It improves the authenticity and accuracy of vehicle simulation tests, makes virtual vehicles closer to real vehicles, shortens the test cycle, and improves the research and development efficiency of autonomous driving technology.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119065341A_ABST
    Figure CN119065341A_ABST
Patent Text Reader

Abstract

The invention is suitable for the technical field of automobiles, and provides a simulation test method and device for vehicle driving, terminal equipment and a medium, and the method comprises the steps: obtaining driving parameters of a virtual vehicle, and environment information of a virtual driving environment where the virtual vehicle is located; according to the driving parameters and the environment information, a control instruction of the virtual vehicle is generated; and performing simulation control on an exhaust braking system and a hydraulic speed reduction device of the virtual vehicle based on the control instruction to obtain a simulation test result of the virtual vehicle. Compared with the prior art, in the method provided by the invention, the virtual vehicle comprises the exhaust braking system and the hydraulic speed reduction device and is closer to a real vehicle, so that the real degree of simulation of the virtual vehicle to the actual vehicle is improved, and meanwhile, after the control instruction is generated, the control instruction is more accurate. And simulation control can be carried out on an exhaust braking system and a hydraulic speed reduction device of a virtual vehicle based on the control instruction, so that the authenticity and the accuracy of a simulation test on the vehicle are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of automobile technology, and in particular, relates to a simulation test method, device, terminal equipment and medium for vehicle driving. Background Art

[0002] With the development of autonomous driving technology, the autonomous driving function of vehicles is becoming more and more mature. Vehicles operating in autonomous driving mode can free drivers from some driving-related responsibilities. At present, the algorithm function testing of autonomous driving involves the investment of modified vehicles, scenario planning, test personnel and equipment, which leads to low efficiency and long test cycle of real vehicle testing methods, which greatly affects the efficiency of autonomous driving technology research and development. Therefore, testing through simulation is an important means to achieve autonomous driving testing.

[0003] However, the virtual vehicle model used in the existing simulation system is a general simple model, which only has common components of the vehicle such as the general power system, general braking system, general steering system and general transmission system. It can be seen that the authenticity and accuracy of the simulation test using this model in the existing technology are low. Summary of the invention

[0004] The embodiments of the present application provide a vehicle driving simulation test method, apparatus, terminal equipment and medium, which improve the authenticity and accuracy of the vehicle simulation test.

[0005] In a first aspect, an embodiment of the present application provides a vehicle driving simulation test method, comprising:

[0006] Acquiring driving parameters of a virtual vehicle and environmental information of a virtual driving environment in which the virtual vehicle is located;

[0007] generating a control instruction for the virtual vehicle according to the driving parameters and the environmental information;

[0008] The exhaust brake system and the hydraulic deceleration device of the virtual vehicle are simulated and controlled based on the control instruction to obtain a simulation test result of the virtual vehicle.

[0009] Optionally, the environmental information includes first coordinate information of an obstacle in the virtual driving environment, where the first coordinate information is coordinate information in a sensor coordinate system acquired by a virtual sensor; and generating a control instruction for the virtual vehicle according to the driving parameter and the environmental information includes:

[0010] Performing coordinate transformation on the first coordinate information to obtain second coordinate information of the obstacle in a vehicle coordinate system;

[0011] The control instruction is generated according to the second coordinate information and the driving parameter.

[0012] Optionally, generating a control instruction for the virtual vehicle according to the driving parameter and the environmental information includes:

[0013] Packing the driving parameters and the environmental information into a first data packet in UDP format;

[0014] Performing format conversion on the first data packet to obtain a second data packet in CAN format;

[0015] Using a domain controller module of the virtual vehicle, the control instruction is generated based on the second data packet.

[0016] Optionally, the control instruction carries a first vehicle control parameter of the virtual vehicle; and the simulating control of the exhaust brake system and the hydraulic deceleration device of the virtual vehicle based on the control instruction to obtain a simulation test result of the virtual vehicle includes:

[0017] Packing the first vehicle control parameter into a third data packet in CAN format;

[0018] Performing format conversion on the third data packet to obtain a fourth data packet in UDP format;

[0019] The fourth data packet is parsed to obtain the first vehicle control parameter, and simulation control is performed on the exhaust brake system and the hydraulic retarder according to the first vehicle control parameter to obtain the simulation test result.

[0020] Optionally, the control instruction is a brake instruction; and the simulating control of the exhaust brake system and the hydraulic deceleration device of the virtual vehicle based on the control instruction to obtain a simulation test result of the virtual vehicle includes:

[0021] In response to the braking command, controlling the exhaust brake system and the hydraulic retarder to enter a working state, and determining a braking result of the virtual vehicle;

[0022] acquiring a first resistance generated by the exhaust brake system and a second resistance generated by the hydraulic retarder;

[0023] The simulation test result is determined according to the first resistance, the second resistance and the braking result.

[0024] Optionally, determining the simulation test result according to the first resistance, the second resistance and the braking result includes:

[0025] If the first resistance is within a first range, the second resistance is within a second range, and the braking result is a successful braking, then determining that the simulation test result is a successful test;

[0026] If the first resistance is outside the first range, the second resistance is outside the second range, or the braking result is a braking failure, then the simulation test result is determined to be a test failure.

[0027] Optionally, the control instruction carries a second vehicle control parameter of the virtual vehicle; the simulation test result includes action information generated by the virtual vehicle after executing the control instruction; after the exhaust brake system and the hydraulic deceleration device of the virtual vehicle are simulated and controlled based on the control instruction to obtain the simulation test result of the virtual vehicle, the method further includes:

[0028] The second vehicle control parameter and the action information are output and displayed.

[0029] In a second aspect, an embodiment of the present application provides a vehicle driving simulation test device, comprising:

[0030] A first acquisition unit, used to acquire driving parameters of a virtual vehicle and environmental information of a virtual driving environment in which the virtual vehicle is located;

[0031] A first generating unit, configured to generate a control instruction for the virtual vehicle according to the driving parameter and the environmental information;

[0032] The first control unit is used to perform simulation control on the exhaust brake system and the hydraulic deceleration device of the virtual vehicle based on the control instruction to obtain a simulation test result of the virtual vehicle.

[0033] In a third aspect, an embodiment of the present application provides a terminal device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, a simulation test method for vehicle driving as described in any one of the first aspects above is implemented.

[0034] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the vehicle driving simulation test method as described in any one of the above-mentioned first aspects is implemented.

[0035] In a fifth aspect, an embodiment of the present application provides a computer program product. When the computer program product runs on a terminal device, the terminal device can execute the vehicle driving simulation test method described in any one of the above-mentioned first aspects.

[0036] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

[0037] The embodiment of the present application provides a simulation test method for vehicle driving, which obtains driving parameters of a virtual vehicle and environmental information of a virtual driving environment in which the virtual vehicle is located; generates control instructions for the virtual vehicle according to the driving parameters and environmental information; and simulates and controls the exhaust brake system and hydraulic deceleration device of the virtual vehicle based on the control instructions to obtain simulation test results of the virtual vehicle. Compared with the prior art, in the method provided by the present application, the virtual vehicle includes an exhaust brake system and a hydraulic deceleration device, which is closer to a real vehicle, thereby improving the authenticity of the virtual vehicle's simulation of the actual vehicle. At the same time, after the control instructions are generated, the exhaust brake system and hydraulic deceleration device of the virtual vehicle can also be simulated and controlled based on the control instructions, thereby improving the authenticity and accuracy of the simulation test of the vehicle. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] 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.

[0039] Figure 1 It is a structural diagram of a simulation test system provided by an embodiment of the present application;

[0040] Figure 2 It is a flow chart of the implementation of the vehicle driving simulation test method provided by one embodiment of the present application;

[0041] Figure 3 is a flow chart of an implementation of a vehicle driving simulation test method provided by another embodiment of the present application;

[0042] Figure 4 is a flow chart of a vehicle driving simulation test method provided in yet another embodiment of the present application;

[0043] Figure 5 is a flow chart of a vehicle driving simulation test method provided by another embodiment of the present application;

[0044] Figure 6 It is a structural schematic diagram of a vehicle driving simulation test device provided in one embodiment of the present application;

[0045] Figure 7 It is a structural diagram of a terminal device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0046] 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.

[0047] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.

[0048] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0049] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.

[0050] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.

[0051] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0052] See also Figure 1 , Figure 1 Schematic diagram of the structure of the simulation test system provided by an embodiment of the present application. Figure 1 As shown, the simulation test system provided by the embodiment of the present application includes: an object simulation module 10, a vehicle simulation module 20, a domain controller module 30 and a control module 40. The vehicle simulation module 20 is wirelessly connected to the object simulation module 10, the domain controller module 30 and the control module 40 respectively.

[0053] It should be noted that the object simulation module 10 has a dynamic model and can realize general dynamic behavior. Among them, the object simulation module 10 is provided with an obstacle model, which can realize the movement of a certain line to achieve interference with the virtual vehicle.

[0054] The vehicle simulation module 20 is used to obtain the driving parameters of the virtual vehicle 21 in the vehicle simulation module 20 and the environmental information of the virtual driving environment in which the virtual vehicle 21 is located, and send the driving parameters and environmental information to the domain controller module 30. The driving parameters include but are not limited to: vehicle speed, latitude and longitude coordinates, heading angle, pitch angle and roll angle of the virtual vehicle 21. The environmental information includes but is not limited to the first coordinate information of the obstacle generated by the obstacle model in the object simulation module 10.

[0055] In the embodiment of the present application, the virtual vehicle 21 includes but is not limited to the power system, transmission system, steering system, exhaust brake system and hydraulic deceleration device of the actual vehicle.

[0056] It should be noted that in all the embodiments of the present application, the virtual vehicle 21 may be a simulation vehicle that simulates a large commercial vehicle (such as a large truck).

[0057] The domain controller module 30 is used to receive the driving parameters and environmental information sent by the vehicle simulation module 20 , and generate control instructions according to the driving parameters and environmental information to achieve control of the virtual vehicle 21 .

[0058] The vehicle simulation module 20 is also used to receive the control instructions sent by the domain controller module 30, and simulate and control the exhaust brake system and the hydraulic deceleration device of the virtual vehicle 21 based on the control instructions to obtain the simulation test results of the virtual vehicle 21.

[0059] The control module 40 is used to output and display various information in the simulation test system, such as the vehicle control parameters output by the domain controller module 30, the driving parameters of the virtual vehicle 21 obtained by the vehicle simulation module 20, etc. The vehicle control parameters include but are not limited to: steering wheel steering, steering wheel rotation angle, gear value and throttle, etc.

[0060] In one embodiment of the present application, please continue to refer to Figure 1The vehicle simulation module 20 also includes: a virtual sensor 22 , a first data processing unit 23 , a first data acquisition unit 24 and a second data acquisition unit 25 .

[0061] The virtual sensor 22 is used to obtain environmental information of the virtual environment in which the virtual vehicle 21 is located.

[0062] Virtual sensors include but are not limited to: virtual lidar and virtual inertial measurement unit (IMU).

[0063] The first data processing unit 23 is used to process the environmental information acquired by the virtual sensor 22 .

[0064] It should be noted that since the environmental information obtained by the virtual sensor is not processed and cannot be directly sent to the domain controller module 30 for calculation and use, the virtual sensor 22 needs to send the above environmental information to the first data processing unit 23 for processing.

[0065] The first data acquisition unit 24 is used to acquire the driving parameters of the virtual vehicle 21 .

[0066] The second data acquisition unit 25 is used to obtain the action information output by the virtual vehicle 21 after executing the control instruction. The action information includes but is not limited to: the latitude and longitude coordinates, vehicle speed and driving direction output by the virtual vehicle 21 after executing the control instruction.

[0067] In actual applications, the vehicle usually uses the User Datagram Protocol (UDP) for data exchange, while the domain controller usually uses the Controller Area Network (CAN) for data exchange. In other words, the communication protocols used by the vehicle and the domain controller are different. Therefore, please continue to refer to Figure 1 In another embodiment of the present application, in order to realize data interaction between vehicle domain controllers, the vehicle simulation module 20 may also include a UDP data processing unit 26 and a CAN data processing unit 27.

[0068] The UDP data processing unit 26 is used to convert the data in the UDP format to obtain the data in the CAN format.

[0069] The CAN data processing unit 27 is used to convert the data in the CAN format to obtain data in the UDP format.

[0070] See also Figure 2 , Figure 2This is a flow chart of a vehicle driving simulation test method provided in an embodiment of the present application. In the embodiment of the present application, the execution subject of the vehicle driving simulation test method is a terminal device. The terminal device includes but is not limited to notebooks, computers, desktop computers and other devices.

[0071] It should be noted that the above-mentioned simulation test system is installed in the terminal device.

[0072] like Figure 2 As shown, the vehicle driving simulation test method provided by an embodiment of the present application may include S101 to S103, which are described in detail as follows:

[0073] In S101, the driving parameters of the virtual vehicle and the environmental information of the virtual driving environment in which the virtual vehicle is located are obtained.

[0074] In actual applications, in order to test the vehicle's autonomous driving function to ensure the safety of the vehicle's subsequent use, the terminal device can simulate the actual vehicle through its own installed simulation test system to perform simulation tests on it.

[0075] Based on this, in an embodiment of the present application, when a virtual vehicle is traveling in a virtual driving environment, the terminal device can obtain the driving parameters of the virtual vehicle and environmental information of the virtual driving environment in which the virtual vehicle is located.

[0076] In one implementation of the embodiment of the present application, the terminal device can obtain the above environmental information in real time through a virtual sensor.

[0077] In S102, a control instruction of the virtual vehicle is generated according to the driving parameters and the environmental information.

[0078] In an embodiment of the present application, after acquiring the above-mentioned driving parameters and environmental information, the terminal device can send the driving parameters and environmental information to the domain controller model, so that the domain controller model generates control instructions for the virtual vehicle according to the driving parameters and environmental information to control the virtual vehicle, thereby realizing automatic driving of the virtual vehicle.

[0079] In one embodiment of the present application, since the environmental information includes the first coordinate information of the obstacle in the virtual driving environment, and the first coordinate information is the coordinate information in the sensor coordinate system obtained by the virtual sensor, and the driving parameters of the virtual vehicle, such as the latitude and longitude coordinates of the virtual vehicle are the coordinates in the vehicle coordinate system, therefore, in order to unify the coordinate system and facilitate subsequent data processing, the terminal device can specifically perform the following steps, which are described in detail as follows:

[0080] Performing coordinate transformation on the first coordinate information to obtain second coordinate information of the obstacle in a vehicle coordinate system;

[0081] The control instruction is generated according to the second coordinate information and the driving parameter.

[0082] In this embodiment, the terminal device performs coordinate conversion on the first coordinate information to obtain second coordinate information of the obstacle in the vehicle coordinate system.

[0083] Afterwards, the terminal device can send the above-mentioned driving parameters and the second coordinate information to the domain controller model, so that the domain controller model can generate control instructions for the virtual vehicle according to the driving parameters and the second coordinate information to control the virtual vehicle, thereby realizing automatic driving of the virtual vehicle.

[0084] In another embodiment of the present application, since the vehicle usually exchanges data based on the User Datagram Protocol (UDP), and the domain controller usually exchanges data based on the Controller Area Network (CAN), that is, the communication protocols adopted by the vehicle and the domain controller are different, therefore, in order to realize data exchange between the vehicle domain controllers, the terminal device can be specifically configured as follows: Figure 3 Steps S201 to S203 shown generate control instructions for the virtual vehicle, as detailed below:

[0085] In S201, the driving parameters and the environmental information are packaged into a first data packet in UDP format.

[0086] In S202, the first data packet is format converted to obtain a second data packet in CAN format.

[0087] In S203, the control instruction is generated based on the second data packet using the domain controller module of the virtual vehicle.

[0088] In this embodiment, in order to facilitate the format conversion of data, the terminal device can package the driving parameters of the virtual vehicle and the environmental information of the virtual driving environment into a first data packet in UDP format, and then convert the format of the first data packet to obtain a second data packet in CAN format.

[0089] Combination Figure 1 , the terminal device can send the first data packet to the UDP data processing unit for format conversion to obtain a second data packet in CAN format.

[0090] After obtaining the second data packet, the terminal device may send the second data packet to the domain controller module, and the domain controller module may generate a control instruction for the virtual vehicle according to the second data packet.

[0091] Based on this, the domain controller module can send the generated control instruction to the vehicle simulation module, so that the vehicle simulation module controls the virtual vehicle based on the control instruction.

[0092] In S103, simulation control is performed on the exhaust brake system and the hydraulic retarder of the virtual vehicle based on the control instruction to obtain a simulation test result of the virtual vehicle.

[0093] In the embodiment of the present application, after receiving the control instruction, the terminal device can simulate and control the exhaust brake system and the hydraulic deceleration device of the virtual vehicle based on the control instruction, thereby obtaining the simulation test results of the virtual vehicle, wherein the simulation test results include but are not limited to test success and test failure.

[0094] In one embodiment of the present application, in combination with S201 to S203, the control instruction carries the first vehicle control parameter of the virtual vehicle, and the terminal device can specifically perform the following steps: Figure 4 The steps S301 to S303 shown execute step S103, which is described in detail as follows:

[0095] In S301, the first vehicle control parameter is packaged into a third data packet in CAN format.

[0096] In S302, the third data packet is format converted to obtain a fourth data packet in UDP format.

[0097] In S303, the fourth data packet is parsed to obtain the first vehicle control parameter, and simulation control is performed on the exhaust brake system and the hydraulic retarder according to the first vehicle control parameter to obtain the simulation test result.

[0098] In this embodiment, in order to facilitate the format conversion of data, the terminal device may package the first vehicle control parameter into a third data packet in CAN format, and perform format conversion on the third data packet to obtain a fourth data packet in UDP format.

[0099] Combination Figure 1 The terminal device can send the third data packet to the CAN data processing unit for format conversion to obtain a fourth data packet in UDP format, and parse the fourth data packet to obtain the first vehicle control parameter of the virtual vehicle.

[0100] Afterwards, the terminal device may send the first vehicle control parameter to the vehicle simulation module, so that the vehicle simulation module performs simulation control on the exhaust brake system and the hydraulic deceleration device of the virtual vehicle based on the first vehicle control parameter to obtain a simulation test result.

[0101] It should be noted that in the embodiment of the present application, the control instructions include but are not limited to: braking instructions, acceleration instructions, deceleration instructions and gear shifting instructions.

[0102] Based on this, in another embodiment of the present application, when the control instruction is a brake instruction, the terminal device can specifically Figure 5 The steps S401 to S403 shown execute step S103, which is described in detail as follows:

[0103] In S401, in response to the braking instruction, the exhaust brake system and the hydraulic deceleration device are controlled to enter a working state, and a braking result of the virtual vehicle is determined.

[0104] In S402, a first resistance generated by the exhaust brake system and a second resistance generated by the hydraulic retarder are obtained.

[0105] In S403, the simulation test result is determined according to the first resistance, the second resistance and the braking result.

[0106] In this embodiment, after receiving the braking command, the terminal device can control the exhaust brake system and the hydraulic deceleration device in the virtual vehicle to enter a working state to generate resistance, so that the terminal device can determine the braking result of the virtual vehicle.

[0107] The braking results of the virtual vehicle include but are not limited to braking failure and braking success.

[0108] After detecting that the exhaust brake system and the hydraulic retarder have entered the working state, the terminal device can obtain the first resistance generated by the exhaust brake system and the second resistance generated by the hydraulic retarder, and determine the simulation test result of the virtual vehicle based on the first resistance, the second resistance and the braking result.

[0109] In this embodiment, the terminal device can detect whether the first resistance is within the first range and whether the second resistance is within the second range. The first range and the second range can be set according to actual needs and are not limited here.

[0110] It should be noted that the first range can be set according to the theoretical resistance range generated by the exhaust brake system of the actual vehicle, and the second range can be set according to the theoretical resistance range generated by the hydraulic retarder of the actual vehicle.

[0111] In one embodiment of the present application, the terminal device may specifically determine the simulation test result of the virtual vehicle through the following steps, which are described in detail as follows:

[0112] If the first resistance is within a first range, the second resistance is within a second range, and the braking result is a successful braking, then determining that the simulation test result is a successful test;

[0113] If the first resistance is outside the first range, the second resistance is outside the second range, or the braking result is a braking failure, then the simulation test result is determined to be a test failure.

[0114] In this embodiment, when the terminal device detects that the first resistance is within the first range, it means that the resistance generated by the exhaust brake system of the virtual vehicle is within the theoretical resistance range of the exhaust brake system, that is, the exhaust brake system does not generate too much resistance and will not cause damage to the exhaust brake system; the second resistance is within the second range, it means that the resistance generated by the hydraulic retarder of the virtual vehicle is within the theoretical resistance range of the hydraulic retarder, that is, the hydraulic retarder does not generate too much resistance and will not cause damage to the hydraulic retarder; and the braking result is successful braking, indicating that the virtual vehicle brakes successfully. Therefore, the terminal device can determine that the simulation test result of the virtual vehicle is a successful test.

[0115] When the terminal device detects that the first resistance is outside the first range, it means that the resistance generated by the exhaust brake system of the virtual vehicle is not within the theoretical resistance range of the exhaust brake system, that is, the exhaust brake system generates too much resistance, which will cause damage to the exhaust brake system; or, the second resistance is outside the second range, it means that the resistance generated by the hydraulic retarder of the virtual vehicle is not within the theoretical resistance range of the hydraulic retarder, that is, the hydraulic retarder generates too much resistance, which will cause damage to the hydraulic retarder; or, the braking result is a braking failure, indicating that the virtual vehicle failed to brake successfully. Therefore, the terminal device can determine that the simulation test result of the virtual vehicle is a test failure.

[0116] From the above, it can be seen that the embodiment of the present application provides a simulation test method for vehicle driving, which obtains the driving parameters of the virtual vehicle and the environmental information of the virtual driving environment in which the virtual vehicle is located; generates control instructions for the virtual vehicle according to the driving parameters and environmental information; and simulates and controls the exhaust brake system and hydraulic deceleration device of the virtual vehicle based on the control instructions to obtain the simulation test results of the virtual vehicle. Compared with the prior art, in the method provided by the present application, the virtual vehicle includes an exhaust brake system and a hydraulic deceleration device, which is closer to the real vehicle, thereby improving the realism of the virtual vehicle's simulation of the real vehicle. At the same time, after the control instruction is generated, the exhaust brake system and hydraulic deceleration device of the virtual vehicle can also be simulated and controlled based on the control instruction, thereby improving the realism and accuracy of the simulation test of the vehicle.

[0117] In one embodiment of the present application, the control instruction carries a second vehicle control parameter of the virtual vehicle; the simulation test result includes action information generated by the virtual vehicle after executing the control instruction. Therefore, in order to facilitate relevant personnel to promptly understand the simulation process and simulation test results of the virtual vehicle, the terminal device can output and display the above-mentioned second vehicle control parameter and action information.

[0118] In another embodiment of the present application, an automatic driving button and a manual driving button are also provided on the display screen of the terminal device. Therefore, when relevant personnel need to switch from automatic driving to manual driving of the virtual vehicle, they can directly click the above manual driving button.

[0119] Based on this, relevant personnel can manually input the steering, throttle, brake, gear and other adjustment information of the virtual vehicle directly on the display screen of the terminal device to realize manual control of the virtual vehicle.

[0120] 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.

[0121] Corresponding to the vehicle driving simulation test method described in the above embodiment, Figure 6 The schematic diagram of the structure of a vehicle driving simulation test device provided by an embodiment of the present application is shown. For the convenience of explanation, only the part related to the embodiment of the present application is shown. Figure 6 The vehicle driving simulation test device 600 includes: a first acquisition unit 61, a first generation unit 62 and a first control unit 63. Among them:

[0122] The first acquisition unit 61 is used to acquire the driving parameters of the virtual vehicle and the environmental information of the virtual driving environment in which the virtual vehicle is located.

[0123] The first generating unit 62 is used to generate a control instruction for the virtual vehicle according to the driving parameters and the environmental information.

[0124] The first control unit 63 is used to perform simulation control on the exhaust brake system and the hydraulic retarder of the virtual vehicle based on the control instruction to obtain a simulation test result of the virtual vehicle.

[0125] In one embodiment of the present application, the environmental information includes first coordinate information of obstacles in the virtual driving environment, and the first coordinate information is coordinate information in a sensor coordinate system obtained by a virtual sensor; the first generation unit 62 specifically includes: a first conversion unit and a second generation unit.

[0126] in:

[0127] The first conversion unit is used to perform coordinate conversion on the first coordinate information to obtain second coordinate information of the obstacle in a vehicle coordinate system.

[0128] The second generating unit is used to generate the control instruction according to the second coordinate information and the driving parameter.

[0129] In one embodiment of the present application, the first generating unit 62 specifically includes: a first packaging unit, a second conversion unit and a third generating unit.

[0130] The first packaging unit is used to package the driving parameters and the environmental information into a first data packet in UDP format.

[0131] The second conversion unit is used to perform format conversion on the first data packet to obtain a second data packet in CAN format.

[0132] The third generating unit is used to generate the control instruction based on the second data packet using the domain controller module of the virtual vehicle.

[0133] In one embodiment of the present application, the control instruction carries the first vehicle control parameter of the virtual vehicle; the first control unit 63 specifically includes: a second packaging unit, a third conversion unit and a second control unit. Among them:

[0134] The second packaging unit is used to package the first vehicle control parameter into a third data packet in CAN format.

[0135] The third conversion unit is used to perform format conversion on the third data packet to obtain a fourth data packet in UDP format.

[0136] The second control unit is used to parse the fourth data packet to obtain the first vehicle control parameter, and perform simulation control on the exhaust brake system and the hydraulic retarder according to the first vehicle control parameter to obtain the simulation test result.

[0137] In one embodiment of the present application, the control instruction is a brake instruction; the first control unit 63 specifically includes: a first determination unit, a second acquisition unit and a second determination unit. Among them:

[0138] The first determination unit is used to control the exhaust brake system and the hydraulic deceleration device to enter a working state in response to the braking instruction, and to determine a braking result of the virtual vehicle.

[0139] The second acquisition unit is used to acquire a first resistance generated by the exhaust brake system and a second resistance generated by the hydraulic deceleration device.

[0140] The second determining unit is used to determine the simulation test result according to the first resistance, the second resistance and the braking result.

[0141] In one embodiment of the present application, the second determining unit specifically includes: a third determining unit and a fourth determining unit.

[0142] The third determination unit is configured to determine that the simulation test result is a test success if the first resistance is within a first range, the second resistance is within a second range, and the braking result is a braking success.

[0143] The fourth determining unit is configured to determine that the simulation test result is a test failure if the first resistance is outside the first range, the second resistance is outside the second range, or the braking result is a braking failure.

[0144] In one embodiment of the present application, the control instruction carries a second vehicle control parameter of the virtual vehicle; the simulation test result includes action information generated by the virtual vehicle after executing the control instruction; the vehicle driving simulation test device 600 also includes: an output unit.

[0145] The output unit is used to output and display the second vehicle control parameter and the action information.

[0146] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.

[0147] The technicians in the relevant field 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 for illustration. In practical applications, the above-mentioned function allocation can be completed by 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 embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0148] Figure 7 This is a schematic diagram of the structure of a terminal device provided in an embodiment of the present application. Figure 7As shown, the terminal device 7 of this embodiment includes: at least one processor 70 ( Figure 7 Only one is shown in the figure) a processor, a memory 71, and a computer program 72 stored in the memory 71 and executable on the at least one processor 70, and when the processor 70 executes the computer program 72, the steps in any of the above-mentioned vehicle driving simulation test method embodiments are implemented.

[0149] The terminal device may include, but is not limited to, a processor 70 and a memory 71. Those skilled in the art will appreciate that Figure 7 It is only an example of the terminal device 7 and does not constitute a limitation on the terminal device 7. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, it may also include input and output devices, network access devices, etc.

[0150] The processor 70 may 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. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0151] In some embodiments, the memory 71 may be an internal storage unit of the terminal device 7, such as the memory of the terminal device 7. In other embodiments, the memory 71 may also be an external storage device of the terminal device 7, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the terminal device 7. Further, the memory 71 may also include both the internal storage unit of the terminal device 7 and an external storage device. The memory 71 is used to store an operating system, an application program, a boot loader (BootLoader), data, and other programs, such as the program code of the computer program. The memory 71 may also be used to temporarily store data that has been output or is to be output.

[0152] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.

[0153] An embodiment of the present application provides a computer program product. When the computer program product runs on a terminal device, the terminal device can implement the steps in the above-mentioned method embodiments when executing the computer program product.

[0154] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device capable of carrying the computer program code to the terminal device, a recording medium, a computer memory, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), an electric carrier signal, a telecommunication signal and a software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.

[0155] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0156] The embodiments described above 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, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such 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 vehicle driving simulation test method, characterized in that: include: Acquiring driving parameters of a virtual vehicle and environmental information of a virtual driving environment in which the virtual vehicle is located; generating a control instruction for the virtual vehicle according to the driving parameters and the environmental information; The exhaust brake system and the hydraulic deceleration device of the virtual vehicle are simulated and controlled based on the control instruction to obtain a simulation test result of the virtual vehicle.

2. The vehicle driving simulation test method according to claim 1, characterized in that: The environmental information includes first coordinate information of obstacles in the virtual driving environment, where the first coordinate information is coordinate information in a sensor coordinate system acquired by a virtual sensor; The step of generating a control instruction for the virtual vehicle according to the driving parameter and the environmental information includes: Performing coordinate transformation on the first coordinate information to obtain second coordinate information of the obstacle in a vehicle coordinate system; The control instruction is generated according to the second coordinate information and the driving parameter.

3. The vehicle driving simulation test method according to claim 1, characterized in that: The step of generating a control instruction for the virtual vehicle according to the driving parameter and the environmental information includes: Packing the driving parameters and the environmental information into a first data packet in UDP format; Performing format conversion on the first data packet to obtain a second data packet in CAN format; Using a domain controller module of the virtual vehicle, the control instruction is generated based on the second data packet.

4. The vehicle driving simulation test method according to claim 3, characterized in that: The control instruction carries a first vehicle control parameter of the virtual vehicle; and the simulation control of the exhaust brake system and the hydraulic deceleration device of the virtual vehicle based on the control instruction to obtain a simulation test result of the virtual vehicle includes: Packing the first vehicle control parameter into a third data packet in CAN format; Performing format conversion on the third data packet to obtain a fourth data packet in UDP format; The fourth data packet is parsed to obtain the first vehicle control parameter, and simulation control is performed on the exhaust brake system and the hydraulic retarder according to the first vehicle control parameter to obtain the simulation test result.

5. The vehicle driving simulation test method according to claim 1, characterized in that: The control instruction is a brake instruction; and the simulation control of the exhaust brake system and the hydraulic deceleration device of the virtual vehicle based on the control instruction to obtain the simulation test result of the virtual vehicle includes: In response to the braking command, controlling the exhaust brake system and the hydraulic retarder to enter a working state, and determining a braking result of the virtual vehicle; acquiring a first resistance generated by the exhaust brake system and a second resistance generated by the hydraulic retarder; The simulation test result is determined according to the first resistance, the second resistance and the braking result.

6. The vehicle driving simulation test method according to claim 5, characterized in that: The determining the simulation test result according to the first resistance, the second resistance and the braking result includes: If the first resistance is within a first range, the second resistance is within a second range, and the braking result is a successful braking, then determining that the simulation test result is a successful test; If the first resistance is outside the first range, the second resistance is outside the second range, or the braking result is a braking failure, then the simulation test result is determined to be a test failure.

7. The vehicle driving simulation test method according to any one of claims 1 to 6, characterized in that: The control instruction carries a second vehicle control parameter of the virtual vehicle; the simulation test result includes action information generated by the virtual vehicle after executing the control instruction; after the exhaust brake system and the hydraulic deceleration device of the virtual vehicle are simulated and controlled based on the control instruction to obtain the simulation test result of the virtual vehicle, the method further includes: The second vehicle control parameter and the action information are output and displayed.

8. A vehicle driving simulation test device, characterized in that: include: A first acquisition unit, used to acquire driving parameters of a virtual vehicle and environmental information of a virtual driving environment in which the virtual vehicle is located; A first generating unit, configured to generate a control instruction for the virtual vehicle according to the driving parameter and the environmental information; The first control unit is used to perform simulation control on the exhaust brake system and the hydraulic deceleration device of the virtual vehicle based on the control instruction to obtain a simulation test result of the virtual vehicle.

9. A terminal 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 vehicle driving simulation test method as described in any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the vehicle driving simulation test method as described in any one of claims 1 to 7 is implemented.